FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
ai-command/phpstan.neon.dist at main · wp-cli/ai-command · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
wp-cli
/
ai-command
Public
Notifications
You must be signed in to change notification settings
Fork
3
Star
3
Code
Issues
0
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
ai-command
/
phpstan.neon.dist
Copy path
More file actions
More file actions
Latest commit
History
History
History
27 lines (27 loc) · 1.18 KB
Breadcrumbs
ai-command
/
phpstan.neon.dist
Copy path
File metadata and controls
27 lines (27 loc) · 1.18 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
parameters:
level: 9
paths:
- src
- ai-command.php
scanDirectories:
- vendor/wp-cli/wp-cli/php
scanFiles:
- vendor/php-stubs/wordpress-stubs/wordpress-stubs.php
treatPhpDocTypesAsCertain: false
ignoreErrors:
# johnbillion/wp-compat checks every WordPress symbol against the WordPress 4.9
# baseline that wp-cli-tests configures. It only recognizes function_exists() and
# method_exists() guards, so it cannot see the `before_invoke` check in
# ai-command.php that aborts `wp ai` and `wp connectors` below WordPress 7.0.
#
# The entries below match on the message as well as the identifier, naming both the
# functions and that version, so a call to anything introduced after 7.0 still gets
# reported rather than swallowed by a file-wide ignore.
-
identifier: WPCompat.functionNotAvailable
message: '#^(wp_ai_client_prompt|wp_supports_ai)\(\) is only available since WordPress version 7\.0\.0\.$#'
path: src/AI_Command.php
-
identifier: WPCompat.functionNotAvailable
message: '#^(wp_get_connector|wp_get_connectors)\(\) is only available since WordPress version 7\.0\.0\.$#'
path: src/Connectors_Command.php
Back
|
FazBrowse Home
|
New Git URL