This commit is contained in:
TomasVotruba 2020-04-03 12:33:45 +02:00
parent 79f7fd52a2
commit 593d19c786
4 changed files with 8 additions and 15 deletions

View File

@ -1,6 +1,6 @@
root = true
[*.{css,html,js,json,latte,neon,php,twig,xml,yaml,yml}]
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true

View File

@ -9,9 +9,15 @@ imports:
parameters:
# processed paths
paths: []
file_extensions:
- 'php'
# exclude
exclude_paths: []
exclude_rectors: []
autoload_paths: []
rector_recipe: []
# this helps to separate opened 3rd party code vs private code approach (e.g. use of public constants)
@ -20,7 +26,7 @@ parameters:
# lower for performance; higher to prevent bugs with fluent interfaces like https://github.com/rectorphp/rector/issues/1646, or https://github.com/rectorphp/rector/issues/2444
nested_chain_method_call_limit: 30
# importing FQN names
# importing FQN names; false disables "import_short_classes" and "import_doc_blocks" options bellow
auto_import_names: false
# e.g. import \DateTime
import_short_classes: true
@ -29,6 +35,3 @@ parameters:
# what PHP version is used for features, composer.json version, then local PHP version is used by default
php_version_features: null
file_extensions:
- 'php'

View File

@ -9,7 +9,6 @@ services:
- '../src/Rector/**/*Rector.php'
- '../src/Testing/PHPUnit/*'
- '../src/RectorDefinition/*'
- '../src/PhpParser/Node/*Info.php'
- '../src/Exception/*'
- '../src/DependencyInjection/CompilerPass/*'
- '../src/DependencyInjection/Loader/*'

View File

@ -1,9 +0,0 @@
<?php
declare(strict_types=1);
namespace Rector\NetteToSymfony\Tests\Rector\ClassMethod\RouterListToControllerAnnotationsRetor\Source;
final class SymfonyRouteAnnotation
{
}