:octocat: static analysis update

This commit is contained in:
smiley
2026-06-02 13:24:18 +02:00
parent 5944b7be9c
commit b47aa221c7
4 changed files with 7 additions and 10 deletions
+5 -5
View File
@@ -55,14 +55,14 @@
"ext-fileinfo": "*",
"chillerlan/php-authenticator": "^6.0",
"intervention/image": "^3.11",
"phan/phan": "^6.0.1",
"phpbench/phpbench": "^1.4",
"phpunit/phpunit": "^13.0",
"phan/phan": "v6.x-dev#e9770a7fac9b83f9206e8b205146c7626793dd3e",
"phpbench/phpbench": "^1.6",
"phpunit/phpunit": "^13.1",
"phpmd/phpmd": "^2.15",
"phpstan/phpstan": "^2.1.40",
"phpstan/phpstan": "^2.2.1",
"phpstan/phpstan-deprecation-rules": "^2.0.4",
"setasign/fpdf": "^1.8.6",
"slevomat/coding-standard": "^8.28",
"slevomat/coding-standard": "^8.29",
"squizlabs/php_codesniffer": "^4.0"
},
"suggest": {
+2 -2
View File
@@ -49,7 +49,7 @@
<rule ref="SlevomatCodingStandard.ControlStructures.DisallowContinueWithoutIntegerOperandInSwitch"/>
<rule ref="SlevomatCodingStandard.ControlStructures.DisallowShortTernaryOperator"/>
<rule ref="SlevomatCodingStandard.ControlStructures.DisallowTrailingMultiLineTernaryOperator"/>
<!--<rule ref="SlevomatCodingStandard.ControlStructures.NewWithoutParentheses"/>-->
<rule ref="SlevomatCodingStandard.ControlStructures.NewWithoutParentheses"/>
<rule ref="SlevomatCodingStandard.ControlStructures.RequireNullCoalesceEqualOperator"/>
<rule ref="SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator"/>
<rule ref="SlevomatCodingStandard.ControlStructures.RequireNullSafeObjectOperator"/>
@@ -216,7 +216,7 @@
<!--
Configurable built-in https://github.com/squizlabs/PHP_CodeSniffer/wiki/Customisable-Sniff-Properties
Configurable built-in https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Customisable-Sniff-Properties
-->
<rule ref="Generic.ControlStructures.InlineControlStructure">
-2
View File
@@ -6,8 +6,6 @@
* @author smiley <smiley@chillerlan.net>
* @copyright 2024 smiley
* @license MIT
*
* @phan-file-suppress PhanUnreferencedUseFunction, PhanPropertyHookWithDefaultValue
*/
declare(strict_types=1);
-1
View File
@@ -10,7 +10,6 @@
* @license MIT
*
* @noinspection PhpUnused, PhpComposerExtensionStubsInspection
* @phan-file-suppress PhanUnreferencedUseFunction, PhanPropertyHookWithDefaultValue
*/
declare(strict_types=1);