TomasVotruba
b7c6e2b7c0
apply cs
2020-12-19 23:37:11 +01:00
Abdul Malik Ikhsan
720b2c34eb
[EarlyReturn] Enable ReturnBinaryAndToEarlyReturnRector in early-return config set ( #4915 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-19 16:24:53 +01:00
Krystian Marcisz
89e75fe179
[Symfony 5.2] Rename setProviderKey()/getProviderKey() to setFirewallName()/getFirewallName() ( #4888 )
...
* [Symfony 5.2] Rename setProviderKey()/getProviderKey() to setFirewallName()/getFirewallName()
* [Symfony 5.2] Rename setProviderKey()/getProviderKey() to setFirewallName()/getFirewallName()
2020-12-15 08:40:15 +01:00
Krystian Marcisz
6f1eb0b6ff
[Symfony 5.2] Add PropertyPathMapperToDataMapperRector ( #4887 )
2020-12-14 21:03:46 +01:00
Leonardo Losoviz
b8b86de61d
[Downgrade] Composer's platform check must use the PHP version below ( #4879 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-14 17:29:23 +01:00
Krystian Marcisz
6aecbd0261
[Symfony 5.2] Add ReflectionExtractorEnableMagicCallExtractorRector ( #4876 )
...
* [Symfony5] Add ReflectionExtractorEnableMagicCallExtractorRector
* [Symfony5] Add to Symfony 5.2 set
* [Symfony5] CS Fix
2020-12-14 12:35:15 +01:00
Krystian Marcisz
a08d26bee5
[Symfony 5.2] Add PropertyAccessorCreationBooleanToFlagsRector ( #4874 )
2020-12-14 00:45:55 +01:00
Tomas Votruba
eddb2b29c9
[EarlyReturn] Decouple new rules ( #4868 )
2020-12-12 16:59:09 +00:00
Tomas Votruba
f197e25793
droping events ( #4865 )
...
* drop unused ReportCollector and releted avain chains
* update fixed comma trail downgrade in php-parser
* add post runner interface
* [CodingStyle] Enabe post-inc-dec
* [ci-review] Rector Rectify
* test ci
* bump phpunit
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-12 14:58:47 +00:00
Tomas Votruba
db5e02e724
static fixes ( #4860 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-12 13:08:34 +01:00
Krystian Marcisz
35ceeff106
[Symfony] Split Symfony rules to dedicated namespaces ( #4858 )
2020-12-11 23:51:20 +01:00
Tomas Votruba
d27997197b
Static updates ( #4857 )
2020-12-11 18:25:42 +01:00
Krystian Marcisz
668753b638
[Symfony 5.2] Add BinaryFileResponseCreateToNewInstanceRector ( #4846 )
2020-12-11 11:07:33 +01:00
Krystian Marcisz
d8dc81f4bd
[Symfony 5.2][Security] Migrate PUBLIC_ACCESS to the new class ( #4842 )
2020-12-10 12:10:05 +01:00
Krystian Marcisz
fab46dd552
[Symfony 5.2][Mime] Rename Address::fromString() to Address::create() ( #4840 )
2020-12-09 21:38:57 +01:00
Tomas Votruba
c68fd43b65
Bump to Symplify 9 ( #4830 )
...
* composer: bump to Symplify 9
* fix cs
* update InputDetector to StaticInputDetector
* add missign symplify/ packages
* remove already included phpstan configs
* [CI] test lowest deps on PHP 7.3, as minimum for Symplify 9
* bump doctrine/inflector and sebastian/diff
* [CI] symplify PHP 7.3 testing
2020-12-09 15:41:23 +00:00
Abdul Malik Ikhsan
a8bcbe0aa7
[Downgrade PHP 8.0] Add DowngradeTrailingCommasInParamUseRector ( #4828 )
...
Co-authored-by: Krystian Marcisz <simivar@gmail.com>
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-09 14:36:35 +01:00
Abdul Malik Ikhsan
8dad9a221f
[Downgrade PHP 7.4] Add DowngradeFreadFwriteFalsyToNegationRector ( #4825 )
2020-12-09 12:33:25 +01:00
Abdul Malik Ikhsan
143164504e
[CodeQuality] Add UnwrapSprintfOneArgumentRector ( #4827 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-09 12:29:01 +01:00
Leonardo Losoviz
e0b4d469cd
[Downgrade PHP 7.2] Parameter type widening ( #4818 )
2020-12-08 13:03:00 +01:00
Leonardo Losoviz
7c991a9898
[Downgrade PHP 7.0] Remove param and return types ( #4819 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-08 13:02:26 +01:00
Abdul Malik Ikhsan
a3add7d409
[Downgade PHP 7.1] Add DowngradeNegativeStringOffsetToStrlenRector ( #4823 )
...
* [Downgade PHP 7.1] Fixes #4197 Add DowngradeNegativeStringOffsetToStrlenRector
* implemented
* more fixture
* phpstan
* phpstan
* final touch: code sample
* register to downgrade-php71 set
2020-12-08 12:19:58 +01:00
Abdul Malik Ikhsan
beff093125
[Downgrade PHP 7.1] Add SymmetricArrayDestructuringToListRector ( #4821 )
...
* [Downgrade PHP 7.1] Fixes #4193 Add SymmetricArrayDestructuringToListRector
* use @requires PHP 7.1
* provide getPhpVersion() in test -a
* in foreach
* phpstan
* register to downgrade-php71 config set
2020-12-08 12:04:03 +01:00
Tomas Votruba
ca353017e2
[Utils] Add OnlyOneClassMethodRule ( #4814 )
...
* [Utils] Add OnlyOneClassMethodRule
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-07 00:48:01 +00:00
Krystian Marcisz
e945b5705f
[Downgrade][PHP 7.3] Add SetCookieOptionsArrayToArgumentsRector ( #4806 )
2020-12-06 13:14:21 +01:00
Abdul Malik Ikhsan
8a3b0d1ffd
[Downgrade PHP 8.0] Register DowngradeNullsafeToTernaryOperatorRector to downgrade php80 config set ( #4812 )
2020-12-06 11:49:49 +01:00
Abdul Malik Ikhsan
758aa2ceff
[Downgrade PHP 8.0] Register DowngradeClassOnObjectToGetClassRector to downgrade-php80 config set ( #4810 )
2020-12-06 11:35:56 +01:00
Abdul Malik Ikhsan
b649c6d7de
[Downgrade PHP 7.1] Register DowngradePipeToMultiCatchExceptionRector to downgrade-php71 config set ( #4809 )
2020-12-06 11:33:28 +01:00
Tomas Votruba
18fdd3313a
[PHP 8.0] get_parent_class() cannot be called on non-existing classes anymore ( #4798 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-05 23:16:54 +01:00
Tomas Votruba
8bfb36d0b2
[Downgrade] [PHP 7.3] Downgrade trailing commas in function calls ( #4796 )
...
Co-authored-by: Tommy Quissens <tommy.quissens@storefront.be>
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-05 22:40:10 +01:00
Krystian Marcisz
41ab37165c
[PHP 8.0] Add FinalPrivateToPrivateVisibilityRector ( #4794 )
2020-12-05 22:33:30 +01:00
Krystian Marcisz
3af78f4c49
[PHP 8.0] Add RemoveParentCallWithoutParentRector to the set config ( #4795 )
2020-12-05 22:32:44 +01:00
Krystian Marcisz
49dceea41a
[PHP 8.0] Add SetStateToStaticRector ( #4792 )
2020-12-05 21:38:33 +01:00
Krystian Marcisz
47a9a52ffd
[CodeQuality] Add DateTimeToDateTimeInterfaceRector ( #4791 )
...
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-12-05 21:21:22 +01:00
Tomas Votruba
7f1d304c9a
[Downgrade] [PHP 8.0] Add DowngradeMatchToSwitchRector ( #4788 )
2020-12-05 13:20:56 +00:00
Tomas Votruba
e627304df9
[PHP 8.0] [Downgrade] Add DowngradeNonCapturingCatchesRector ( #4787 )
2020-12-05 11:50:31 +00:00
Tomas Votruba
520b8a9a85
[DeadDocBlock] decouple return and param rules ( #4782 )
...
* decopule return and parma rules
* enable in CI
* cleanup
* protected class-string vs string
2020-12-05 00:31:05 +00:00
Tomas Votruba
5201e949a1
[PHPStanExtensions] Add ForbiddenMethodCallOnTypeRule + move from docComment and Comments to PhpDocInfo ( #4780 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-05 00:22:12 +01:00
Leonardo Losoviz
5257f3ae3e
Downgrade PHP 7.4 contravariant argument type ( #4770 )
...
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-12-04 12:30:37 +01:00
Leonardo Losoviz
1bb4e06fd8
Downgrade PHP 7.4 Covariant return types - Handle also interfaces ( #4774 )
2020-12-04 12:28:32 +01:00
github-actions[bot]
e85f0b158d
[automated] Apply Coding Standard ( #4768 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-12-04 01:49:50 +01:00
Tomas Votruba
09f17a7b64
[Downgrade] [PHP 8.0] Add DowngradePropertyPromotionToConstructorPropertyAssignRector ( #4762 )
...
* [Downgrade] [PHP 8.0] Add DowngradePropertyPromotionToConstructorPropertyAssignRector
* fix parent
* various fixes for PHP 8.0 tests
* [ci-review] Rector Rectify
* Update rules/downgrade-php80/tests/Rector/Class_/DowngradePropertyPromotionToConstructorPropertyAssignRector/DowngradePropertyPromotionToConstructorPropertyAssignRectorTest.php
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-03 13:27:24 +00:00
Michal Lulco
1f5876ed28
Added some missing Nette 3.0 tasks ( #4764 )
2020-12-03 13:27:12 +00:00
Leonardo Losoviz
4bf25404e1
Added rule to set ( #4758 )
2020-12-03 09:31:13 +01:00
Markus Staab
38c0ebda75
remove double **
glob to speedup bootstrapping ( #4743 )
2020-12-01 22:46:05 +01:00
Tomas Votruba
2030badc19
[PHP 8.0] Add nette utils strings replace, static fixes ( #4741 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-01 14:52:24 +01:00
Tomas Votruba
79f3611dc9
remove ci-detector, make no-progress-bar api compatible with other CI tools ( #4734 )
2020-11-29 18:37:13 +01:00
Tomas Votruba
d962e3f6b0
[Downgrade] Add composer platform check ( #4721 )
2020-11-28 00:16:19 +01:00
Tomas Votruba
377c734975
drop old compiler ( #4716 )
2020-11-27 17:54:14 +01:00
Tomas Votruba
0eb6e29176
drop MinimalVersionChecker, is checked by composer itself ( #4715 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-27 17:32:38 +01:00