forked from szepeviktor/phpstan-wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathextension.neon
More file actions
41 lines (41 loc) · 1.41 KB
/
extension.neon
File metadata and controls
41 lines (41 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
services:
-
class: PHPStan\WordPress\IsWpErrorFunctionTypeSpecifyingExtension
tags:
- phpstan.typeSpecifier.functionTypeSpecifyingExtension
-
class: PHPStan\WordPress\WpThemeMagicPropertiesClassReflectionExtension
tags:
- phpstan.broker.propertiesClassReflectionExtension
-
class: PHPStan\WordPress\RedirectCanonicalDynamicFunctionReturnTypeExtension
tags:
- phpstan.broker.dynamicFunctionReturnTypeExtension
-
class: PHPStan\WordPress\EscSqlDynamicFunctionReturnTypeExtension
tags:
- phpstan.broker.dynamicFunctionReturnTypeExtension
-
class: PHPStan\WordPress\GetPostDynamicFunctionReturnTypeExtension
tags:
- phpstan.broker.dynamicFunctionReturnTypeExtension
-
class: PHPStan\WordPress\GetPostsDynamicFunctionReturnTypeExtension
tags:
- phpstan.broker.dynamicFunctionReturnTypeExtension
parameters:
autoload_files:
- %rootDir%/../../php-stubs/wordpress-stubs/wordpress-stubs.php
- %rootDir%/../../szepeviktor/phpstan-wordpress/bootstrap.php
dynamicConstantNames:
- WP_DEBUG
- WP_DEBUG_LOG
- EMPTY_TRASH_DAYS
- WP_CLI
earlyTerminatingFunctionCalls:
- wp_die
- wp_send_json
- wp_send_json_success
- wp_send_json_error
- wp_nonce_ays
- dead_db