@@ -53,9 +53,9 @@ class InstallCommand extends Command
5353 private string $ projectPurpose = '' ;
5454
5555 /** @var array<non-empty-string> */
56- private array $ systemInstalledDevelopemntEnvironemnts = [];
56+ private array $ systemInstalledCodeEnvironemnts = [];
5757
58- private array $ projectInstalledDevelopmentEnironments = [];
58+ private array $ projectInstalledCodeEnvironments = [];
5959
6060 private bool $ enforceTests = true ;
6161
@@ -114,8 +114,8 @@ private function boostLogo(): string
114114
115115 private function discoverEnvironment (): void
116116 {
117- $ this ->systemInstalledDevelopemntEnvironemnts = $ this ->discoverSystemInstalledIdes ();
118- $ this ->projectInstalledDevelopmentEnironments = $ this ->discoverIdesUsedInProject ();
117+ $ this ->systemInstalledCodeEnvironemnts = $ this ->discoverSystemInstalledCodeEnvironments ();
118+ $ this ->projectInstalledCodeEnvironments = $ this ->discoverProjectInstalledCodeEnvironemnts ();
119119 $ this ->projectInstalledAgents = $ this ->discoverProjectAgents ();
120120 }
121121
@@ -148,7 +148,7 @@ private function enact(): void
148148 /**
149149 * Which IDEs are installed on this developer's machine?
150150 */
151- private function discoverSystemInstalledIdes (): array
151+ private function discoverSystemInstalledCodeEnvironments (): array
152152 {
153153 return $ this ->codeEnvironmentsDetector ->discoverSystemInstalledCodeEnvironements ();
154154 }
@@ -157,7 +157,7 @@ private function discoverSystemInstalledIdes(): array
157157 * Specifically want to detect what's in use in _this_ project.
158158 * Just because they have claude code installed doesn't mean they're using it.
159159 */
160- private function discoverIdesUsedInProject (): array
160+ private function discoverProjectInstalledCodeEnvironemnts (): array
161161 {
162162 return $ this ->codeEnvironmentsDetector ->discoverProjectInstalledCodeEnvironements (base_path ());
163163 }
@@ -321,7 +321,7 @@ private function discoverProjectAgents(): array
321321 }
322322
323323 // Also check installed IDEs that might not have project files yet
324- foreach ($ this ->systemInstalledDevelopemntEnvironemnts as $ ide ) {
324+ foreach ($ this ->systemInstalledCodeEnvironemnts as $ ide ) {
325325 if (isset ($ ideToAgentMap [$ ide ]) && ! in_array ($ ideToAgentMap [$ ide ], $ agents )) {
326326 $ agents [] = $ ideToAgentMap [$ ide ];
327327 }
@@ -363,7 +363,7 @@ private function idesToInstallTo(): Collection
363363
364364 // Map detected IDE keys to class names
365365 $ detectedClasses = [];
366- foreach ($ this ->projectInstalledDevelopmentEnironments as $ ideKey ) {
366+ foreach ($ this ->projectInstalledCodeEnvironments as $ ideKey ) {
367367 foreach ($ ides as $ className => $ displayName ) {
368368 if (strtolower ($ ideKey ) === strtolower (class_basename ($ className ))) {
369369 $ detectedClasses [] = $ className ;
@@ -417,7 +417,7 @@ private function agentsToInstallTo(): Collection
417417
418418 // Filter agents to only show those that are installed (for Windsurf)
419419 $ filteredAgents = $ agents ;
420- if (! in_array ('windsurf ' , $ this ->systemInstalledDevelopemntEnvironemnts ) && ! in_array ('windsurf ' , $ this ->projectInstalledAgents )) {
420+ if (! in_array ('windsurf ' , $ this ->systemInstalledCodeEnvironemnts ) && ! in_array ('windsurf ' , $ this ->projectInstalledAgents )) {
421421 unset($ filteredAgents ['Laravel \\Boost \\Install \\Agents \\Windsurf ' ]);
422422 }
423423
0 commit comments