Tomas Votruba
7606da42be
add failing test case
2019-10-30 15:45:47 +01:00
Tomas Votruba
1620cf0211
apply code-quality
2019-10-30 15:38:30 +01:00
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
89f62fe98a
use interface for AnnotationReader
2019-10-30 14:20:18 +01:00
Tomas Votruba
8dc4336ce8
add SetOptinosResolver and ConfigResolver
2019-10-30 12:17:26 +01:00
Tomas Votruba
40c49710e9
[cs] reoder private methods by call order
2019-10-30 10:49:07 +01:00
Dave Liddament
d61d175178
FIX AddDoesNotPerformAssertionToNonAssertingTest
...
Fix bug where rector added @doesNotPerformAssertion when using
2019-10-29 16:18:13 +00:00
Tomas Votruba
848c43dc6d
[PHPUnit] Add WithConsecutiveArgToArrayRector
2019-10-27 14:29:28 +01:00
Tomas Votruba
55826c1432
add ternary operator
2019-10-26 12:41:01 +02:00
Tomas Votruba
340e38e5f6
optimize AssertComparisonToSpecificMethodRector
2019-10-26 12:14:39 +02:00
Tomas Votruba
07413334f7
optimize ConsoleExecuteReturnIntRector
2019-10-26 12:11:49 +02:00
Jonas Elfering
8e19132c7b
Fix ConsoleExecuteReturnIntRector if target class not directly extends Command
...
Fixes: https://github.com/rectorphp/rector/pull/2200#issuecomment-546327783
2019-10-25 14:45:54 +02:00
Jonas Elfering
cb3ef10aef
Fix ConsoleExecuteReturnIntRector for non console commands
...
Fixes: https://github.com/rectorphp/rector/pull/2197
2019-10-25 12:39:01 +02:00
Fran Moreno
a4099eb99b
Add test to ConsoleExecuteReturnIntRector for a not command class
2019-10-25 10:53:33 +02:00
Tomas Votruba
99d30f3f17
fix locatoin
2019-10-24 11:56:55 +02:00
Tomas Votruba
8d1b732d0f
use ->name on method call
2019-10-24 11:54:47 +02:00
Tomas Votruba
8c4a7ce958
Add MethodCallToReturnRector
2019-10-24 11:14:07 +02:00
Tomas Votruba
4dfd0a6331
[PHP 74] Add ChangeReflectionTypeToStringToGetNameRector
2019-10-24 01:49:34 +02:00
Tomas Votruba
de875ab00d
fix for Template and Route annotatoin
2019-10-24 00:36:34 +02:00
Tomáš Votruba
da47c3145f
fix union too many types ( #2193 )
...
fix union too many types
2019-10-24 00:18:58 +02:00
Tomas Votruba
1ea9bd1fe6
fix union too many types
2019-10-24 00:10:28 +02:00
Tomáš Votruba
f9618a499e
Merge pull request #2192 from stedekay/with-route-options
...
Add test case for route annotation with optional parameters
2019-10-23 16:21:03 +02:00
Stefan Blanke
9edff1852a
Add test case for route annotation with optional parameters
2019-10-23 14:30:23 +02:00
Tomas Votruba
ccac8ab13e
prevent mixed of specific override
2019-10-23 14:26:48 +02:00
Tomas Votruba
d308da40b7
skip closure override
2019-10-23 14:08:36 +02:00
Tomas Votruba
813b78925a
make sure commander has right current file info after the run
2019-10-23 14:08:36 +02:00
Tomas Votruba
c7e9d4d549
fix importing of freshly added node
2019-10-23 14:08:36 +02:00
Tomas Votruba
5a690b03b3
skip to many types in array Typedeclaration
2019-10-23 13:12:31 +02:00
Sebastian Schreiber
2f230f0a4a
[FEATURE] Possibility to add custom phpstan.neon configuration
2019-10-19 20:20:07 +02:00
Sebastian Schreiber
1c9a51b8d9
[FEATURE] Possibility to add custom phpstan.neon configuration
2019-10-19 19:53:56 +02:00
Tomas Votruba
b30f5cedf6
fix RemoveUnusedAliasRector for doc vs class concurency
2019-10-19 14:29:55 +02:00
Tomas Votruba
2407aaec05
Fix class annotation removal [ closes #2158 ]
2019-10-18 20:39:46 +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
160601c294
fix method case name [skip ci]
2019-10-17 18:51:08 +02:00
Tomas Votruba
495ace61c6
apply on self
2019-10-17 18:48:03 +02:00
Tomas Votruba
42e4454b48
[CodeQuality] Add AddPregQuoteDelimiterRector
2019-10-17 18:47:07 +02:00
Dominik Pesch
148e98efa7
Fix escaping with adding opening and closing brackets
...
This patch fixes this issue. But I suspect that there will be more edge
cases which will not be fixed with this small patch. Perhaps it will be
better to assure, that the escaping will only executed on hyphen in
character classes.
2019-10-17 10:12:23 +02:00
Dominik Pesch
c8892714b2
Added test for issue #2173
...
This test shows the false positive for `hyphen + shorthand` combination
outside a character class which should not be escaped.
2019-10-17 10:07:32 +02:00
Tomas Votruba
ec584212cc
skip missing property reflection
2019-10-17 00:00:15 +02:00
Tomas Votruba
f04d663e41
fix re-throw
2019-10-16 23:05:35 +02:00
Jeroen Smit
d2a6667af5
Bugfix for unusable statement rector
2019-10-15 15:33:30 +02:00
lapetr
a5151baaec
[code-quality] RemoveAlwaysTrueConditionSetInConstructorRector - test for trait
...
#2162
2019-10-15 10:25:00 +02:00
Tomáš Votruba
fb41b38f01
Merge pull request #2159 from rectorphp/screen-file
...
Screen file command improvements
2019-10-14 20:11:10 +02:00
Tomas Votruba
f0f20c457e
fix cs
2019-10-14 19:06:43 +02:00
Tomas Votruba
20921aeb8e
make use of TypeUtils
2019-10-14 19:06:14 +02:00
Tomáš Votruba
a98d6f93d0
Merge pull request #2132 from keulinho/add-console-execute-return-int-rector
...
[Symfony] Add ConsoleExecuteReturnIntRector
2019-10-14 16:38:56 +02:00
Tomas Votruba
557ec94cd7
improve screen file command
2019-10-14 15:22:14 +02:00
Jonas Elfering
c016a810d4
Fix static analysis
2019-10-14 08:24:21 +02:00