Changeset 62939 for trunk/tests/phpstan/base.neon
- Timestamp:
- 07/30/2026 04:45:34 AM (3 months ago)
- File:
-
- 1 edited
-
trunk/tests/phpstan/base.neon (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpstan/base.neon
r62657 r62939 12 12 tags: 13 13 - phpstan.parser.richParserNodeVisitor 14 15 # Attaches the docblock documenting a hook to the hook's call, so that the return 16 # type extension and the rules below can all read it. 17 - 18 class: WordPress\PHPStan\HookDocsVisitor 19 tags: 20 - phpstan.parser.richParserNodeVisitor 21 22 # Resolves a hook call's documentation, whether written at the call or inherited 23 # through the "This filter is documented in <file>" convention. 24 - 25 class: WordPress\PHPStan\HookDocBlock 26 27 # Types the return value of apply_filters() (and variants) from the `@param` type 28 # documented for the value being filtered. Adapted from szepeviktor/phpstan-wordpress. 29 - 30 class: WordPress\PHPStan\ApplyFiltersDynamicFunctionReturnTypeExtension 31 tags: 32 - phpstan.broker.dynamicFunctionReturnTypeExtension 33 34 # Enforces that every hook invocation is preceded by a documenting docblock or 35 # a valid "This filter is documented in <file>" reference comment. 36 - 37 class: WordPress\PHPStan\HookDocumentationRule 38 tags: 39 - phpstan.rules.rule 40 41 # Enforces that a hook invocation passes as many arguments as its documentation 42 # (inline or referenced) describes. 43 - 44 class: WordPress\PHPStan\HookParamCountRule 45 tags: 46 - phpstan.rules.rule 47 48 # Docblocks inherited from another file, and the sources above that read them, 49 # are invisible to PHPStan's dependency graph, so both are folded into the result 50 # cache key. Without this, editing a canonical hook docblock leaves the cached 51 # results of every call site inheriting it in place. 52 - 53 class: WordPress\PHPStan\HookDocsResultCacheMetaExtension 54 tags: 55 - phpstan.resultCacheMetaExtension 14 56 15 57 parameters: … … 100 142 - ../../src/xmlrpc.php 101 143 - GlobalDocBlockVisitor.php 144 - HookDocsVisitor.php 145 - HookDocBlock.php 146 - ApplyFiltersDynamicFunctionReturnTypeExtension.php 147 - HookDocumentationRule.php 148 - HookParamCountRule.php 149 - HookDocsResultCacheMetaExtension.php 102 150 bootstrapFiles: 103 151 - bootstrap.php … … 120 168 # These files are autogenerated by tools/gutenberg/copy.js. 121 169 - ../../src/wp-includes/blocks 170 # Generated output from the Gutenberg plugin's wp-build templates. 171 - ../../src/wp-includes/build 122 172 # Third-party libraries. 123 173 - ../../src/wp-admin/includes/class-ftp-pure.php
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)