diff --git a/app/Booting.php b/app/Bootstrap.php similarity index 97% rename from app/Booting.php rename to app/Bootstrap.php index 925e81e8..af10c147 100644 --- a/app/Booting.php +++ b/app/Bootstrap.php @@ -7,7 +7,7 @@ use Nette\Configurator; -class Booting +class Bootstrap { public static function boot(): Configurator { diff --git a/bin/create-user.php b/bin/create-user.php index 8812fa45..60e358eb 100644 --- a/bin/create-user.php +++ b/bin/create-user.php @@ -5,7 +5,7 @@ require __DIR__ . '/../vendor/autoload.php'; -$container = App\Booting::boot() +$container = App\Bootstrap::boot() ->createContainer(); if (!isset($_SERVER['argv'][3])) { diff --git a/composer.json b/composer.json index 1d7405e4..dd8226fc 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "nette/tester": "^2.0" }, "autoload": { - "classmap": ["app/Booting.php"] + "classmap": ["app/Bootstrap.php"] }, "minimum-stability": "dev", "config": { diff --git a/tests/ExampleTest.php b/tests/ExampleTest.php index 40a8197e..52a5c998 100644 --- a/tests/ExampleTest.php +++ b/tests/ExampleTest.php @@ -34,7 +34,7 @@ public function testSomething() } -$container = \App\Booting::bootForTests() +$container = \App\Bootstrap::bootForTests() ->createContainer(); $test = new ExampleTest($container); diff --git a/www/index.php b/www/index.php index 9a3fba9a..7262782f 100644 --- a/www/index.php +++ b/www/index.php @@ -4,7 +4,7 @@ require __DIR__ . '/../vendor/autoload.php'; -App\Booting::boot() +App\Bootstrap::boot() ->createContainer() ->getByType(Nette\Application\Application::class) ->run();