18 Commits

Author SHA1 Message Date
Tomas Votruba
7ac228c638
[CI] Add type-declaration set (#4089)
* [CI] Add type-declaration set

* [rector] [CI] Add type-declaration set

* [cs] [CI] Add type-declaration set

* skip nullable void

* add anonymous parent/interface support

* refactor MultiExceptionCatchRector to use Catch_ over integers

* type fixes

* fix unoin array type override

* remove unused test cases

* drop overcomplicated InlineValidationRulesToArrayDefinitionRector

* skip assign on var

* [rector] skip assign on var

* [cs] skip assign on var

* [rector] [cs] skip assign on var

* skip assign on var

* fixes

* [rector] fixes

* [cs] fixes

Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-01 17:56:30 +00:00
Tomas Votruba
41a9b63c6f
fix ci (#4057) 2020-08-29 11:03:40 +02:00
TomasVotruba
efef51d237 use option 2020-08-19 00:09:49 +02:00
Tomas Votruba
3b87f6c5c8
update ecs.php to use constants over strings (#3982) 2020-08-18 16:42:54 +00:00
dobryy
2e7bdca4e2
[DX] Rename namespaces respect node type (#3973) 2020-08-18 17:57:30 +02:00
Tomas Votruba
74fc11088d
move Polyfill to rules (#3951) 2020-08-12 18:30:42 +00:00
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
Tomas Votruba
6b0249a025
drop slevomat cs to prevent breaking build for last months (#3917) 2020-08-05 22:57:39 +00:00
Tomas Votruba
09f67341ee
Add set-path constant support (#3886) 2020-08-03 21:14:41 +02:00
TomasVotruba
2eddb274c2 use standard __ for vars 2020-07-28 23:54:13 +02:00
TomasVotruba
99db894192 restore types 2020-07-27 10:44:51 +02:00
TomasVotruba
ee9d0439cf make use of Set constants 2020-07-20 01:06:56 +02:00
TomasVotruba
cb13e7116e skip dynamic name 2020-07-19 20:21:52 +02:00
TomasVotruba
bda3e5aa28 load rector.php config 2020-07-18 21:15:27 +02:00
TomasVotruba
0944b75f7e correct namespace in configs 2020-07-18 11:58:17 +02:00
TomasVotruba
78f830a6f7 add PHP support to FileHashComputer 2020-07-17 00:59:52 +02:00
TomasVotruba
2c433947e2 ecs.php - apply cs, improve paths 2020-07-16 20:46:59 +02:00
TomasVotruba
70895c8f6b switch ecs.yaml to ecs.php 2020-07-16 17:37:24 +02:00