Skip to content

Commit

Permalink
Simplify things
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed May 15, 2024
1 parent e311f34 commit 0f5efa1
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 64 deletions.
6 changes: 0 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@
/.php_cs.cache
/coverage
/infection.log
/vendor-bin/*/vendor
/vendor-bin/*/composer.lock
/.php-cs-fixer.cache
24 changes: 9 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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"
]
Expand Down
2 changes: 0 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
parameters:
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
level: 8
paths:
- src
19 changes: 0 additions & 19 deletions phpunit.9.xml

This file was deleted.

12 changes: 6 additions & 6 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" bootstrap="vendor/autoload.php" executionOrder="depends,defects" beStrictAboutOutputDuringTests="true" cacheDirectory=".phpunit.cache">
<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="vendor/autoload.php" executionOrder="depends,defects" beStrictAboutOutputDuringTests="true" cacheDirectory=".phpunit.cache">
<testsuites>
<testsuite name="default">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
</source>
</phpunit>
14 changes: 0 additions & 14 deletions vendor-bin/dev/composer.json

This file was deleted.

0 comments on commit 0f5efa1

Please sign in to comment.