diff --git a/composer.json b/composer.json index 1b11dd1..78f1fdb 100644 --- a/composer.json +++ b/composer.json @@ -25,6 +25,14 @@ ] } }, + "scripts": { + "test": [ + "@php vendor/bin/phpunit --testdox" + ], + "phpstan": [ + "@php vendor/bin/phpstan analyse -c phpstan.neon" + ] + }, "require-dev": { "orchestra/testbench": "^8", "phpstan/phpstan": "^1.10" diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 0000000..f106e52 --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,4 @@ +parameters: + level: 6 + paths: + - src \ No newline at end of file