Skip to content

Commit 0c1a795

Browse files
committed
added ecs.php
1 parent 1eadf80 commit 0c1a795

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

ecs.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/**
4+
* Rules for Nette Coding Standard
5+
* https://github.com/nette/coding-standard
6+
*/
7+
8+
declare(strict_types=1);
9+
10+
11+
return function (Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator): void {
12+
$containerConfigurator->import(PRESET_DIR . '/php71.php');
13+
14+
$parameters = $containerConfigurator->parameters();
15+
16+
$parameters->set('skip', [
17+
// Resource typehint
18+
PhpCsFixer\Fixer\Phpdoc\PhpdocTypesFixer::class => [
19+
'src/Security/Permission.php',
20+
],
21+
]);
22+
};

0 commit comments

Comments
 (0)