4294 Commits

Author SHA1 Message Date
Tomas Votruba
93da9d98d0 make exclude_paths typos better 2019-01-21 19:53:09 +01:00
Tomáš Votruba
6a6ddb76b4
Merge pull request #971 from rectorphp/is-static-method-fix
Fix isStaticMethod() for method static annotation
2019-01-20 18:17:33 -08:00
Tomas Votruba
bf3c583cc2 Fix isStaticMethod() for method static annotation 2019-01-21 02:44:33 +01:00
Tomáš Votruba
8041edeb30
Merge pull request #969 from rectorphp/split-return-param
Split return and param test
2019-01-20 16:21:57 -08:00
Tomas Votruba
39a7d2a605 separate Return and Param type tests 2019-01-21 00:57:16 +01:00
Tomas Votruba
01e1c32757 bump dependencies, fix variadic static v0.3.36 2019-01-19 16:58:51 +01:00
Tomáš Votruba
def09ec7f8
Merge pull request #964 from rectorphp/exclude
Add "exclude_rectors" parameters to skip selected rules
2019-01-18 04:02:41 -08:00
Tomas Votruba
7a5f4e7972 add exclude_rectors option 2019-01-18 12:48:28 +01:00
Tomas Votruba
35dd56ee82 fix array source type 2019-01-18 12:48:27 +01:00
Tomas Votruba
569f1caaa9 remove dot from command description to keep consistent 2019-01-18 12:48:19 +01:00
Tomáš Votruba
3e822f5e49
Merge pull request #963 from rectorphp/bump-static
bump to PHPStan 0.11
2019-01-18 03:32:37 -08:00
Tomas Votruba
67acaead0a bump to PHPStan 0.11 2019-01-18 12:12:46 +01:00
Tomáš Votruba
5c9c1d0193
Merge pull request #958 from rectorphp/static-fixes-2
improve static code quality
2019-01-14 14:27:20 -08:00
Tomas Votruba
88412e984d remove unused errors from phpstan 2019-01-14 23:08:20 +01:00
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