From 77ef1af216ed96fe6305dc01730447e2b7ff3a17 Mon Sep 17 00:00:00 2001 From: Jan Nedbal Date: Fri, 18 Oct 2024 13:02:32 +0200 Subject: [PATCH] Drop dependabot, pin CI tooling (#54) --- .github/dependabot.yml | 16 ---------------- composer.json | 25 ++++++++++++++----------- 2 files changed, 14 insertions(+), 27 deletions(-) delete mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 14d51e6..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,16 +0,0 @@ -version: 2 -updates: - - - package-ecosystem: composer - directory: "/" - schedule: - interval: monthly - allow: - - dependency-type: development - versioning-strategy: increase - groups: - dev-dependencies: - dependency-type: development - update-types: - - minor - - patch diff --git a/composer.json b/composer.json index 6a69587..874431d 100644 --- a/composer.json +++ b/composer.json @@ -11,15 +11,15 @@ "require-dev": { "doctrine/dbal": "^4.0", "doctrine/event-manager": "^2.0", - "editorconfig-checker/editorconfig-checker": "^10.6.0", - "ergebnis/composer-normalize": "^2.43.0", - "phpstan/phpstan": "^1.12.5", - "phpstan/phpstan-phpunit": "^1.4.0", - "phpstan/phpstan-strict-rules": "^1.6.0", - "phpunit/phpunit": "^10.5.24", - "shipmonk/composer-dependency-analyser": "^1.5.3", - "shipmonk/phpstan-rules": "^3.0", - "slevomat/coding-standard": "^8.15.0" + "editorconfig-checker/editorconfig-checker": "10.6.0", + "ergebnis/composer-normalize": "2.44.0", + "phpstan/phpstan": "1.12.6", + "phpstan/phpstan-phpunit": "1.4.0", + "phpstan/phpstan-strict-rules": "1.6.1", + "phpunit/phpunit": "10.5.36", + "shipmonk/composer-dependency-analyser": "1.7.0", + "shipmonk/phpstan-rules": "3.2.1", + "slevomat/coding-standard": "8.15.0" }, "autoload": { "psr-4": { @@ -48,12 +48,15 @@ "@check:tests", "@check:dependencies" ], - "check:composer": "composer normalize --dry-run --no-check-lock --no-update-lock", + "check:composer": [ + "composer normalize --dry-run --no-check-lock --no-update-lock", + "composer validate --strict" + ], "check:cs": "phpcs", "check:dependencies": "composer-dependency-analyser", "check:ec": "ec src tests", "check:tests": "phpunit tests", - "check:types": "phpstan analyse -vvv", + "check:types": "phpstan analyse --ansi -vv", "fix:cs": "phpcbf" } }