Changelog History
Page 1
-
v1.2.0 Changes
November 27, 2020Total 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
-
v1.1.0 Changes
October 30, 2020Total 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
- 0๏ธโฃ 831: Change phpstans default level thanks to @veewee
-
v1.0.0 Changes
September 25, 2020๐ This release contains exactly the same functionality as previous release, but with a backward compatibility promise!
-
v0.22.0 Changes
September 03, 2020Total issues resolved: 2
- [812: Task\ add Pest thanks to @oallain
- 814: Add a fail-safe fallback for fetching git config values thanks to @veewee
-
v0.21.0 Changes
August 27, 2020Total 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 topaths
:grumphp: tasks: ecs:- whitelist\_patterns: ['src']+ paths: ['src']
-
v0.20.0 Changes
August 04, 2020Total 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
-
v0.19.1 Changes
June 24, 2020Total 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
-
v0.19.0 Changes
June 05, 2020Total 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 anysymfony/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 puttasks
and other grumphp related configuraiton undergrumphp
!note : The parameters
bin_dir
andgit_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 aphpcsfixer2
alias to make sure existing projects don't break.
๐ง However, you can now rename the task inside your configuration:# grumphp.yamlgrumphp: 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.yamlgrumphp:- 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.
-
v0.18.1 Changes
May 27, 2020Total 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
-
v0.18.0 Changes
February 25, 2020Total issues resolved: 9
- ๐ง 501: FR: remove need for dedicated class when running same task twice with different configuration thanks to @keradus
- 579: FR: Ability to give shell task a label thanks to @Jamesking56
- ๐ง [682: WIP\ Rework task system thanks to @veewee
- 711: Improved tasks system thanks to @veewee
- ๐ 731: Remove tasks from readme thanks to @Landerstraeten
- โ 732: Rewrite ant tests thanks to @Landerstraeten
- ๐ 737: Fixed label output thanks to @benndt
- ๐ 739: Added support for phar executables thanks to @BrentRobert
- ๐ 740: Removed unused parameters for grumphp.yml.dist thanks to @BrentRobert
โฌ๏ธ Upgrading custom tasks
Extended external task class
- Make
getConfigurableOptions()
static ๐ง 2. Change service configuration + tag (config -> task)
Extended an external task from TaskInterface
- Make
getConfigurableOptions()
static - Register an
EmptyTaskConfig
during construction - Replace
getConfiguration()
method by thegetConfig()
method - Add immutable
withConfig()
method. ๐ง 5. Change service configuration + tag (config -> task)
Duplicate task with different config
๐ 1. Remove task copy ๐ง 2. Remove service configuration of task copy ๐ง 3. Configure task copy as an alias : https://github.com/phpro/grumphp/blob/master/doc/tasks.md#run-the-same-task-twice-with-different-configuration