Tomas Votruba
f7fc1ea144
skip presenter on control parent/name remover ( #5278 )
2021-01-22 01:15:05 +01:00
Abdul Malik Ikhsan
d300cc0464
[Symfony4] Skip ConsoleExecuteReturnIntRector on cast int return ( #5275 )
...
* Add failing test fixture for ConsoleExecuteReturnIntRector
# Failing Test for ConsoleExecuteReturnIntRector
Based on https://getrector.org/demo/2ce24767-1f3c-4f0c-b74f-bbea4b441678
* skip duplicated code
* Close #5272 Fixes #5273
* fixture
* ensure parent is return for Int_ cast skip
* ensure parent is return for Int_ cast skip
Co-authored-by: vladyslavstartsev <17382248+vladyslavstartsev@users.noreply.github.com>
2021-01-21 18:41:06 +01:00
Abdul Malik Ikhsan
c2c5228199
[TypeDeclaration] Improve FlipTypeControlToUseExclusiveTypeRector : add Nullable support for Assign expr ( #5254 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-20 11:41:35 +00:00
Abdul Malik Ikhsan
6b196a96ea
[TypeDeclaration] Register FlipTypeControlToUseExclusiveTypeRector to type-declaration set ( #5223 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2021-01-19 12:24:48 +01:00
Tomas Votruba
a7550337f0
Add promoted property in PHP 8.0, when adding a ctor dependency ( #5222 )
...
* add PHP 8.0 test
* Add promoted property adding in constructor injection on PHP 8
* update tests to use propert promotion
* fix promoted property adding
* decopule Doctrine registry to manager
* shorter naming
* fix parent ctor completion
* nette promotion fixes
* fixes
* fix property inject
* misc
* misc
2021-01-18 13:09:48 +00:00
Abdul Malik Ikhsan
35e83f75c6
[Utils] Add validate-fixture-filename command ( #5199 )
...
* [Utils] Add validate-fixture-filename command
* register command
* fix existing fixture filename with -
* clean up
2021-01-16 13:19:40 +01:00
TomasVotruba
d59aa8dfd6
use array arguments on privates caller
2021-01-09 15:51:10 +01:00
Tomas Votruba
014c019449
[fixtures] require skip prefix on skipped files ( #5079 )
...
* skip unnecesary test case
* namespace corrections, skip prefix corrections
* hide for now
* skip new phpstan cases
2021-01-03 15:54:27 +00:00
Tomas Votruba
d465ec83e2
[DeadCode] Move RecastingRemovalRector from PHPStan set ( #4983 )
...
* [DeadCode] Move RecastingRemovalRector from PHPStan set
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-25 00:22:45 +00:00
Abdul Malik Ikhsan
ca0b4cfdc7
[EarlyReturn] Register ChangeOrIfReturnToEarlyReturnRector to early-return set ( #4975 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-24 17:28:56 +01:00
Tomas Votruba
37b3cecda3
Upgrade to php-parser 4.10.4 and PHPStan 0.12.63 ( #4926 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-20 22:05:48 +01:00
Tomas Votruba
574c7cd174
[static] Narrow param types, remove duplicated methods ( #4921 )
...
* narrow types and other static fixes
* duplicates static fixes
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-20 13:50:55 +01:00
TomasVotruba
32eba83751
recomment
2020-12-20 00:43:59 +01:00
TomasVotruba
b7c6e2b7c0
apply cs
2020-12-19 23:37:11 +01:00
Tomas Votruba
db5e02e724
static fixes ( #4860 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-12 13:08:34 +01:00
Krystian Marcisz
35ceeff106
[Symfony] Split Symfony rules to dedicated namespaces ( #4858 )
2020-12-11 23:51:20 +01:00