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 |
|
Tomáš Votruba
|
4d07eae595
|
Add ShortenElseIfRector (#2094)
Add ShortenElseIfRector
|
2019-10-04 16:14:05 +02:00 |
|
Tomáš Votruba
|
791e996b7f
|
Merge pull request #2095 from keulinho/add-fixture-for-phpunit-x-gt-y-refactoring
Add fixture for phpunit x>y to greaterThan refactoring
|
2019-10-04 16:03:53 +02:00 |
|
Dorian Villet
|
a599a374dd
|
Change implementation to keep the comments and stack them.
|
2019-10-04 15:26:55 +02:00 |
|
Jonas Elfering
|
f2bf84a9d4
|
Add fixture for phpunit x>y to greaterThan refactoring
Fixes: https://github.com/rectorphp/rector/issues/1726
|
2019-10-04 15:15:11 +02:00 |
|
Jonas Elfering
|
c751fbe533
|
Clearify recursion
|
2019-10-04 15:08:10 +02:00 |
|
Jonas Elfering
|
3f509a2dd4
|
Add not refactorable testCases; clearify recursion
|
2019-10-04 14:36:48 +02:00 |
|
Tomáš Votruba
|
7e16b2f477
|
Add an option to skip importing root namespace classes (like \D… (#2077)
Add an option to skip importing root namespace classes (like \DateTime)
|
2019-10-04 14:33:48 +02:00 |
|
Jonas Elfering
|
0196d1efee
|
Add ShortenElseIfRector
Fixes https://github.com/rectorphp/rector/issues/1945
|
2019-10-04 14:18:31 +02:00 |
|
Tomáš Votruba
|
6fc2469313
|
fix stringy str needless for return strings (#2093)
fix stringy str needless for return strings
|
2019-10-04 14:08:56 +02:00 |
|
Tomas Votruba
|
60f152a1a5
|
fix stinfy str needless for return strings
|
2019-10-04 14:05:22 +02:00 |
|
Tomáš Votruba
|
affe5aef5f
|
Merge pull request #2081 from gnutix/StringifyStrNeedlesRector/adding-testcase
Add failing test: StringifyStrNeedlesRector adds (string) to a method call that returns a string anyway
|
2019-10-04 13:59:06 +02:00 |
|
Tomáš Votruba
|
5e440fb900
|
Add UseIncrementAssignRector (#2091)
Add UseIncrementAssignRector
|
2019-10-04 13:47:02 +02:00 |
|
Jonas Elfering
|
8f4326a784
|
Split early return, use one fixture
|
2019-10-04 13:39:43 +02:00 |
|
Dorian Villet
|
8ffce14a64
|
Add a comment.
|
2019-10-04 12:57:41 +02:00 |
|
Dorian Villet
|
205754067c
|
Implement DocBlock support, simplify some code, make the fixture more bulletproof (one example of root namespace class, one example of non root namespace class).
|
2019-10-04 12:55:50 +02:00 |
|
Jonas Elfering
|
c2972dae6b
|
Fix test namespace
|
2019-10-04 12:37:47 +02:00 |
|
Jonas Elfering
|
2b97228a96
|
Add UseIncrementAssignRector
Fixes https://github.com/rectorphp/rector/issues/2004
|
2019-10-04 12:14:10 +02:00 |
|
Tomáš Votruba
|
be455c3a23
|
Merge pull request #2082 from gnutix/MakeInheritedMethodVisibilitySameAsParentRector/adding-testcase
Fixing 'return new static()' not being covered by MakeInheritedMethodVisibilitySameAsParentRector
|
2019-10-04 11:44:56 +02:00 |
|
Tomáš Votruba
|
7226e7efef
|
Merge pull request #2070 from adrozdek/fix/var-dumper-test-trait-argument
Fixed the third argument in VarDumperTestTrait.
|
2019-10-04 09:44:55 +02:00 |
|
Dorian Villet
|
109d0b8ca9
|
Move ParentWithPublicConstructor from Fixture to Source.
|
2019-10-03 23:51:37 +02:00 |
|
Dorian Villet
|
8d8630473e
|
Use early return for readability and consistency
|
2019-10-03 23:47:54 +02:00 |
|