Tomas Votruba
|
6f667830fd
|
Fix JoinStringConcatRector for too long lines
|
2019-10-30 14:38:43 +01:00 |
|
Tomas Votruba
|
e57526e4e4
|
Fix RemoveAlwaysTrueConditionSetInConstructorRector for nullable
|
2019-10-30 14:20:18 +01:00 |
|
Tomas Votruba
|
55826c1432
|
add ternary operator
|
2019-10-26 12:41:01 +02:00 |
|
Tomas Votruba
|
f2298600aa
|
apply
|
2019-10-18 16:17:12 +02:00 |
|
Tomas Votruba
|
e91e8ea2c1
|
[CodeQuality] Add ArrayMergeOfNonArraysToSimpleArrayRector
|
2019-10-18 16:05:59 +02:00 |
|
Tomas Votruba
|
42e4454b48
|
[CodeQuality] Add AddPregQuoteDelimiterRector
|
2019-10-17 18:47:07 +02:00 |
|
lapetr
|
a5151baaec
|
[code-quality] RemoveAlwaysTrueConditionSetInConstructorRector - test for trait
#2162
|
2019-10-15 10:25:00 +02:00 |
|
Tomas Votruba
|
acfd930f54
|
apply PSR-12
|
2019-10-13 08:09:08 +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
|
a599a374dd
|
Change implementation to keep the comments and stack them.
|
2019-10-04 15:26:55 +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 |
|
Jonas Elfering
|
0196d1efee
|
Add ShortenElseIfRector
Fixes https://github.com/rectorphp/rector/issues/1945
|
2019-10-04 14:18:31 +02:00 |
|
Dorian Villet
|
bbfa7b9f76
|
Add a failing test case.
|
2019-10-03 01:15:18 +02:00 |
|
Tomas Votruba
|
0da741a9a3
|
drop @return type from Iterator in tests
|
2019-09-27 14:40:09 +02:00 |
|
Tomas Votruba
|
e4eeb19c45
|
[CodeQuality] Add RemoveSoleValueSprintfRector
|
2019-09-26 13:44:04 +02:00 |
|
Tomas Votruba
|
2858a9f7ea
|
[PHP] Move tests + fixture to split package by version
|
2019-09-23 15:16:31 +02:00 |
|
Tomas Votruba
|
f558733611
|
[PHP] Split huge package to php by version rules
|
2019-09-23 13:38:51 +02:00 |
|
Tomas Votruba
|
ca7d0cba15
|
use PHP highlight for herenow doc
|
2019-09-18 09:14:06 +02:00 |
|
Tomas Votruba
|
2244dad326
|
[tests] add PhpVersionFeature value object + fix public of protected function
|
2019-09-15 16:37:38 +02:00 |
|
Tomas Votruba
|
4c9ecba04c
|
[tests] switch testFiles to data providers
|
2019-09-12 10:18:26 +02:00 |
|
Tomas Votruba
|
622b6c1460
|
migrate TypeInferers to PHPStan object types
|
2019-09-10 20:40:43 +02:00 |
|
Tomas Votruba
|
32b19b437b
|
[CodeQuality] Add ThrowWithPreviousExceptionRector
|
2019-07-23 11:08:04 +02:00 |
|
Tomáš Votruba
|
981df8a90f
|
[CodeQuality] Add RemoveAlwaysTrueConditionSetInConstructorRect… (#1754)
[CodeQuality] Add RemoveAlwaysTrueConditionSetInConstructorRector
|
2019-07-19 22:32:41 +02:00 |
|
Tomas Votruba
|
953de95cf0
|
[CodeQuality] Add RemoveAlwaysTrueConditionSetInConstructorRector
|
2019-07-19 21:49:42 +02:00 |
|
Tomas Votruba
|
e8b5a11ce4
|
[CodeQuality] Fix CompleteDynamicPropertiesRector for dynamic property fetch
|
2019-07-19 16:00:55 +02:00 |
|
Tomas Votruba
|
704a32ee54
|
skip Illuminate\Support\Collection magic for CompleteDynamicPropertiesRector
|
2019-07-10 09:26:59 +02:00 |
|
Tomas Votruba
|
2f0396d462
|
add test case for #1595
|
2019-07-10 09:26:59 +02:00 |
|
Tomas Votruba
|
bb2f77f4b0
|
[DeadCode] Keep array method call in RemoveUnusedPrivateMethodRector
|
2019-07-09 19:45:03 +02:00 |
|
Tomas Votruba
|
fadc28afa3
|
[CodeQuality] Add StrlenZeroToIdenticalEmptyStringRector
|
2019-07-05 00:31:24 +03:00 |
|
Tomas Votruba
|
d94e26822d
|
[CodeQuality] Add is_a with string true
|
2019-07-05 00:06:01 +03:00 |
|
Tomas Votruba
|
302d2abb55
|
[CodeQuality] Fix __set/__get case for CompleteDynamicPropertiesRector
|
2019-06-16 01:16:41 +02:00 |
|
Tomas Votruba
|
e15518081a
|
add SimplifyUselessVariableRector to dead-code set
|
2019-06-08 22:40:51 +02:00 |
|
Tomas Votruba
|
9dfb666039
|
[CodeQuality] Skip collections ForeachToInArrayRector [closes #1533]
|
2019-06-04 14:58:55 +03:00 |
|
Aerendir
|
3aa383883f
|
Ensure Doctrine's Collection -like arrays are ignored.
Issue #1533.
|
2019-06-04 11:29:05 +02:00 |
|
Tomas Votruba
|
f799d5385c
|
[CodeQuality] Add trait and parent class support for CompleteDynamicPropertiesRector
|
2019-05-31 08:11:46 +02:00 |
|
Adamo Crespi
|
eaf22f8069
|
Update no_return_for_void.php.inc
|
2019-05-30 20:14:18 +02:00 |
|
Aerendir
|
2d64a07c33
|
Test void methods doesn't have the return statement added.
|
2019-05-30 15:43:28 +02:00 |
|
Tomas Votruba
|
3389d71219
|
add defined test case
|
2019-05-26 22:04:20 +02:00 |
|
Tomas Votruba
|
224bc33174
|
[CodeQuality] Add CompleteDynamicPropertiesRector
|
2019-05-26 22:04:20 +02:00 |
|
Tomas Votruba
|
ad95d018b5
|
[CodeQuality] Add CompactToVariablesRector
|
2019-05-19 10:26:00 +02:00 |
|
Tomas Votruba
|
ee1f606827
|
[CodeQuality] Add ForToForeachRector
|
2019-05-19 01:02:19 +02:00 |
|
Tomas Votruba
|
adc50652a0
|
fix CallableThisArrayToAnonymousFunctionRector for invalid array items
|
2019-05-07 16:03:04 +02:00 |
|
Tomas Votruba
|
de331920c8
|
fix CallableThisArrayToAnonymousFunctionRector for empty first item in array
|
2019-05-07 15:52:19 +02:00 |
|
Tomas Votruba
|
d428d7e15f
|
[CodeQuality] Add AndAssignsToSeparateLinesRector
|
2019-05-05 19:52:12 +02:00 |
|
Tomas Votruba
|
f6d5c71a57
|
[CodeQuality] Add differnt class or variable to CallableThisArrayToAnonymousFunctionRector"
|
2019-04-06 09:43:54 +02:00 |
|
Tomas Votruba
|
729d2d1d51
|
[CodeQuality] Add CallableThisArrayToAnonymousFunctionRector
|
2019-04-04 16:41:50 +02:00 |
|
Tomas Votruba
|
9768ffc033
|
[CodeQuality] Add BooleanNotIdenticalToNotIdenticalRector
|
2019-04-03 21:34:11 +02:00 |
|
Tomas Votruba
|
4f9036e208
|
[CodeQuality] prevent double negative in SimplifyBoolIdenticalTrueRector
|
2019-04-03 20:29:46 +02:00 |
|
Tomas Votruba
|
b6f601d634
|
add nested ternary in condition
|
2019-04-01 13:17:18 +02:00 |
|