Tomas Votruba
9987c84c58
Rector 0.11.3
2021-05-17 07:55:27 +00:00
Tomas Votruba
10b65060a2
Updated Rector to commit cefe13feab65ddabdce51fc21d7d1effd5896287
...
cefe13feab
fix rector rules overview dump location (#49 )
2021-05-16 08:19:51 +00:00
Tomas Votruba
80c6cbecea
Updated Rector to commit fa8e59708b7c6c2916f5afeefef80ba90346152f
...
fa8e59708b
Use local version resolver (#36 )
2021-05-15 01:39:19 +00:00
Tomas Votruba
4c713c78de
Updated Rector to commit fa8e59708b7c6c2916f5afeefef80ba90346152f
...
fa8e59708b
Use local version resolver (#36 )
2021-05-14 21:57:41 +00:00
Tomas Votruba
146dc7d680
Updated Rector to commit f2c0023dad9a6a955c0af1553148adedc7bdb011
...
f2c0023dad
[PHP 8.1] Add MyClabs enum to native ENUM (#30 )
2021-05-14 09:53:43 +00:00
Tomas Votruba
693ce44ea9
Updated Rector to commit 9305fdf4f4708e2687a55d44d3aa663a1fd8cb5c
...
9305fdf4f4
typo
2021-05-13 00:24:58 +00:00
Tomas Votruba
758a350d87
Updated Rector to commit 6af13d7b76234edf43dbb0b4c533912cec19f971
2021-05-12 13:15:45 +00:00
Tomas Votruba
436fcb7505
Updated Rector to commit 0684911cdf88b424d6e2a9ba0689f0e35e94ebd6
...
0684911cdf
[PHP 8.0] Promoted property fixes (#8 )
2021-05-11 10:40:34 +00:00
Tomas Votruba
7d36c3b0b9
Updated Rector to commit a80cf5292d6df5e83b7d17c78630506e361bede9
...
a80cf5292d
revert to working scoper 0.14
2021-05-10 22:23:08 +00:00
Tomas Votruba
363a910cf7
Updated Rector to commit a7db1ad94df4879885b9106773d2f8335cb40e49
...
a7db1ad94d
use scoper 0.15
2021-05-10 22:10:16 +00:00
Tomas Votruba
345a89a7e2
Updated Rector to commit a657258f317da1f6fd42069bf3b09198d3cfd635
...
a657258f31
cleanup CHANGELOG, is part of GitHub releases now (#2 )
2021-05-10 00:23:30 +00:00
Tomas Votruba
d56e7982d0
Updated Rector to commit dedd4b55fe3e03cae9bd5ac822cfdccd8deb3fb6
...
dedd4b55fe
make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
Tomas Votruba
d225be28d8
[scoped on PHP 7.0] bin/rector run with extracted phpstan ( #6371 )
2021-05-06 23:43:45 +02:00
TomasVotruba
37e21653d4
fix composer root path
2021-05-04 14:26:41 +02:00
Tomas Votruba
ac7a03f800
[php-parser] upgrade to 4.10.5 - add src/constants.php to mimic new PHP 8.1 tokens; update test with unicode ( #6325 )
...
* add src/constants.php to mimic new PHP 8.1 tokens; update test with unicode
* include preload in dev repository too
* include preload function
2021-05-04 14:21:34 +02:00
Abdul Malik Ikhsan
a2bb65c272
[Preload] Fixes root path when rector installed as dependency ( #6324 )
...
* [Preload] Fixes root path when rector installed as dependency
* move to tests bootstrap
* check in prefixed only
2021-05-04 13:49:15 +02:00
TomasVotruba
73d25d57d8
fix preload.php position
2021-04-29 21:45:51 +02:00
TomasVotruba
f15648eb05
add preload in build
2021-04-29 19:55:03 +02:00
TomasVotruba
26d6fff51d
preload local installed versions
2021-04-29 16:50:11 +02:00
Tomas Votruba
9e6e3f7a92
Simplify set provider ( #6077 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-10 11:38:25 +00: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
2be6607854
[Reporting] Move missing rector services to single class ( #5881 )
2021-03-17 19:59:47 +01:00
Matthias Pigulla
a2e36d5a04
Use the autoloader from where Rector was installed, not started ( #5772 )
...
* Use the autoloader from where Rector was installed, not started
* Remove autoloader already covered in AutoloadIncluder::includeDependencyOrRepositoryVendorAutoloadIfExists()
* Fix path to project autoloader
When Rector is installed as a project dependency through composer,
this script it will be in {vendor}/rector/rectory/bin/rector.php,
so ../../.. is where autoload.php lives.
2021-03-04 15:02:07 +01:00
Abdul Malik Ikhsan
f3af24321a
[Bin] Handle possible PHPStan Stubs runtime locations ( #5649 )
2021-02-23 10:50:13 +00:00
Tomas Votruba
0e5a777b00
simplify input configs ( #5632 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-20 19:48:04 +00:00
Abdul Malik Ikhsan
648bea9305
[Bin] Using file_exists() for check PHPStan stub ReflectionUnionType and Attribute exists ( #5581 )
2021-02-17 01:23:12 +07:00
Abdul Malik Ikhsan
5921571647
[Bin] Add PHPStan Stub ReflectionUnionType and Attribute to bin/rector ( #5569 )
2021-02-16 16:57:16 +01:00
Tomas Votruba
520335251d
[scoper] keep phpstan.phar to avoid conflict in install ( #5009 )
...
* fix scoping of Symfony autodiscovery namespace
* scoped: add along phpstan run
* wait longer, the old version is used
* keep phpstan.phar
2020-12-27 21:14:39 +00:00
Tomas Votruba
d4883d44d9
[Prefixed Rector] Add package-scoper approach ( #4559 )
2020-12-26 00:17:31 +01:00
Tomas Votruba
5a47e36b72
Add Visibility consts ( #4981 )
2020-12-24 23:01:30 +01:00
Tomas Votruba
5c66890e46
simplify autoload in bin/rector.php
2020-11-27 21:00:10 +00:00
Tomas Votruba
0eb6e29176
drop MinimalVersionChecker, is checked by composer itself ( #4715 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-27 17:32:38 +01:00
Tomas Votruba
0993088cda
[SymfonyPhpConfig] Use Symplify package instead + simplify set validation ( #4694 )
...
* [SymfonyPhpConfig] Use Symplify package instead
* [SymfonyPhpConfig] Drop forgotten custom-jobs Rectors
* [CI] simplify set validation
* from inline functions to Static class
* cleanup
* decouple rector.php to allow static analysis and coding standards
2020-11-26 16:44:27 +00:00
Tomas Votruba
da6d703687
Improve Blade class renames ( #4676 )
...
* [Console] Use single point of command naming
* use blade in process command
* filter out blade templates from PHP files
* make test process blade as non php file
* add failing test
* remove duplicated tests
* rename php to php.inc suffix to make it skip to CI tools
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-23 19:16:48 +00:00
Tomas Votruba
4a76cdaa82
[SymfonyPHPConfig] Add monorepo split for value objects function ( #4153 )
...
* add monorepo split for symfony-php-config
* [SOLID] Prevent replacing referenced parametes with inlined constnat value
* make Symfon 5.0- compatible
* add support for reference skip in constructor
* [rector] add support for reference skip in constructor
* [cs] add support for reference skip in constructor
* improve misisng rule feedback
* underscore
* Fix ChangeReadOnlyVariableWithDefaultValueToConstantRector for new
* add clear-cache to all commands
* colors
* [rector] colors
* [cs] colors
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-10 17:42:43 +00:00
Marek Šimeček
66bf80f891
changed files detector test ( #4256 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-18 12:06:01 +02:00
Julian Pollmann
bdb3750948
FixMissing Ruleset does not throw SetNotFoundException ( #4117 )
2020-09-03 15:55:13 +02:00
Tomas Votruba
042f08f71b
Drop YAML config support ( #4081 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-30 23:29:39 +02:00
Tomas Votruba
4ef653976f
Fix invalid set reporting ( #4006 )
...
* do not use internal rectors
* report invalid set
* remove dashes before number in set name
* [rector] remove dashes before number in set name
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-22 19:27:41 +00:00
Tomas Votruba
ac4e73b72f
add ConfigShifter to make use of root config parameter override ( #3994 )
2020-08-20 15:37:13 +02:00
TomasVotruba
6cc9432fbc
warn about YAML deprecation + load YAML sets
2020-07-22 22:42:56 +02:00
TomasVotruba
e5d7cee695
move RectorConfigsResolver to bootstrap, fix paths
2020-07-22 00:55:22 +02:00
TomasVotruba
2eb21e1087
make use of new set from symplify
2020-07-21 14:10:48 +02:00
TomasVotruba
3a9375007e
decouple Set package
2020-07-21 01:39:24 +02:00
TomasVotruba
2f927842a7
move sets to single /set directory
2020-07-21 00:46:53 +02:00
TomasVotruba
aeb7937972
add set constants + command to generate them
2020-07-20 01:00:49 +02:00
TomasVotruba
bda3e5aa28
load rector.php config
2020-07-18 21:15:27 +02:00
TomasVotruba
78f830a6f7
add PHP support to FileHashComputer
2020-07-17 00:59:52 +02:00
dobryy
78e518c105
check minimal php version
2020-07-08 20:36:27 +02:00
Markus Staab
de81569417
Define __RECTOR_RUNNING__ constant at analysis time
2020-05-08 14:12:25 +02:00