diff options
author | Max <max@nextcloud.com> | 2022-01-18 12:45:50 +0300 |
---|---|---|
committer | Max <max@nextcloud.com> | 2022-01-18 12:47:20 +0300 |
commit | 807c5b30d5ef0a3a0400fed66d44955ad92ce753 (patch) | |
tree | b29c9376eed4af09b2f22359d325c29b3df3f8db /.php-cs-fixer.dist.php | |
parent | 9a89308675275d4e584faf8ab732fe5744596378 (diff) |
update: Nextcloud Coding Standard to 1.0
The new version uses `.php-cs-fixer.dist.php` instead of `.php_cs.dist`.
Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to '.php-cs-fixer.dist.php')
-rw-r--r-- | .php-cs-fixer.dist.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php new file mode 100644 index 000000000..5cb475d5c --- /dev/null +++ b/.php-cs-fixer.dist.php @@ -0,0 +1,19 @@ +<?php + +declare(strict_types=1); + +require_once './vendor/autoload.php'; + +use Nextcloud\CodingStandard\Config; + +$config = new Config(); +$config + ->getFinder() + ->ignoreVCSIgnored(true) + ->notPath('build') + ->notPath('l10n') + ->notPath('lib/Vendor') + ->notPath('src') + ->notPath('vendor') + ->in(__DIR__); +return $config; |