diff --git a/.gitignore b/.gitignore index 50b321e..15b94f7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ vendor composer.lock .phpunit.result.cache +.php-cs-fixer.cache diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php new file mode 100644 index 0000000..5bfa2a8 --- /dev/null +++ b/.php-cs-fixer.dist.php @@ -0,0 +1,8 @@ +in([ + __DIR__.'/src', + ]); + +return CodingLabs\styles($finder); diff --git a/composer.json b/composer.json index 46ebae2..817eaca 100644 --- a/composer.json +++ b/composer.json @@ -15,8 +15,11 @@ } ], "require": { - "php" : "^7.2.5|^8.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0" + "php" : "^8.1", + "illuminate/support": "^10.0" + }, + "require-dev": { + "codinglabsau/php-styles": "dev-main" }, "autoload": { "psr-4": {