File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,10 @@ final class PreloadBuilder
51
51
52
52
declare(strict_types=1);
53
53
54
+ if (defined('__PHPSTAN_RUNNING__')) {
55
+ return;
56
+ }
57
+
54
58
55
59
CODE_SAMPLE;
56
60
Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
+ if (defined ('__PHPSTAN_RUNNING__ ' )) {
6
+ return ;
7
+ }
8
+
5
9
require_once __DIR__ . '/../../../vendor/nikic/php-parser/lib/PhpParser/Node.php ' ;
6
10
require_once __DIR__ . '/src/Contract/PhpParser/Node/StmtsAwareInterface.php ' ;
7
11
require_once __DIR__ . '/../../../vendor/nikic/php-parser/lib/PhpParser/NodeAbstract.php ' ;
Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
+ if (defined ('__PHPSTAN_RUNNING__ ' )) {
6
+ return ;
7
+ }
8
+
5
9
require_once __DIR__ . '/vendor/nikic/php-parser/lib/PhpParser/Node.php ' ;
6
10
require_once __DIR__ . '/src/Contract/PhpParser/Node/StmtsAwareInterface.php ' ;
7
11
require_once __DIR__ . '/vendor/nikic/php-parser/lib/PhpParser/NodeAbstract.php ' ;
You can’t perform that action at this time.
0 commit comments