From 46b6cb678eec2da87e1bce562c93e5a73dd9cbc6 Mon Sep 17 00:00:00 2001 From: Brian Rogers Date: Tue, 19 Jul 2022 14:07:37 -0600 Subject: [PATCH] adding a PHP Code Sniffer config file --- src/phpcs.xml | 213 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 213 insertions(+) create mode 100644 src/phpcs.xml diff --git a/src/phpcs.xml b/src/phpcs.xml new file mode 100644 index 0000000..a014c6a --- /dev/null +++ b/src/phpcs.xml @@ -0,0 +1,213 @@ + + + PHP Codesniffer ruleset to follow Laravel's coding style + + + + + + + + + + + /app/Http/Resources/*\.php + /routes/*\.php + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */tests + + + + + + + + + + + + + + + + + */artisan + + + + + + + + + + + + + *.php + + + database/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + /database/schema/* + /database/migrations/* + + + ./app + ./config + ./resources + ./routes + ./tests + + */.phpstorm.meta.php + */_ide_helper.php + */cache/* + */config/* + */database/* + */docs/* + */migrations/* + */storage/* + */public/index.php + */resources/lang/* + */vendor/* + */*.js + */*.css + */*.xml + */*.blade.php + */autoload.php + */Console/Kernel.php + */Exceptions/Handler.php + */Http/Kernel.php + + + + + +