4310 Commits

Author SHA1 Message Date
Tomáš Votruba
ffd914ce26
Merge pull request #984 from hkdobrev/patch-1
Fix docs typo
2019-01-23 15:40:21 -08:00
Haralan Dobrev
eab6ae4d62
Fix docs typo
Fix typo in `--config` option described in documentation.
2019-01-24 01:19:31 +02:00
Tomáš Votruba
3872fa4cc5
Merge pull request #980 from rectorphp/get-name
Use getName()
2019-01-22 14:09:33 -08:00
Tomas Votruba
5488e5cfa4 use getName() instead of resolved-name attribute 2019-01-22 22:56:27 +01:00
Tomáš Votruba
3beafa4cf3
Merge pull request #979 from rectorphp/null-coll-as
[Php] Add NullCoalescingOperatorRector
2019-01-22 12:43:16 -08:00
Tomas Votruba
bd8b5cdb75 add NullCoalescingOperatorRector to PHP 7.4 [skip ci] 2019-01-22 21:43:03 +01:00
Tomas Votruba
9ab3186fcf update docs 2019-01-22 21:34:38 +01:00
Tomas Votruba
f8a6028cbc [Php] Add NullCoalescingOperatorRector 2019-01-22 21:34:34 +01:00
Tomáš Votruba
3e089d8f55
Merge pull request #976 from rectorphp/array-value-not-needed
drop array_values need
2019-01-22 11:58:18 -08:00
Tomas Votruba
dd0acef8f2 reorder methods by use 2019-01-22 20:41:44 +01:00
Tomas Votruba
c2d1a98f95 drop array_values need 2019-01-22 20:33:03 +01:00
Tomáš Votruba
3f3b1d6a24
Merge pull request #975 from rectorphp/remove-interface-rector
Added new rector - RemoveInterfacesRector
v0.3.37
2019-01-22 09:49:53 -08:00
Jan Mikeš
31a5e9bcd2
Added RemoveInterfacesRector 2019-01-22 18:46:09 +01:00
Jan Mikeš
1ec709bd25
Improved getting interface name 2019-01-22 18:46:09 +01:00
Tomáš Votruba
7c6babdc7e
Merge pull request #968 from rectorphp/void-return-type
[PHP] Add void support to return type
2019-01-21 11:30:40 -08:00
Tomas Votruba
09cd48568f Add void to ReturnTypeDeclarationRector 2019-01-21 20:19:11 +01:00
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