Changeset 63019 for trunk/phpstan.neon.dist
- Timestamp:
- 08/05/2026 07:16:57 AM (2 months ago)
- File:
-
- 1 edited
-
trunk/phpstan.neon.dist (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpstan.neon.dist
r62719 r63019 15 15 - vendor/phpstan/phpstan-phpunit/extension.neon 16 16 17 # The baseline file includes preexisting errors in the codebase that should be ignored. 17 # Preexisting errors that should be ignored, one baseline per error identifier 18 # so that the remaining work on each is visible as a single shrinking file. 19 # Each is meant to reach zero and be deleted, taking its line below with it. 18 20 # https://phpstan.org/user-guide/baseline 19 - tests/phpstan/baseline.php 21 # 22 # Regenerate with `composer phpstan:baselines`, which rewrites both the files 23 # and the list between the markers. Do not edit that list by hand. 24 # phpstan:baselines start 25 - tests/phpstan/baselines/empty.variable.neon 26 - tests/phpstan/baselines/isset.variable.neon 27 - tests/phpstan/baselines/variable.undefined.neon 28 # phpstan:baselines end 20 29 21 30 parameters: 22 31 # https://phpstan.org/user-guide/rule-levels 23 level: 032 level: 1 24 33 reportUnmatchedIgnoredErrors: true 25 34 35 # The following ignored errors are not intended to be fixed, as distinct from the baselines 36 # included above. 37 # 38 # A baseline records work still to be done. Every entry in one is in scope to be fixed, and 39 # each file is meant to reach zero and then be deleted. An entry here is the opposite: a 40 # decision that the code is right as written and the report is not actionable, whether 41 # because PHPStan cannot see what makes the code safe, or because satisfying it would mean 42 # changing code that has no other reason to change. 43 # 44 # So prefer fixing an error, and baseline it when it cannot be fixed yet. Add it here only 45 # when it should never be fixed, and say why. 26 46 ignoreErrors: 27 47 # Level 0: … … 41 61 path: src/wp-includes/canonical.php 42 62 count: 1 63 43 64 # Level 2: 44 65 # ValueError is PHP 8.0+; core throws it conditionally so the docblocks are correct for WP's 7.4+ range,
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)