chore(deps): update dependency phpro/grumphp to ^0.22.0 #28

Open
renovate-bot wants to merge 1 commit from renovate/phpro-grumphp-0.x into main
Collaborator

This PR contains the following updates:

Package Type Update Change
phpro/grumphp require-dev minor ^0.18.0 -> ^0.22.0

Release Notes

phpro/grumphp (phpro/grumphp)

v0.22.0: Version 0.22.0

Compare Source

Total issues resolved: 2

v0.21.0: Version 0.21.0

Compare Source

Total issues resolved: 13

Breaking changes:

Inside the ECS task, we renamed the whitlist_patterns option to paths:

grumphp:
    tasks:
        ecs:
-           whitelist_patterns: ['src']
+           paths: ['src']

v0.20.0: Version 0.20.0

Compare Source

Total issues resolved: 8

BC breaks:

  • Dropped support for PHP 72 (because of dependencies)
  • Upgraded PHP unit testcases to latest version

v0.19.1: Version 0.19.1

Compare Source

Total issues resolved: 5

v0.19.0: Version 0.19.0

Compare Source

Total issues resolved: 1

Upgrading

Validated GrumPHP parameters

The new version will validate the structure and content of the GrumPHP parameters.
Therefor you need to move the grumphp parameters out of the regular parameters section.
If you are not using any symfony/dependency-injection parameters, you only need to rename the parameters keyword:


### grumphp.yaml

- parameters:
+ grumphp:

note: If you are using conventions, the parameters used in the conventions still need to remain under parameters. Don't forget to put tasks and other grumphp related configuraiton under grumphp!

note: The parameters bin_dir and git_dir have been removed since v0.16 . It is safe to get rid of those parameters as well. We now use an environment based system to customize paths.

grumphp:
-    bin_dir: "./vendor/bin"
-    git_dir: "."

Removed support for PHP-CS-Fixer v1.

Since PHP-CS-Fixer is out for quite some time and because v3 is in the making, we drop support for version 1.
If you still want to use version 1, you can use an older version of GrumPHP or provide a custom extension for your project.

By default, the phpcsfixer will now load the task for the latest PHP-CS-fixer.
We also provided a phpcsfixer2 alias to make sure existing projects don't break.
However, you can now rename the task inside your configuration:


### grumphp.yaml

grumphp:
    tasks:
-       phpcsfixer2:
+       phpcsfixer:

We added a way of running the PHP-CS-Fixer v1 in parallel to improve execution speed.
However, this code is not needed anymore inside the new version and might be confusing with the actual parallel implementation.
Therefore, we removed following parameters:


### grumphp.yaml

grumphp:
-     process_async_limit: 10
-     process_async_wait: 1000

Bump to Symfony 4.4

In this release, we bump the dependencies up to Symfony 4.4.
This is because the parallel system requires the Advanced console output improvements inside SF 4.1. Since that version is not supported by Symfony anymore, we decided to bump to the version 4 LTS.

If your package still requires older dependencies, you can install the grumphp-shim package which works dependency-less.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [phpro/grumphp](https://github.com/phpro/grumphp) | require-dev | minor | `^0.18.0` -> `^0.22.0` | --- ### Release Notes <details> <summary>phpro/grumphp (phpro/grumphp)</summary> ### [`v0.22.0`](https://github.com/phpro/grumphp/releases/tag/v0.22.0): Version 0.22.0 [Compare Source](https://github.com/phpro/grumphp/compare/v0.21.0...v0.22.0) Total issues resolved: **2** - [812: \[Task\ add Pest ](https://github.com/phpro/grumphp/pull/812) thanks to [@&#8203;oallain](https://github.com/oallain) - [814: Add a fail-safe fallback for fetching git config values](https://github.com/phpro/grumphp/pull/814) thanks to [@&#8203;veewee](https://github.com/veewee) ### [`v0.21.0`](https://github.com/phpro/grumphp/releases/tag/v0.21.0): Version 0.21.0 [Compare Source](https://github.com/phpro/grumphp/compare/v0.20.0...v0.21.0) Total issues resolved: **13** - [652: \[ECS task\ Run pre commit argument switch](https://github.com/phpro/grumphp/pull/652) thanks to [@&#8203;jmatthiesen81](https://github.com/jmatthiesen81) - [794: Improved fixable tasks](https://github.com/phpro/grumphp/pull/794) thanks to [@&#8203;veewee](https://github.com/veewee) - [795: Create smart backups of existing git hooks](https://github.com/phpro/grumphp/pull/795) thanks to [@&#8203;veewee](https://github.com/veewee) - [796: Improved file passing tools](https://github.com/phpro/grumphp/pull/796) thanks to [@&#8203;veewee](https://github.com/veewee) - [797: Update PhpCpd names-exclude property](https://github.com/phpro/grumphp/pull/797) thanks to [@&#8203;StApostol](https://github.com/StApostol) - [800: Create a Website for this Repo](https://github.com/phpro/grumphp/issues/800) thanks to [@&#8203;xdvrx1](https://github.com/xdvrx1) - [801: Provide a stdin way of configuring files that need to be validated by GrumPHP](https://github.com/phpro/grumphp/pull/801) thanks to [@&#8203;veewee](https://github.com/veewee) - [804: Add `match&#&#8203;95;word` option to git blacklist task](https://github.com/phpro/grumphp/pull/804) thanks to [@&#8203;morloderex](https://github.com/morloderex) - [806: Fix properties for PhpCpd v6](https://github.com/phpro/grumphp/pull/806) thanks to [@&#8203;sci3ma](https://github.com/sci3ma) - [807: Phpstan: use_grumphp_paths option](https://github.com/phpro/grumphp/pull/807) thanks to [@&#8203;veewee](https://github.com/veewee) - [808: minor git_commit_message improvements](https://github.com/phpro/grumphp/pull/808) thanks to [@&#8203;veewee](https://github.com/veewee) - [809: ecs: rename whitelist_patterns to paths and add files_on_pre_commit](https://github.com/phpro/grumphp/pull/809) thanks to [@&#8203;veewee](https://github.com/veewee) - [810: Nette Tester task](https://github.com/phpro/grumphp/pull/810) thanks to [@&#8203;veewee](https://github.com/veewee) ### Breaking changes: Inside the ECS task, we renamed the `whitlist_patterns` option to `paths`: ```diff grumphp: tasks: ecs: - whitelist_patterns: ['src'] + paths: ['src'] ``` ### [`v0.20.0`](https://github.com/phpro/grumphp/releases/tag/v0.20.0): Version 0.20.0 [Compare Source](https://github.com/phpro/grumphp/compare/v0.19.1...v0.20.0) Total issues resolved: **8** - [766: \[phpmd\ Allow setting output format to ansi](https://github.com/phpro/grumphp/pull/766) thanks to [@&#8203;MarkVaughn](https://github.com/MarkVaughn) - [780: Fix command escaping](https://github.com/phpro/grumphp/pull/780) thanks to [@&#8203;1ed](https://github.com/1ed) - [782: Make Travis green again on PHP 8!](https://github.com/phpro/grumphp/pull/782) thanks to [@&#8203;IonBazan](https://github.com/IonBazan) - [784: Suggest command to fix composer_normalize errors](https://github.com/phpro/grumphp/pull/784) thanks to [@&#8203;prudloff-insite](https://github.com/prudloff-insite) - [785: Environment section](https://github.com/phpro/grumphp/pull/785) thanks to [@&#8203;veewee](https://github.com/veewee) - [788: Fix broken stdin](https://github.com/phpro/grumphp/pull/788) thanks to [@&#8203;veewee](https://github.com/veewee) - [789: Standalone tools](https://github.com/phpro/grumphp/pull/789) thanks to [@&#8203;veewee](https://github.com/veewee) - [790: Add a way to call the standalone composer-normalize command](https://github.com/phpro/grumphp/pull/790) thanks to [@&#8203;prudloff-insite](https://github.com/prudloff-insite) ### BC breaks: - Dropped support for PHP 72 (because of dependencies) - Upgraded PHP unit testcases to latest version ### [`v0.19.1`](https://github.com/phpro/grumphp/releases/tag/v0.19.1): Version 0.19.1 [Compare Source](https://github.com/phpro/grumphp/compare/v0.19.0...v0.19.1) Total issues resolved: **5** - [772: Fix for serialization of empty file list](https://github.com/phpro/grumphp/pull/772) thanks to [@&#8203;veewee](https://github.com/veewee) - [773: Fix invalid config generation](https://github.com/phpro/grumphp/pull/773) thanks to [@&#8203;veewee](https://github.com/veewee) - [774: Add ESLint Task](https://github.com/phpro/grumphp/pull/774) thanks to [@&#8203;MitchellMcKenna](https://github.com/MitchellMcKenna) - [775: Typo: Remove extra space in output text of FixerUpper](https://github.com/phpro/grumphp/pull/775) thanks to [@&#8203;MitchellMcKenna](https://github.com/MitchellMcKenna) - [776: paratest: Add support for '--coverage-clover' and '--coverage-php'](https://github.com/phpro/grumphp/pull/776) thanks to [@&#8203;LompiSystems](https://github.com/LompiSystems) ### [`v0.19.0`](https://github.com/phpro/grumphp/releases/tag/v0.19.0): Version 0.19.0 [Compare Source](https://github.com/phpro/grumphp/compare/v0.18.1...v0.19.0) Total issues resolved: **1** - [741: Improved task runner](https://github.com/phpro/grumphp/pull/741) thanks to [@&#8203;veewee](https://github.com/veewee) ### Upgrading #### Validated GrumPHP parameters The new version will validate the structure and content of the GrumPHP parameters. Therefor you need to move the grumphp parameters out of the regular parameters section. If you are not using any `symfony/dependency-injection` parameters, you only need to rename the parameters keyword: ```diff ### grumphp.yaml - parameters: + grumphp: ``` **note**: If you are using conventions, the parameters used in the conventions still need to remain under `parameters`. Don't forget to put `tasks` and other grumphp related configuraiton under `grumphp`! **note**: The parameters `bin_dir` and `git_dir` have been removed since v0.16 . It is safe to get rid of those parameters as well. [We now use an environment based system to customize paths.](https://github.com/phpro/grumphp/blob/master/doc/installation/exotic.md) ```diff grumphp: - bin_dir: "./vendor/bin" - git_dir: "." ``` #### Removed support for PHP-CS-Fixer v1. Since PHP-CS-Fixer is out for quite some time and because v3 is in the making, we drop support for version 1. If you still want to use version 1, you can use an older version of GrumPHP or provide a custom extension for your project. By default, the `phpcsfixer` will now load the task for the latest PHP-CS-fixer. We also provided a `phpcsfixer2` alias to make sure existing projects don't break. However, you can now rename the task inside your configuration: ```diff ### grumphp.yaml grumphp: tasks: - phpcsfixer2: + phpcsfixer: ``` We added a way of running the PHP-CS-Fixer v1 in parallel to improve execution speed. However, this code is not needed anymore inside the new version and might be confusing with the actual parallel implementation. Therefore, we removed following parameters: ```diff ### grumphp.yaml grumphp: - process_async_limit: 10 - process_async_wait: 1000 ``` #### Bump to Symfony 4.4 In this release, we bump the dependencies up to Symfony 4.4. This is because the parallel system requires the [Advanced console output](https://symfony.com/blog/new-in-symfony-4-1-advanced-console-output) improvements inside SF 4.1. Since that version is not supported by Symfony anymore, we decided to bump to the version 4 LTS. If your package still requires older dependencies, you can install the [grumphp-shim](https://github.com/phpro/grumphp-shim/) package which works dependency-less. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODUuOCIsInVwZGF0ZWRJblZlciI6IjM5LjE4NS44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/phpro-grumphp-0.x:renovate/phpro-grumphp-0.x
git switch renovate/phpro-grumphp-0.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/phpro-grumphp-0.x
git switch renovate/phpro-grumphp-0.x
git rebase main
git switch main
git merge --ff-only renovate/phpro-grumphp-0.x
git switch renovate/phpro-grumphp-0.x
git rebase main
git switch main
git merge --no-ff renovate/phpro-grumphp-0.x
git switch main
git merge --squash renovate/phpro-grumphp-0.x
git switch main
git merge --ff-only renovate/phpro-grumphp-0.x
git switch main
git merge renovate/phpro-grumphp-0.x
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: kumi/alltube-library#28
No description provided.