diff --git a/.gitignore b/.gitignore index d8172db..f79714b 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,5 @@ package-lock.json yarn.lock /.sass-cache build + +.php-cs-fixer.cache diff --git a/composer.json b/composer.json index e9b9502..1211e30 100644 --- a/composer.json +++ b/composer.json @@ -48,7 +48,8 @@ }, "scripts": { "analyse": "vendor/bin/phpstan analyse", - "format": "vendor/bin/php-cs-fixer fix --allow-risky=yes" + "format": "vendor/bin/php-cs-fixer fix --allow-risky=yes", + "test": "vendor/bin/pest" }, "support": { "issues": "https://github.com/cslant/laravel-like/issues" diff --git a/phpstan.neon.dist b/phpstan.neon.dist index faa3fb6..5d48883 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -6,6 +6,8 @@ parameters: paths: - src - tests + parallel: + maximumNumberOfProcesses: 4 tmpDir: build/phpstan checkOctaneCompatibility: true checkModelProperties: true diff --git a/phpunit.xml b/phpunit.xml index 045ee31..2181808 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,20 +1,13 @@ - - - - src/ - - - - - tests - - + + + + tests + + + + + src/ + +