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
Jonas Elfering
cce6f32dd8
Use isName() instead of string compare
2019-10-14 08:12:12 +02:00
Tomas Votruba
042e1c45e0
[PHPUnit 6] Add AddDoesNotPerformAssertionToNonAssertingTestRector
2019-10-13 17:01:38 +02:00
Jonas Elfering
1ecef4cedd
Cast return value if its not an int
2019-10-13 11:19:27 +02:00
Tomas Votruba
9f3f49437e
[PHPUnit] [Doc] Add FixDataProviderAnnotationTypoRector
2019-10-13 08:32:06 +02:00
Tomas Votruba
d1118c1ab4
[PHPUnit] [Doc] Add EnsureDataProviderInDocBlockRector
2019-10-13 08:21:10 +02:00
Tomas Votruba
acfd930f54
apply PSR-12
2019-10-13 08:09:08 +02:00
Tomas Votruba
ac60f8ac09
add Closure type to StaticTypeMapper
2019-10-13 02:47:12 +02:00
Tomas Votruba
73aba872b1
fix get property by class
2019-10-13 01:33:59 +02:00
Tomas Votruba
26213d5465
make ReturnTypeDeclarationRector keep implementation
2019-10-13 01:24:47 +02:00
Tomas Votruba
803682ab1e
phpstan - add getContainer() after boot()
2019-10-13 01:10:36 +02:00
Tomas Votruba
642ab6073a
prevent doc type of child array override
2019-10-12 18:57:31 +02:00
Tomas Votruba
d6d337e85e
[TypeDeclaration] Prevent array-iterable-Iterator override in ReturnTypeDeclarationRector
2019-10-12 18:39:58 +02:00
Tomas Votruba
d22b998bd3
fix string-named func
2019-10-12 16:06:40 +02:00
Tomas Votruba
0a6349fbc7
[DeadCode] Make RemoveDefaultArgumentValueRector skip native functions to prevent full-PHP-stub loading to get that value
2019-10-12 15:37:17 +02:00
Tomáš Votruba
4fd1cde4b7
Merge pull request #2144 from rectorphp/phpunit-provider
...
[PHPUnit] Add RemoveDataProviderTestPrefixRector
2019-10-12 13:51:52 +02:00
Jonas Elfering
16e225ba06
Add ability to refactor called methods
2019-10-11 23:01:02 +02:00