Skip to content

Commit fcd9dbf

Browse files
authored
🎨 Remove unnecessary support helper registration (#453)
1 parent 0fe0619 commit fcd9dbf

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/Roots/Acorn/Application.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Roots\Acorn;
44

5-
use Composer\InstalledVersions;
65
use Exception;
76
use Illuminate\Contracts\Container\BindingResolutionException;
87
use Illuminate\Foundation\Application as FoundationApplication;
@@ -58,7 +57,6 @@ public function __construct($basePath = null)
5857
$this->useEnvironmentPath($this->environmentPath());
5958

6059
$this->registerGlobalHelpers();
61-
$this->registerSupportHelpers();
6260

6361
parent::__construct($basePath);
6462
}
@@ -123,18 +121,6 @@ protected function registerGlobalHelpers()
123121
require_once dirname(__DIR__, 2).'/Illuminate/Foundation/helpers.php';
124122
}
125123

126-
/**
127-
* Load the support helper functions.
128-
*
129-
* @return void
130-
*/
131-
protected function registerSupportHelpers()
132-
{
133-
$path = InstalledVersions::getInstallPath('illuminate/support');
134-
135-
require_once "{$path}/helpers.php";
136-
}
137-
138124
/**
139125
* Set paths that are configurable by the developer.
140126
*

0 commit comments

Comments
 (0)