TomasVotruba
50f75c9325
travis: simplify script
2020-10-11 16:33:33 +02:00
TomasVotruba
cbbd9e131d
travis: set PHP Version to split
2020-10-11 16:33:11 +02:00
Tomas Votruba
01514ab9a8
[SimplePhpDocParser] Add README + getParam*() helper methods ( #4393 )
0.8.19
2020-10-11 16:17:43 +02:00
Tomas Votruba
a4b4b474cb
[SimplePhpDocParser] Init ( #4391 )
2020-10-11 12:40:45 +02:00
Igor
874baec836
[SOLID] Change if && to early return (more than two conditions) ( #4390 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-11 11:43:51 +02:00
TomasVotruba
40db4ee347
static fixes
2020-10-11 00:55:28 +02:00
TomasVotruba
4e25eda078
[SymfonyPHPConfig] Add README
0.8.18
2020-10-11 00:09:54 +02:00
TomasVotruba
2635f174c9
bump symplify 8.3.33
2020-10-10 23:53:39 +02:00
TomasVotruba
c05e43defa
add colors
2020-10-10 23:23:24 +02:00
TomasVotruba
d5c0991d77
travis: enable split
2020-10-10 19:57:21 +02:00
Tomas Votruba
4a76cdaa82
[SymfonyPHPConfig] Add monorepo split for value objects function ( #4153 )
...
* add monorepo split for symfony-php-config
* [SOLID] Prevent replacing referenced parametes with inlined constnat value
* make Symfon 5.0- compatible
* add support for reference skip in constructor
* [rector] add support for reference skip in constructor
* [cs] add support for reference skip in constructor
* improve misisng rule feedback
* underscore
* Fix ChangeReadOnlyVariableWithDefaultValueToConstantRector for new
* add clear-cache to all commands
* colors
* [rector] colors
* [cs] colors
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-10 17:42:43 +00:00
Igor
35537dba84
[SOLID] Change if && to early return ( #4344 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-10 18:27:13 +02:00
Viktor Szépe
0cbf0e5cbf
Fix syntax error in ExceptionCorrector message ( #4389 )
2020-10-10 17:37:42 +02:00
Leonardo Losoviz
0b54ff3d97
[Downgrade PHP 7.4] Array spread - don't use ternary for arrays, or PHPStan complains ( #4380 )
2020-10-10 09:18:57 +02:00
Tomas Votruba
ebd3760a86
[docs] add README link to web service ( #4383 )
2020-10-09 22:37:36 +02:00
TomasVotruba
40d9894bab
kodiak: add automerge
2020-10-09 22:06:45 +02:00
TomasVotruba
7a7b3badb7
cs
2020-10-09 22:05:23 +02:00
Tomas Votruba
3808d1b941
[Nette 3.0] Set update ( #4381 )
2020-10-09 22:01:37 +02:00
Tomas Votruba
65fe80a682
[Generic] Add skip for ArgumentAdderRector ( #4382 )
2020-10-09 22:00:45 +02:00
Tomas Votruba
e47a806300
Remove AbstractFileSystemRector and move to AbstractRector ( #4378 )
2020-10-09 21:51:09 +02:00
Leonardo Losoviz
e4a9d2bdcf
[Downgrade PHP 7.4] Added downgrade array spread rule to set ( #4379 )
0.8.17
2020-10-09 12:49:16 +02:00
Tomas Votruba
7d56318046
[Legacy] From file system Rector to classic Rector ( #4373 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
0.8.16
2020-10-09 10:11:22 +02:00
Leonardo Losoviz
c7910a8fa7
Downgrade php74 array spread ( #4375 )
2020-10-09 09:54:28 +02:00
Abdul Malik Ikhsan
bb486fa070
Fixes config/set link in readme ( #4374 )
2020-10-09 09:52:33 +02:00
Tomas Votruba
5cb49a2d5a
[PSR-4] Move from FileSystemRector to FileWithoutNamespace node ( #4372 )
2020-10-08 23:28:24 +02:00
Leonardo Losoviz
effa4d34d8
[Downgrade PHP 7.3] List reference assignment ( #4371 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-08 16:04:18 +02:00
Jan Mikeš
d8760fa63d
Improved rector in docker autoloading ( #4368 )
...
* Changed docker working directory to project and running rector from path
* Fixed path of Docker entrypoint for rector
* Improve Docker docs in readme
* [rector] Improve Docker docs in readme
* [cs] Improve Docker docs in readme
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-07 14:34:20 +00:00
Tomas Votruba
8134a847fe
cs fixes ( #4369 )
2020-10-07 16:20:53 +02:00
TomasVotruba
44d6bc1195
update yaml params to php params
2020-10-07 15:41:19 +02:00
TomasVotruba
5475b5bc78
[DX] Improve autoload paths parameter name
2020-10-07 15:38:12 +02:00
Anto
c4cedab725
Do not transform callable|null into typed property ( #4367 )
2020-10-07 11:23:26 +02:00
Tomas Votruba
dcad6b8862
[docs] How to add Rector rule test ( #4364 )
...
* [docs] How to add Rector rule test
* improvements
* gramarly
* Update docs/how_to_add_test_for_rector_rule.md
Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
2020-10-06 18:23:24 +02:00
Leonardo Losoviz
84c03bcbdc
[Downgrade PHP 7.4] Numeric Literal Separator Rector ( #4361 )
2020-10-06 11:55:43 +02:00
Leonardo Losoviz
bac865b437
Downgrade PHP7.4 strip_tags array arg ( #4357 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-06 08:56:41 +02:00
Tomas Votruba
a8f55f339f
[DX] Update dump nodes to not-use symfony style ( #4356 )
...
* [DX] Update dump nodes to not-use symfony style
* [rector] [DX] Update dump nodes to not-use symfony style
* [cs] [DX] Update dump nodes to not-use symfony style
Co-authored-by: rector-bot <tomas@getrector.org>
0.8.15
2020-10-05 09:29:07 +00:00
Tomas Votruba
1c8fac5242
Add meta node FileWithoutNamespace ( #4355 )
...
* [CakePHP] Promote AppUsesStaticCallToUseStatementRector to File
* [CakePHP] Change ImplicitShortClassNameUseStatementRector to FileWithoutNamespace approach
* [Renaming] Update PseudoNamespaceToNamespaceRector to use FileWithnoutNamespace
* [rector] [Renaming] Update PseudoNamespaceToNamespaceRector to use FileWithnoutNamespace
* [cs] [Renaming] Update PseudoNamespaceToNamespaceRector to use FileWithnoutNamespace
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-05 08:39:02 +00:00
Tomas Votruba
7e124dffc0
[static] replace string attirbutes with contants + fix require rule ( #4354 )
...
* replace string attirbutes with contants
* static fixes
* composer: bump sypmlify
* composer: drop branch alias, not usedp
2020-10-04 22:19:25 +00:00
Igor
635e0292c2
Add missing abstract keyword ( #4347 )
...
* Remove CheckRequiredAbstractKeywordForClassNameStartWithAbstractRule related error from ignore
* Ignore new PHPStan errors
2020-10-04 22:41:31 +02:00
Tomas Votruba
8191dca722
add fixture with property @required annotation to attribute ( #4353 )
2020-10-04 14:33:08 +00:00
Tomas Votruba
5597e57e12
[PHP 8.0] Add importing of Route, fix name to Annotation\Route one ( #4352 )
2020-10-04 14:24:49 +00:00
Tomas Votruba
08cce4f9d3
[PHP 8.0] Add @route to #[Route] attribute in Symfony 5.2 ( #4350 )
...
* move regex link to annotaiton
* improve configs
* [PHP 8.0] Add @Route to #[Route] attribute in Symfony 5.2
* add fully class attribute option
* [rector] add fully class attribute option
* [cs] add fully class attribute option
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-04 12:53:01 +00:00
Tomas Votruba
d0f65ef609
[PHP 8.0] @Required to #[Required] attribute from Symfony 5.2 ( #4348 )
...
* move ClassNodeAnalyzer to core
* README: add daily work focus
* spaces
* [PHP 8.0] Add #[Required] Symfony attribute migration
* add RFC links
* [rector] add RFC links
* [cs] add RFC links
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-04 11:12:41 +00:00
Abdul Malik Ikhsan
0680e70035
[naming] move UnderscoreToCamelCaseLocalVariableNameRector to Naming Set ( #4346 )
2020-10-04 12:48:43 +02:00
TomasVotruba
5453ebfc0e
skip cs
2020-10-03 22:09:43 +02:00
Igor
24f499c9d8
[Naming] Apply ParamRenamer without conflict resolution for Naming set ( #4335 )
2020-10-03 21:18:12 +02:00
TomasVotruba
014224f300
change changelog linker from YAML to PHP
2020-10-02 19:15:40 +02:00
TomasVotruba
22605d697f
composer: bump symplify deps
2020-10-02 12:45:58 +02:00
Abdul Malik Ikhsan
3ff3e37ecb
[symfony] add AutoWireWithClassNameSuffixForMethodWithRequiredAnnotationRector ( #4341 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-02 12:29:18 +02:00
TomasVotruba
4103cbce07
fix cs
2020-10-02 12:07:55 +02:00
Tomas Votruba
fc48903e97
bump phpstan rules ( #4342 )
2020-10-02 12:01:53 +02:00