1182 Commits

Author SHA1 Message Date
Gabriel Caruso
7d01962d6f
Create ForeachToInArrayRector 2018-10-23 15:50:06 -03:00
Tomas Votruba
c37330db6a add isNameInsensitive 2018-10-22 19:40:27 +02:00
Tomas Votruba
9374604bc2 Improve MethodNameReplacerRector 2018-10-22 19:40:27 +02:00
Tomas Votruba
7f582d37d4 Add RemovingTrait, RemovingNodeVisitor and RemovedNodesCollector 2018-10-22 18:28:36 +02:00
Tomas Votruba
09027d06eb resolve phpstan reports 2018-10-22 18:02:36 +02:00
Tomas Votruba
a9ce1c8e4c Add ArrayAnalyzer and CascadeValidationFormBuilderRector 2018-10-22 14:12:53 +02:00
Tomas Votruba
661c13342f remove CurrentNodeProvider, not really needed 2018-10-21 19:27:19 +02:00
Tomas Votruba
d2bde9f3d4 [Symfony] Add /ReadOnlyOptionToAttributeRector [closes #595] 2018-10-21 19:19:15 +02:00
Tomáš Votruba
4f6c7a320a
Merge pull request #721 from rectorphp/bugfix/assert-compare-rector
[PHPUnit] Fix AssertCompareToSpecificMethodRector false positives
2018-10-21 19:18:31 +02:00
Gabriel Caruso
5d304b3aee
[PHPUnit] Fix AssertCompareToSpecificMethodRector false positives
When a property, method or variable has one of the names to be
refactored, e.g. `count`, it gets wrong refactored
2018-10-21 14:00:00 -03:00
Tomas Votruba
a65faf7597 [Symfony] Refactor OptionNameRector to typed checks 2018-10-21 18:50:52 +02:00
Tomas Votruba
4cee626ee4 Remove MethodArgumentAnalyzer 2018-10-21 15:38:21 +02:00
Tomas Votruba
79910b73c6 make GetRequest use unique names [closes #610] 2018-10-21 14:27:50 +02:00
Tomas Votruba
6fa1d53b1c add isNull() to ConstFetchAnalyzer 2018-10-21 14:10:19 +02:00
Tomas Votruba
2723f5ab8a Fix false positive on missed false constant 2018-10-21 14:03:20 +02:00
Tomas Votruba
7dcde279f9 make use of NameResolver in Rector 2018-10-21 14:03:20 +02:00
Tomas Votruba
486f7f4b64 [PHPUnit] Add SimplifyForeachInstanceOfRector 2018-10-21 13:17:20 +02:00
Tomas Votruba
f330c5e9c2 make return null consistent on no change 2018-10-21 13:06:28 +02:00
Tomas Votruba
985d38e267 Add AfterRectorCodingStyle 2018-10-21 13:06:28 +02:00
Tomas Votruba
161c3cd6fa apply --with-style on create-rector 2018-10-21 11:44:51 +02:00
Tomas Votruba
af4bbe0da0 cleanup 2018-10-21 11:35:28 +02:00
Tomas Votruba
847c5fe520 [ContributorTools] Make CreateRectorCommand smarter about category and missing _ in node names 2018-10-21 11:16:08 +02:00
Tomas Votruba
a2c0fd23b1 fix new phpstan reports 2018-10-21 10:53:32 +02:00
Tomas Votruba
3233316053 Make ConstructorMethodBuilder respect parent constructor 2018-10-20 09:38:49 +02:00
Tomas Votruba
e0a368524e make tests produce not messy output 2018-10-19 14:52:25 +02:00
Tomas Votruba
26d7a570e6 Add property-name case 2018-10-19 14:26:14 +02:00
Tomas Votruba
ca271747ea add test case with bool types, for sure 2018-10-19 10:45:45 +02:00
Tomas Votruba
84051fbcde add missing ctor to example 2018-10-19 10:39:41 +02:00
Tomas Votruba
6a9a04053d make use helper methods 2018-10-19 10:36:34 +02:00
Tomas Votruba
9f4159356b skip parameters 2018-10-19 10:29:09 +02:00
Tomas Votruba
581a840d85 add ErrorCollector 2018-10-19 10:11:19 +02:00
Tomas Votruba
46be74dfcc add jms-decouple level 2018-10-19 08:12:33 +02:00
Tomas Votruba
30f687274b remove unused methods 2018-10-19 08:04:16 +02:00
Tomas Votruba
f02c5810ab Add var fallback to JmsInjectAnnotationRector 2018-10-19 08:04:16 +02:00
Tomas Votruba
4a8f9cd17d use fixed BetterPhpDocParser 2018-10-19 08:04:16 +02:00
Tomas Votruba
70ea05352d [JMS] Add JmsInjectAnnotationRector 2018-10-19 08:04:16 +02:00
Tomas Votruba
4b1e61ed58 Fix create-rector for ambiguous suffixes 2018-10-18 17:31:32 +02:00
Tomas Votruba
c1901ba9c0 Add ClassPropertyCollectorTrait 2018-10-18 17:31:32 +02:00
Tomas Votruba
87a5a1b824 big question 2018-10-17 19:47:09 +02:00
Tomas Votruba
e0aa23a47a fix namespaces of BarewordStringREctor and SensistiveHereNowDocRector 2018-10-17 19:47:09 +02:00
Tomas Votruba
0de721e350 AbstractRector: change returnNode property to method to make remove process more intuitive 2018-10-17 19:47:09 +02:00
Tomas Votruba
3c1c431684 [DomainDrivenDesign] Move coupled location to rest of Rector in standalone package 2018-10-17 19:47:09 +02:00
Tomas Votruba
395dc9b2e9 [CodeQuality] Move coupled location to rest of Rector in standalone package 2018-10-17 19:47:09 +02:00
Tomas Votruba
ea185f9629 improve annotaiton content matchign 2018-10-17 19:47:09 +02:00
Tomas Votruba
ab22d2c6a8 Add ConstFetchAnalyzerTrait 2018-10-17 19:47:09 +02:00
Tomas Votruba
1f51866acf early return + resolve todo 2018-10-17 12:25:56 +02:00
Tomas Votruba
1e28eb853b merge NodeTypeAnalyzer to TypeAnalyzerTrait 2018-10-17 12:24:00 +02:00
Tomas Votruba
966882e489 GetToConstructorInjectionRector - merge type args 2018-10-17 12:19:11 +02:00
Tomas Votruba
86eb966904 resolve todo 2018-10-17 12:14:42 +02:00
Tomas Votruba
6daa618ab3 [PHP] Add TrailingCommaArgumentsRector 2018-10-17 10:29:27 +02:00