3136 Commits

Author SHA1 Message Date
TomasVotruba
bf722ad9b5 move nette to rules 2020-02-14 10:51:33 +01:00
Aerendir
bd691a6dc5 Improve namings. 2020-02-14 03:04:20 +01:00
TomasVotruba
42c5141d70 [Renaming] Add RenameFuncCallToStaticCallRector 2020-02-13 17:12:38 +01:00
TomasVotruba
2a779b86c2 rename generator to rules 2020-02-13 17:10:07 +01:00
TomasVotruba
daba8df475 improve original format in CallableTypeNode 2020-02-13 15:39:15 +01:00
TomasVotruba
6072707458 decouple RegexPatternDetector 2020-02-13 11:09:51 +01:00
TomasVotruba
11f401daf9 fix ChangeQuerySetParametersMethodParameterFromArrayToArrayCollection location 2020-02-13 11:09:07 +01:00
Tomas Votruba
6d944620b4
Merge pull request #2821 from vladyslavstartsev/setParameters-to-ArrayCollection
rector for doctrine setParameters method
2020-02-12 10:48:37 +01:00
Aerendir
9fa8812571 Fix a partial import. 2020-02-12 01:52:47 +01:00
Aerendir
d4d733c1fa #2824: Improve names of variables. 2020-02-12 01:23:24 +01:00
Aerendir
d2460d4cec #2824: Support functions. 2020-02-12 01:15:05 +01:00
Aerendir
12670ed9df #2824: Automatically add to DocBlock comments the thrown \Throwables. 2020-02-12 00:57:48 +01:00
TomasVotruba
bc5eefdb76 improve AddSeeTestAnnotationRector 2020-02-11 14:40:59 +01:00
TomasVotruba
4aac338d20 improve ParamTypeDeclarationRector complexity 2020-02-11 14:11:47 +01:00
TomasVotruba
3e5dd77bb6 move Rector-rule based packages from /packages to /rules 2020-02-11 13:41:37 +01:00
Den Girnyk
db21963e0a
WIP: #2753 Add 'auto_import_names' tests 2020-02-11 01:30:42 +02:00
Vladyslav Startsev
118cfd282e implemented basic of moving from array to ArrayCollection in setParameters method.
Only works in if you extend basic EntityRepository, but for all types
(Doctrine\ORM\Query, Doctrine\ORM\NativeQuery, Doctrine\ORM\QueryBuilder)
2020-02-11 00:12:01 +02:00
TomasVotruba
1abb9835e5 fix missing attribute aware 2020-02-10 10:56:32 +01:00
TomasVotruba
8d47291c96 decouple PhpParser mappers to StaticTypeMapper 2020-02-10 10:30:13 +01:00
TomasVotruba
2a930f893d decopule StaticTypeMapper, NameScopeFactory and StirngTypeToPhpParserNodeMapper 2020-02-10 10:17:05 +01:00
TomasVotruba
292c7125b6 decouple NodeCollector package 2020-02-10 10:05:15 +01:00
TomasVotruba
9de9fa9611 rename PerNode to Node 2020-02-10 09:58:04 +01:00
TomasVotruba
ca3f502aa1 decopule PropertyFetchTypeResolver 2020-02-10 01:46:03 +01:00
TomasVotruba
9f359d5847 cleanup 2020-02-10 01:24:01 +01:00
TomasVotruba
51e9f2776e remove unused method 2020-02-10 01:22:10 +01:00
TomasVotruba
f97bd059cb remove duplicated method 2020-02-10 00:57:38 +01:00
TomasVotruba
aaa5ffa8f4 decopule new VendorLock package 2020-02-10 00:30:20 +01:00
TomasVotruba
e3d34567fd NodeNameResolver decoupled to own package 2020-02-09 23:47:00 +01:00
TomasVotruba
c52f03a019 [ECS] Remove cognitive complexity ignores 2020-02-09 23:13:12 +01:00
TomasVotruba
f5f992b0b3 decouple function node finder and collector from ParsedNodesByType 2020-02-09 12:09:29 +01:00
TomasVotruba
5a3ede3de4 decouple ParentConstantReflectionResolver 2020-02-09 10:43:47 +01:00
TomasVotruba
b1df495b85 fix protected parent constant override 2020-02-09 01:28:32 +01:00
TomasVotruba
d4c8fbd88f fix enscaped type resolution 2020-02-08 14:17:03 +01:00
TomasVotruba
5ad0771013 [PHP 74] Fix ArraySpreadInsteadOfArrayMergeRector for non-constant string keys 2020-02-08 14:08:56 +01:00
TomasVotruba
7f2b0afd7d rename package to use lowercased standard, prevent confusion with PSR-4 autoloaded 2020-02-07 16:11:43 +01:00
TomasVotruba
607358a8e1 move src classes to Rector\Core namespace to prevent duplications 2020-02-07 00:57:45 +01:00
TomasVotruba
c9976ef43b Add YamlProcessor 2020-02-07 00:09:31 +01:00
TomasVotruba
9cb8a12ba6 init rename-core 2020-02-07 00:09:31 +01:00
Tomas Votruba
eaab6649ca
Merge pull request #2800 from rectorphp/phpstan-phar-deps
Update to PHPStan 0.12.9 and fix scoping deps
2020-02-06 17:15:10 +01:00
TomasVotruba
3b2cfbf2c7 fix array expr 2020-02-06 17:04:12 +01:00
Tomas Votruba
abbce32db9
Merge pull request #2784 from alfredbez/feature-add-phpunit90-rule-to-refactor-exception-methods
feature: add rule to refactor exception methods
2020-02-05 16:57:37 +01:00
TomasVotruba
6ecb72481a decopule PhpDocTypeRenamer 2020-02-05 09:07:44 +01:00
TomasVotruba
af09937841 remove addTag() from DocBlockManipulator, decrease extra php doc nodes 2020-02-04 09:41:52 +01:00
TomasVotruba
21f906d77c use type interface in custom nodes 2020-02-04 09:22:07 +01:00
TomasVotruba
293c37f96a decopule type detection in phpdoc 2020-02-04 09:11:39 +01:00
TomasVotruba
2500363bc6 move hasTag from DocBlockManipulator 2020-02-04 08:54:00 +01:00
TomasVotruba
7f29fde465 extract docblock importer from docblock manipulator 2020-02-04 08:46:16 +01:00
TomasVotruba
fa9bbbd8b0 fixup! Merge pull request #2798 from rectorphp/remove-nullables-phpdoc 2020-02-04 08:37:02 +01:00
TomasVotruba
5e238cc3b1 use PhpDocInfo by default 2020-02-04 07:39:16 +01:00
TomasVotruba
71332ebd41 use PhpDocInfo by default 2020-02-03 18:47:03 +01:00