From 9a3d55f1e5d9aa6bb06911aa58aa1d67855a69df Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 May 2024 02:14:22 +0000 Subject: [PATCH 1/3] --- updated-dependencies: - dependency-name: mimmi20/mezzio-generic-authorization dependency-type: direct:production dependency-group: minor-patch-dependencies - dependency-name: mimmi20/coding-standard dependency-type: direct:development dependency-group: minor-patch-dependencies - dependency-name: rector/rector dependency-type: direct:development dependency-group: minor-patch-dependencies - dependency-name: symplify/phpstan-rules dependency-type: direct:development dependency-group: minor-patch-dependencies - dependency-name: tomasvotruba/type-coverage dependency-type: direct:development dependency-group: minor-patch-dependencies ... Signed-off-by: dependabot[bot] --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 0710a70..6158bcf 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0", "ext-mbstring": "*", "laminas/laminas-stdlib": "^3.19.0", - "mimmi20/mezzio-generic-authorization": "^3.0.5", + "mimmi20/mezzio-generic-authorization": "^3.0.6", "psr/container": "^1.1.2 || ^2.0.2", "psr/http-message": "^2.0", "psr/http-server-handler": "^1.0.2", @@ -41,17 +41,17 @@ "laminas/laminas-servicemanager": "^3.22.1 || ^4.0.0", "mezzio/mezzio-helpers": "^5.16.0", "mezzio/mezzio-router": "^3.17.0", - "mimmi20/coding-standard": "^5.2.29", + "mimmi20/coding-standard": "^5.2.30", "nikic/php-parser": "^v4.19.1 || ^v5.0.2", "phpstan/extension-installer": "^1.3.1", "phpstan/phpstan": "^1.11.1", "phpstan/phpstan-deprecation-rules": "^1.2.0", "phpstan/phpstan-phpunit": "^1.4.0", "phpunit/phpunit": "^10.5.20", - "rector/rector": "^1.0.5", - "symplify/phpstan-rules": "^12.4.9", + "rector/rector": "^1.1.0", + "symplify/phpstan-rules": "^12.6.2", "tomasvotruba/cognitive-complexity": "^0.2.3", - "tomasvotruba/type-coverage": "^0.2.8", + "tomasvotruba/type-coverage": "^0.3.0", "tomasvotruba/unused-public": "^0.3.9" }, "conflict": { From 8017845f4d3257611e82b71c5ee05e6ad9811c53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Tue, 21 May 2024 22:34:05 +0200 Subject: [PATCH 2/3] fix issues --- .github/renovate.json5 | 17 +++++++++++++++-- phpstan.neon | 4 ---- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index ea2f841..b86a041 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -8,17 +8,25 @@ "assignees": [ "mimmi20" ], + "automerge": false, "branchConcurrentLimit": 0, "commitBody": "Signed-off-by: {{{gitAuthor}}}", "commitBodyTable": true, "configMigration": true, "configWarningReuseIssue": false, - "dependencyDashboard": true, - "dependencyDashboardApproval": true, + "dependencyDashboard": false, + "dependencyDashboardApproval": false, "dependencyDashboardOSVVulnerabilitySummary": "all", + //"enabledManagers": ["composer", "github-actions", "npm"], + "ignoreTests": false, + "ignoreUnstable": true, + "internalChecksFilter": "strict", "labels": [ "dependencies" ], + "lockFileMaintenance": { + "enabled": false + }, "osvVulnerabilityAlerts": true, "platformAutomerge": false, "prBodyColumns": [ @@ -41,9 +49,14 @@ "reviewers": [ "mimmi20" ], + "rollbackPrs": true, "schedule": ["at 4:00 am on Tuesday"], "semanticCommits": "disabled", + "separateMajorMinor": true, + "separateMinorPatch": false, "timezone": "Europe/Berlin", + "updateLockFiles": false, + "updateNotScheduled": false, "packageRules": [ { "groupName": "PHP", diff --git a/phpstan.neon b/phpstan.neon index 14b28d9..1a6dd90 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -123,12 +123,9 @@ rules: # code complexity - Symplify\PHPStanRules\Rules\Explicit\NoMixedPropertyFetcherRule - Symplify\PHPStanRules\Rules\Explicit\NoMixedMethodCallerRule - - Symplify\PHPStanRules\Rules\Enum\RequireEnumDocBlockOnConstantListPassRule # - Symplify\PHPStanRules\Rules\NoDynamicNameRule - - Symplify\PHPStanRules\Rules\Explicit\NoRelativeFilePathRule # - Symplify\PHPStanRules\Rules\NoReturnArrayVariableListRule # todo: fix - - Symplify\PHPStanRules\Rules\NoProtectedClassElementRule - Symplify\PHPStanRules\Rules\ForbiddenExtendOfNonAbstractClassRule - Symplify\PHPStanRules\Rules\Complexity\ForbiddenSameNamedNewInstanceRule @@ -146,7 +143,6 @@ rules: - Symplify\PHPStanRules\Rules\NoArrayAccessOnObjectRule - Symplify\PHPStanRules\Rules\NoNullableArrayPropertyRule - # - Symplify\PHPStanRules\Rules\BoolishClassMethodPrefixRule # dead-code - Symplify\PHPStanRules\Rules\NoIssetOnObjectRule From b2341c6010aed9c039d234eb7a571fd6f841e7b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Tue, 21 May 2024 22:47:17 +0200 Subject: [PATCH 3/3] fix issue --- rector.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rector.php b/rector.php index 1509098..b209d9f 100644 --- a/rector.php +++ b/rector.php @@ -15,6 +15,7 @@ use Rector\DeadCode\Rector\If_\RemoveDeadInstanceOfRector; use Rector\DeadCode\Rector\StaticCall\RemoveParentCallWithoutParentRector; use Rector\Php80\Rector\Class_\AnnotationToAttributeRector; +use Rector\Php80\Rector\FunctionLike\MixedTypeRector; use Rector\Php81\Rector\Array_\FirstClassCallableRector; use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector; use Rector\Php81\Rector\Property\ReadOnlyPropertyRector; @@ -42,6 +43,7 @@ RemoveAlwaysTrueIfConditionRector::class, RemoveParentCallWithoutParentRector::class, AnnotationToAttributeRector::class, + MixedTypeRector::class, ], );