Releases: phpro/grumphp
Version 1.3.0
Total issues resolved: 6
- 841: Implement refactored formatter options for Deptrac >= v0.9.0 thanks to @jerowork
- 850: Fix git hooks error if the path contains whitespace thanks to @matthijs-va
- 851: Fix git init command in parameters.md thanks to @tormi
- 852: Upgrade to amphp/parallel-functions 1.0 thanks to @stof
- 854: Fix Paratest 6.1.1 syntax thanks to @veewee
- 855: Catch ExecutableNotFoundException thanks to @prudloff-insite
Version 1.2.0
Total issues resolved: 6
- 832: Call to undefined function get_debug_type() thanks to @prudloff-insite
- 834: Fixed regex special characters not escaped in example code. thanks to @joachim-n
- 836: Make "git diff" behave more predictably #835 thanks to @sascha-egerer
- 844: Allow PHP8 thanks to @T2L
- 847: Fix phpunit concurrency issue thanks to @veewee
- 848: Upgrade paratest thanks to @veewee
Version 1.1.0
Total issues resolved: 12
- 818: Improve no-ansi reporting thanks to @veewee
- 820: Update suggest package for robo. thanks to @verbruggenalex
- 821: Change easycodingstandard package name in suggest thanks to @verbruggenalex
- 823: Remove obsolete sprintf from ExecutableNotFoundException callback thanks to @verbruggenalex
- 824: Consistently use yml instead of yaml extension in documentation thanks to @verbruggenalex
- 825: Use the maintained version of php-parallel-lint thanks to @villfa
- 826: Remove unknown options from phpcpd task documentation thanks to @verbruggenalex
- 827: Twig min version thanks to @verbruggenalex
- 828: Made Ecs task fixable thanks to @krzysztof-ciszewski
- 829: Allow merging tasks thanks to @prudloff-insite
- 830: fix(CommitMessage): merge branch and tag syntax was failing with GitFlow thanks to @williarin
- 831: Change phpstans default level thanks to @veewee
Version 1.0.0
This release contains exactly the same functionality as previous release, but with a backward compatibility promise!
Version 0.22.0
Total issues resolved: 2
Version 0.21.0
Total issues resolved: 13
- 652: [ECS task\ Run pre commit argument switch thanks to @jmatthiesen81
- 794: Improved fixable tasks thanks to @veewee
- 795: Create smart backups of existing git hooks thanks to @veewee
- 796: Improved file passing tools thanks to @veewee
- 797: Update PhpCpd names-exclude property thanks to @StApostol
- 800: Create a Website for this Repo thanks to @xdvrx1
- 801: Provide a stdin way of configuring files that need to be validated by GrumPHP thanks to @veewee
- 804: Add
match_word
option to git blacklist task thanks to @morloderex - 806: Fix properties for PhpCpd v6 thanks to @sci3ma
- 807: Phpstan: use_grumphp_paths option thanks to @veewee
- 808: minor git_commit_message improvements thanks to @veewee
- 809: ecs: rename whitelist_patterns to paths and add files_on_pre_commit thanks to @veewee
- 810: Nette Tester task thanks to @veewee
Breaking changes:
Inside the ECS task, we renamed the whitlist_patterns
option to paths
:
grumphp:
tasks:
ecs:
- whitelist_patterns: ['src']
+ paths: ['src']
Version 0.20.0
Total issues resolved: 8
- 766: [phpmd\ Allow setting output format to ansi thanks to @MarkVaughn
- 780: Fix command escaping thanks to @1ed
- 782: Make Travis green again on PHP 8! thanks to @IonBazan
- 784: Suggest command to fix composer_normalize errors thanks to @prudloff-insite
- 785: Environment section thanks to @veewee
- 788: Fix broken stdin thanks to @veewee
- 789: Standalone tools thanks to @veewee
- 790: Add a way to call the standalone composer-normalize command thanks to @prudloff-insite
BC breaks:
- Dropped support for PHP 72 (because of dependencies)
- Upgraded PHP unit testcases to latest version
Version 0.19.1
Total issues resolved: 5
- 772: Fix for serialization of empty file list thanks to @veewee
- 773: Fix invalid config generation thanks to @veewee
- 774: Add ESLint Task thanks to @MitchellMcKenna
- 775: Typo: Remove extra space in output text of FixerUpper thanks to @MitchellMcKenna
- 776: paratest: Add support for '--coverage-clover' and '--coverage-php' thanks to @LompiSystems
Version 0.19.0
Total issues resolved: 1
- 741: Improved task runner thanks to @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:
# 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.
Version 0.18.1
Total issues resolved: 9
- 686: twigcs exclude subfolders thanks to @oallain
- 727: Add a footnote on using finder config in intersection mode thanks to @Taluu
- 745: Fixed exception message in constructor thanks to @MarkVaughn
- 747: Fix for removed method in symfony/process:5.0 thanks to @veewee
- 749: [DX\ travis - php 7.4snapshot to 7.4 thanks to @oallain
- 753: Add support to Docksal thanks to @haithem-rihane
- 754: [Docs\[PHPlint\ Change parallel-lint package thanks to @Jibbarth
- 762: Update securitychecker.md thanks to @a-menshchikov
- 768: Composer v2 compatibility thanks to @JeppeKnockaert