20 Commits

Author SHA1 Message Date
Tomas Votruba
1c4b510513
PHPStan: require iterable types (#3936)
* phpstan: require iterable types

* add link on relative path and line

* fix missing class type

* typed array in Rector code + add data provide support resolver

* remove duplicated set

* drop unused yaml ecs config

* add out-of-the-box directory for 3rd party packages

* static fixes

* [rector] static fixes

* [cs] static fixes

* [rector] [cs] static fixes

* generic types

Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-11 10:59:04 +00:00
TomasVotruba
990dab6196 add CLOSURE_NODE to attributes, move closure use name conflicting to BreakingVariableRenameGuard 2020-07-19 13:29:18 +02:00
TomasVotruba
34c40428f3 add VIRTUAL_NODE constant, prevent double post traversing nodes 2020-06-19 01:35:11 +02:00
TomasVotruba
e3463b1073 add comments constant to prevent typos 2020-05-25 17:03:48 +02:00
TomasVotruba
ffeb6c9f53 [PSR-4] Add test for NormalizeNamespaceByPSR4ComposerAutoloadRector 2020-05-14 00:35:00 +02:00
TomasVotruba
81f00b2366 add IS_REGULAR_PATTERN constant 2020-04-25 16:41:02 +02:00
TomasVotruba
f5d8804c20 improve PhpVersionFeature autocomplete by PHPStorm 2020-03-24 23:49:19 +01:00
TomasVotruba
c1417eada6 [CakePHPToSymfony] Add CakePHPBeforeFilterToRequestEventSubscriberRector 2020-02-03 01:42:33 +01:00
TomasVotruba
1dda9804f5 apply property and method order 2020-02-02 12:14:43 +01:00
TomasVotruba
b32ab6c01e doc block manipulator refactoring to object 2020-01-30 22:45:28 +01:00
Jeroen Smit
10391ae7f2 Rewrite of expression to previous statement 2019-10-27 17:50:26 +01:00
Tomas Votruba
557ec94cd7 improve screen file command 2019-10-14 15:22:14 +02:00
Tomas Votruba
acfd930f54 apply PSR-12 2019-10-13 08:09:08 +02:00
Tomas Votruba
6a56bf2a8d [DeadCode] Add RemoveUnreachableStatementRector 2019-10-03 11:59:58 +02:00
Tomas Votruba
a833ca1366 fqnize freshly namespaced class 2019-09-25 18:15:31 +02:00
Tomas Votruba
e4be05d01a make getByType() return nullable 2019-09-12 11:32:06 +02:00
Tomas Votruba
72bb8d6ec0 remove getDoctrine*() methods from PhpDocInfo, use getByType() instead 2019-08-31 13:46:48 +02:00
Tomas Votruba
7c9df2cefe rename Attribute to AttributeKey to prevent duplicated names with similar classes in 3rd party project 2019-04-13 14:21:36 +02:00
Tomas Votruba
f7043f956a add get/set attribute constant name complete to .phpstorm.meta.php 2019-03-31 19:06:53 +02:00
Tomas Votruba
81493d3cae add .phpstorm.meta.php 2019-02-02 01:33:39 +01:00