6220 Commits

Author SHA1 Message Date
Tomas Votruba
ff5403aa8b skip property and missing name 2019-10-08 18:58:32 +01:00
Tomas Votruba
eb222877eb [StrictCodeQuality] Add freshly created node support to var inline assert 2019-10-08 18:30:32 +01:00
Tomáš Votruba
c077548770
Merge pull request #2121 from rectorphp/template-less
Allow @Template to get nullable values
2019-10-08 17:15:12 +01:00
Tomas Votruba
a38b60bf27 make SensioTemlateTagValue open to nullable valubes 2019-10-08 17:07:43 +01:00
Tomas Votruba
76cf03b092 add rector version to bug report 2019-10-08 17:07:43 +01:00
Tomas Votruba
5e65ebe503 add test reference 2019-10-08 17:02:56 +01:00
Tomas Votruba
90a4056134 add highlight to bug report 2019-10-08 17:02:51 +01:00
Tomáš Votruba
b2740a440a
[DeadCode] Add SimplifyIfElseWithSameContentRector (#2115)
[DeadCode] Add SimplifyIfElseWithSameContentRector
2019-10-08 16:57:56 +01:00
Tomas Votruba
f25f303dc8 [DeadCode] Add SimplifyIfElseWithSameContentRector 2019-10-08 16:53:32 +01:00
Tomáš Votruba
9310c37058
Merge pull request #2112 from rectorphp/join-table
fix joinColumns always fallback
2019-10-05 17:06:47 +02:00
Tomas Votruba
f807ba3a73 cover Table entity as well 2019-10-05 16:41:46 +02:00
Tomas Votruba
0c8542dc40 fix joinColumns always fallback 2019-10-05 16:41:46 +02:00
Tomáš Votruba
c378a449e4
skip var type in anonymous class for PropertyTypeDeclarationRec… (#2109)
skip var type in anonymous class for PropertyTypeDeclarationRector
2019-10-05 13:58:39 +02:00
Tomas Votruba
058dd5aeb5 skip var type in anonymous class for PropertyTypeDeclarationRector 2019-10-05 13:51:02 +02:00
Tomáš Votruba
fb34ca98f4
skip required in delegating parent call method (#2108)
skip required in delegating parent call method
2019-10-05 13:50:49 +02:00
Tomas Votruba
01b4c78e47 skip required in delegating parent call method 2019-10-05 13:44:54 +02:00
Tomáš Votruba
b17e66c99c
Merge pull request #2107 from rectorphp/fix-comments-yield
restart changed doc
2019-10-05 12:54:08 +02:00
Tomas Votruba
ecf0a430dd improve doc tests 2019-10-05 12:39:48 +02:00
Tomas Votruba
a92eba9da2 update BACKERS 2019-10-05 12:19:57 +02:00
Tomas Votruba
8516d0363e restart changed doc 2019-10-05 12:00:01 +02:00
Tomáš Votruba
283a9ff853
keep comments in ReturnArrayClassMethodToYieldRector (#2106)
keep comments in ReturnArrayClassMethodToYieldRector
2019-10-05 11:44:09 +02:00
Tomas Votruba
ea5126622b keep comments in ReturnArrayClassMethodToYieldRector 2019-10-05 11:37:40 +02:00
Tomáš Votruba
299ad8705a
Merge pull request #2096 from gnutix/ImportFullyQualifiedNamesRector/fix-docblocks
ImportFullyQualifiedNamesRector : add a failing test about modified annotations that shouldn't be
2019-10-05 11:10:33 +02:00
Tomáš Votruba
046102b342
Merge pull request #2105 from rectorphp/cleanup
travis: simplify dog food
2019-10-05 11:09:23 +02:00
Tomas Votruba
5115734dd6 add GetDefinitionTest 2019-10-05 11:04:07 +02:00
Tomas Votruba
116399a830 small tests refactoring 2019-10-05 11:04:00 +02:00
Tomáš Votruba
345d4774e8
Merge pull request #2084 from gnutix/ReturnArrayClassMethodToYieldRector/add-testcase
Add failing test case for ReturnArrayClassMethodToYieldRector (removing comments)
2019-10-05 10:17:50 +02:00
Tomáš Votruba
75f753d567
[StrictCodeQuality] Add VarInlineAnnotationToAssertRector (#2103)
[StrictCodeQuality] Add VarInlineAnnotationToAssertRector
2019-10-05 10:17:04 +02:00
Tomas Votruba
9271588573 [StrictCodeQuality] Add VarInlineAnnotationToAssertRector 2019-10-05 00:09:15 +02:00
Tomáš Votruba
d19a83d755
Add FunctionCallToConstantRector (#2100)
Add FunctionCallToConstantRector
2019-10-04 22:31:54 +02:00
Jonas Elfering
b52a173077 Fix phpstan errors 2019-10-04 21:14:16 +02:00
Jonas Elfering
8e54c1068d Split specific and generic rector 2019-10-04 21:03:27 +02:00
Jonas Elfering
ce91f7d58d Fix phpstan errors 2019-10-04 20:37:43 +02:00
Tomáš Votruba
b9345f52cb
Fix countable for countable classes without countable (#2102)
Fix countable for countable classes without countable
2019-10-04 20:17:01 +02:00
Tomas Votruba
68b94c8f80 fix count on null for simple xml element and resource bundle 2019-10-04 20:07:04 +02:00
Tomáš Votruba
9c222acca9
Fix virtual property (#2101)
Fix virtual property
2019-10-04 20:05:29 +02:00
Tomas Votruba
516505ea85 allow serialize type annotation for ClassMethod 2019-10-04 19:53:15 +02:00
Tomas Votruba
4bfbc18fbd cleanup 2019-10-04 19:31:24 +02:00
Tomáš Votruba
29252b59a5
Improve class annotation matching (#2097)
Improve class annotation matching
2019-10-04 19:15:52 +02:00
Tomas Votruba
6b605c38a4 simplify test 2019-10-04 19:10:57 +02:00
Tomas Votruba
8f5ac69e2f make tag value matching more precise 2019-10-04 19:03:07 +02:00
Dorian Villet
d010b8f3fd Fix fixtures separator. 2019-10-04 18:08:20 +02:00
Dorian Villet
43744e7cb7 Yet better fixtures. 2019-10-04 18:04:07 +02:00
Dorian Villet
06d59a16d6 Better fixtures. 2019-10-04 18:02:01 +02:00
Jonas Elfering
7b138c7877 Add FunctionCallToConstantRector
Fixes: https://github.com/rectorphp/rector/issues/2008
2019-10-04 17:57:14 +02:00
Tomáš Votruba
7b55a5343a
Merge pull request #2099 from gnutix/ImportFullyQualifiedNamesRector/code-sample
Add documentation for ImportFullyQualifiedNamesRector new argument
2019-10-04 17:16:17 +02:00
Dorian Villet
3296681cb1 Create a better contrast between the two examples. 2019-10-04 17:01:46 +02:00
Dorian Villet
7c9f4a33cd Add documentation for ImportFullyQualifiedNamesRector new '$shouldImportRootNamespaceClasses' argument. 2019-10-04 16:59:50 +02:00
Tomáš Votruba
b1891bb057
Do not apply SimplifyIfReturnBoolRector when there are comments… (#2083)
Do not apply SimplifyIfReturnBoolRector when there are comments in between the if statements
2019-10-04 16:38:21 +02:00
Dorian Villet
88eb270ff8 Add a failing test case. 2019-10-04 16:24:18 +02:00