11319 Commits

Author SHA1 Message Date
TomasVotruba
e61f80bd21 cleanup 2021-03-18 12:21:20 +01:00
TomasVotruba
6ca687a213 remove duplicated findFirstAncestorInstanceOf method 2021-03-18 12:09:26 +01:00
TomasVotruba
6e955b9d80 skip missing scope 2021-03-18 11:59:01 +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
TomasVotruba
940ed63d54 static fixe 2021-03-18 02:46:42 +01:00
Tomas Votruba
0f3d07f1f8
[DeadCode] Removing method/property entity Doctrine remover, too vague (#5892) 2021-03-18 02:44:36 +01:00
TomasVotruba
08f9c545a1 remove FirstLevelNodeVisitor 2021-03-18 02:24:39 +01:00
TomasVotruba
00014cbb39 [cs] apply on coding standard 2021-03-18 02:24:29 +01:00
Tomas Votruba
6af2805a1c
Move symfony/cache to simpler nette/caching (#5889)
* composer: remove symfony/cache

* [Caching] Add nette/cache, lighter

* make sure cache directory exists
2021-03-18 02:11:54 +01:00
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
c815334bed
[DeadCode] Remove RemoveUnusedParameterRector (#5888) 2021-03-18 01:10:37 +01:00
Tomas Votruba
575131d0e2
[Compiler] Add downgrade-paths command (#5887) 2021-03-18 00:42:12 +01:00
TomasVotruba
f90e713f54 fixup! fix cs 2021-03-18 00:24:08 +01:00
TomasVotruba
8e95384268 fix cs 2021-03-18 00:21:24 +01:00
Dominik Peters
dc94477d54
Migrate at to with consecutive and will return on consecutive calls (#5822) 2021-03-18 00:11:23 +01:00
kaizen-ci
d14630e1d2 [ci-review] Rector Rectify 2021-03-18 00:00:16 +01:00
TomasVotruba
3746f24cf4 remove FUNCTION_NODE attribute 2021-03-18 00:00:16 +01:00
TomasVotruba
de02a85e3f remove parent class 2021-03-18 00:00:16 +01:00
TomasVotruba
7df115b051 make use of reflection 2021-03-18 00:00:16 +01:00
Tomas Votruba
6ad6bdc2d7
Fix type widening command (#5883)
* skip parent type for construtc

* skip magic method
2021-03-17 23:56:45 +01:00
Tomas Votruba
0e383192ae
misc fixes (#5886) 2021-03-17 23:36:05 +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
2be6607854
[Reporting] Move missing rector services to single class (#5881) 2021-03-17 19:59:47 +01:00
Tomas Votruba
ea19540a73
[Downgrade 7.2] Fix downgrade from parent native type (#5872)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-17 11:12:39 +01:00
Tomas Votruba
f92c18514a
[DX] Forbid @required annotation (#5869) 2021-03-16 00:49:31 +00:00
Tomas Votruba
0ac0e54b02
[Naming] Removing underscore rules, rather handle with coding standards (#5868) 2021-03-15 23:24:43 +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
TomasVotruba
68bf6e8de8 remove dead-doc-block config 2021-03-15 21:09:43 +01:00
TomasVotruba
c27b9e8338 drop symfony-autowire set, used just once internally 2021-03-15 21:04:20 +01:00
TomasVotruba
bcfc808852 merge dead-doc-block to dead-code set 2021-03-15 21:03:11 +01:00
TomasVotruba
5896991385 decouple services-packages.php config 2021-03-15 21:01:47 +01:00
TomasVotruba
c6196ad2ce [CI] split tests by paths 2021-03-15 20:59:26 +01:00
TomasVotruba
8fbf17bc5f gitattributes: remove old files 2021-03-15 20:58:12 +01:00
dependabot[bot]
1565a751aa
Bump EndBug/add-and-commit from v7.0.0 to v7.1.0 (#5865)
Bumps [EndBug/add-and-commit](https://github.com/EndBug/add-and-commit) from v7.0.0 to v7.1.0.
- [Release notes](https://github.com/EndBug/add-and-commit/releases)
- [Changelog](https://github.com/EndBug/add-and-commit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/EndBug/add-and-commit/compare/v7.0.0...701772d3525172d14fba9e972806915ec0eb6954)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 20:38:34 +01:00
dependabot[bot]
9f605eaa7e
Bump actions/cache from v2 to v2.1.4 (#5866)
Bumps [actions/cache](https://github.com/actions/cache) from v2 to v2.1.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 20:38:26 +01:00
TomasVotruba
1f149a0fcc typo 2021-03-15 20:37:20 +01:00
TomasVotruba
fda63b9e0e [CI] add dependabot 2021-03-15 20:32:56 +01:00
Tomas Votruba
d897902ccf
[Downgrade] Keep better phpdoc type (#5862) 2021-03-15 18:58:04 +01:00
Fonata
b84f76e4e4
Bugfix for SimplifyForeachToArrayFilterRector (#5859) 2021-03-15 17:52:02 +01:00
Tomas Votruba
c1c6c9aaf2
[downgrade] remove extra configs, unite parameters (#5861) 2021-03-15 13:19:57 +00:00
Fonata
e0158925cd
Bugfix for AbsolutizeRequireAndIncludePathRector (#5858) 2021-03-14 23:17:49 +01:00
TomasVotruba
0670f8ee36 merge doctrine-services to doctrine-code-quality 2021-03-14 22:05:32 +01:00
TomasVotruba
3b7e88b3ba drop eab config, just 2 poor rules 2021-03-14 22:04:43 +01:00
Tomas Votruba
6bef1ded94
[scoped] rector now runs without command name too (#5857) 2021-03-14 21:41:06 +01:00
Abdul Malik Ikhsan
a2f1ac1c09
try back to check PrettyVersions only (#5856) 2021-03-14 19:49:55 +00:00
Abdul Malik Ikhsan
52d94dd8d5
[Scoper] Try fix InstalledVersions autoload in docker with env definition check (#5855) 2021-03-14 18:30:02 +00:00
Abdul Malik Ikhsan
0207942086
[Scoped] Flip Replace InstalledVersions class prefix (#5854)
* [Scoped] Flip Replace InstalledVersions class prefix

* try remove replace
2021-03-14 18:10:58 +00:00
Abdul Malik Ikhsan
3f3a209203
[Scoped] Remove surplus semicolon in scoper (#5853) 2021-03-14 17:25:34 +00:00