Issues (2553)

.php-cs-fixer.dist.php (1 issue)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
require_once './vendor-bin/cs-fixer/vendor/autoload.php';
6
7
use Nextcloud\CodingStandard\Config;
0 ignored issues
show
The type Nextcloud\CodingStandard\Config was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
8
9
$config = new Config();
10
$config
11
	->getFinder()
12
	->ignoreVCSIgnored(true)
13
	->exclude('config')
14
	->exclude('data')
15
	->notPath('3rdparty')
16
	->notPath('build/integration/vendor')
17
	->notPath('build/lib')
18
	->notPath('build/node_modules')
19
	->notPath('build/stubs')
20
	->notPath('composer')
21
	->notPath('node_modules')
22
	->notPath('vendor')
23
	->in(__DIR__);
24
return $config;
25