3725 Commits

Author SHA1 Message Date
Tomas Votruba
f823f2a50c [Arguments] Refactor to constistent config 2018-10-22 00:16:41 +02:00
Tomas Votruba
82eedd4078 Add AutoloadWrongCasesEventSubscriber to simplify composer.json 2018-10-21 23:25:06 +02:00
Tomas Votruba
85b1fed683 add wrong cases autoload 2018-10-21 19:42:02 +02:00
Tomas Votruba
fedb932115 add missing @see references to Rector tests 2018-10-21 19:39:54 +02:00
Tomas Votruba
c2a900518c ArgumentRectors - use standard descendent configuration 2018-10-21 19:39:45 +02:00
Tomáš Votruba
5e554281b3
Merge pull request #722 from rectorphp/options-attr-array
[Symfony] Add ReadOnlyOptionToAttributeRector
2018-10-21 19:30:44 +02:00
Tomas Votruba
661c13342f remove CurrentNodeProvider, not really needed 2018-10-21 19:27:19 +02:00
Tomas Votruba
ade5c0145d add to symfony30 set 2018-10-21 19:19:15 +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
Tomáš Votruba
8eca092dad
Merge pull request #720 from rectorphp/options-attr
[Symfony] Refactor OptionNameRector to typed checks
2018-10-21 19:18:02 +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
Tomáš Votruba
9e7396496a
Merge pull request #718 from rectorphp/property-dups
Fix duplicated property naming
2018-10-21 16:03:30 +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
Tomáš Votruba
91797daad2
Merge pull request #717 from rectorphp/func-rename
Fix inlining ofr changed FuncCall args [closes #624]
2018-10-21 13:37:45 +02:00
Tomas Votruba
738d5ed3e7 Fix inlining ofr changed FuncCall args [closes #624] 2018-10-21 13:32:42 +02:00
Tomáš Votruba
c85a623f8b
Merge pull request #716 from rectorphp/php-unit-foreach-instance
[PHPUnit] Foreach instanceof to simple
2018-10-21 13:21:03 +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
2f60888e0e Add docs imports ecs --with-style to make consistent with code 2018-10-21 11:44:39 +02:00
Tomas Votruba
af4bbe0da0 cleanup 2018-10-21 11:35:28 +02:00
Tomas Votruba
631040dda9 return commented tests 2018-10-21 11:27:40 +02:00
Tomas Votruba
feb0496a26 make use of Strings::after() 2018-10-21 11:22:45 +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
0b2db17de5 README: spacing 2018-10-21 11:00:39 +02:00
Tomas Votruba
b8bb40cdbd README: add PHP [closes #669] 2018-10-21 11:00:07 +02:00
Tomas Votruba
a2c0fd23b1 fix new phpstan reports v0.3.14 2018-10-21 10:53:32 +02:00
Tomáš Votruba
a7f3edd816
Merge pull request #715 from rectorphp/705-pull-request
Make ConstructorMethodBuilder respect parent + child constructor
2018-10-21 01:21:40 +02:00
Tomas Votruba
3233316053 Make ConstructorMethodBuilder respect parent constructor 2018-10-20 09:38:49 +02:00
Tomas Votruba
aafb1d742b rename PropertyAddingNodeVisitor to ConstructorInjectionNodeVisitor 2018-10-19 16:29:40 +02:00
Ben Davies
4cfd1a6752 add tests for property to constructor injection when class is in inheritance chain 2018-10-19 16:29:39 +02:00
Tomas Votruba
f702fff33b composer: lock to stable deps 2018-10-19 16:29:22 +02:00
Tomas Votruba
e0a368524e make tests produce not messy output 2018-10-19 14:52:25 +02:00
Tomáš Votruba
3378b4c552
Merge pull request #712 from rectorphp/ano-ctor-jms
[JMS] Add JmsInjectAnnotationRector
2018-10-19 14:29:35 +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