Code cleanup and phpstan fixes. Still breaks but at least it's consistent.

This commit is contained in:
James Cole
2023-11-04 19:00:25 +01:00
parent fe0a205a05
commit 0f6f4e1a50
44 changed files with 80 additions and 154 deletions

57
composer.lock generated
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": "68c12b4cd64c80ddda151a22622e822d",
"content-hash": "40e0d0acc39fde17b9e90f10ff4b7b8c",
"packages": [
{
"name": "bacon/bacon-qr-code",
@@ -11604,61 +11604,6 @@
],
"time": "2023-02-07T11:34:05+00:00"
},
{
"name": "symplify/phpstan-rules",
"version": "12.4.3",
"source": {
"type": "git",
"url": "https://github.com/symplify/phpstan-rules.git",
"reference": "54def05dea85612c8c7729933ba5457dbd3eed64"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symplify/phpstan-rules/zipball/54def05dea85612c8c7729933ba5457dbd3eed64",
"reference": "54def05dea85612c8c7729933ba5457dbd3eed64",
"shasum": ""
},
"require": {
"nette/utils": "^3.2 || ^4.0",
"nikic/php-parser": "^4.17.1",
"php": "^7.2|^8.0",
"phpstan/phpstan": "^1.10.30",
"webmozart/assert": "^1.11"
},
"type": "phpstan-extension",
"extra": {
"phpstan": {
"includes": [
"config/services/services.neon"
]
}
},
"autoload": {
"psr-4": {
"Symplify\\PHPStanRules\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "Set of Symplify rules for PHPStan",
"support": {
"issues": "https://github.com/symplify/phpstan-rules/issues",
"source": "https://github.com/symplify/phpstan-rules/tree/12.4.3"
},
"funding": [
{
"url": "https://www.paypal.me/rectorphp",
"type": "custom"
},
{
"url": "https://github.com/tomasvotruba",
"type": "github"
}
],
"time": "2023-10-19T08:45:51+00:00"
},
{
"name": "thecodingmachine/phpstan-strict-rules",
"version": "v1.0.0",