mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-06 19:30:50 +00:00
cleanup
This commit is contained in:
parent
79f7fd52a2
commit
593d19c786
|
@ -1,6 +1,6 @@
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
[*.{css,html,js,json,latte,neon,php,twig,xml,yaml,yml}]
|
[*]
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
|
|
|
@ -9,9 +9,15 @@ imports:
|
||||||
parameters:
|
parameters:
|
||||||
# processed paths
|
# processed paths
|
||||||
paths: []
|
paths: []
|
||||||
|
file_extensions:
|
||||||
|
- 'php'
|
||||||
|
|
||||||
|
# exclude
|
||||||
exclude_paths: []
|
exclude_paths: []
|
||||||
exclude_rectors: []
|
exclude_rectors: []
|
||||||
|
|
||||||
autoload_paths: []
|
autoload_paths: []
|
||||||
|
|
||||||
rector_recipe: []
|
rector_recipe: []
|
||||||
|
|
||||||
# this helps to separate opened 3rd party code vs private code approach (e.g. use of public constants)
|
# 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
|
# 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
|
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
|
auto_import_names: false
|
||||||
# e.g. import \DateTime
|
# e.g. import \DateTime
|
||||||
import_short_classes: true
|
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
|
# what PHP version is used for features, composer.json version, then local PHP version is used by default
|
||||||
php_version_features: null
|
php_version_features: null
|
||||||
|
|
||||||
file_extensions:
|
|
||||||
- 'php'
|
|
||||||
|
|
|
@ -9,7 +9,6 @@ services:
|
||||||
- '../src/Rector/**/*Rector.php'
|
- '../src/Rector/**/*Rector.php'
|
||||||
- '../src/Testing/PHPUnit/*'
|
- '../src/Testing/PHPUnit/*'
|
||||||
- '../src/RectorDefinition/*'
|
- '../src/RectorDefinition/*'
|
||||||
- '../src/PhpParser/Node/*Info.php'
|
|
||||||
- '../src/Exception/*'
|
- '../src/Exception/*'
|
||||||
- '../src/DependencyInjection/CompilerPass/*'
|
- '../src/DependencyInjection/CompilerPass/*'
|
||||||
- '../src/DependencyInjection/Loader/*'
|
- '../src/DependencyInjection/Loader/*'
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace Rector\NetteToSymfony\Tests\Rector\ClassMethod\RouterListToControllerAnnotationsRetor\Source;
|
|
||||||
|
|
||||||
final class SymfonyRouteAnnotation
|
|
||||||
{
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user