Commit Graph

1001 Commits

Author SHA1 Message Date
Tomas Votruba
45766e1d95
Decopule ChildClassMethodDecorator, and DependencyClassMethodDecorator (#600) 2021-08-06 10:39:44 +02:00
Abdul Malik Ikhsan
9d37638fce
[GHA] Add automate regenerate preload.php weekly PR (#588)
* [GHA] Add automate regenerate preload.php weekly PR

* cs fix after preload

* no need space
2021-08-04 09:28:17 +02:00
Brandon Olivares
202b47a593
Upgrade phpstan/phpstan to 0.12.94 (#585) 2021-08-03 20:32:38 +07:00
Tomas Votruba
b3480900f3
[CodingStyle] Remove YieldClassMethodToArrayClassMethodRector, rather PHPStorm job (#576)
Co-authored-by: GitHub Action <action@github.com>
2021-08-02 17:39:36 +00:00
Tomas Votruba
66e21558ba
[PHPOffice] Extract package to standalone project (#575) 2021-08-02 17:47:23 +02:00
Abdul Malik Ikhsan
5263f415a5
[Tests] Speed up tests with brianium/paratest (#551) 2021-07-31 13:44:10 +02:00
Tomas Votruba
325c6be3ae
[TypeDeclaration] Add ParamTypeByMethodCallTypeRector (#544) 2021-07-30 10:29:31 +00:00
Markus Staab
29c28fda87
[EasyTesting] dogfood next iteration (#549) 2021-07-30 10:29:09 +02:00
Tomas Votruba
db2e76b99c load stubs in config 2021-07-23 01:26:20 +02:00
Tomas Votruba
2e3b2d172e skip non_DI dir 2021-07-23 01:00:41 +02:00
Tomas Votruba
e8d975e147 add nette/di stubs 2021-07-23 00:54:29 +02:00
Tomas Votruba
e45aaa4385 add composer for downgrade 2021-07-23 00:34:19 +02:00
Tomas Votruba
ae501a749b bump rector/extension-instlaller 2021-07-23 00:18:48 +02:00
Tomas Votruba
083d68eb93
[PHP 8.1] Add FinalizePublicClassConstantRector + downgrade alternative (#490)
* bump to nikic/php-parser 4.12

* bump to stable typo3-rector

* [PHP 8.1] Add FinalizePublicClassConstantRector

* [DowngradePhp81] Add DowngradeFinalizePublicClassConstantRector

* ignore Comparator from downgrade in myclabs/enum

* add AccessoryNonEmptyStringTypeMapper

* [ci-review] Rector Rectify

* narrow non-empty string to string type

Co-authored-by: GitHub Action <action@github.com>
2021-07-22 23:34:25 +02:00
Tomas Votruba
0fe1656da6
[DeadCode] Fix RemoveUnusedPromotedPropertyRector for private trait-used promoted param (#470)
Co-authored-by: annuh <annevandevenis@gmail.com>
2021-07-20 20:45:59 +00:00
Tomas Votruba
bc541b6a68 lock to fixed rector-doctrine 2021-07-17 17:41:13 +02:00
Tomas Votruba
3c9b567b06 bump symfony package version 2021-07-17 16:42:28 +02:00
Tomas Votruba
40fbe10f10
[Generics] Remove GenericsPHPStormMethodAnnotationRector, now native in PHPStorm (#444) 2021-07-16 00:55:31 +02:00
Tomas Votruba
f7ba2752e3
Cleanup (#438)
* private constant

* remove extra return

* [CodeQualityStrict] Remove MoveOutMethodCallInsideIfConditionRector, very narrow temporary use case - better leave on PHPStan and developers

* bump deps

* [DeadCode] Add RemoveLastReturnRector

* apply rector
2021-07-15 01:07:54 +02:00
Tomas Votruba
294bea2d18
[FileProcessor] Run untill the file is fixed completelly (#432)
* try file doule run

* improve test fixtures by removed old class names

* remove ValueObjectWrapArgRector, not very useful

* [CodeQualityStrict] Remove VarInlineAnnotationToAssertRector, way too strict and unreliable

* [CodeQualityStrict] Remove ParamTypeToAssertTypeRector, way too strict and better union types

* improve DowngradeStripTagsCallWithArrayRector on downgrade

* correct NormalizeNamespaceByPSR4ComposerAutoloadRector

* decouple UndefinedVariableResolver

* work in rogres on assign array

* [PHP 7.1] Improve AssignArrayToStringRector to work with assign node directly
2021-07-14 20:51:35 +02:00
Abdul Malik Ikhsan
85ae8dc7b4
[Defluent] Skip ReturnFluentChainMethodCallToNormalMethodCallRector on possibly not return $this (#418) 2021-07-10 19:19:19 +02:00
Tomas Votruba
a39515b627 bump typo3 rector 2021-07-10 02:06:30 +02:00
Tomas Votruba
0c709dfac7
Refactor node removing to phpdoc node traverser (#405)
Co-authored-by: GitHub Action <action@github.com>
2021-07-08 15:28:06 +00:00
Tomas Votruba
311a96fbf8
bump php-parser to 4.11, phpstan to 0.12.91 (#402) 2021-07-08 01:58:23 +02:00
Steve
36ac7ab284
Add support for phpstan/phpstan 0.12.91 (#379) 2021-07-06 16:01:43 +02:00
Tomas Votruba
b07a9cc1ba add symfony/dependency-injectoin wiht completed types 2021-07-05 21:29:59 +02:00
Tomas Votruba
708bf7e879 add container bag patching 2021-07-05 21:26:30 +02:00
Tomas Votruba
ced0b7e5dd patch get() string 2021-07-05 17:22:32 +02:00
Tomas Votruba
0dbc47979e add patch for get(string ) 2021-07-05 12:59:59 +02:00
Tomas Votruba
0a616c462d
Remove unused ClassLikeParentResolver (#385) 2021-07-05 10:46:26 +00:00
Tomas Votruba
fa7fdf8d94 [experiment] add symfony confirm patch 2021-07-05 10:52:04 +02:00
Tomas Votruba
d92de44cc5
use symfony/console with fixed covariant types (#378) 2021-07-04 22:34:37 +00:00
Tomas Votruba
dfbbb02dec
[PHP 8.0] Fix DowngradeNamedArgumentRector named arguments (#373)
* Fix DowngradeNamedArgumentRector args

* make use of TypeKind enum

* fixup args

* make TypeKind required

* [ci-review] Rector Rectify

* [ci-review] Rector Rectify

* require PR link

Co-authored-by: GitHub Action <action@github.com>
2021-07-04 15:05:10 +02:00
Tomas Votruba
9907e913af bump to fixed ECS 2021-07-03 12:47:21 +02:00
Tomas Votruba
96dbc69562 bump deps 2021-07-03 01:16:55 +02:00
Tomas Votruba
4353830f78 use typo3 rector stable 2021-07-02 23:33:06 +02:00
Tomas Votruba
2a0cae5507
Make progress bar reflect number of processed files + process file by file in series (#362)
* use file-native progress bar count

* singularize file processor due to changed process order

* try PR in typo3 with contract update

* improve package tests

* cleanup
2021-07-02 22:45:25 +02:00
Tomas Votruba
26d09da027
use traverser to remove node (#358)
* use traverser to remove node

* misc
2021-07-02 01:09:32 +02:00
Tomas Votruba
37d04ea8ea
Making use of PhpDocNodeTraverser (#348) 2021-07-01 12:53:39 +00:00
Tomas Votruba
5282793145
Add enums (#326)
Co-authored-by: GitHub Action <action@github.com>
2021-06-28 23:07:40 +02:00
Tomas Votruba
6a3f274f24
bump deps (#301) 2021-06-26 14:20:46 +02:00
Tomas Votruba
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 18:59:21 +02:00
Tomas Votruba
d7d041844f
[PHP 8.0] Fix nested single/double quotes in attributes (#275)
* Failing tests for quotes in annotations to attributes

* Fix

* add generic GenericAnnotation to focus on annotation conversion content

* use generic annotation

* bump deps

* remove unused config values

* fix passing sufifx to configuration

Co-authored-by: Ruud Kamphuis <ruudk@users.noreply.github.com>
2021-06-23 14:36:22 +02:00
Tomas Votruba
a41384bc00
Fix doc importing on Doctrine annotation class rename (#264)
Co-authored-by: GitHub Action <action@github.com>
2021-06-22 10:30:29 +00:00
Abdul Malik Ikhsan
e639ed4d1a
[PHPStan] Add PHPStan 0.12.90 support (#246) 2021-06-19 15:54:16 +02:00
Tomas Votruba
b44261f1d5 bump rector-doctrine 0.11.5 2021-06-15 17:20:29 +02:00
Tomas Votruba
ac81e98fbf
move from nette/caching to own cache based on PHPStan (#202) 2021-06-11 10:39:28 +00:00
Tomas Votruba
1a3afef04d
PHPStan updated and static fixes (#192) 2021-06-10 10:33:49 +00:00
TomasVotruba
3818dfdbfc unprefix instanceof in PhpFileLoader.php since Symfony 5.3 2021-06-05 20:42:03 +02:00
TomasVotruba
b8f1d9254f bump deps 2021-06-04 22:27:53 +02:00