Skip to content

Commit 0cb33db

Browse files
committed
feat: slightly rename some main rule files when they're shown in the grid
1 parent b28b356 commit 0cb33db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Install/GuidelineComposer.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,17 @@ public function guidelines(): Collection
8484
protected function find(): Collection
8585
{
8686
$guidelines = collect();
87-
$guidelines->put('core', $this->guideline('core'));
88-
$guidelines->put('boost/core', $this->guideline('boost/core'));
87+
$guidelines->put('foundation', $this->guideline('foundation'));
88+
$guidelines->put('boost', $this->guideline('boost/core'));
8989

90-
$guidelines->put('php/core', $this->guideline('php/core'));
90+
$guidelines->put('php', $this->guideline('php/base'));
9191

9292
// TODO: AI-48: Use composer target version, not PHP version. Production could be 8.1, but local is 8.4
9393
// $phpMajorMinor = PHP_MAJOR_VERSION.'.'.PHP_MINOR_VERSION;
9494
// $guidelines->put('php/v'.$phpMajorMinor, $this->guidelinesDir('php/'.$phpMajorMinor));
9595

9696
if (str_contains(config('app.url'), '.test') && $this->herd->isInstalled()) {
97-
$guidelines->put('herd/core', $this->guideline('herd/core'));
97+
$guidelines->put('herd', $this->guideline('herd/core'));
9898
}
9999

100100
if ($this->config->laravelStyle) {

0 commit comments

Comments
 (0)