Skip to content

Commit

Permalink
try require preload
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Nov 21, 2024
1 parent 88174ac commit 5b896c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"php": "^8.1",
"cakephp/console": "^5.0",
"nette/utils": "^4.0",
"nikic/php-parser": "^5.0",
"rector/rector": "dev-main as 1.2.10",
"symfony/string": "^6.0 || ^7.0"
},
Expand Down Expand Up @@ -38,5 +37,11 @@
},
"support": {
"source": "https://github.com/cakephp/upgrade"
},
"require-dev": {
"cakephp/cakephp": "5.x-dev",
"cakephp/cakephp-codesniffer": "^5.0",
"mikey179/vfsstream": "^1.6.8",
"phpunit/phpunit": "^10.1"
}
}
2 changes: 2 additions & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
error_reporting(-1);
date_default_timezone_set('UTC');

require dirname(__DIR__) . '/vendor/rector/rector/preload.php';

require dirname(__DIR__) . '/vendor/autoload.php';

require dirname(__DIR__) . '/config/bootstrap.php';
Expand Down

0 comments on commit 5b896c1

Please sign in to comment.