Commit Graph

908 Commits

Author SHA1 Message Date
Abdul Malik Ikhsan
ca05997086
Rollback symfony/console version (#6355) 2021-05-05 17:05:54 +00: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
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
TomasVotruba
442b5b3d51 use php-parser 4.10.4 and stable phpstan with same version 2021-05-04 20:40:00 +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
TomasVotruba
3696a7ac9a lock php-parser to patch to avoid future errors 2021-05-04 14:45:52 +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
Tomas Votruba
21bf53f2ec
[CodeQuality] Add FuncGetArgsToVariadicParamRector (#6318) 2021-05-03 21:27:20 +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
TomasVotruba
07a0d4edbe try prefixd 2021-04-29 11:00:02 +02:00
TomasVotruba
3901ae3d1f use older pretty-package version to fix prefixed version 2021-04-29 10:17:30 +02:00
TomasVotruba
940b7d1526 use self-version in composer 2021-04-29 10:01:35 +02:00
Tomas Votruba
e83b7f2538
[PHPStan] Resolve dependency juggling (#6258) 2021-04-28 09:33:25 +00:00
Tomas Votruba
5cda5de4ac
Decouple Rector PHPStan rules to own package (#6242) 2021-04-25 23:12:14 +00:00
Tomas Votruba
3f3811ab21
add dump_node() helper functoin (#6229) 2021-04-24 14:22:36 +00:00
Tomas Votruba
ba2d96c583
[composer] remove uuid package (#6228) 2021-04-24 16:04:10 +02:00
TomasVotruba
ee9ed46d43 composer: bump rector split package 2021-04-24 14:32:02 +02:00
Tomas Votruba
1d0ba2a439
Add AbstractTestCase (#6205) 2021-04-22 21:36:50 +00:00
Sebastian Schreiber
5cab6367fb
[TASK] Use rector-installer to load config of extensions (#6174) 2021-04-22 10:30:18 +02:00
Ruud Kamphuis
c87f5d7217
Allow composer/xdebug-handler v2 (#6179)
Hopefully this fixes:

```
  Problem 1
    - friendsofphp/php-cs-fixer is locked to version v3.0.0-rc.1 and an update of this package was not requested.
    - rector/rector 0.10.6 requires composer/xdebug-handler ^1.4 -> satisfiable by composer/xdebug-handler[1.4.0, ..., 1.4.6].
    - You can only install one version of a package, so only one of these can be installed: composer/xdebug-handler[1.4.0, ..., 1.4.6, 2.0.0].
    - friendsofphp/php-cs-fixer v3.0.0-rc.1 requires composer/xdebug-handler ^2.0 -> satisfiable by composer/xdebug-handler[2.0.0].
    - Root composer.json requires rector/rector ^0.10.6 -> satisfiable by rector/rector[0.10.6].
```
2021-04-20 19:09:06 +02:00
Tomas Votruba
101041d6ae
[DeadCode] Remove RemoveDefaultArgumentValueRector (#6148) 2021-04-16 00:11:58 +02:00
Tomas Votruba
a07e49c43b
bump Symplify packages (#6134) 2021-04-14 14:29:15 +00:00
Tomas Votruba
8b402bfe02
Make use of File object instead of passing around provider of file info, tokens, stmts etc. (#6110)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-13 00:12:48 +00:00
TomasVotruba
3e4e9387c6 bump package rector deps 2021-04-09 18:27:12 +02:00
TomasVotruba
fae4a7512e composer: bump retcor phpunit 2021-04-09 17:15:27 +02:00
Tomas Votruba
e85dbf0422
[PHP 7.0] Cover named ctor with for (#6064) 2021-04-09 15:07:21 +00:00
Tomas Votruba
6ced3bd32a
Add upgrade path to Rector 0.10 - upgrade set included (#6061)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-09 01:12:42 +00:00
Tomas Votruba
8624cec9e5
use Symplify stable (#6054) 2021-04-08 12:23:34 +02:00
Tomas Votruba
31566dc869
Traverse phpdoc with use of PhpDocNodeVisitor (#6045)
* make use of new simple-php-doc-parser

* add ParamPhpDocNodeVisitor

* remove uneeded contracts

* skip bool instanceof

* [ci-review] Rector Rectify

* [ci-review] Rector Rectify

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-06 19:33:09 +02:00
Tomas Votruba
047045636f
comoser: bump package deps with static doctrine/annotation parser (#6040) 2021-04-05 14:22:24 +00: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
TomasVotruba
c13d234e7d bump deps 2021-03-23 21:59:28 +01:00
TomasVotruba
2df54ae634 use self alias for deps 2021-03-23 21:51:49 +01:00
TomasVotruba
63dadb0888 composer: bump alias to 11-dev 2021-03-23 21:42:47 +01:00
TomasVotruba
29215c4d86 composer: bump to phpdoc-parser 0.5.2 2021-03-23 21:33:50 +01:00
TomasVotruba
3b81a2ac1a composer: lock to doctrine package 2021-03-22 03:00:15 +01:00
Tomas Votruba
6ba046ef2b
add Doctrine configs (#5945) 2021-03-22 02:55:01 +01:00
TomasVotruba
e7117092bf update to doctrine package 2021-03-22 02:31:22 +01:00
TomasVotruba
2526139e4d use DoctrineSetList 2021-03-22 02:03:56 +01:00
TomasVotruba
56b5ac0610 composer: require 0.10 dector deps 2021-03-22 00:23:46 +01:00
Tomas Votruba
44375f6637
Post Nette tags split cleanup (#5925)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-20 21:47:40 +00:00
TomasVotruba
944c5e6bc1 dev-main 2021-03-20 20:35:19 +01:00
TomasVotruba
6f8d61a6bc composer: add branch alias 2021-03-20 20:32:54 +01:00
TomasVotruba
49c81bec47 composer: remove replace-self 2021-03-20 19:28:36 +01:00
Tomas Votruba
c9df17990b
[CakePHP] Decouple to own package (#5918) 2021-03-20 10:40:50 +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
Tomas Votruba
025e6ed571
[PhpDocParser] Make use of native attributes (#5841)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-19 14:33:58 +00:00
TomasVotruba
abed1ff280 composer: allow phpstan 0.12.82 2021-03-19 11:30:21 +01:00
Tomas Votruba
16b2b0376c
[PHPUnit] Decouple to own package (#5905) 2021-03-19 10:52:08 +01:00