Tomas Votruba
cb2a5f1daa
Updated Rector to commit f19379cd49c22f8c83ba9c686e99e8725001b8f4
...
f19379cd49
add conflict with rector-prefixed
2021-05-15 10:25:20 +00:00
Tomas Votruba
78515ddd19
Updated Rector to commit aa45d4e22a086f1c9f31c159c76f61751189e876
...
aa45d4e22a
bump to phpstan 0.12.86 and php-parser 4.10.5 (#14 )
2021-05-11 11:58:40 +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
efa0bb36ba
composer: cleanup metadata located in github
2021-05-06 22:28:32 +02:00
TomasVotruba
de37a73aad
fix stub loading
2021-05-06 16:11:59 +02:00
Tomas Votruba
71ae038df9
remove nette packages from dev requirements and replace with 2 stub classes ( #6372 )
2021-05-06 15:42:06 +02:00
TomasVotruba
3b82c87dfc
[scoped 7.0] allow xdebug handler needed for PHPStan src, add phpstubs
2021-05-06 14:11:45 +02:00
Sebastian Schreiber
16d5930435
[TASK] Take .editorconfig into account ( #6272 )
2021-05-06 13:26:28 +02:00
Tomas Votruba
38248d08f4
Return array of nodes directly from refactor() if possible ( #6366 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-05-06 10:23:37 +02:00
Tomas Votruba
29e3bc9372
[NetteToSymfony] Decouple to own package ( #6360 )
2021-05-05 21:15:26 +00:00
Tomas Votruba
6da2c9b527
[Restoration] Remove RestoreFullyQualifiedNameRector as it depends on dynamic reflection and all loaded classes ( #6358 )
2021-05-05 18:36:11 +00:00
Abdul Malik Ikhsan
b472a4e5b4
rollback xdebug-handler ( #6356 )
2021-05-05 18:10:20 +00:00
TomasVotruba
289eca5d2c
[compiler] simplify downgrade paths
2021-05-05 20:07:04 +02:00
TomasVotruba
d979511111
composer: bump min rector deps
2021-05-05 19:15:11 +02:00
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