Commit Graph

125 Commits

Author SHA1 Message Date
Tomas Votruba
3cf3e1fc25
[TypeDeclaration] Add ParamTypeByParentCallTypeRector (#519) 2021-07-28 19:34:42 +00:00
Tomas Votruba
9d51f3c47f
[Naming] Fix imported trait names (#500) 2021-07-23 16:32:29 +02:00
Tomas Votruba
34f7170479 misc 2021-07-23 01:14:21 +02:00
Tomas Votruba
c2589622b4 add stubs for nette 2021-07-23 01:05:25 +02:00
Tomas Votruba
ee5c692cd8 add Composer stubs for downgrade 2021-07-23 00:21:13 +02:00
Tomas Votruba
c406975a4b
skip parameter that does not existing in parent contract (#370) 2021-07-03 14:33:24 +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
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
Tomas Votruba
f2c0023dad
[PHP 8.1] Add MyClabs enum to native ENUM (#30) 2021-05-14 09:46:56 +00:00
Tomas Votruba
c62899d062
[PHP 7.4] Use typed properties in tests (#20) 2021-05-11 19:27:47 +02:00
Tomas Votruba
f8b0ac301f
update to new phpstan rules, add static fixes (#18)
* update to new phpstan rules, add static fixes

* [ci-review] Rector Rectify

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-05-11 17:48:41 +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
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
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
6ba046ef2b
add Doctrine configs (#5945) 2021-03-22 02:55:01 +01:00
TomasVotruba
fd8ad7dc88 move Gedmo and Doctrine stubs 2021-03-22 02:26:40 +01:00
Tomas Votruba
a781b3bd12
Remove dynamic type checks (#5939) 2021-03-21 19:41:17 +01:00
Tomas Votruba
4d760ddf44
[PHPStan] Add NoIsAStaticReflectionRule (#5937)
* [PHPStan] Add NoIsAStaticReflectionRule

* [ci-review] Rector Rectify

* [ci-review] Rector Rectify

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-21 15:12:38 +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
16b2b0376c
[PHPUnit] Decouple to own package (#5905) 2021-03-19 10:52:08 +01:00
Tomas Votruba
37eb07af6e
move stubs to composer-autoload (#5890)
* move stubs to composer-autoload

* remove duplicate classes

* apply Rector
2021-03-18 02:10:01 +01:00
Tomas Votruba
575131d0e2
[Compiler] Add downgrade-paths command (#5887) 2021-03-18 00:42:12 +01:00
Tomas Votruba
d7cb28e37a
[Symfony 5.1] Add RouteCollectionBuilderToRoutingConfiguratorRector (#5835)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-13 16:11:49 +00:00
Tomas Votruba
9beb1da3c0
Move fixture requirement from command line to a test case (#5832) 2021-03-13 15:07:31 +01:00
Tomas Votruba
80c4fc8aab
[TypeDeclarationg] Add Tokens iterator to AddArrayReturnDocTypeRector and AddArrayParamDocTypeRector (#5796)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-08 14:52:36 +00:00
Tomas Votruba
ba1444959d
[TypeDeclaration] Improve param by caller type #2 (#5787) 2021-03-07 14:27:17 +00:00
Tomas Votruba
c559114715
remove stub loader where not needed (#5757)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-03 17:15:12 +00:00
Tomas Votruba
054de822ed
[DoctrineCodeQuality] Add tests (#5540)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-14 19:51:04 +00:00
Tomas Votruba
713915d1b2
Polishing composer rules (#5170)
* [Composer] Add check for existing compsore.json

* update composer package

* coding style

* various static fixes
2021-01-13 13:02:14 +00:00
Floris Luiten
39a6b79f30
Fixed typo "lenght" (#5096)
* Fixed typo in docs "lenght" to "length"

* Fixed typo in class constant "lenght" to "length"

* Changed "lenght" instead of "length", fixing bug in class_exists using incorrect classname
2021-01-06 03:06:16 +07:00
Leonardo Losoviz
44e817fa0b
Access classes installed on DEV through their strings (#4897)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-28 12:20:51 +01:00
Tomas Votruba
870a0f3822
[Laravel 5.8] Add CallOnAppArrayAccessToStandaloneAssignRector, PropertyDeferToDeferrableProviderToRector, MakeTaggedPassedToParameterIterableTypeRector (#4637)
* [Laravel 5.8] Add remember method

* [Laravel] Add PropertyDeferToDeferrableProviderToRector

* [Laravel] Add CallOnAppArrayAccessToStandaloneAssignRector

* [Laravel] Add MakeTaggedPassedToParameterIterableTypeRector

* [CI] changelog weekly only

* [ci-review] Rector Rectify

Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-18 01:22:40 +00:00
Tomas Votruba
9dbf490a10
add non-static call too (#4592) 2020-11-12 22:08:18 +00:00
Tomas Votruba
7e3f8bdafc
[Laravel] Add AddMockConsoleOutputFalseToConsoleTestsRector (#4589)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-12 21:47:25 +01:00
Tomas Votruba
aa91f11a3f
[Laravel 5.7] Add ChangeQueryWhereDateValueWithCarbonRector (#4586)
* [Laravel] Add ChangeQueryWhereDateValueWithCarbonRector

* [ci-review] Rector Rectify

Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-12 15:28:50 +00:00
Tomas Votruba
4c6da2c4bf
[Laravel 5.7] Add parent boot rule (#4580)
* move file to templates, to remove confusion in the root

* use stable symplify

* [Laravel] Add AddParentBootToModelClassMethodRector

* [ci-review] Generate Rector & Nodes documentation

* [ci-review] propagate monorepo dependencies

* [ci-review] Rector Rectify

Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-11 17:09:57 +00:00
Tomas Votruba
b7e3dad887
add doctrine embedded php doc node (#4424)
* Add a tag value node for Doctrine Embedded tags

* fix getter name

Co-authored-by: Matthias Noback <matthiasnoback@gmail.com>
2020-10-15 20:48:23 +00:00
Tomas Votruba
8af70b5ac0
[Defluent] Refactoring to multiple rules (#4400)
* [Defluent] Refactoring to multiple rules

* [Defluent] Decouple defluent-only set, it deserved to have own domain

* cleanup

* [rector] cleanup

* [cs] cleanup

* fixup! cleanup

* static fixes

Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-14 04:24:29 +00:00
Tomas Votruba
33d992497a
[Doctrine] Add constructor getRepository to service (#3954) 2020-08-13 01:04:23 +02:00
Tomas Votruba
2bd1eac705
use dev nette deps to resolve form/application types (#3879) 2020-08-03 08:51:44 +00:00
Tomas Votruba
e35131524c
[Nette 3.0] Various rules updates (#3878)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-03 09:26:01 +02:00
Tomas Votruba
91bda1b75b
[NetteCodeQuality] Get component (#3870) 2020-08-02 11:39:52 +02:00
Tomas Votruba
62ac58e60d
add failing test case + add support for previous assign type dim fetch (#3868) 2020-08-02 00:57:35 +02:00
TomasVotruba
5859625d5d [Nette] Add TranslateClassMethodToVariadicsRector 2020-07-29 03:21:08 +02:00
TomasVotruba
f845935e4a [Nette 3.0] Get config to merge with defaults 2020-07-28 17:46:48 +02:00
TomasVotruba
c0f8ae459d improve stubs 2020-07-27 01:51:30 +02:00
TomasVotruba
8705aea928 update tests 2020-07-26 18:15:31 +02:00
TomasVotruba
c50aedca5c [Nette] add support for getComponent() resolution in form array access 2020-07-25 18:24:40 +02:00
TomasVotruba
adcaf173d3 add custom control by method name 2020-07-24 16:02:09 +02:00