Changeset 63301
- Timestamp:
- 08/14/2026 06:22:35 PM (4 weeks ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 6 edited
-
phpstan.neon.dist (modified) (2 diffs)
-
src/wp-includes/html-api/class-wp-html-tag-processor.php (modified) (1 diff)
-
tests/phpstan/baselines/booleanAnd.alwaysTrue.neon (deleted)
-
tests/phpstan/baselines/deadCode.unreachable.neon (modified) (1 diff)
-
tests/phpstan/baselines/identical.alwaysFalse.neon (modified) (1 diff)
-
tests/phpstan/baselines/method.unused.neon (modified) (1 diff)
-
tests/phpstan/baselines/notIdentical.alwaysTrue.neon (modified) (1 diff)
-
tests/phpstan/baselines/property.unusedType.neon (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpstan.neon.dist
r63191 r63301 30 30 - tests/phpstan/baselines/binaryOp.invalid.neon 31 31 - tests/phpstan/baselines/booleanAnd.alwaysFalse.neon 32 - tests/phpstan/baselines/booleanAnd.alwaysTrue.neon33 32 - tests/phpstan/baselines/booleanAnd.leftAlwaysTrue.neon 34 33 - tests/phpstan/baselines/booleanAnd.rightAlwaysTrue.neon … … 81 80 - tests/phpstan/baselines/property.private.neon 82 81 - tests/phpstan/baselines/property.protected.neon 83 - tests/phpstan/baselines/property.unusedType.neon84 82 - tests/phpstan/baselines/return.empty.neon 85 83 - tests/phpstan/baselines/return.missing.neon -
trunk/src/wp-includes/html-api/class-wp-html-tag-processor.php
r63293 r63301 1729 1729 * 1730 1730 * @return bool Whether a tag was found before the end of the document. 1731 * 1732 * @phpstan-impure 1731 1733 */ 1732 1734 private function parse_next_tag(): bool { -
trunk/tests/phpstan/baselines/deadCode.unreachable.neon
r63023 r63301 293 293 identifier: deadCode.unreachable 294 294 count: 1 295 path: ../../../src/wp-includes/html-api/class-wp-html-tag-processor.php296 -297 message: '#^Unreachable statement \- code above always terminates\.$#'298 identifier: deadCode.unreachable299 count: 1300 295 path: ../../../src/wp-includes/pluggable.php 301 296 - -
trunk/tests/phpstan/baselines/identical.alwaysFalse.neon
r63023 r63301 30 30 path: ../../../src/wp-includes/html-api/class-wp-html-processor.php 31 31 - 32 message: '#^Strict comparison using \=\=\= between ''STATE_INCOMPLETE…'' and ''STATE_READY'' will always evaluate to false\.$#'33 identifier: identical.alwaysFalse34 count: 135 path: ../../../src/wp-includes/html-api/class-wp-html-tag-processor.php36 -37 32 message: '#^Strict comparison using \=\=\= between 3000000000 and 2147483647 will always evaluate to false\.$#' 38 33 identifier: identical.alwaysFalse -
trunk/tests/phpstan/baselines/method.unused.neon
r63023 r63301 34 34 count: 1 35 35 path: ../../../src/wp-includes/class-wp-script-modules.php 36 -37 message: '#^Method WP_HTML_Tag_Processor\:\:skip_rawtext\(\) is unused\.$#'38 identifier: method.unused39 count: 140 path: ../../../src/wp-includes/html-api/class-wp-html-tag-processor.php41 -42 message: '#^Method WP_HTML_Tag_Processor\:\:skip_script_data\(\) is unused\.$#'43 identifier: method.unused44 count: 145 path: ../../../src/wp-includes/html-api/class-wp-html-tag-processor.php -
trunk/tests/phpstan/baselines/notIdentical.alwaysTrue.neon
r63158 r63301 40 40 path: ../../../src/wp-includes/functions.php 41 41 - 42 message: '#^Strict comparison using \!\=\= between ''STATE_COMPLETE'' and ''STATE_READY'' will always evaluate to true\.$#'43 identifier: notIdentical.alwaysTrue44 count: 145 path: ../../../src/wp-includes/html-api/class-wp-html-tag-processor.php46 -47 message: '#^Strict comparison using \!\=\= between ''STATE_INCOMPLETE…'' and ''STATE_READY'' will always evaluate to true\.$#'48 identifier: notIdentical.alwaysTrue49 count: 150 path: ../../../src/wp-includes/html-api/class-wp-html-tag-processor.php51 -52 message: '#^Strict comparison using \!\=\= between ''STATE_MATCHED_TAG'' and ''STATE_READY'' will always evaluate to true\.$#'53 identifier: notIdentical.alwaysTrue54 count: 155 path: ../../../src/wp-includes/html-api/class-wp-html-tag-processor.php56 -57 42 message: '#^Strict comparison using \!\=\= between 0 and int\<min, \-1\>\|int\<1, max\> will always evaluate to true\.$#' 58 43 identifier: notIdentical.alwaysTrue
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)