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
Tomas Votruba
47743269e8
Removing parent classes ( #5714 )
2021-03-01 02:28:35 +01:00
Tomas Votruba
da5f4a08c8
remove unmatched errors + require string in object types to avoid prefixing of generics objects ( #5713 )
2021-03-01 00:56:08 +00:00
Tomas Votruba
8c3443b036
[DX] Removing more parent abstract circular classes ( #5709 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-28 15:16:17 +00:00
Tomas Votruba
d737f82d3c
[DX] Add forbidden parent classes ( #5705 )
2021-02-28 13:53:28 +01:00
Tomas Votruba
4909e63a1d
Make use of static reflection from PHPStan ( #5665 )
...
* break test without autoload
* PHPStanServiceFactory - add tests directory as analysed paths
* use ReflectionProvider instead of class_exists
* use native reflections for annotation reader
* use native class and method reflections
* add RectorBetterReflectionSourceLocatorFactory
* add DynamicSourceLocator that is shared by PHPStan and Rector
* use ReflectoinProvider instead of class_exists()
* resolve native ClassMethodReflection
* make AnonymousFunctionFactory use reflection
* [DowngradePHP74] Improve DowngradeCovariantReturnTypeRector
* phsptan: avoid ClassReflection
* ProcessCommand: add file infos to source locator
* [DeadCode] Skip RemoveUnusedPublicMethodRector for test
* remove autolaod from tests
* misc
* remove is_a()
* [CI] enable only few dirs to avoid fails
* misc
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-28 08:47:48 +01:00
Tomas Votruba
c7b76c4983
[DX] Narrow wobly strings to strict ObjectType() #2 ( #5694 )
...
* use direct call on isObjectTypes()
* make use of ObjectType over strings
2021-02-27 02:13:22 +00:00
Tomas Votruba
a61a2c6e5e
use getNodeTypes() with class-string generic type ( #5692 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-27 00:06:15 +00:00
Tomas Votruba
9514a2531f
use RequireStringArgumentInConstructorRule ( #5656 )
...
Co-authored-by: Ruud Kamphuis <ruudk@users.noreply.github.com>
2021-02-22 22:15:33 +01:00
Tomas Votruba
5ba33240ca
Bump to Symplify 9.2.1 ( #5655 )
2021-02-22 20:05:33 +00:00