Skip to content

Bump PHPStan

Bump PHPStan #83

Triggered via pull request December 20, 2025 17:11
@malbertsmalberts
opened #38
stan2
Status Failure
Total duration 1m 5s
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_43, PHP 8.1
Process completed with exit code 1.
PHPStan: MW REL1_43, PHP 8.1: src/ResourceLoaderSCSSModule.php#L277
Call to function is_int() with int will always evaluate to true.
PHPStan: MW REL1_43, PHP 8.1: src/ResourceLoaderSCSSModule.php#L189
Strict comparison using !== between string and null will always evaluate to true.
PHPStan: MW REL1_43, PHP 8.1: src/ResourceLoaderSCSSModule.php#L132
Cannot cast mixed to string.
PHPStan: MW REL1_43, PHP 8.1: src/ResourceLoaderSCSSModule.php#L129
Cannot cast mixed to int.
PHPStan: MW REL1_43, PHP 8.1: src/ResourceLoaderSCSSModule.php#L101
Property SCSS\ResourceLoaderSCSSModule::$variables (array<string, string>) does not accept mixed.
PHPStan: MW REL1_43, PHP 8.1: src/ResourceLoaderSCSSModule.php#L0
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.