25 строки
467 B
PHP
25 строки
467 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
require_once './vendor-bin/cs-fixer/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;
|