26 Commits

Author SHA1 Message Date
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
Tomas Votruba
0e5a777b00
simplify input configs (#5632)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-20 19:48:04 +00: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
Gabriel Caruso
1a7e182dd5 Have only one rector file 2017-12-30 17:45:50 -02:00
TomasVotruba
88d36e1607 bin: use LevelConfigShortcutFinder 2017-12-25 19:43:09 +01:00
TomasVotruba
4f1cc44c2a ProgressBar: fix verbosity fuction 2017-12-25 19:20:41 +01:00
TomasVotruba
3ee53abfda cs updates 2017-11-25 02:36:43 +01:00
TomasVotruba
ab3b3d1148 RectorConfigFilePathHelper: remove unneded static 2017-11-06 03:46:11 +01:00
TomasVotruba
f5908477cf make bin unique 2017-11-04 13:03:37 +01:00
TomasVotruba
a9c7afc1ec add --level shortcut option 2017-10-30 14:26:44 +01:00
TomasVotruba
0cbb076b9e improve reported exceptions 2017-09-28 20:01:15 +02:00
TomasVotruba
0d05e11bce fix cs 2017-09-27 17:02:54 +02:00
TomasVotruba
404e5a9837 bin/rector: allow custom config 2017-09-27 17:02:54 +02:00
TomasVotruba
32b90c75c6 cs fixes, drop duplicated NodeVisitor 2017-08-12 13:34:40 +02:00
TomasVotruba
764ce4bb08 init 2017-07-15 19:01:21 +02:00