11 Commits

Author SHA1 Message Date
Abdul Malik Ikhsan
6fe05c462c
[DowngradePhp72] Add DowngradePregUnmatchedAsNullConstantRector (#6021)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-04 13:40:55 +02:00
Tomas Votruba
b2412ad62a
Refactor doctrine/annotation from dynamic to own static-reflection parser (#5974)
* remove doctrine/annotations

* Refactor doctrine/annotation parser to static reflection with phpdoc-parser

* remove doctirne-annotation-parser-syncer

* remove annotation stubs

* use nodes

* almost there

* [ci-review] Rector Rectify

* skip temporary

* phpstan: remove fixed messages

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-04 11:01:11 +02:00
Leonardo Losoviz
d2e4c0a5b2
Add failing test fixture for DowngradeParameterTypeWideningRector (#5995)
* Add failing test fixture for DowngradeParameterTypeWideningRector

# Failing Test for DowngradeParameterTypeWideningRector

Based on https://getrector.org/demo/1b8ee6a0-7d50-4fae-8e15-f19d19591fc5

* Fixed automatic test (created buggy)

* Skip traits

* Renamed test
2021-04-02 19:20:16 +02:00
Tomas Votruba
1bdc6e588a
widening - skip if no method is present (#5898) 2021-03-18 14:48:00 +01:00
Tomas Votruba
1abe1f8c1b
Improve static reflection speed (#5895) 2021-03-18 11:29:23 +01:00
Tomas Votruba
a389839c5c
[CI] Downgrade Rector to PHP 7.1 + prefix it (#5880)
* [downgrade] simplify to 2 configs

* rename downgrade_packages.sh to downgrade_rector_to_php71.sh

* add test case stub

* [CI] add linter for php code

* [CI] update tagged workflow

* update for covariance

* [ci-review] Rector Rectify

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-18 02:48:44 +01:00
Tomas Votruba
6ad6bdc2d7
Fix type widening command (#5883)
* skip parent type for construtc

* skip magic method
2021-03-17 23:56:45 +01:00
Tomas Votruba
0e383192ae
misc fixes (#5886) 2021-03-17 23:36:05 +01:00
Tomas Votruba
ea19540a73
[Downgrade 7.2] Fix downgrade from parent native type (#5872)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-17 11:12:39 +01:00
Tomas Votruba
d897902ccf
[Downgrade] Keep better phpdoc type (#5862) 2021-03-15 18:58:04 +01:00
Tomas Votruba
157c39aefc
[DX] move src/tests rules from micro-packages to single PSR-4 structure (#5826) 2021-03-12 23:20:25 +01:00