Skip to content

Latest commit

 

History

History
131 lines (104 loc) · 4.83 KB

CHANGELOG.md

File metadata and controls

131 lines (104 loc) · 4.83 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

2.19

Added

  • Option to add/edit whitelist or ignore patterns to yamllint.

2.18

Added

  • Grumphp will run the git hook in DDev (if available)

2.17.1

Added

  • Added ignore_patterns support to allow project configurations to make use of this field through configuration overrides

2.17.0

Added

  • BitExpert PHP stan module for Magento 2 projects.

2.16.2

Changed

  • alert( was removed from the git blacklist as it conflicts with PSR3, see #18

2.16.1

Changed

  • Git blacklist now matches on words instead of characters by default.
  • The git blacklist configuration for rejecting accidentally commited merge conflicts now properly reflects the full set of characters used by git.

Fixed

  • Resolved issue where the updated git blacklist configuration would provide a false positive result on functions ending with add() or odd() due to checks on dump and die dd() statements.

Added

  • Git blacklist now checks for exit() usage.

2.16.0

Fixed

  • Testing suite no longer breaks during installation when composer project type is set to pimcore-project.

Added

  • phpcs.xml, phpmd.xml and phpstan.neon files are now automatically installed in a local pimcore-project if they don't exist yet.

2.15.0

Added

  • Project type resolver can now look for pimcore projects.
    • Pimcore projects have their own git blacklist configuration.
    • In the future, the pimcore coding standard will have its own package for phpcs.xml and phpmd.xml rulesets.
  • grumphp.yml file for pimcore projects.
    • This file falls back on the default configuration and inherits all properties, except for the blacklist triggers.
  • Git blacklist documentation.

Changed

  • The magento2 grumphp.yml file is split off from the default configuration.
    • The grumphp.yml that's part of a project will automatically point to the new magento2-specific config file.
    • The new file falls back on the default configuration, and overrides the git blacklist keywords and triggers.
    • The magento specific constructs are also removed from the default grumphp.yml template.
  • The default phpcs.xml file now references a relative ruleset instead of an absolute path.

2.14.0

Added

  • New pathing for phpcs.xml file.
  • Added updated code styling for project type Magento2.
  • Support for phtml in project type Magento2. The phtml files will only be checked based on Magento2 code standards.

Changed

  • Project type default/magento use correct index replaced excludes_analyse with excludePaths for phpstan.neon file.
  • Project type default use correct tags for phpunit_dist.xml.
  • Updated dependency to youwe/composer-dependency-installer

Changed

  • Phpcs will now also check files phtml. If not preferred behaviour overwrite parameter phpcs.triggered_by in grumphp.yml and change back to [php].
  • .eslintrc.json which was updated coherent to Fisheye configurations.

2.13.1 - 2022-08-03

Fixed

  • Github actions are now actually executed.

2.13 - 2022-08-02

Changed

  • Dependency phpro/grumphp now we prefer phpro/grumphp-shim which is a phar package which is not dependent on dependencies of the project the testing suite is installed in.

Removed

  • Extension Youwe\TestingSuite\Composer\GrumPHP\ParameterFixExtension since we now prefer phpro/grumphp-shim over phpro/grumphp. This extension is used to resolve env variables in tasks and since we do not do that it's removed.

2.12 - 2022-05-30

Added

  • PHP 8 compatibility.
  • GitHub Actions Workflow to run testing-suite for PHP 7.4, 8.0 and 8.1.

2.11.1 - 2022-04-10

Changed

  • Minimum stability to test require packages in a project.

2.11.0 - 2022-04-10

Fixed

  • Old pathing to Mediact pathing in files phpcs.xml, phpmd.xml & grumphp.yml will now be replaced by Youwe pathing to prevent error of phpcs/phpmd/grumphp.

Changed

  • Versions of packages required are now not using @stable anymore.
  • Versions of packages can now be updated.

2.10.0 - 2021-03-10

Added

  • Copyright.
  • Declare strict type.

Changed

  • Vendor name from Mediact to Youwe.
  • grumphp.yml now uses securitychecker_enlightn instead of securitychecker which caused an error with new version of grumphp.

Removed

  • bitbucket pipeline file. This will be added by a different module.
  • Io class from configInstaller since it was never read.

[2.9.1]

Changed

  • [AD-210] Run phpcs with the -s flag to output the explicit rule that is failing.