File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ class CommandTest extends TestCase
2424 /**
2525 * This additional autoloader is needed to test if the class is not put multiple times into the cache.
2626 *
27- * See https://github.com/ClassPreloader/ClassPreloader/pull/35.
27+ * @before
2828 */
29- public function setUp ()
29+ public function setUpAutoloader ()
3030 {
3131 $ this ->autoloadFunc = function ($ class ) {
3232 return false ;
@@ -35,7 +35,10 @@ public function setUp()
3535 spl_autoload_register ($ this ->autoloadFunc , true , true );
3636 }
3737
38- public function tearDown ()
38+ /**
39+ * @after
40+ */
41+ public function tearDownAutoloader ()
3942 {
4043 spl_autoload_unregister ($ this ->autoloadFunc );
4144 }
Original file line number Diff line number Diff line change 11{
22 "require" : {
3- "phpstan/phpstan" : " ^0.12.3" ,
4- "phpstan/extension-installer" : " ^1.0.3" ,
5- "phpstan/phpstan-strict-rules" : " ^0.12" ,
6- "phpstan/phpstan-symfony" : " ^0.12"
3+ "php" : " ^7.2.5 || ^8.0" ,
4+ "phpstan/phpstan" : " 0.12.64" ,
5+ "phpstan/extension-installer" : " 1.1.0" ,
6+ "phpstan/phpstan-php-parser" : " 0.12.3" ,
7+ "phpstan/phpstan-strict-rules" : " 0.12.7" ,
8+ "phpstan/phpstan-symfony" : " 0.12.12"
79 }
810}
You can’t perform that action at this time.
0 commit comments