2020-08-12 14:17:28 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
2024-06-28 18:08:44 +03:00
|
|
|
/**
|
|
|
|
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
*/
|
2020-08-12 14:17:28 +03:00
|
|
|
require_once './vendor/autoload.php';
|
|
|
|
|
|
|
|
use Nextcloud\CodingStandard\Config;
|
|
|
|
|
|
|
|
$config = new Config();
|
|
|
|
$config
|
|
|
|
->getFinder()
|
|
|
|
->notPath('build')
|
|
|
|
->notPath('l10n')
|
2021-03-18 16:45:08 +03:00
|
|
|
->notPath('node_modules')
|
2020-08-12 14:17:28 +03:00
|
|
|
->notPath('src')
|
|
|
|
->notPath('vendor')
|
|
|
|
->in(__DIR__);
|
|
|
|
return $config;
|