More phpstan checks for better code

This commit is contained in:
Jaapio
2026-01-01 22:36:45 +01:00
parent f08359470f
commit 3f6d648d7d
26 changed files with 154 additions and 92 deletions
Generated
+70 -1
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "69aa0af5bad8d21df103f96a6e42e6dc",
"content-hash": "2af32665428eb750a10f182d03577049",
"packages": [
{
"name": "doctrine/deprecations",
@@ -2391,6 +2391,75 @@
],
"time": "2020-09-28T06:39:44+00:00"
},
{
"name": "shipmonk/dead-code-detector",
"version": "0.5.1",
"source": {
"type": "git",
"url": "https://github.com/shipmonk-rnd/dead-code-detector.git",
"reference": "bcfa0a0ca5c2610422a141d6430727738dbcda36"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/shipmonk-rnd/dead-code-detector/zipball/bcfa0a0ca5c2610422a141d6430727738dbcda36",
"reference": "bcfa0a0ca5c2610422a141d6430727738dbcda36",
"shasum": ""
},
"require": {
"php": "^7.4 || ^8.0",
"phpstan/phpstan": "^1.11.7"
},
"require-dev": {
"doctrine/orm": "^2.19 || ^3.0",
"editorconfig-checker/editorconfig-checker": "^10.3.0",
"ergebnis/composer-normalize": "^2.28",
"nette/application": "^3.1",
"nette/component-model": "^3.0",
"nette/utils": "^3.0 || ^4.0",
"nikic/php-parser": "^4.19",
"phpstan/phpstan-phpunit": "^1.1.1",
"phpstan/phpstan-strict-rules": "^1.2.3",
"phpstan/phpstan-symfony": "^1.4",
"phpunit/phpunit": "^9.5.20",
"shipmonk/composer-dependency-analyser": "^1.6",
"shipmonk/name-collision-detector": "^2.0.0",
"shipmonk/phpstan-rules": "^3.1",
"slevomat/coding-standard": "^8.15.0",
"symfony/contracts": "^2.5 || ^3.0",
"symfony/event-dispatcher": "^5.4 || ^6.0 || ^7.0",
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0",
"symfony/routing": "^5.4 || ^6.0 || ^7.0"
},
"type": "phpstan-extension",
"extra": {
"phpstan": {
"includes": [
"rules.neon"
]
}
},
"autoload": {
"psr-4": {
"ShipMonk\\PHPStan\\DeadCode\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "Dead code detector to find unused PHP code via PHPStan extension.",
"keywords": [
"PHPStan",
"dead code",
"static analysis",
"unused code"
],
"support": {
"issues": "https://github.com/shipmonk-rnd/dead-code-detector/issues",
"source": "https://github.com/shipmonk-rnd/dead-code-detector/tree/0.5.1"
},
"time": "2024-11-05T09:28:57+00:00"
},
{
"name": "theseer/tokenizer",
"version": "1.3.1",