Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Feb 17, 2022
1 parent f1b52d4 commit 85e7da0
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 23 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ jobs:
# - name: Psalm
# run: ./vendor/bin/psalm --shepherd --no-progress

- name: PHPStan
run: ./vendor/bin/phpstan --no-interaction --verbose
# - name: PHPStan
# run: ./vendor/bin/phpstan --no-interaction --verbose

tests:
runs-on: ubuntu-latest
Expand Down
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,18 @@
}
],
"require": {
"php": "^7.4 | ^8.0",
"laravel/framework": "^8.0 | ^9.0"
"php": "^7.4 || ^8.0",
"laravel/framework": "^8.0 || ^9.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.4"
},
"config": {
"preferred-install": "dist",
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"autoload": {
"psr-4": {
Expand Down
5 changes: 3 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
parameters:
level: max
level: 8
paths:
- src
checkInternalClassCaseSensitivity: true
checkGenericClassInNonGenericObjectType: false
checkTooWideReturnTypesInProtectedAndPublicMethods: true
checkUninitializedProperties: true
checkMissingIterableValueType: true
includes:
- vendor-bin/linting/vendor/nunomaduro/larastan/extension.neon
- vendor-bin/dev/vendor/nunomaduro/larastan/extension.neon
2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor-bin/testing/vendor/phpunit/phpunit/phpunit.xsd"
xsi:noNamespaceSchemaLocation="./vendor-bin/dev/vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
>
Expand Down
15 changes: 15 additions & 0 deletions vendor-bin/dev/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"require": {
"friendsofphp/php-cs-fixer": "^3.3",
"infection/infection": "^0.26.0",
"mockery/mockery": "^1.3.3",
"nunomaduro/larastan": "^2.0",
"orchestra/testbench": "^7.0",
"phpunit/phpunit": "^9.5"
},
"config": {
"allow-plugins": {
"infection/extension-installer": true
}
}
}
7 changes: 0 additions & 7 deletions vendor-bin/linting/composer.json

This file was deleted.

8 changes: 0 additions & 8 deletions vendor-bin/testing/composer.json

This file was deleted.

0 comments on commit 85e7da0

Please sign in to comment.