96 Commits

Author SHA1 Message Date
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
TomasVotruba
31fca6da21 lock phpstan to 0.12.32 to prevent internal errors 2020-07-20 01:53:34 +02:00
Jaapio
9cfa1dccc3
Rewrite simple mock creation 2020-07-06 22:31:05 +02:00
TomasVotruba
baf54a84ae remove unused Zend stubs 2020-07-01 23:52:47 +02:00
TomasVotruba
850c239435 add redirect response 2020-06-29 14:20:09 +02:00
TomasVotruba
828d8cf67f prevent remove false template 2020-06-29 13:50:36 +02:00
TomasVotruba
dc36f0f469 skip Form factories too 2020-06-18 16:56:16 +02:00
TomasVotruba
1dd4c70483 Add test case for #3514 2020-06-15 17:44:25 +02:00
Ondrej Mirtes
15a17e5ce2
TestListener stub fix 2020-06-08 00:18:18 +02:00
TomasVotruba
420fdef26f [Sensio] Add @route migration to Symfony 2020-06-06 15:07:44 +02:00
TomasVotruba
7f0acb0fac Fix ArgumentDefaultValueReplacerRector to work with bool values 2020-06-03 22:45:59 +02:00
TomasVotruba
0236c289e0 use interface over implementaion 2020-05-27 23:55:00 +02:00
TomasVotruba
387ded5ecc [Kdyby to Contributte] Add Subscriber migration 2020-05-24 18:52:54 +02:00
TomasVotruba
a6598e5e82 [MockistaToMocker] init 2020-05-15 14:10:14 +02:00
TomasVotruba
0e220550d8 [Sylius] Deprecate single custom rule, better handled by community 2020-05-13 17:40:14 +02:00
TomasVotruba
2e8138f693 decopule AnnotationItemResolver 2020-04-30 16:53:03 +02:00
TomasVotruba
7b96f6eb86 make route fail 2020-04-30 13:44:05 +02:00
TomasVotruba
e59db0f400 add first multi type node factory - MultiPhpDocNodeFactory 2020-04-30 13:18:11 +02:00
TomasVotruba
170a925087 refactoring to generic items 2020-04-30 01:59:51 +02:00
TomasVotruba
5fb73c2309 TagValueNode refactoring 2020-04-29 12:54:26 +02:00
TomasVotruba
1612ef2165 [PHP 8.0] Add attributes v2 2020-04-29 00:25:45 +02:00
TomasVotruba
d375cdc6f3 exclude public sniff config properties from privatization 2020-04-08 16:39:07 +02:00
Jeroen Thora
4e5c09fbb6 Make sure doctrine alias rector works in symfony controllers 2020-04-07 13:31:41 +02:00
TomasVotruba
d29c4ede57 Add DoctrineAnnotationParserSyncer 2020-04-04 22:01:47 +02:00
TomasVotruba
8af4ced57f fix order by annotation values 2020-04-02 12:20:31 +02:00
TomasVotruba
97002d5881 missing annotation to orderby 2020-04-02 12:17:19 +02:00
TomasVotruba
b3fde24ab1 [PHPUnit] Add AddProphecyTraitRector 2020-04-01 02:37:21 +02:00
TomasVotruba
1b937ec0e0 fix method annotation 2020-03-04 23:22:29 +01:00
TomasVotruba
788abf5131 add has lifecycle callbacks 2020-02-25 20:46:55 +01:00
TomasVotruba
d074d5169a Fix FinalizeClassesWithoutChildrenRector for embedable 2020-02-23 23:25:58 +01:00