Commit Graph

38 Commits

Author SHA1 Message Date
Grzegorz Korba
2acce0ab9b
Minimal Docker runtime (#998)
* Minimal Docker runtime

Allow contributors work on the code without actual PHP8 on their computers.

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2021-10-13 14:54:13 +02: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
721f619a1d
Post moving cleanup (#5827) 2021-03-12 23:52:38 +00:00
Tomas Votruba
319d6bfca1
add phpstan-for-rector config path, consolidate return type extensions - re-use from Symplify (#4973)
* add phpstan-for-rector config path, to separate phpstan and extensions that help Rector with precise types

* move type value object to value object

* moving

* remove KernelGetContainerAfterBootReturnTypeExtension, use one from symplify

* remove ContainerGetDynamicMethodReturnTypeExtension to ContainerGetReturnTypeExtension

* remove nette extension

* add nette-extension

* removed delegated rule

* delegate implmenets + code sample PHPStan rule to symplify
2020-12-24 16:31:24 +00:00
TomasVotruba
01e6554600 [github] update issue template 2020-12-22 23:31:53 +01:00
Tomas Votruba
09f17a7b64
[Downgrade] [PHP 8.0] Add DowngradePropertyPromotionToConstructorPropertyAssignRector (#4762)
* [Downgrade] [PHP 8.0] Add DowngradePropertyPromotionToConstructorPropertyAssignRector

* fix parent

* various fixes for PHP 8.0 tests

* [ci-review] Rector Rectify

* Update rules/downgrade-php80/tests/Rector/Class_/DowngradePropertyPromotionToConstructorPropertyAssignRector/DowngradePropertyPromotionToConstructorPropertyAssignRectorTest.php

Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-03 13:27:24 +00:00
TomasVotruba
c741a09560 do not add stubs to final project to prevent PHPStorm bugging 2020-12-02 09:57:32 +01:00
Tomas Votruba
5ea25b23de cleanpu gitignore 2020-11-27 20:56:16 +00:00
Tomas Votruba
377c734975
drop old compiler (#4716) 2020-11-27 17:54:14 +01:00
Abdul Malik Ikhsan
9465173276
Fixes #3930 : TypedPropertyRector should not remove DocBlock comment when it specifies the values contained in an array (#4102) 2020-09-02 14:01:45 +02:00
Tomas Votruba
9946e88c9a
[RectorGenerator] prevent incorrect package configuration (#3962)
* preven incorrect package configuration

* update create-recipe to rector-recipe, with prefix and better discoverability

* [rector] update create-recipe to rector-recipe, with prefix and better discoverability

* [cs] update create-recipe to rector-recipe, with prefix and better discoverability

Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-15 09:14:54 +00:00
TomasVotruba
bda3e5aa28 load rector.php config 2020-07-18 21:15:27 +02:00
TomasVotruba
e5e9abbcac fix importing of soon-to-be-existing classes 2020-06-19 12:11:45 +02:00
TomasVotruba
b2f5f0ae17 remove scan-fatal-errors, move to migrify 2020-05-03 01:06:31 +02:00
TomasVotruba
187bcd92eb use filesytem utils package name 2020-02-13 23:02:57 +01:00
TomasVotruba
4fce5091ae move RectorGenerator to core code 2020-01-21 23:55:58 +01:00
TomasVotruba
3742dc4b44 Add ScanFatalErrors command 2019-12-24 16:06:06 +01:00
TomasVotruba
3c9eac98f8 update gitignore [skip ci] 2019-12-01 16:19:09 +01:00
Tomas Votruba
160c9a6413 report old and new table 2019-08-31 12:49:10 +02:00
Tomas Votruba
5eed9b2788 gitignore: add laravel-dir 2019-05-07 16:54:32 +02:00
Tomas Votruba
3ee0597190 version rector.yaml for dog food 2019-03-31 23:21:00 +02:00
Tomas Votruba
663af70446 remove demo from gitignore [skip ci] 2019-02-04 01:44:34 +01:00
Tomas Votruba
0db2b07d49 rename *.yml to *.yaml 2019-02-03 18:46:45 +01:00
Tomas Votruba
ceb946cc8b use phpstan paths 2018-12-28 17:26:00 +01:00
mscherer
5f515d262b Add gitattributes file 2018-12-12 22:49:52 +01:00
Tomas Votruba
5bc58a84a1 gitignore: add create-rector.yml 2018-10-15 08:21:55 +08:00
Tomas Votruba
41b0f22932 gitignore: add phpunit cache 2018-09-26 21:14:09 +08:00
Tomas Votruba
1c51f5d9bf allow loading --config and --level together [closes #613] 2018-08-30 22:23:51 +02:00
Tomas Votruba
9d1071d80a fix AbstractPHPUnitRector - can be null 2018-08-28 17:37:50 +02:00
Tomas Votruba
c646f11d93 .gitignore: cleanup 2018-05-29 23:57:29 +02:00
Tomas Votruba
693fa75233 prepare for barmani 2018-05-28 11:31:50 +02:00
mssimi
f8fc252c02 build prefixed rector 2018-05-28 11:31:50 +02:00
TomasVotruba
6b60c1548c add rector.yml 2018-01-06 17:06:24 +01:00
TomasVotruba
44541a6ada gitignore: add rector.yml, for testing purposes 2018-01-05 15:27:11 +01:00
TomasVotruba
ee7a8411c6 temp: add git keep 2017-09-29 12:25:56 +02:00
TomasVotruba
44bb6d4860 gitignore: add temp 2017-09-28 17:28:26 +02:00
TomasVotruba
f8b16d5fff gitignore: add /example 2017-09-27 17:42:29 +02:00
TomasVotruba
764ce4bb08 init 2017-07-15 19:01:21 +02:00