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.
- Option to add/edit whitelist or ignore patterns to yamllint.
- Grumphp will run the git hook in DDev (if available)
- Added
ignore_patterns
support to allow project configurations to make use of this field through configuration overrides
- BitExpert PHP stan module for Magento 2 projects.
alert(
was removed from the git blacklist as it conflicts with PSR3, see #18
- 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.
- Resolved issue where the updated git blacklist configuration would provide a false positive result
on functions ending with
add()
orodd()
due to checks on dump and diedd()
statements.
- Git blacklist now checks for
exit()
usage.
- Testing suite no longer breaks during installation when composer project type is set to
pimcore-project
.
phpcs.xml
,phpmd.xml
andphpstan.neon
files are now automatically installed in a localpimcore-project
if they don't exist yet.
- 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
andphpmd.xml
rulesets.
grumphp.yml
file forpimcore
projects.- This file falls back on the default configuration and inherits all properties, except for the blacklist triggers.
- Git blacklist documentation.
- 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
- The default
phpcs.xml
file now references a relative ruleset instead of an absolute path.
- New pathing for
phpcs.xml
file. - Added updated code styling for project type
Magento2
. - Support for
phtml
in project typeMagento2
. The phtml files will only be checked based on Magento2 code standards.
- Project type
default
/magento
use correct index replacedexcludes_analyse
withexcludePaths
forphpstan.neon
file. - Project type
default
use correct tags forphpunit_dist.xml
. - Updated dependency to
youwe/composer-dependency-installer
- Phpcs will now also check files
phtml
. If not preferred behaviour overwrite parameterphpcs.triggered_by
ingrumphp.yml
and change back to[php]
. .eslintrc.json
which was updated coherent to Fisheye configurations.
- Github actions are now actually executed.
- Dependency
phpro/grumphp
now we preferphpro/grumphp-shim
which is aphar
package which is not dependent on dependencies of the project the testing suite is installed in.
- Extension Youwe\TestingSuite\Composer\GrumPHP\ParameterFixExtension since we now prefer
phpro/grumphp-shim
overphpro/grumphp
. This extension is used to resolve env variables in tasks and since we do not do that it's removed.
- PHP 8 compatibility.
- GitHub Actions Workflow to run testing-suite for PHP 7.4, 8.0 and 8.1.
- Minimum stability to test require packages in a project.
- 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.
- Versions of packages required are now not using
@stable
anymore. - Versions of packages can now be updated.
- Copyright.
- Declare strict type.
- Vendor name from Mediact to Youwe.
grumphp.yml
now usessecuritychecker_enlightn
instead ofsecuritychecker
which caused an error with new version of grumphp.
- bitbucket pipeline file. This will be added by a different module.
- Io class from configInstaller since it was never read.
- [AD-210] Run phpcs with the -s flag to output the explicit rule that is failing.