4280 Commits

Author SHA1 Message Date
Tomas Votruba
25da54641b improve static code quality 2019-01-14 23:08:20 +01:00
Tomas Votruba
96fa1309ee check method name null 2019-01-14 15:10:41 +01:00
Tomas Votruba
c931ef753e composer: add phpstan-async command 2019-01-14 15:05:38 +01:00
Tomas Votruba
0bc1dac48e include parent class method in /FunctionLikeNodeCollector 2019-01-14 14:48:01 +01:00
Tomas Votruba
91dfacb431 consolidate tests 2019-01-14 14:31:36 +01:00
Tomáš Votruba
884d64b865
Merge pull request #955 from rectorphp/class-to-interface
prevent class <=> interface replacing on incorrect places
v0.3.35
2019-01-14 04:48:29 -08:00
Tomas Votruba
72e8411fc2 prevent class <=> interface replacing on incorrect places 2019-01-14 13:45:28 +01:00
Tomáš Votruba
9e4acae242
Merge pull request #954 from rectorphp/class-replacer-to-interface
fix ClassReplacerRector for class to interface rename [closes #950]
2019-01-14 03:46:50 -08:00
Tomas Votruba
607da366aa fix ClassReplacerRector for class to interface rename [closes #950] 2019-01-14 12:46:19 +01:00
Tomáš Votruba
5328706c8e
Merge pull request #938 from rectorphp/4.2-dev
Upgrade to php-parser 4.2
2019-01-12 11:55:31 -08:00
Tomáš Votruba
a66497e663
Merge pull request #949 from voku/type-resolver-fix
fix for e.g. negative class const values in CompleteVarDocTypeConstantRector
2019-01-12 11:41:48 -08:00
Tomas Votruba
c4e84217bb ignore double false static positive 2019-01-12 20:37:09 +01:00
Tomas Votruba
7c90594395 remove anonymous class workaround 2019-01-12 20:37:09 +01:00
Tomas Votruba
c18a542485 [PHP] Add RealToFloatTypeCastRector 2019-01-12 20:37:08 +01:00
Tomas Votruba
484b0bf213 upgrade BetterStandardPrinter 2019-01-12 20:37:08 +01:00
Tomas Votruba
900c4035af remove custom PHP 7.4 property type wrapper 2019-01-12 20:37:08 +01:00
Tomas Votruba
5d1a7360ff use php-parser 4.2 2019-01-12 20:37:08 +01:00
Tomáš Votruba
2de27d78fe
Merge pull request #948 from rectorphp/config
standardize /config directory location to root
v0.3.34
2019-01-12 02:11:59 -08:00
Lars Moelleken
31e5e06091 [+]: fix for e.g. negative class const values 2019-01-12 03:34:05 +01:00
Tomas Votruba
cfe7ecc2ff standardize /config directory location to root 2019-01-12 02:04:45 +01:00
Tomas Votruba
71e37f6db9 fix incorret style close 2019-01-12 01:56:53 +01:00
Tomáš Votruba
6e86548b55
Merge pull request #944 from voku/bootstrap-fix-autoload
"bin/bootstrap.php" -> fix autoload
2019-01-11 11:39:30 -08:00
Lars Moelleken
4b700ff95b [+]: try to fix issue #942 v3.1 (fix code-style) 2019-01-11 19:14:00 +01:00
Lars Moelleken
e9037cf180 [+]: try to fix issue #942 v3 2019-01-11 18:57:55 +01:00
Lars Moelleken
0c03a0431e [+]: try to fix issue #942 v2 2019-01-11 15:12:56 +01:00
Lars Moelleken
5c7d983db6 [+]: try to fix issue #942
copy&past from https://github.com/phan/phan/blob/master/src/Phan/Config/Initializer.php#L57 ;)
2019-01-11 15:11:35 +01:00
Tomáš Votruba
fe55bb3961
Merge pull request #941 from rectorphp/coala-queue
[CodeQuality] Add ConsecutiveNullCompareReturnsToNullCoalesceQueueRector
2019-01-10 21:46:46 +01:00
Tomas Votruba
d95f878cc2 apply new safe methods for preg_replace 2019-01-10 21:36:44 +01:00
Tomas Votruba
d9d58809fb split preg_replaces arrays to standalone calls 2019-01-10 21:34:52 +01:00
Tomas Votruba
dc9532abae add ConsecutiveNullCompareReturnsToNullCoalesceQueueRector 2019-01-10 21:08:38 +01:00
Tomas Votruba
30bbfeb60e Decouple SimplifyIfNotNullReturnRector logic to IfMaintainer 2019-01-10 20:26:51 +01:00
Tomas Votruba
544e59540b add IfMaintainer 2019-01-10 13:55:29 +01:00
Tomáš Votruba
6b89ff5c45
Merge pull request #940 from rectorphp/null-coala-equal
remove NullCoalescingOperatorRector - not part of PHP itself
2019-01-08 19:51:54 +01:00
Tomas Votruba
e35fe34267 fix preffer-lowest deps 2019-01-08 19:07:25 +01:00
Tomas Votruba
40444cabcc update DOCS 2019-01-08 18:56:43 +01:00
Tomas Votruba
bb8652a9b0 remove NullCoalescingOperatorRector - not part of PHP itself 2019-01-08 18:56:43 +01:00
Tomas Votruba
61e7bb8164 fixup! apply cs 2019-01-08 16:03:57 +01:00
Tomas Votruba
0916a86a17 apply cs 2019-01-08 16:02:42 +01:00
Tomáš Votruba
e3593c0f46
Merge pull request #937 from rectorphp/process
[Symfony] improve StringToArrayArgumentProcessRector
2019-01-08 10:24:51 +01:00
Tomas Votruba
e353eddab7 improve StringToArrayArgumentProcessRector 2019-01-08 10:11:27 +01:00
Tomas Votruba
290ee375f0 bump to Symplify 5.3 2019-01-08 00:17:05 +01:00
Tomas Votruba
d69949c306 bump safe 2019-01-04 21:35:42 +01:00
Tomas Votruba
12bbd8066a correct type declarations 2019-01-04 11:39:38 +01:00
Tomáš Votruba
f9e8284f49
Merge pull request #933 from rectorphp/array-yield-and-back-again
Add yield <=> return array[] Rector
2019-01-04 11:13:10 +01:00
Tomas Votruba
9fae3bf1d1 update docs 2019-01-04 11:05:15 +01:00
Tomas Votruba
20374f53a4 add return typehint for yield to array 2019-01-03 17:39:25 +01:00
Tomas Votruba
e6a5f55f94 drop ArrayToYieldDataProviderRector instead, update docs 2019-01-03 17:39:25 +01:00
Tomas Votruba
7f50b8b5a6 Add ReturnArrayClassMethodToYieldRector 2019-01-03 17:39:25 +01:00
Tomas Votruba
ca1588309b Add YieldClassMethodToArrayClassMethodRector 2019-01-03 17:39:25 +01:00
Tomas Votruba
2b4696bb1a make NameResolver match regular expressions 2019-01-03 17:39:25 +01:00