chore: use Nextcloud coding standards v1.1.1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
This commit is contained in:
parent
5870e84ffe
commit
c2588d38ec
|
@ -2,19 +2,16 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
require_once './vendor/autoload.php';
|
||||
require_once __DIR__.'/vendor-bin/coding-standard/vendor/autoload.php';
|
||||
|
||||
use Nextcloud\CodingStandard\Config;
|
||||
|
||||
$config = new Config();
|
||||
$config
|
||||
->getFinder()
|
||||
->notPath('build')
|
||||
->notPath('l10n')
|
||||
->notPath('node_modules')
|
||||
->notPath('src')
|
||||
->notPath('tests/data')
|
||||
->ignoreVCSIgnored(true)
|
||||
->notPath('vendor')
|
||||
->notPath('vendor-bin')
|
||||
->in(__DIR__);
|
||||
|
||||
return $config;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "^3.17"
|
||||
"friendsofphp/php-cs-fixer": "^3.37",
|
||||
"nextcloud/coding-standard": "^1.1.1"
|
||||
},
|
||||
"config": {
|
||||
"platform": {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue