Skip to content

Commit

Permalink
add phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Strahl committed Sep 16, 2020
1 parent e58a8f5 commit 98c5e15
Show file tree
Hide file tree
Showing 7 changed files with 3,770 additions and 1,751 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Marcel Strahl
Copyright (c) 2020 Marcel Strahl

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,21 @@
"require-dev": {
"roave/security-advisories": "dev-master",
"friendsofphp/php-cs-fixer": "^2.16",
"phpunit/phpunit": "^8.5"
"phpunit/phpunit": "^8.5",
"nunomaduro/larastan": "^0.6.4",
"orchestra/testbench": "^3.2|^4.0|^5.0",
"phpstan/phpstan-phpunit": "^0.12.16"
},
"scripts": {
"cs-check": "php-cs-fixer -v --dry-run --using-cache=no fix",
"cs-fix": "php-cs-fixer --using-cache=no fix",
"test": "phpunit",
"test-coverage": "phpunit --coverage-clover build/logs/clover.xml",
"analyze": "phpstan analyze --no-progress --memory-limit=-1",
"update-baseline": "phpstan analyze --generate-baseline --memory-limit=-1",
"check": [
"@cs-check",
"@analyze",
"@test",
"@test-coverage"
]
Expand Down

0 comments on commit 98c5e15

Please sign in to comment.