Skip to content

Update phpstan/phpstan requirement from ^1.10.15 to ^1.10.15 || ^2.0.0 #61

Update phpstan/phpstan requirement from ^1.10.15 to ^1.10.15 || ^2.0.0

Update phpstan/phpstan requirement from ^1.10.15 to ^1.10.15 || ^2.0.0 #61

Triggered via pull request November 11, 2024 20:39
Status Failure
Total duration 1m 30s
Artifacts

ci.yml

on: pull_request
Matrix: code-style
Matrix: PHPStan
Matrix: Psalm
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

7 errors
PHPStan: MW REL1_39, PHP 8.0: src/ResourceLoaderSCSSModule.php#L1
Ignored error pattern #^Elseif branch is unreachable because previous condition is always true\.$# in path /home/runner/work/SCSS/SCSS/mediawiki/vendor/mediawiki/scss/src/ResourceLoaderSCSSModule.php was not matched in reported errors.
PHPStan: MW REL1_39, PHP 8.0: src/ResourceLoaderSCSSModule.php#L128
Cannot cast mixed to int.
PHPStan: MW REL1_39, PHP 8.0: src/ResourceLoaderSCSSModule.php#L131
Cannot cast mixed to string.
PHPStan: MW REL1_39, PHP 8.0: src/ResourceLoaderSCSSModule.php#L148
Cannot cast mixed to int.
PHPStan: MW REL1_39, PHP 8.0: src/ResourceLoaderSCSSModule.php#L184
Strict comparison using !== between string and null will always evaluate to true.
PHPStan: MW REL1_39, PHP 8.0: src/ResourceLoaderSCSSModule.php#L272
Call to function is_int() with int will always evaluate to true.
PHPStan: MW REL1_39, PHP 8.0
Process completed with exit code 1.