Remove _PHPSTAN_ANALYSIS constant

we don't need this anymore since PHPStan is able to intelligently decide whether to autoload a file or not.
This commit is contained in:
Dylan K. Taylor
2020-12-27 19:10:40 +00:00
parent dea75a0687
commit 5920b0ba40
4 changed files with 3 additions and 13 deletions

View File

@ -26,7 +26,6 @@ namespace pocketmine\build\server_phar;
use pocketmine\utils\Git;
use function array_map;
use function count;
use function defined;
use function dirname;
use function file_exists;
use function getcwd;
@ -174,6 +173,4 @@ STUB
}
}
if(!defined('pocketmine\_PHPSTAN_ANALYSIS')){
main();
}
main();