pluswerk/grumphp-config

GrumPHP config for php projects(mainly TYPO3)

Installs: 34 132

Dependents: 9

Suggesters: 0

Security: 0

Stars: 1

Watchers: 6

Forks: 2

Open Issues: 2

Type:composer-plugin

4.0.1 2020-09-29 08:13 UTC

README

Packagist Packagist Code Climate

Install

composer require pluswerk/grumphp-config --dev

pluswerk/grumphp-config will add the required extra.grumphp.config-default-path automatically to your composer.json.

If pluswerk/grumphp-config should not edit your composer.json then you must add this:

{
  "extra": {
    "pluswerk/grumphp-config": {
      "auto-setting": false
    }
  }
}

You want to override settings?:

Make a new grumphp.yml config file. You can put it in the root folder.

imports:
  - { resource: vendor/pluswerk/grumphp-config/grumphp.yml }


parameters:
  convention.xmllint_ignore_pattern:
    - "typo3conf/ext/extension/Resources/Private/Templates/List.xml"

There you can override some convention:

Key Default
convention.process_timeout 60
convention.security_checker_blocking true
convention.jsonlint_ignore_pattern []
convention.xmllint_ignore_pattern []
convention.yamllint_ignore_pattern []
convention.phpcslint_ignore_pattern []
convention.xlifflint_ignore_pattern ["#typo3conf/l10n/(.*)#"]