Browse Source

Load tests/boostrap.php for phpstan.

This avoid various constant not defined errors.
ADmad 8 years ago
parent
commit
0347c02f6c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      phpstan.neon

+ 1 - 1
phpstan.neon

@@ -1,6 +1,6 @@
 parameters:
     autoload_files:
-        - %rootDir%/../../../src/basics.php
+        - %rootDir%/../../../tests/bootstrap.php
     ignoreErrors:
         - '#Function wincache_ucache_[a-zA-Z0-9_]+ not found#'
         - '#Function xcache_[a-zA-Z0-9_]+ not found#'