441 Commits

Author SHA1 Message Date
TomasVotruba
362b62531a ci: run coverage only on master 2020-10-20 16:23:58 +02:00
Tomas Votruba
deabd2d593
[CI] fasten up Rector CI feedback (#4449) 2020-10-19 16:37:35 +02:00
Tomas Votruba
e845d7cea8
[DoctrineCodeQuality] Add ImproveDoctrineCollectionDocTypeInEntityRector (#4442)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-18 18:29:35 +02:00
Tomas Votruba
c84690baa6
[DeadCode] Various improvements (#4417) 2020-10-15 14:15:01 +02:00
Tomas Votruba
a9f737bcaf
decouple CommentRemover (#4412) 2020-10-15 11:50:15 +02:00
Abdul Malik Ikhsan
eb1f9c5e32
reactivate coverage report (#4405) 2020-10-14 18:07:59 +02:00
Tomas Votruba
cb991af9c6
hotfix mysql connection resolving (#4399) 2020-10-12 21:06:24 +02:00
Tomas Votruba
01514ab9a8
[SimplePhpDocParser] Add README + getParam*() helper methods (#4393) 2020-10-11 16:17:43 +02:00
TomasVotruba
c05e43defa add colors 2020-10-10 23:23:24 +02:00
Tomas Votruba
4a76cdaa82
[SymfonyPHPConfig] Add monorepo split for value objects function (#4153)
* add monorepo split for symfony-php-config

* [SOLID] Prevent replacing referenced parametes with inlined constnat value

* make Symfon 5.0- compatible

* add support for reference skip in constructor

* [rector] add support for reference skip in constructor

* [cs] add support for reference skip in constructor

* improve misisng rule feedback

* underscore

* Fix ChangeReadOnlyVariableWithDefaultValueToConstantRector for new

* add clear-cache to all commands

* colors

* [rector] colors

* [cs] colors

Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-10 17:42:43 +00:00
Tomas Votruba
c43f611d85
[ci] show rector ci fail (#4280)
* [ci] show rector ci fail

* try --dry-run removal

* [rector] try --dry-run removal

Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-23 11:29:42 +00:00
Tomas Votruba
7aad4bbf2f
[PHPStan] Enable regex constant rule (#4279) 2020-09-23 11:16:40 +02:00
Tomas Votruba
a73fc88add
[Docs] update docs with node examples (#4269) 2020-09-22 11:27:44 +02:00
Tomas Votruba
52ccfc0527
[DX] move Nette FileSytem to SmartFileSystem DI (#4262)
* move Nette FileSytem to SmartFileSystem DI

* move Symfony FileSytem to SmartFileSystem

* [ci] run rector diretly, without composer wrap
2020-09-19 09:27:29 +00:00
Markus Staab
59547a5cbe
Github Actions: add a job which tests the lowest supported versions (#4220)
* Github Actions: add a job which tests the lowest supported versions

* Update tests.yaml

* run lowest only on php 7.2

to reduce the number of generated jobs

* faise min webmozart/assert version

we need at least https://github.com/webmozart/assert/pull/160

* use quotes
2020-09-14 21:01:01 +02:00
Tomas Votruba
33b9ac6fb8
[ci] Add PHP Linter (#4188) 2020-09-10 22:05:34 +00:00
Abdul Malik Ikhsan
c17dae56dd
register check-markdown command to composer script (#4149)
* register check-markdown command to composer script

* remove .github/workflows/check_markdown.yml

* add --fix to vendor/bin/ecs check-markdown README.md

* update symplify/autowire-array-parameter to ^8.2.27 and symplify/easy-coding-standard to ^8.2.27
2020-09-09 18:05:38 +02:00
Tomas Votruba
4f1beae3fd
[DX] Fix NoAbstractMethodRule cases (#4180)
* decouple IsAbleFuncCallInterface

* decouple WithFunctionToNetteUtilsStringsRectorInterface

* decouple NodeTraversableInterface

* decouple RectorInterfaceAwareInterface

* [ci] disable markdown check to prevent user bothering
2020-09-09 09:07:14 +00:00
Tomas Votruba
6508aedd13
[Downgrade PHP 8.0] Add union types to doc types (#4082) 2020-09-08 12:00:38 +02:00
Abdul Malik Ikhsan
46e2b450b3
add check markdown github action workflow for fix README.md markdown file (#4134) 2020-09-08 11:41:32 +02:00
Tomas Votruba
c1b2824ab4
show command - display loaded sets + fix set provider (#4111) 2020-09-02 17:26:33 +02:00
Tomas Votruba
7ac228c638
[CI] Add type-declaration set (#4089)
* [CI] Add type-declaration set

* [rector] [CI] Add type-declaration set

* [cs] [CI] Add type-declaration set

* skip nullable void

* add anonymous parent/interface support

* refactor MultiExceptionCatchRector to use Catch_ over integers

* type fixes

* fix unoin array type override

* remove unused test cases

* drop overcomplicated InlineValidationRulesToArrayDefinitionRector

* skip assign on var

* [rector] skip assign on var

* [cs] skip assign on var

* [rector] [cs] skip assign on var

* skip assign on var

* fixes

* [rector] fixes

* [cs] fixes

Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-01 17:56:30 +00:00
Tomas Votruba
c2cfdaeacd
[DX] Add MethodVisibility value object (#4028) 2020-08-25 21:19:12 +02:00
Tomas Votruba
de4748f935
README + recipe improvements (#4017)
* rector-recipe and README improvements

* ci: add generate command test
2020-08-24 21:25:26 +00:00
Tomas Votruba
106fb1101a
service entity repository combo (#3945)
* service entity repo combo

* apply cs, add tests, fixes

* update doc parser

* [Generic] Add RemoveAnnotationRector

* add nullsafe nodes to docs

* drop AddEmptyLineBetweenCallsInPhpConfigRector, not that useful

* namespace and phpstan fix

* [ci] merge PHPStan compat to one job, no gain split attention

* [rector] [ci] merge PHPStan compat to one job, no gain split attention

* [cs] [ci] merge PHPStan compat to one job, no gain split attention

Co-authored-by: Marek Šimeček <marek.simecek@footshop.cz>
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-12 09:44:34 +00:00
Tomas Votruba
20e28ea763
[cig Improve workflow for squash commits (#3855) 2020-08-01 01:39:40 +02:00
TomasVotruba
10e024b3e2 [CI] temporarily disable lowest dependencies, they get stuck for some reason 2020-07-30 16:09:16 +02:00
TomasVotruba
1a82613c3f rename ValidateFixtureCommand to more explicit ValidateFixtureContent 2020-07-27 10:51:10 +02:00
TomasVotruba
70672b559f CI: run standalone run only on master, performance heavy slows feeback loop 2020-07-26 11:52:37 +02:00
TomasVotruba
8be555843b drop ValidateServicesInSetsCommand, now handled in PHP analysis 2020-07-26 11:47:38 +02:00
TomasVotruba
a51443cc12 ci: get sonar back 2020-07-24 17:27:50 +02:00
TomasVotruba
1773c7eecc less sleep 2020-07-24 17:21:15 +02:00
TomasVotruba
adcaf173d3 add custom control by method name 2020-07-24 16:02:09 +02:00
TomasVotruba
d4f6c497a7 [Nette] Add form dim access to standalone node control 2020-07-22 21:38:34 +02:00
TomasVotruba
afe6799cec fix branch name 2020-07-22 00:44:03 +02:00
TomasVotruba
07f3ce68a9 ci: delay standalone run to get the latest version 2020-07-22 00:39:16 +02:00
TomasVotruba
7f3022dcb8 colors to ci 2020-07-21 21:56:06 +02:00
TomasVotruba
8b535f6570 typo 2020-07-21 10:06:36 +02:00
TomasVotruba
2452ce02be fix laravel set path 2020-07-21 10:02:50 +02:00
TomasVotruba
fad9087647 typo 2020-07-21 08:25:38 +02:00
TomasVotruba
87f8134d3b [ci] add colors 2020-07-21 08:20:04 +02:00
TomasVotruba
3a9375007e decouple Set package 2020-07-21 01:39:24 +02:00
TomasVotruba
c5768ae170 CI: fix name position 2020-07-06 22:07:11 +02:00
TomasVotruba
ffa21f6707 [PHP 7.4] Make RestoreDefaultNullToNullableTypePropertyRector skip nullable defined in ctor 2020-07-06 21:59:01 +02:00
TomasVotruba
8d65279e77 [CI] merge dev/normal Rector run 2020-07-06 13:02:07 +02:00
TomasVotruba
ede17b8f23 [CI] merge no-dev 2020-07-06 01:08:37 +02:00
TomasVotruba
c16481e2f5 [CI] simlify jobs to matrix 2020-07-05 23:37:07 +02:00
TomasVotruba
7c9df7a636 drop broken reflection ci build, not needed any more 2020-07-03 01:21:24 +02:00
TomasVotruba
9fd831861c add failing ci 2020-07-01 23:05:12 +02:00
TomasVotruba
a96c3cec60 funding: make github first-class 2020-06-19 13:19:46 +02:00