[ecs] exclude desired objects to be created manually

This commit is contained in:
TomasVotruba 2017-09-01 00:31:12 +02:00
parent a758718972
commit c7be9f6817

View File

@ -26,6 +26,11 @@ checkers:
# Class should be Final or Abstract
- SlamCsFixer\FinalInternalClassFixer
Symplify\CodingStandard\Sniffs\DependencyInjection\NoClassInstantiationSniff:
extraAllowedClasses:
- 'PhpParser\Node\*'
- 'PhpParser\Comment\Doc'
parameters:
exclude_checkers:
# Excluded from symfony-checkers.neon