Commit Graph

325 Commits

Author SHA1 Message Date
Abdul Malik Ikhsan
c43b216d64
[Scoped] Register config directory to be downgraded (#6313) 2021-05-03 17:01:36 +00:00
Abdul Malik Ikhsan
76eee027ed
[Scoper] Patch ParameterSkipper class via scoper-php70 config (#6309)
* [Scoper] Patch ParameterSkipper class via scoper-php70 config

* undo require composer/composer directly
2021-05-03 14:22:27 +00:00
Abdul Malik Ikhsan
94f9929dc8
[Scoped] More exclude and add vendor/symplify/autowire-array-parameter to downgradepath (#6308) 2021-05-03 13:47:40 +00:00
TomasVotruba
12564db7af fixing version in scoped 2021-04-29 12:36:11 +02:00
Tomas Votruba
5cda5de4ac
Decouple Rector PHPStan rules to own package (#6242) 2021-04-25 23:12:14 +00:00
TomasVotruba
146a24ea7e [prefixed] re-order paths 2021-04-23 00:38:37 +02:00
Tomas Votruba
1d0ba2a439
Add AbstractTestCase (#6205) 2021-04-22 21:36:50 +00:00
TomasVotruba
4ade016794 [prefixed] remove phpunit test case, should be part of local env 2021-04-22 16:37:54 +02:00
TomasVotruba
714193b836 [prefixed] skip test case 2021-04-22 16:32:07 +02:00
TomasVotruba
f801c763a4 [prefixed] skip Kernel test case 2021-04-22 16:23:41 +02:00
TomasVotruba
dfc01349db separate downgrade paths to string 2021-04-22 11:43:58 +02:00
TomasVotruba
a57fd196c8 fix phpstan 2021-04-21 22:58:06 +02:00
TomasVotruba
15cc050332 [prefixed] prefix vendor by vendor name 2021-04-21 22:03:40 +02:00
TomasVotruba
731fe21ddb reorganize 2021-04-21 21:55:02 +02:00
TomasVotruba
8299be5bc3 [prefixed] merge service contracts to single dir 2021-04-21 21:54:11 +02:00
TomasVotruba
43031f0edf no prefix test case 2021-04-21 21:44:33 +02:00
TomasVotruba
d83bef97b6 [prefixed] skip AbstractKernelTestCase 2021-04-21 14:53:22 +02:00
Tomas Votruba
06f85e4a68
Refactor file processors towards universal collector (#6085)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-12 10:34:04 +00:00
Tomas Votruba
0ef3b600e3
[PHPStanExtensions] Add NoClassReflectionStaticReflectionRule (#6078) 2021-04-10 14:17:21 +02:00
Tomas Votruba
9e6e3f7a92
Simplify set provider (#6077)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-10 11:38:25 +00:00
Tomas Votruba
8e8446a909
remove METHOD_NAME attribute to promote single source of node (#6063) 2021-04-09 12:45:07 +02:00
Tomas Votruba
6ced3bd32a
Add upgrade path to Rector 0.10 - upgrade set included (#6061)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-09 01:12:42 +00:00
Tomas Votruba
5fa858b072
[DoctrineAnnotationSyncer] Remove to move to static reflection (#6006) 2021-03-29 13:01:35 +00:00
Tomas Votruba
ae1c6b90f7
Remove dynamic type checks #2 (#5941) 2021-03-21 21:31:18 +00: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
081e240640
[DX] Remove isInClassNamed() (#5914) 2021-03-20 01:37:33 +01:00
Tomas Votruba
9d101f6e30
[DX] remove isStaticCallNamed() (#5913)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-20 01:06:12 +01:00
Tomas Votruba
1abe1f8c1b
Improve static reflection speed (#5895) 2021-03-18 11:29:23 +01:00
Tomas Votruba
a389839c5c
[CI] Downgrade Rector to PHP 7.1 + prefix it (#5880)
* [downgrade] simplify to 2 configs

* rename downgrade_packages.sh to downgrade_rector_to_php71.sh

* add test case stub

* [CI] add linter for php code

* [CI] update tagged workflow

* update for covariance

* [ci-review] Rector Rectify

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-18 02:48:44 +01:00
Tomas Votruba
575131d0e2
[Compiler] Add downgrade-paths command (#5887) 2021-03-18 00:42:12 +01:00
Tomas Votruba
09a3adb696
Less attributes (#5884)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-17 23:03:49 +01:00
Tomas Votruba
69e66cbf1f
Replace StaticRectorStrings with Stringy class, remove CamelCaseFunctionNamingToUnderscoreRector to avoid naming rules (#5882) 2021-03-17 19:59:18 +00:00
Tomas Votruba
f92c18514a
[DX] Forbid @required annotation (#5869) 2021-03-16 00:49:31 +00:00
Tomas Votruba
683f8319a8
[CI] simplify php linter (#5867)
* [CI] simplify php linter

* [CI] merge code analysis to one

* [docs] remove nodes overview, already in external repository

* remove unused ci job

* [CI] check annotation parser + sync

* [DeadCode] Remove RemoveEmptyAbstractClassRector, not reliable with static-reflection, opionated

* [CI] remove set validation, PHPStan handles this better with PHP

* remove dead-code-strict [skip ci]
2021-03-15 23:44:28 +01:00
Tomas Votruba
c1c6c9aaf2
[downgrade] remove extra configs, unite parameters (#5861) 2021-03-15 13:19:57 +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
ab1154f6c8
[CI] Drop fixture checks, that are now covered by static reflection (#5831) 2021-03-13 11:47:11 +01:00
Tomas Votruba
157c39aefc
[DX] move src/tests rules from micro-packages to single PSR-4 structure (#5826) 2021-03-12 23:20:25 +01:00
Tomas Votruba
c791f5ed60
[RectorGenerator] Decouple to external package (#5825) 2021-03-12 20:13:27 +01:00
Tomas Votruba
67670e70ad
[DX] move packages from src/tests to single PSR-4 directory (#5824) 2021-03-12 01:21:29 +00:00
TomasVotruba
9acb74fae5 fix scoped versions compoer 2021-03-11 21:25:51 +01:00
Tomas Votruba
382f146eaf
Merge CoreRectorInterface (#5762) 2021-03-03 22:28:27 +01:00
Tomas Votruba
9f96242e8a
[TypeDeclaration] Remove AbstractTypeDeclarationRector (#5753) 2021-03-03 13:27:16 +01:00
Tomas Votruba
98f4554ba2
[Symfony] Remove AbstractToConstructorInjectionRector (#5749) 2021-03-03 11:57:11 +01:00
Tomas Votruba
8cd5d86c03
[Nette] Remove AbstractWithFunctionToNetteUtilsStringsRector (#5746) 2021-03-03 11:30:17 +01:00
Tomas Votruba
92f2c5b3a6
[Nette] Remove AbstractWithFunctionToNetteUtilsStringsRector (#5742)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-03 09:40:03 +00:00
Tomas Votruba
b7b6725364
remove abstract (#5736) 2021-03-03 08:49:57 +00:00
Tomas Votruba
11dab764e6
[PHPStanStaticTypeMapperChecker] Drop as very limited testing benefit, overly protective (#5721) 2021-03-02 11:22:49 +00:00
Tomas Votruba
05788745fd
[Downgrade] Remove excessive abstract class inheritance, use single service (#5717) 2021-03-01 12:10:50 +00:00