Skip to content

Commit 2a62fbb

Browse files
committed
Load core stubs and bootstrap froma realtive path
props. @ondrejmirtes #13 (comment)
1 parent 3a10a86 commit 2a62fbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extension.neon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ services:
2525
- phpstan.broker.dynamicFunctionReturnTypeExtension
2626
parameters:
2727
autoload_files:
28-
- %rootDir%/../../php-stubs/wordpress-stubs/wordpress-stubs.php
29-
- %rootDir%/../../szepeviktor/phpstan-wordpress/bootstrap.php
28+
- ../../php-stubs/wordpress-stubs/wordpress-stubs.php
29+
- bootstrap.php
3030
dynamicConstantNames:
3131
- WP_DEBUG
3232
- WP_DEBUG_LOG

0 commit comments

Comments
 (0)