mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-30 17:00:57 -06:00
18 lines
341 B
PHP
18 lines
341 B
PHP
<?php
|
|
|
|
$dirToParse = 'tests/acceptance/';
|
|
$dirIterator = new DirectoryIterator(__DIR__ . '/' . $dirToParse);
|
|
|
|
$excludeDirs = [
|
|
'node_modules',
|
|
'vendor-php'
|
|
];
|
|
|
|
$finder = PhpCsFixer\Finder::create()
|
|
->exclude($excludeDirs)
|
|
->in(__DIR__);
|
|
|
|
$config = new OC\CodingStandard\Config();
|
|
$config->setFinder($finder);
|
|
return $config;
|