Commit Graph

501 Commits

Author SHA1 Message Date
Tomas Votruba 4c0be82f72 Updated Rector to commit c2dbe67cb6
c2dbe67cb6 add DockerHub overview update workflow (#249)
2021-06-19 16:11:24 +00:00
Tomas Votruba 8beb40c952 Updated Rector to commit ddd054ffff
ddd054ffff [GHA] Alternative for close PR auto (#84)
2021-05-20 18:27:23 +00:00
Tomas Votruba 8b946f0b76 Updated Rector to commit b0a75c7a1b
b0a75c7a1b [GHA] Fix bad substitution error (#83)
2021-05-20 17:12:12 +00:00
Tomas Votruba ab58f45c5b Updated Rector to commit 39e73a4875
39e73a4875 [GHA] Using PR auto closer on rector/rector (#80)
2021-05-20 15:09:42 +00:00
Tomas Votruba a9985c6285 Updated Rector to commit 9fd252d8ae
9fd252d8ae minor: Update issue templates' rector version (#77)
2021-05-19 23:46:32 +00:00
Tomas Votruba a3f9df34d6 Updated Rector to commit 58e7624357
58e7624357 [scoped] Run e2e parallel, suck in existing tests (#16)
2021-05-11 16:11:30 +00:00
Tomas Votruba 78515ddd19 Updated Rector to commit aa45d4e22a
aa45d4e22a bump to phpstan 0.12.86 and php-parser 4.10.5 (#14)
2021-05-11 11:58:40 +00:00
Tomas Votruba 66ac7e984e Updated Rector to commit afd75171fb
afd75171fb move issue templates to split
2021-05-11 11:37:42 +00:00
Tomas Votruba 9fd49a8b07 Updated Rector to commit ecc876ca19
ecc876ca19 [build] add e2e tests (#12)
2021-05-11 11:17:57 +00:00
Tomas Votruba d56e7982d0 Updated Rector to commit dedd4b55fe
dedd4b55fe make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
TomasVotruba 883523d837 [scoped] remove .github dir to allow updates 2021-05-08 15:49:59 +02:00
Abdul Malik Ikhsan 6ddb1451c8
[Scoped] Add more paths to scope (#6382) 2021-05-07 14:02:04 +00:00
TomasVotruba 74673afab7 [scoped] use empty php file 2021-05-07 02:22:40 +02:00
TomasVotruba 7417a30a1c [scoped] remove bootstrap too 2021-05-07 02:21:12 +02: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 b20f91337e use PHP 8 for CI jobs 2021-05-06 22:30:43 +02:00
TomasVotruba 2088271c5a [scoped 7.0] extract phpstan.phar 2021-05-06 14:54:57 +02:00
TomasVotruba 5a9d4da31d debug option 2021-05-06 14:41:16 +02:00
TomasVotruba d2d238bfec [scoped] show that even bin/rector does not run 2021-05-06 14:39:59 +02:00
TomasVotruba 2381c78ba5 skip non-existing file 2021-05-06 14:28:50 +02:00
TomasVotruba d23f205afb simplify require/remove scirpt 2021-05-06 14:27:51 +02:00
TomasVotruba 78b004b8d9 [scoped PHP 7.0] add colors 2021-05-06 14:22:44 +02:00
TomasVotruba 3b82c87dfc [scoped 7.0] allow xdebug handler needed for PHPStan src, add phpstubs 2021-05-06 14:11:45 +02:00
Tomas Votruba aca76ddc2a
Add Docker on prefixed/downgraded version only (#6368)
* move docker build to prefixed & downgraded version

* [Docker] do not scope, use existing composer dump
2021-05-06 13:24:32 +02:00
Abdul Malik Ikhsan 19be811796
[Scoped] Re-remove composer.lock before require phpstan-src (#6354)
* [Scoped] Re-remove composer.lock before require phpstan-src

* allow symfony-console ^4.3
2021-05-05 16:10:38 +00:00
Abdul Malik Ikhsan 44e6c2caed
[Scoped] Remove phpstan/phpstan deps (#6353)
* [Scoped] Remove phpstan/phpstan deps

* composer remove phpstan/phpstan-phpunit after require phpstan-src
2021-05-05 15:54:39 +00:00
Abdul Malik Ikhsan 15f7549147
[Scoped] Remove composer.lock after remove ecs,cs,php-cs-fixer (#6352) 2021-05-05 22:27:07 +07:00
Abdul Malik Ikhsan 048cd0745e
[Scoper] Remove ecs, cs, php-cs-fixer without require phpstan-src with --update-with-dependencies (#6351) 2021-05-05 15:16:23 +00:00
Abdul Malik Ikhsan 9be37ac2c9
[Scoper] Remove php-cs-fixer before require phpstan-src (#6350)
* [Scoper] Remove php-cs-fixer before require phpstan-src

* remove symplify/easy-coding-standard as well
2021-05-05 15:00:22 +00:00
Abdul Malik Ikhsan dabc7869bd
[Scoper] Allow "composer/xdebug-handler": "^1.3.0 || ^2.0" (#6349)
* [Scoper] Allow "composer/xdebug-handler": "^1.3.0 || ^2.0"

* single |

* config
2021-05-05 14:43:10 +00:00
Abdul Malik Ikhsan 23b6e5e8d6
[Scoper] Update composer/xdebug-handler:^1.3.0 as phpstan-src require it (#6348) 2021-05-05 14:23:08 +00:00
Abdul Malik Ikhsan 12dbc0766e
[Scoper] Use php 7.4 for require phpstan/phpstan-src:0.12.85 (#6346) 2021-05-05 14:12:19 +00:00
Abdul Malik Ikhsan 51bc89b592
[Scoped] Require phpstan-src 0.12.85 (#6344) 2021-05-05 10:54:02 +00:00
Abdul Malik Ikhsan 8c61186327
[Scoped] Require phpstan-src early before scoping (#6341) 2021-05-05 10:15:12 +00:00
Abdul Malik Ikhsan 7100f11b10
[Scoped] Downgrade phspstan from vendor (#6340) 2021-05-05 09:58:52 +00:00
Abdul Malik Ikhsan 956a492ce3
Scoper use php73 downgrading phpstan (#6339)
* [Scoper] Use php 7.3 on downgrade phpstan

* [Scoper] Use php 7.3 on downgrade phpstan
2021-05-05 09:43:35 +00:00
Abdul Malik Ikhsan 0abd2f3aa6
[Scoper] Fix downgrade rector script path on downgrade phpstan (#6338)
* [Scoper] Fix downgrade rector script path on downgrade phpstan

* fix

* fix
2021-05-05 09:21:52 +00:00
Abdul Malik Ikhsan 4c15a96ae9
[Scoper] Set stability config on require phpstan/phsptan-src (#6337) 2021-05-05 08:57:50 +00:00
Abdul Malik Ikhsan 61dfe65fb1
[Scoped] Debug scoped require phpstan-src (#6333) 2021-05-05 03:59:14 +00:00
Abdul Malik Ikhsan 1a902d5cf1
[Scoped] Sync scoped script to include "upgrade" directory (#6332) 2021-05-05 03:35:12 +00:00
Michal Lulco f8c45a4a70
Added upgrade sets to rector-prefixed (#6320) 2021-05-04 21:41:11 +02:00
TomasVotruba 442b5b3d51 use php-parser 4.10.4 and stable phpstan with same version 2021-05-04 20:40:00 +02:00
TomasVotruba abcac0c4d1 [scoped] [php 7.0] exclude temporary phpstan dev 2021-05-04 19:40:46 +02:00
Abdul Malik Ikhsan c27fc4c823
[Scoped] require phpstan/phpstan-src before push to prefixed repo (#6317)
* [Scoped] require phpstan/phpstan-src before push to prefixed repo

* add composer-move.json
2021-05-04 15:19:13 +00:00
TomasVotruba 68ed4d9b2d [prefixed] exclude phpstan bot and e2e 2021-05-04 16:47:34 +02:00
Tomas Votruba f5bb6cd17e
composer: use phpstan with php-parser 4.10.5 (#6327)
* composer: use phpstan with php-parser 4.10.5

* bump to php-cs-fixer 3.0

* bump to xdebug handler 2.0
2021-05-04 16:30:35 +02:00
Tomas Votruba 21bf53f2ec
[CodeQuality] Add FuncGetArgsToVariadicParamRector (#6318) 2021-05-03 21:27:20 +00:00
Abdul Malik Ikhsan 94f9929dc8
[Scoped] More exclude and add vendor/symplify/autowire-array-parameter to downgradepath (#6308) 2021-05-03 13:47:40 +00:00
Abdul Malik Ikhsan c436713cb1
[Scoped] Back to one line for --exclude in parallel-lint (#6307) 2021-05-03 13:27:27 +00:00
Abdul Malik Ikhsan 5f45c15688
[Scoped] Add rector-prefixed-downgraded-php70/ prefix on parallel lint exclude (#6306) 2021-05-03 13:11:17 +00:00
Abdul Malik Ikhsan d17e334567
[Scoped] Fixing multiline parallel lint exclude (#6305) 2021-05-03 12:55:17 +00:00
Abdul Malik Ikhsan d9b787661b
[Scoped] More exclude parallel lint php 7.0 (#6304)
* [Scoped] More exclude parallel lint php 7.0

* [Scoped] More exclude parallel lint php 7.0
2021-05-03 12:38:30 +00:00
Abdul Malik Ikhsan 37d818dae4
[Scoped] copy rector-prefixed-downgraded-php70/vendor/symfony/string to root vendor/symfony/string (#6302) 2021-05-03 09:53:59 +00:00
Abdul Malik Ikhsan 700894bfe2
[Scoped] Copy rector-prefixed php 7.0 rector vendor to root vendor/rector (#6300) 2021-05-03 08:48:44 +00:00
Abdul Malik Ikhsan 6af751468e
[Scoper] Scoper PHP 7.0 require composer/composer (#6299)
* [Scoper] Scoper PHP 7.0 require composer/composer

* only in command in scoper
2021-05-03 08:26:35 +00:00
Abdul Malik Ikhsan 233531cdda
[Scoped] Sync PHP 7.0 scoped (#6296) 2021-05-03 07:02:41 +00:00
Abdul Malik Ikhsan e1c87b5900
[Scoper] Using different scoper.php for php 7.0 (#6295)
* [Scoper] Using different scoper.php for php 7.0

* revert

* revert

* eol
2021-05-02 18:19:33 +00:00
Abdul Malik Ikhsan dadb1d8915
[Scoper] Skip Composer\EventDispatcher (#6292) 2021-05-02 17:10:23 +00:00
Abdul Malik Ikhsan e7dba6f48a
[Scoper] Skip vendor/composer/composer for prefixing (#6291)
* [Scoper] Skip vendor/composer/composer for prefixing

* on Composer\Plugin
2021-05-02 16:41:19 +00:00
Abdul Malik Ikhsan f9170bec35
[Scoped] Fixing void return scoped php 7.0 (2) (#6290)
* [Scoped] Fixing void return scoped php 7.0

* undo change composer.json
2021-05-02 16:16:48 +00:00
Abdul Malik Ikhsan 6f30affca4
[Scoped] Fixing scoped PHP 7.0 (#6287) 2021-05-02 13:41:13 +00:00
Abdul Malik Ikhsan bd94fe4459
[Scoped] Scoped PHP 7.0 (#6235)
* [Scoped] [WIP] Scoped PHP 7.0

* create new downgrade-rector-php70.sh

* use downgrade-rector-php70.sh in the workflow

* remove phpstan deps

* add php70 suffix on rector-build for php 70

* remove phpstan/phpstan and phpstan/phpstan-src

* add repositories composer config for phpstan-src

* remove first with clear-cache

* config

* remove no-api

* remove repositories config in root composer.json

* update register repositories in build scoped rector

* remove composer remove phpstan/phpstan
2021-05-02 20:15:23 +07:00
dependabot[bot] be15759280
Bump EndBug/add-and-commit from v7.1.0 to v7.2.0 (#6273)
Bumps [EndBug/add-and-commit](https://github.com/EndBug/add-and-commit) from v7.1.0 to v7.2.0.
- [Release notes](https://github.com/EndBug/add-and-commit/releases)
- [Changelog](https://github.com/EndBug/add-and-commit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/EndBug/add-and-commit/compare/v7.1.0...a3adef035a1381dcf888c90b847240e2ddb9e008)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-01 09:42:29 +02:00
TomasVotruba dd0c1038da skip examples in linter 2021-04-24 16:32:37 +02:00
TomasVotruba b3aa020beb [CI] skip PHP 7.0 build completely 2021-04-24 14:07:16 +02:00
TomasVotruba 8cb3858245 skip PHP 7.0 on tags 2021-04-24 13:57:13 +02:00
TomasVotruba cf58d68f6a [CI] disable 70 build as it needs more work 2021-04-24 02:33:08 +02:00
TomasVotruba 49c4caf870 fix nested path 2021-04-24 02:25:08 +02:00
TomasVotruba fd159b35a5 skip liniting resource 2021-04-23 23:11:58 +02:00
Tomas Votruba a32055f317
[scoped] Build PHP 7.0 repo to own repository to avoid breaking prefixed rector (#6223)
* [scoped] build PHP 7.0 repo to own repository to avoid breaking prefixed rector

* lint with PHP 7.0 files
2021-04-23 23:05:26 +02:00
Tomas Votruba ab6580de35
[Downgrade PHP 7.2] Make covariant change local methods only (#6218) 2021-04-23 17:54:30 +00:00
Tomas Votruba e425c11d8d
[Downgrade PHP 7.2] Improve covariant (#6207) 2021-04-23 09:03:45 +00:00
TomasVotruba 15cc050332 [prefixed] prefix vendor by vendor name 2021-04-21 22:03:40 +02:00
Abdul Malik Ikhsan 201c73da92
[Scoper] Downgrade rector.php as well for PHP 7.0 void (#6177)
* [Scoper] Downgrade rector.php as well for PHP 7.0 void

* run on rector.php in rector-build as well
2021-04-20 15:30:07 +00:00
Tomas Votruba e7e1b091d2
Simplify PropertyFetchByMethodAnalyzer (#6147)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-15 22:30:36 +00:00
TomasVotruba 799ff36a71 [CI] skip linting polyfill 2021-04-14 20:39:12 +02:00
Tomas Votruba 1e1c6eebd9
[prefixed] No polyfill on prefixed version (#6139) 2021-04-14 20:23:49 +02:00
TomasVotruba 97edb65302 [CI] test symfony package again 2021-04-05 14:23:22 +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
Tomas Votruba 5fa858b072
[DoctrineAnnotationSyncer] Remove to move to static reflection (#6006) 2021-03-29 13:01:35 +00:00
Abdul Malik Ikhsan 88f5f5af4c
[Scoped] Add templates on build rector-prefixed-downgraded (#6000) 2021-03-26 15:56:42 +00:00
Tomas Votruba 649cb249a1
[CI] simplify rector runs (#5969) 2021-03-23 23:00:42 +00:00
TomasVotruba a94a4b7660 [CI] remove vendor too 2021-03-23 23:59:19 +01:00
Tomas Votruba a952451627
[CI] add package test (#5968) 2021-03-23 23:55:27 +01:00
TomasVotruba 60a03c6161 [CI] remove remote files on prefixed publish to avoid loading dead files 2021-03-23 23:50:36 +01:00
TomasVotruba 7d6aab5e80 [CI] add second line with original commit reference 2021-03-23 01:08:23 +01:00
TomasVotruba a8d80904c5 [CI] use commit reference 2021-03-23 00:28:09 +01:00
TomasVotruba 9080674de3 typo 2021-03-23 00:14:12 +01:00
TomasVotruba b6cd8f82d2 add sha link 2021-03-23 00:03:43 +01:00
TomasVotruba f9c2f85618 correct massage 2021-03-22 23:52:28 +01:00
TomasVotruba 90ba00cecf name fix 2021-03-22 23:28:54 +01:00
TomasVotruba 39dd1ca78b token name 2021-03-22 23:18:17 +01:00
TomasVotruba 7accd071be [CI] clone local repo 2021-03-22 23:17:58 +01:00
TomasVotruba 18a19c8390 add all 2021-03-22 22:37:59 +01:00
TomasVotruba faf7ba5246 remove empty message 2021-03-22 22:29:35 +01:00
TomasVotruba da57a45f97 setup git 2021-03-22 22:29:08 +01:00
TomasVotruba 5e3006182e [ci] use simple push 2021-03-22 22:18:33 +01:00
TomasVotruba f73a76ff0d detect tag 2021-03-22 21:47:21 +01:00
Tomas Votruba 163b37a30a
[Testing] Use single config-based testing to isolate scope unite testing for core + community packages (#5837) 2021-03-19 21:29:10 +01:00
TomasVotruba 47a3c7fe12 skip linting tests 2021-03-19 01:44:42 +01:00