Skip to content

Commit

Permalink
## 2.16.2 (#20)
Browse files Browse the repository at this point in the history
### Changed
- `alert(` was removed from the git blacklist as it conflicts with PSR3, see
  [#18](#18)
  • Loading branch information
rutgerrademaker committed Feb 20, 2023
1 parent abc42ee commit b2ae1dc
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 2.16.2
### Changed
- `alert(` was removed from the git blacklist as it conflicts with PSR3, see
[#18](https://github.com/YouweGit/testing-suite/issues/18)

## 2.16.1
### Changed
- Git blacklist now matches on words instead of characters by default.
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ predefined default configurations per project type.
- [Composer file validation](docs/components/composer.md)
- [JSON Lint](docs/components/jsonlint.md)
- [YamlLint](docs/components/yamllint.md)
- [Coding Standards (PHPCS)](docs/components/phpcs.md)
- [Mess Detector (PHPMD)](docs/components/phpmd.md)
- [Find bugs before they reach production (PHPStan)](docs/components/phpstan.md)
- [Execute Unit tests (PHPUnit)](docs/components/phpunit.md)
- [PHPCS (Coding Standards)](docs/components/phpcs.md)
- [PHPMD (Mess Detector)](docs/components/phpmd.md)
- [PHPStan (Find bugs before they reach production)](docs/components/phpstan.md)
- [PHPUnit (Execute Unit tests)](docs/components/phpunit.md)
- [PHP Lint](docs/components/phplint.md)
- [Find and fix problems in your JavaScript code (ESLint)](docs/components/eslint.md)
- [ESLint (Find and fix problems in your JavaScript code)](docs/components/eslint.md)
- [Enlighten Security Checker](docs/components/security-checker.md)

## Installation
Expand Down
1 change: 0 additions & 1 deletion config/default/grumphp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ parameters:
- "dd("
- "var_dump("
- "console.log("
- "alert("
- "print_r("
- "phpinfo("
- "exit("
Expand Down
3 changes: 1 addition & 2 deletions config/magento2/grumphp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ parameters:
- "dd("
- "var_dump("
- "console.log("
- "alert("
- "print_r("
- "phpinfo("
- "exit;"
Expand All @@ -17,4 +16,4 @@ parameters:
- "====="
- "<?php echo"
- "Magento\\\\Framework\\\\App\\\\ObjectManager"
git_blacklist.triggered_by: [ 'php', 'js', 'phtml' ]
git_blacklist.triggered_by: [ 'php', 'js', 'phtml' ]
2 changes: 2 additions & 0 deletions docs/components/git-blacklist.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Git commit keyword validation

Official documentation for [Git Blacklist](https://github.com/phpro/grumphp/blob/master/doc/tasks/git_blacklist.md)

## Purpose
Every commit, blacklisted phrases are scanned within scanned files containing a specified file extension.\
The purpose of these checks is to prevent committing production-breaking or sensative system information.
Expand Down

0 comments on commit b2ae1dc

Please sign in to comment.