diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1ae2d91..a748958 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,9 +6,3 @@ updates: interval: daily time: "19:00" open-pull-requests-limit: 10 -- package-ecosystem: composer - directory: "/vendor-bin/dev" - schedule: - interval: daily - time: "19:00" - open-pull-requests-limit: 10 diff --git a/.gitignore b/.gitignore index 670384e..916545c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,4 @@ /.php_cs.cache /coverage /infection.log -/vendor-bin/*/vendor -/vendor-bin/*/composer.lock /.php-cs-fixer.cache diff --git a/composer.json b/composer.json index 5fd9480..eed5e96 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,11 @@ "illuminate/http": "^10.0 || ^11.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.4" + "friendsofphp/php-cs-fixer": "^3.6", + "infection/infection": "^0.26.4", + "orchestra/testbench": "^8.0", + "phpstan/phpstan": "^1.4", + "phpunit/phpunit": "^10.0" }, "minimum-stability": "stable", "prefer-stable": true, @@ -41,31 +45,21 @@ } }, "config": { - "allow-plugins": { - "bamarni/composer-bin-plugin": true - }, "preferred-install": "dist", - "sort-packages": true + "sort-packages": true, + "allow-plugins": { + "infection/extension-installer": true + } }, "scripts": { - "bin": "echo 'bin not installed'", - "post-install-cmd": [ - "@composer bin all install --ansi" - ], - "post-update-cmd": [ - "@composer bin all update --ansi" - ], "fix": [ - "clear", "./vendor/bin/php-cs-fixer fix" ], "lint": [ - "clear", "./vendor/bin/php-cs-fixer fix --dry-run", "./vendor/bin/phpstan analyse" ], "test": [ - "clear", "./vendor/bin/phpunit", "./vendor/bin/infection --threads=8" ] diff --git a/phpstan.neon b/phpstan.neon index 55766b4..1ff472c 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,6 +1,4 @@ parameters: - checkMissingIterableValueType: false - checkGenericClassInNonGenericObjectType: false level: 8 paths: - src diff --git a/phpunit.9.xml b/phpunit.9.xml deleted file mode 100644 index 7be71c4..0000000 --- a/phpunit.9.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - src - - - - - tests - - - diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 9bc8818..4f14a2e 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,13 +1,13 @@ - - - - src - - + tests + + + src + + diff --git a/vendor-bin/dev/composer.json b/vendor-bin/dev/composer.json deleted file mode 100644 index 70e830f..0000000 --- a/vendor-bin/dev/composer.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "require": { - "friendsofphp/php-cs-fixer": "^3.6", - "infection/infection": "^0.26.4", - "orchestra/testbench": "^8.0", - "phpstan/phpstan": "^1.4", - "phpunit/phpunit": "^10.0" - }, - "config": { - "allow-plugins": { - "infection/extension-installer": true - } - } -}