File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ class GuidelineComposer
4848 *
4949 * @var array<int, Packages>
5050 */
51- protected array $ manuallyIncludedPackages = [
51+ protected array $ optInPackages = [
5252 Packages::SAIL ,
5353 ];
5454
@@ -220,11 +220,10 @@ protected function find(): Collection
220220 */
221221 protected function shouldExcludePackage (Package $ package ): bool
222222 {
223- if (in_array ($ package ->package (), $ this ->manuallyIncludedPackages , true )) {
223+ if (in_array ($ package ->package (), $ this ->optInPackages , true )) {
224224 return true ;
225225 }
226226
227- // Check if a higher priority package excludes this one
228227 foreach ($ this ->packagePriorities as $ priorityPackage => $ excludedPackages ) {
229228 $ packageIsInExclusionList = in_array ($ package ->package ()->value , $ excludedPackages , true );
230229
You can’t perform that action at this time.
0 commit comments