Fix some bleeding edge errors #2386
Annotations
35 errors and 10 warnings
PHPStan (7.4):
lib/RexCmd.php#L43
Parameter &$stderrOutput @param-out type of method rexstan\RexCmd::execCmd() expects string, string|false given.
|
PHPStan (7.4):
lib/RexStan.php#L38
Parameter #2 $stderrOutput of static method rexstan\RexCmd::execCmd() expects string, string|null given.
|
PHPStan (7.4):
lib/reflection/RexSqlReflection.php#L110
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
|
PHPStan (7.4):
lib/rule/RexSqlInjectionRule.php#L264
Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead.
|
PHPStan (7.4):
pages/analysis.php#L43
Call to function is_array() with array<string, mixed> will always evaluate to true.
|
PHPStan (7.4):
pages/analysis.php#L50
Call to function is_array() with array<string, mixed> will always evaluate to true.
|
PHPStan (7.4)
Process completed with exit code 1.
|
PHPStan (8.3):
lib/RexCmd.php#L43
Parameter &$stderrOutput @param-out type of method rexstan\RexCmd::execCmd() expects string, string|false given.
|
PHPStan (8.3):
lib/RexStan.php#L38
Parameter #2 $stderrOutput of static method rexstan\RexCmd::execCmd() expects string, string|null given.
|
PHPStan (8.3):
lib/reflection/RexSqlReflection.php#L110
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
|
PHPStan (8.3):
lib/rule/RexSqlInjectionRule.php#L264
Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead.
|
PHPStan (8.3):
pages/analysis.php#L43
Call to function is_array() with array<string, mixed> will always evaluate to true.
|
PHPStan (8.3):
pages/analysis.php#L50
Call to function is_array() with array<string, mixed> will always evaluate to true.
|
PHPStan (8.3)
Process completed with exit code 1.
|
PHPStan (8.1):
lib/RexCmd.php#L43
Parameter &$stderrOutput @param-out type of method rexstan\RexCmd::execCmd() expects string, string|false given.
|
PHPStan (8.1):
lib/RexStan.php#L38
Parameter #2 $stderrOutput of static method rexstan\RexCmd::execCmd() expects string, string|null given.
|
PHPStan (8.1):
lib/reflection/RexSqlReflection.php#L110
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
|
PHPStan (8.1):
lib/rule/RexSqlInjectionRule.php#L264
Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead.
|
PHPStan (8.1):
pages/analysis.php#L43
Call to function is_array() with array<string, mixed> will always evaluate to true.
|
PHPStan (8.1):
pages/analysis.php#L50
Call to function is_array() with array<string, mixed> will always evaluate to true.
|
PHPStan (8.1)
Process completed with exit code 1.
|
PHPStan (8.2):
lib/RexCmd.php#L43
Parameter &$stderrOutput @param-out type of method rexstan\RexCmd::execCmd() expects string, string|false given.
|
PHPStan (8.2):
lib/RexStan.php#L38
Parameter #2 $stderrOutput of static method rexstan\RexCmd::execCmd() expects string, string|null given.
|
PHPStan (8.2):
lib/reflection/RexSqlReflection.php#L110
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
|
PHPStan (8.2):
lib/rule/RexSqlInjectionRule.php#L264
Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead.
|
PHPStan (8.2):
pages/analysis.php#L43
Call to function is_array() with array<string, mixed> will always evaluate to true.
|
PHPStan (8.2):
pages/analysis.php#L50
Call to function is_array() with array<string, mixed> will always evaluate to true.
|
PHPStan (8.2)
Process completed with exit code 1.
|
PHPStan (8.0):
lib/RexCmd.php#L43
Parameter &$stderrOutput @param-out type of method rexstan\RexCmd::execCmd() expects string, string|false given.
|
PHPStan (8.0):
lib/RexStan.php#L38
Parameter #2 $stderrOutput of static method rexstan\RexCmd::execCmd() expects string, string|null given.
|
PHPStan (8.0):
lib/reflection/RexSqlReflection.php#L110
Doing instanceof PHPStan\Type\Generic\GenericObjectType is error-prone and deprecated.
|
PHPStan (8.0):
lib/rule/RexSqlInjectionRule.php#L264
Doing instanceof PHPStan\Type\Constant\ConstantArrayType is error-prone and deprecated. Use Type::getConstantArrays() instead.
|
PHPStan (8.0):
pages/analysis.php#L43
Call to function is_array() with array<string, mixed> will always evaluate to true.
|
PHPStan (8.0):
pages/analysis.php#L50
Call to function is_array() with array<string, mixed> will always evaluate to true.
|
PHPStan (8.0)
Process completed with exit code 1.
|
PHPStan (7.4)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPStan (7.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
PHPStan (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPStan (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
PHPStan (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPStan (8.1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
PHPStan (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPStan (8.2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
PHPStan (8.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPStan (8.0)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|