Skip to content

Commit

Permalink
load stubs in config
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jul 22, 2021
1 parent 34f7170 commit db2e76b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions build/config/config-downgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
$phpStanStubLoader->loadStubs();

require_once __DIR__ . '/../../stubs-rector/PHPUnit/Framework/TestCase.php';
require_once __DIR__ . '/../../stubs/Composer/EventDispatcher/EventSubscriberInterface.php';
require_once __DIR__ . '/../../stubs/Composer/Plugin/PluginInterface.php';
require_once __DIR__ . '/../../stubs/Nette/DI/CompilerExtension.php';

return static function (ContainerConfigurator $containerConfigurator): void {
$parameters = $containerConfigurator->parameters();
Expand Down
4 changes: 0 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@
"files": [
"src/functions/node_helper.php",
"src/constants.php"
],
"classmap": [
"stubs/Composer",
"stubs/Nette/DI"
]
},
"autoload-dev": {
Expand Down

0 comments on commit db2e76b

Please sign in to comment.