Skip to content

Update phpstan/phpstan requirement from 1.12.7 to 2.1.1 #306

Update phpstan/phpstan requirement from 1.12.7 to 2.1.1

Update phpstan/phpstan requirement from 1.12.7 to 2.1.1 #306

Triggered via pull request January 7, 2025 23:02
Status Failure
Total duration 35s
Artifacts

build.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

80 errors and 8 warnings
PHP 8.1 --prefer-lowest: src/Zend/Json.php#L182
Parameter &$value by-ref type of method Zend_Json::_recursiveJsonExprFinder() expects iterable|Zend_Json_Expr, string given.
PHP 8.1 --prefer-lowest: src/Zend/Json/Decoder.php#L147
Call to function is_string() with string will always evaluate to true.
PHP 8.1 --prefer-lowest: src/Zend/Json/Server.php#L86
Call to function is_array() with array will always evaluate to true.
PHP 8.1 --prefer-lowest: src/Zend/Json/Server.php#L173
Instanceof between Zend_Json_Server_Request and Zend_Json_Server_Request will always evaluate to true.
PHP 8.1 --prefer-lowest: src/Zend/Json/Server.php#L203
Instanceof between Zend_Server_Definition and Zend_Server_Definition will always evaluate to true.
PHP 8.1 --prefer-lowest: src/Zend/Json/Server.php#L433
Strict comparison using !== between null and string will always evaluate to true.
PHP 8.1 --prefer-lowest: src/Zend/Json/Server/Cache.php#L45
Call to function is_string() with string will always evaluate to true.
PHP 8.1 --prefer-lowest: src/Zend/Json/Server/Cache.php#L68
Call to function is_string() with string will always evaluate to true.
PHP 8.1 --prefer-lowest: src/Zend/Json/Server/Cache.php#L90
Call to function is_string() with string will always evaluate to true.
PHP 8.1 --prefer-lowest: src/Zend/Json/Server/Error.php#L91
Call to function is_scalar() with int will always evaluate to true.
PHP 8.1: src/Zend/Json.php#L182
Parameter &$value by-ref type of method Zend_Json::_recursiveJsonExprFinder() expects iterable|Zend_Json_Expr, string given.
PHP 8.1: src/Zend/Json/Decoder.php#L147
Call to function is_string() with string will always evaluate to true.
PHP 8.1: src/Zend/Json/Server.php#L86
Call to function is_array() with array will always evaluate to true.
PHP 8.1: src/Zend/Json/Server.php#L173
Instanceof between Zend_Json_Server_Request and Zend_Json_Server_Request will always evaluate to true.
PHP 8.1: src/Zend/Json/Server.php#L203
Instanceof between Zend_Server_Definition and Zend_Server_Definition will always evaluate to true.
PHP 8.1: src/Zend/Json/Server.php#L433
Strict comparison using !== between null and string will always evaluate to true.
PHP 8.1: src/Zend/Json/Server/Cache.php#L45
Call to function is_string() with string will always evaluate to true.
PHP 8.1: src/Zend/Json/Server/Cache.php#L68
Call to function is_string() with string will always evaluate to true.
PHP 8.1: src/Zend/Json/Server/Cache.php#L90
Call to function is_string() with string will always evaluate to true.
PHP 8.1: src/Zend/Json/Server/Error.php#L91
Call to function is_scalar() with int will always evaluate to true.
PHP 8.0: src/Zend/Json.php#L182
Parameter &$value by-ref type of method Zend_Json::_recursiveJsonExprFinder() expects iterable|Zend_Json_Expr, string given.
PHP 8.0: src/Zend/Json/Decoder.php#L147
Call to function is_string() with string will always evaluate to true.
PHP 8.0: src/Zend/Json/Server.php#L86
Call to function is_array() with array will always evaluate to true.
PHP 8.0: src/Zend/Json/Server.php#L173
Instanceof between Zend_Json_Server_Request and Zend_Json_Server_Request will always evaluate to true.
PHP 8.0: src/Zend/Json/Server.php#L203
Instanceof between Zend_Server_Definition and Zend_Server_Definition will always evaluate to true.
PHP 8.0: src/Zend/Json/Server.php#L433
Strict comparison using !== between null and string will always evaluate to true.
PHP 8.0: src/Zend/Json/Server/Cache.php#L45
Call to function is_string() with string will always evaluate to true.
PHP 8.0: src/Zend/Json/Server/Cache.php#L68
Call to function is_string() with string will always evaluate to true.
PHP 8.0: src/Zend/Json/Server/Cache.php#L90
Call to function is_string() with string will always evaluate to true.
PHP 8.0: src/Zend/Json/Server/Error.php#L91
Call to function is_scalar() with int will always evaluate to true.
PHP 8.2: src/Zend/Json.php#L182
Parameter &$value by-ref type of method Zend_Json::_recursiveJsonExprFinder() expects iterable|Zend_Json_Expr, string given.
PHP 8.2: src/Zend/Json/Decoder.php#L147
Call to function is_string() with string will always evaluate to true.
PHP 8.2: src/Zend/Json/Server.php#L86
Call to function is_array() with array will always evaluate to true.
PHP 8.2: src/Zend/Json/Server.php#L173
Instanceof between Zend_Json_Server_Request and Zend_Json_Server_Request will always evaluate to true.
PHP 8.2: src/Zend/Json/Server.php#L203
Instanceof between Zend_Server_Definition and Zend_Server_Definition will always evaluate to true.
PHP 8.2: src/Zend/Json/Server.php#L433
Strict comparison using !== between null and string will always evaluate to true.
PHP 8.2: src/Zend/Json/Server/Cache.php#L45
Call to function is_string() with string will always evaluate to true.
PHP 8.2: src/Zend/Json/Server/Cache.php#L68
Call to function is_string() with string will always evaluate to true.
PHP 8.2: src/Zend/Json/Server/Cache.php#L90
Call to function is_string() with string will always evaluate to true.
PHP 8.2: src/Zend/Json/Server/Error.php#L91
Call to function is_scalar() with int will always evaluate to true.
PHP 8.3: src/Zend/Json.php#L182
Parameter &$value by-ref type of method Zend_Json::_recursiveJsonExprFinder() expects iterable|Zend_Json_Expr, string given.
PHP 8.3: src/Zend/Json/Decoder.php#L147
Call to function is_string() with string will always evaluate to true.
PHP 8.3: src/Zend/Json/Server.php#L86
Call to function is_array() with array will always evaluate to true.
PHP 8.3: src/Zend/Json/Server.php#L173
Instanceof between Zend_Json_Server_Request and Zend_Json_Server_Request will always evaluate to true.
PHP 8.3: src/Zend/Json/Server.php#L203
Instanceof between Zend_Server_Definition and Zend_Server_Definition will always evaluate to true.
PHP 8.3: src/Zend/Json/Server.php#L433
Strict comparison using !== between null and string will always evaluate to true.
PHP 8.3: src/Zend/Json/Server/Cache.php#L45
Call to function is_string() with string will always evaluate to true.
PHP 8.3: src/Zend/Json/Server/Cache.php#L68
Call to function is_string() with string will always evaluate to true.
PHP 8.3: src/Zend/Json/Server/Cache.php#L90
Call to function is_string() with string will always evaluate to true.
PHP 8.3: src/Zend/Json/Server/Error.php#L91
Call to function is_scalar() with int will always evaluate to true.
PHP 8.2 --prefer-lowest: src/Zend/Json.php#L182
Parameter &$value by-ref type of method Zend_Json::_recursiveJsonExprFinder() expects iterable|Zend_Json_Expr, string given.
PHP 8.2 --prefer-lowest: src/Zend/Json/Decoder.php#L147
Call to function is_string() with string will always evaluate to true.
PHP 8.2 --prefer-lowest: src/Zend/Json/Server.php#L86
Call to function is_array() with array will always evaluate to true.
PHP 8.2 --prefer-lowest: src/Zend/Json/Server.php#L173
Instanceof between Zend_Json_Server_Request and Zend_Json_Server_Request will always evaluate to true.
PHP 8.2 --prefer-lowest: src/Zend/Json/Server.php#L203
Instanceof between Zend_Server_Definition and Zend_Server_Definition will always evaluate to true.
PHP 8.2 --prefer-lowest: src/Zend/Json/Server.php#L433
Strict comparison using !== between null and string will always evaluate to true.
PHP 8.2 --prefer-lowest: src/Zend/Json/Server/Cache.php#L45
Call to function is_string() with string will always evaluate to true.
PHP 8.2 --prefer-lowest: src/Zend/Json/Server/Cache.php#L68
Call to function is_string() with string will always evaluate to true.
PHP 8.2 --prefer-lowest: src/Zend/Json/Server/Cache.php#L90
Call to function is_string() with string will always evaluate to true.
PHP 8.2 --prefer-lowest: src/Zend/Json/Server/Error.php#L91
Call to function is_scalar() with int will always evaluate to true.
PHP 8.0 --prefer-lowest: src/Zend/Json.php#L182
Parameter &$value by-ref type of method Zend_Json::_recursiveJsonExprFinder() expects iterable|Zend_Json_Expr, string given.
PHP 8.0 --prefer-lowest: src/Zend/Json/Decoder.php#L147
Call to function is_string() with string will always evaluate to true.
PHP 8.0 --prefer-lowest: src/Zend/Json/Server.php#L86
Call to function is_array() with array will always evaluate to true.
PHP 8.0 --prefer-lowest: src/Zend/Json/Server.php#L173
Instanceof between Zend_Json_Server_Request and Zend_Json_Server_Request will always evaluate to true.
PHP 8.0 --prefer-lowest: src/Zend/Json/Server.php#L203
Instanceof between Zend_Server_Definition and Zend_Server_Definition will always evaluate to true.
PHP 8.0 --prefer-lowest: src/Zend/Json/Server.php#L433
Strict comparison using !== between null and string will always evaluate to true.
PHP 8.0 --prefer-lowest: src/Zend/Json/Server/Cache.php#L45
Call to function is_string() with string will always evaluate to true.
PHP 8.0 --prefer-lowest: src/Zend/Json/Server/Cache.php#L68
Call to function is_string() with string will always evaluate to true.
PHP 8.0 --prefer-lowest: src/Zend/Json/Server/Cache.php#L90
Call to function is_string() with string will always evaluate to true.
PHP 8.0 --prefer-lowest: src/Zend/Json/Server/Error.php#L91
Call to function is_scalar() with int will always evaluate to true.
PHP 8.3 --prefer-lowest: src/Zend/Json.php#L182
Parameter &$value by-ref type of method Zend_Json::_recursiveJsonExprFinder() expects iterable|Zend_Json_Expr, string given.
PHP 8.3 --prefer-lowest: src/Zend/Json/Decoder.php#L147
Call to function is_string() with string will always evaluate to true.
PHP 8.3 --prefer-lowest: src/Zend/Json/Server.php#L86
Call to function is_array() with array will always evaluate to true.
PHP 8.3 --prefer-lowest: src/Zend/Json/Server.php#L173
Instanceof between Zend_Json_Server_Request and Zend_Json_Server_Request will always evaluate to true.
PHP 8.3 --prefer-lowest: src/Zend/Json/Server.php#L203
Instanceof between Zend_Server_Definition and Zend_Server_Definition will always evaluate to true.
PHP 8.3 --prefer-lowest: src/Zend/Json/Server.php#L433
Strict comparison using !== between null and string will always evaluate to true.
PHP 8.3 --prefer-lowest: src/Zend/Json/Server/Cache.php#L45
Call to function is_string() with string will always evaluate to true.
PHP 8.3 --prefer-lowest: src/Zend/Json/Server/Cache.php#L68
Call to function is_string() with string will always evaluate to true.
PHP 8.3 --prefer-lowest: src/Zend/Json/Server/Cache.php#L90
Call to function is_string() with string will always evaluate to true.
PHP 8.3 --prefer-lowest: src/Zend/Json/Server/Error.php#L91
Call to function is_scalar() with int will always evaluate to true.
PHP 8.1 --prefer-lowest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.0
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.2 --prefer-lowest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.0 --prefer-lowest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.3 --prefer-lowest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636