4326 Commits

Author SHA1 Message Date
Tomas Votruba
624d1b528d improve trait and interface support for RemoveUnusedAliasRector 2019-01-26 13:56:05 +01:00
Tomas Votruba
62fc1f102c Fix existing class name alias [closes #978] 2019-01-26 11:27:57 +01:00
Tomas Votruba
cb9f3336a5 fix name resolution for variable in static call 2019-01-26 01:47:56 +01:00
Tomas Votruba
874b27f5b2 add predictable kernel cache dir 2019-01-26 01:39:09 +01:00
Tomáš Votruba
e94d03fd61
Merge pull request #988 from rectorphp/trailing
remove trailing comma support, already in core
2019-01-25 08:19:25 -08:00
Tomas Votruba
0f12e192b1 update docs 2019-01-25 17:03:35 +01:00
Tomas Votruba
cecd62864f remove TrailingCommaArgumentsRector, let that to token cs 2019-01-25 17:01:13 +01:00
Tomas Votruba
1c5be870b0 remove trailing comma support, already in core 2019-01-25 17:01:13 +01:00
Tomáš Votruba
6383bc1873
Merge pull request #987 from rectorphp/phpstan-ext
Add custom ReturnTypeExtensions for static analysis
2019-01-25 07:48:25 -08:00
Tomas Votruba
fb0bd8e0b8 add utils to code analysis 2019-01-25 16:06:56 +01:00
Tomas Votruba
def4db7a8f Add BetterNodeFinderReturnTypeExtension 2019-01-25 16:06:56 +01:00
Tomas Votruba
7c8a88cf73 add ResolvedNameReturnTypeExtension and apply 2019-01-25 16:06:56 +01:00
Tomas Votruba
2c878c7541 apply new static analysis 2019-01-25 16:06:56 +01:00
Tomas Votruba
45df82424c add GetAttributeReturnTypeExtension 2019-01-25 01:49:05 +01:00
Jan Mikeš
753a478e7a
Merge pull request #982 from rectorphp/new-object-to-factory-method-rector
Added NewObjectToFactoryCreateRector
2019-01-24 23:40:29 +01:00
Jan Mikeš
a78d88a87c
Added NewObjectToFactoryCreateRector 2019-01-24 23:39:42 +01:00
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