Commit Graph

1014 Commits

Author SHA1 Message Date
Tomas Votruba 911a9772d6 Updated Rector to commit e690cd059c
e690cd059c restore downgrade configs
2022-05-27 10:39:50 +00:00
Tomas Votruba b93cf80a4f Updated Rector to commit dc9189280f
dc9189280f [PHPStan] Update to PHPStan ^1.7.0 (#2354)
2022-05-24 13:01:35 +00:00
Tomas Votruba 5d8ca84738 Updated Rector to commit f25715b7b3
f25715b7b3 [Php73] Skip Encapsed on StringifyStrNeedlesRector + Temporary Pin PHPStan 1.6.9 (#2352)
2022-05-24 08:37:28 +00:00
Tomas Votruba 6a5ebad0e7 Updated Rector to commit f0a1b688f3
f0a1b688f3 [DowngradePhp80] Apply PHPStan 1.7.x-dev compatible for PhpParameterReflection (#2336)
2022-05-20 10:24:40 +00:00
Tomas Votruba b03aa95fcc Updated Rector to commit 28dc9cebb2
28dc9cebb2 Prepare NamedToUnnamedArgs for PhpParameterReflection change in PHPStan 1.7 (#2305)
2022-05-13 09:29:14 +00:00
Tomas Votruba e0323c00f8 Updated Rector to commit 39e552c4c9
39e552c4c9 Various little improvement (#2297)
2022-05-12 06:13:58 +00:00
Tomas Votruba c7ca691738 Updated Rector to commit ba29e3fd5f
ba29e3fd5f Re-use name scope (#2171)
2022-04-26 13:03:56 +00:00
Tomas Votruba b733212c38 Updated Rector to commit 91b8573525
91b8573525 [PHPStan] Set compatible with upcoming PHPStan 1.6.x with set NodeConnectingVisitor tags (#2014)
2022-04-15 17:36:53 +00:00
Tomas Votruba 15e49d365b Updated Rector to commit d7590ea66c
d7590ea66c Bump PHPStan, ECS and Symplify to 10.2 + make use of brand new ECSConfig (#2076)
2022-04-14 21:28:22 +00:00
Tomas Votruba c770707831 Updated Rector to commit 278cd56de5
278cd56de5 Bump min to PHP 7.2 (#1955)
2022-03-24 21:23:19 +00:00
Tomas Votruba 2d19ff31f4 Updated Rector to commit 55a13c0020
55a13c0020 test run in phpstan 1.4.8 (#1904)
2022-03-06 00:42:13 +00:00
Tomas Votruba 63e7bd57f7 Updated Rector to commit 00e857f07e
00e857f07e [Transform] Add type matching to MethodCallToPropertyFetchRector (#1905)
2022-03-05 11:00:01 +00:00
Tomas Votruba b2ae6d5638 Updated Rector to commit 2dd05f65da
2dd05f65da [ci] trigger packages tests (#1842)
2022-02-20 12:25:18 +00:00
Tomas Votruba 625848ed0d Updated Rector to commit 75c0b27d37
75c0b27d37 [types] Add HasPropertyTypeMapepr and HasMethodTypeMapper (#1731)
2022-01-26 11:59:37 +00:00
Tomas Votruba e3602aaa33 Updated Rector to commit 22db8c79c3
22db8c79c3 [build] Automate tweet about the release (#1729)
2022-01-25 17:03:16 +00:00
Tomas Votruba 7bec35aee9 Updated Rector to commit 80882ad175
80882ad175 [TypeDeclaration] Skip Throw_ in construct and as Expr on ReturnNeverTypeRector (#1679)
2022-01-15 08:52:41 +00:00
Tomas Votruba 5f4bbd4591 Updated Rector to commit 5181bf9016
5181bf9016 Update to PHPStan ^1.3 (#1589)
2021-12-29 23:18:00 +00:00
Tomas Votruba f48677501c Updated Rector to commit c7638288f7
c7638288f7 Fixes docs (#1490)
2021-12-14 12:21:21 +00:00
Tomas Votruba 3601e07ec8 Updated Rector to commit 65b3892563
65b3892563 bump deps
2021-11-09 12:04:54 +00:00
Tomas Votruba 4a6ab99856 Updated Rector to commit cb54cf0e97
cb54cf0e97 [Scoped] Update phpstan/phpdoc-parser conflict confit to < 1.2 (#1176)
2021-11-07 06:43:37 +00:00
Tomas Votruba 6a9f454c15 Updated Rector to commit fed8756bac
fed8756bac [PHPStan] Remove phpstan <=0.12.99 from conflict config (#1175)
2021-11-07 06:24:52 +00:00
Tomas Votruba 984561f522 Updated Rector to commit 67e44eff26
67e44eff26 [Scoped] Fix build standalone and along other package on rector/rector (#1091)
2021-10-28 12:05:09 +00:00
Tomas Votruba 0c54ea5aa9 Updated Rector to commit 4680c56d00
4680c56d00 Bump Rector package deps (#1087)
2021-10-27 23:25:15 +00:00
Tomas Votruba 2e2f586bf9 Updated Rector to commit 4eb4b46fa3
4eb4b46fa3 require PHPStan 1.0 on build repository too
2021-10-27 19:57:14 +00:00
Tomas Votruba 7ea6373fd7 Updated Rector to commit d060796fa7
d060796fa7 [Scoped] Add rector-laravel and rector-phpoffice to conflict in target repo (#975)
2021-10-07 19:06:33 +00:00
Tomas Votruba 4d03ef9715 Updated Rector to commit 41dfd36407
41dfd36407 [PHPStan] Update to PHPStan 0.12.99 (#874)
2021-09-13 13:38:55 +00:00
Tomas Votruba d62e039ac8 Updated Rector to commit 61709a198d
61709a198d [PHPStan] Update to PHPStan 0.12.98 (#826)
2021-09-04 07:42:32 +00:00
Tomas Votruba 09fd3dac67 Updated Rector to commit 853fdee039
853fdee039 Allowing future versions of phpstan (#810)
2021-09-01 20:24:07 +00:00
Tomas Votruba 518bdb2768 Updated Rector to commit 006ed853ed
006ed853ed Bump phpstan/phpstan to 0.12.96 (#745)
2021-08-23 12:35:15 +00:00
Tomas Votruba f01d52fb6c Updated Rector to commit ea9cddd31b
ea9cddd31b [PHPStan] Update PHPStan to 0.12.95 (#724)
2021-08-21 17:45:43 +00:00
Tomas Votruba 65ad60c6e9 Updated Rector to commit 2623e6773c
2623e6773c Bump branch-alias from 0.10 to 0.11 (#723)
2021-08-20 10:06:28 +00:00
Tomas Votruba 1b0c85ae13 Updated Rector to commit 202b47a593
202b47a593 Upgrade phpstan/phpstan to 0.12.94 (#585)
2021-08-03 13:41:15 +00:00
Tomas Votruba a3e534ff19 Updated Rector to commit db2e76b99c
db2e76b99c load stubs in config
2021-07-22 23:37:17 +00:00
Tomas Votruba 0c1004ad17 Rector 0.11.36 2021-07-10 19:27:51 +00:00
Tomas Votruba 43e201d4c9 Updated Rector to commit a8c9cf033b
a8c9cf033b fix cs
2021-07-10 19:26:26 +00:00
Tomas Votruba e23d499e1b Updated Rector to commit c424040f97
c424040f97 bump phpstan in prefixed repo
2021-07-10 19:25:27 +00:00
Tomas Votruba 41844a92f3 Updated Rector to commit 36ac7ab284
36ac7ab284 Add support for phpstan/phpstan 0.12.91 (#379)
2021-07-06 14:11:36 +00:00
Tomas Votruba 8ac9a8f8ba Updated Rector to commit 68c2bcda1b
68c2bcda1b [composer] remove dependency on nette-to-symfony, very niche package that would require much work to be used in public (#290)
2021-06-25 17:12:46 +00:00
Tomas Votruba dbb86ba044 Updated Rector to commit d45dec8630
d45dec8630 Apply missing update phpstan req at target-repository (#250)
2021-06-19 15:50:21 +00:00
Tomas Votruba 7b72c93dfc Updated Rector to commit a6b7bdd79b
a6b7bdd79b [TASK] Allow higher phpstan version (#101)
2021-05-25 11:50:45 +00:00
Tomas Votruba 3e26f3108a Updated Rector to commit 0728e7ff2d
0728e7ff2d FX do not allow rector rules packages installed with latest 0.11 rector (#59)
2021-05-17 13:29:04 +00:00
Tomas Votruba cb2a5f1daa Updated Rector to commit f19379cd49
f19379cd49 add conflict with rector-prefixed
2021-05-15 10:25:20 +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 d56e7982d0 Updated Rector to commit dedd4b55fe
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
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