forked from rectorphp/rector-src
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstructarmed.php
More file actions
23 lines (18 loc) · 814 Bytes
/
Copy pathstructarmed.php
File metadata and controls
23 lines (18 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
declare(strict_types=1);
use Boundwize\StructArmed\Architecture;
use Boundwize\StructArmed\Preset\Preset;
use Boundwize\StructArmed\Preset\Presets\Psr4Preset;
return Architecture::define()
->skip([
Psr4Preset::CLASSES_MUST_MATCH_COMPOSER => [
// the namespace different is on purpose
__DIR__ . '/rules-tests/Renaming/Rector/Name/RenameClassRector',
__DIR__ . '/rules-tests/CodingStyle/Rector/Namespace_',
// no namespace on purpose
__DIR__ . '/rules-tests/Php70/Rector/ClassMethod/Php4ConstructorRector/Source/ParentClass.php',
// simulate under phpstan.phar
__DIR__ . '/rules-tests/Php71/Rector/FuncCall/RemoveExtraParametersRector/Source/phpstan.phar',
],
])
->withPreset(Preset::PSR4());