From e3b7634521b7c3d0d0aa73c922368a13ce16a82e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20M=C3=BCller?= <2566282+brotkrueml@users.noreply.github.com> Date: Thu, 22 Aug 2024 14:22:55 +0200 Subject: [PATCH] chore: update dev dependencies --- composer.json | 12 ++++++------ phpstan.baseline.neon | 6 ++++++ phpstan.neon | 1 + rector.php | 6 +----- 4 files changed, 14 insertions(+), 11 deletions(-) create mode 100644 phpstan.baseline.neon diff --git a/composer.json b/composer.json index bc6167d..c1b1fbc 100644 --- a/composer.json +++ b/composer.json @@ -25,13 +25,13 @@ }, "require-dev": { "brotkrueml/coding-standards": "~5.1.0", - "ergebnis/composer-normalize": "~2.42.0", - "phpstan/extension-installer": "^1.3", - "phpstan/phpstan": "1.10.58", + "ergebnis/composer-normalize": "~2.43.0", + "phpstan/extension-installer": "^1.4", + "phpstan/phpstan": "1.11.11", "phpunit/phpunit": "^10.5", - "rector/rector": "1.0.1", - "symfony/yaml": "^5.4 || ^6.4 || 7.0", - "symplify/phpstan-rules": "^12.4", + "rector/rector": "1.2.3", + "symfony/yaml": "^5.4 || ^6.4 || ^7.0", + "symplify/phpstan-rules": "^13.0", "tomasvotruba/cognitive-complexity": "^0.2.3", "typo3/cms-dashboard": "^11.5.3 || ^12.4", "typo3/cms-extbase": "^11.5.3 || ^12.4", diff --git a/phpstan.baseline.neon b/phpstan.baseline.neon new file mode 100644 index 0000000..b4c3f6c --- /dev/null +++ b/phpstan.baseline.neon @@ -0,0 +1,6 @@ +parameters: + ignoreErrors: + - + message: "#^Instanceof between string\\|null and DateTimeInterface will always evaluate to false\\.$#" + count: 1 + path: Classes/Domain/Finishers/AbstractTransferFinisher.php diff --git a/phpstan.neon b/phpstan.neon index 42dfa4a..a681fbb 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,4 +1,5 @@ includes: + - phpstan.baseline.neon - .Build/vendor/symplify/phpstan-rules/config/regex-rules.neon rules: diff --git a/rector.php b/rector.php index ae54886..11fe6f1 100644 --- a/rector.php +++ b/rector.php @@ -3,7 +3,6 @@ declare(strict_types=1); use Rector\Config\RectorConfig; -use Rector\Php74\Rector\LNumber\AddLiteralSeparatorToNumberRector; use Rector\PHPUnit\Set\PHPUnitSetList; return RectorConfig::configure() @@ -29,7 +28,4 @@ ->withSets([ PHPUnitSetList::PHPUNIT_100, ]) - ->withRootFiles() - ->withSkip([ - AddLiteralSeparatorToNumberRector::class, - ]); + ->withRootFiles();