Tomas Votruba
37eb07af6e
move stubs to composer-autoload ( #5890 )
...
* move stubs to composer-autoload
* remove duplicate classes
* apply Rector
2021-03-18 02:10:01 +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
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
TomasVotruba
09f7d76368
fix namespace autoload
2021-03-14 14:22:25 +01:00
Tomas Votruba
751a7453dd
Apply new PHPStan rules from Symplify ( #5843 )
...
* apply new PHPStan rules from Symplify
* less directories to speedup CI
2021-03-14 14:11:24 +01:00
TomasVotruba
e59694cda1
composer: disable platform check to allow downgraded and prefixed rector
2021-03-13 20:50:37 +01: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
0acc05cc6e
remove runnable interface, to lower complexity ( #5829 )
2021-03-13 01:23:22 +00:00
Tomas Votruba
721f619a1d
Post moving cleanup ( #5827 )
2021-03-12 23:52:38 +00: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
Tomas Votruba
79d3d98e14
fix ctor ( #5808 )
2021-03-09 00:04:39 +00:00
Tomas Votruba
1cbb6113fc
[CI] remove changelog linker ( #5803 )
2021-03-08 19:50:03 +00:00
Tomas Votruba
896ca733dc
cherry-pick downgrade update ( #5794 )
2021-03-07 21:25:43 +00:00
Tomas Votruba
ba1444959d
[TypeDeclaration] Improve param by caller type #2 ( #5787 )
2021-03-07 14:27:17 +00:00
Tomas Votruba
031deda881
[TypeDeclaration] Add AddParamTypeFromCallersRector ( #5782 )
2021-03-06 21:16:18 +00:00
Tomas Votruba
c1dab30664
[MockistaToMockery] Drop as mockista is completely dead package ( #5758 )
2021-03-03 18:40:45 +01:00
Tomas Votruba
c559114715
remove stub loader where not needed ( #5757 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-03 17:15:12 +00:00
Tomas Votruba
d5bf66f9cd
[CI] run rules dir by dir to identify static reflection weak sposts ( #5720 )
...
* [CI] run rules dir by dir to identify static reflection weak sposts
* [ci-review] Rector Rectify
* consistency
* remove unused property
* add data provider test fixture
* add InvertedIfFactory to lower complexity
* [DeadCode] Skip unused public method if data provider
* misc
* [DeadCode] Do not remove class method if required by parent ocntract
* make use of ContextAnalyzer to find the loop
* narrow dirs one level
* narrow packages
* narrow
* use directly
* narrow
* correct constant name to keep BC
* bump deps
* add version_compare to removed extra params, just to be sure
* do not return function node on unchanged name
* narrow
* add support for multiple variants
* widen
* remove double check [skip ci]
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-02 14:43:36 +01: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
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
Abdul Malik Ikhsan
c480e0468c
[Meta] Add Monorepo Builder ( #5669 )
2021-02-27 12:37:07 +01:00
Tomas Votruba
ecf4e56246
update monorepo-builder syntax ( #5662 )
2021-02-23 12:15:16 +01:00
Tomas Votruba
5ba33240ca
Bump to Symplify 9.2.1 ( #5655 )
2021-02-22 20:05:33 +00:00
Tomas Votruba
9a376d98e5
[Arguments] New rule set from former generics ( #5637 )
...
* [Transform] Move SingleToManyMethodRector
* [Transform] Move WrapReturnRector here
* [DependencyInjectoin] Move AddMethodParentCallRecto here
* [Arguments] Create new package from old generics only around arguments
* composer docs uild
2021-02-21 00:21:19 +01:00
Tomas Votruba
651573a58f
[TypeDeclaration] Add ReturnTypeFromStrictTypedCallRector ( #5573 )
2021-02-16 16:12:37 +00:00
Tomas Votruba
30ec07b6ac
include stubs in tests ( #5565 )
2021-02-15 20:50:26 +00:00
TomasVotruba
5976af5b01
lock to last working phpstan
2021-02-15 20:42:36 +01:00
Tomas Votruba
1d80ef3df6
[TypeDeclaration] Add external types to ParamTypeFromStrictTypedPropertyRector ( #5560 )
2021-02-15 19:31:53 +00:00
Tomas Votruba
de8fa30257
[cs] apply indent of call in configs ( #5547 )
2021-02-14 21:28:21 +00:00
Tomas Votruba
6ce792c70a
[CodingStyle] Drop AnnotateThrowablesRector to narrow code scope, designed for custom community rule ( #5528 )
2021-02-13 15:19:19 +01:00
TomasVotruba
8bc126f1a7
lower phpdoc-parser to open slevomat
2021-02-13 02:13:52 +01:00
Tomas Votruba
7a3f5a8c0a
remove unused RectorClassesProvider ( #5482 )
...
* remove unused RectorClassesProvider
* README: remove ci-checkstyle link, marginal topic, to avoid confusion for first readers
2021-02-09 22:43:04 +00:00
Tomas Votruba
1757e83cdc
misc, remove RemoveProjectFileRector ( #5463 )
2021-02-08 18:26:00 +00:00
Tomas Votruba
d7353baf2c
Misc cleanup ( #5456 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-08 12:33:17 +00:00
Tomas Votruba
e9cdf37d16
Decopule nodes docs generator ( #5453 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-08 02:04:48 +01:00
Tomas Votruba
0c830ab123
misc ( #5439 )
2021-02-06 22:20:57 +00:00
Abdul Malik Ikhsan
ac3611698b
[EasyCI] Using symplify/easy-ci for validate-file-length ( #5431 )
2021-02-06 12:34:59 +01:00
Michal Lulco
17cb30f5c7
Removed duplicit package sebastian/diff from composer.json ( #5399 )
2021-02-01 18:05:25 +01:00
Tomas Votruba
9a8cce6545
remove deprecated console differ, to use symplify ( #5402 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-01 11:22:22 +01:00
Tomas Votruba
b6b8ac0c4c
Less traits 3, drop duplicated issue tests ( #5385 )
2021-01-31 00:14:13 +00:00
Tomas Votruba
7293c3c2a8
less traits 2 ( #5384 )
2021-01-30 23:20:05 +00:00
Tomas Votruba
737b6471c2
[Performance] [Polyfill] Move to DeadCode ( #5380 )
2021-01-30 19:56:32 +00:00
Tomas Votruba
2df4732c6c
Move Architecture to Doctrine, improve a bit ( #5374 )
2021-01-30 08:57:35 +00:00
Tomas Votruba
a4a490d69a
[Generics] Skip existing tag and add nullable type support ( #5367 )
2021-01-29 20:23:01 +00:00
Tomas Votruba
4590b10b43
[Process] Add --no-diffs for better huge CI debug ( #5368 )
2021-01-29 20:12:09 +00:00