Skip to content

Commit

Permalink
Add larastan rule to phpstan (area17#516)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioribeiro authored Feb 8, 2020
1 parent 26a0d2d commit 5af1093
Show file tree
Hide file tree
Showing 3 changed files with 1,881 additions and 1,322 deletions.
41 changes: 24 additions & 17 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,26 +52,27 @@
"php": "^7.1",
"ext-json": "*",
"ext-pdo": "*",
"laravel/framework": "~5.6.0|~5.7.0|~5.8.0|^6.3",
"astrotomic/laravel-translatable": "^11.3",
"cartalyst/tags": "^6.0.0|^7.0.0|^8.0.0|^9.0.0",
"astrotomic/laravel-translatable": "^11.5",
"cartalyst/tags": "^6.0|^7.0|^8.0|^9.0",
"doctrine/dbal": "^2.9",
"league/flysystem-aws-s3-v3": "^1.0.13",
"myclabs/php-enum": "^1.5.0",
"imgix/imgix-php": "^3.0.0",
"guzzlehttp/guzzle": "^6.2",
"spatie/once": "^2.0.0",
"spatie/laravel-analytics": "^3.6.0|^3.7.0",
"spatie/laravel-activitylog": "^2.5|^3.2",
"pragmarx/google2fa-qrcode": "^1.0.3",
"imgix/imgix-php": "^3.0",
"laravel/framework": "~5.6|~5.7|~5.8|^6.0",
"league/flysystem-aws-s3-v3": "^1.0",
"league/glide-laravel": "^1.0",
"matthewbdaly/laravel-azure-storage": "^1.3"
"matthewbdaly/laravel-azure-storage": "^1.3",
"myclabs/php-enum": "^1.5",
"pragmarx/google2fa-qrcode": "^1.0",
"spatie/laravel-activitylog": "^2.5|^3.2",
"spatie/laravel-analytics": "^3.6",
"spatie/once": "^2.0"
},
"require-dev": {
"phpunit/phpunit": "~5.0|~6.0|~7.0|~8.0",
"orchestra/testbench": "~3.3.0|~3.4.0|~3.5.0|~3.6.0|~3.7.0|~3.8.0|^4.0",
"phpstan/phpstan": "^0.11.16",
"kalnoy/nestedset": "^5.0"
"friendsofphp/php-cs-fixer": "^2.16",
"kalnoy/nestedset": "^5.0",
"nunomaduro/larastan": "^0.4.0|^0.5.0",
"orchestra/testbench": "~3.3|~3.4|~3.5|~3.6|~3.7|~3.8|^4.0",
"phpunit/phpunit": "~5.0|~6.0|~7.0|~8.0"
},
"autoload": {
"psr-4": {
Expand All @@ -82,8 +83,14 @@
}
},
"scripts": {
"test": "vendor/bin/phpunit --colors=always",
"analyse": "php -d memory_limit=-1 vendor/bin/phpstan analyse src tests"
"test:phpunit": "vendor/bin/phpunit --colors=always",
"test:analyse": "php -d memory_limit=-1 vendor/bin/phpstan analyse",
"test:syntax": "vendor/bin/php-cs-fixer --dry-run --rules=-@PSR1 fix src",
"test": [
"@test:syntax",
"@test:phpunit",
"@test:analyse"
]
},
"extra": {
"laravel": {
Expand Down
Loading

0 comments on commit 5af1093

Please sign in to comment.