Skip to content

Commit

Permalink
Enable cache config for PHP CS Fixer.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Apr 6, 2021
1 parent 706e3da commit bc07818
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion config/php71/grumphp.yml
Expand Up @@ -36,6 +36,7 @@ parameters:
tasks.phpcsfixer.config_contains_finder: true
tasks.phpcsfixer.triggered_by:
- php
tasks.phpcsfixer.using_cache: false

# Twigcs
tasks.twigcs.path: src
Expand All @@ -62,6 +63,7 @@ grumphp:
- composer
- composer_normalize
- yamllint
- jsonlint
- phplint
- twigcs
- phpcsfixer
Expand Down Expand Up @@ -110,7 +112,7 @@ grumphp:
triggered_by: '%tasks.phpcsfixer.triggered_by%'
verbose: true
allow_risky: true
using_cache: false
using_cache: '%tasks.phpcsfixer.using_cache%'

# PHP CS
phpcs:
Expand Down
4 changes: 3 additions & 1 deletion config/php73/grumphp.yml
Expand Up @@ -36,6 +36,7 @@ parameters:
tasks.phpcsfixer.config_contains_finder: true
tasks.phpcsfixer.triggered_by:
- php
tasks.phpcsfixer.using_cache: false

# Twigcs
tasks.twigcs.path: src
Expand All @@ -62,6 +63,7 @@ grumphp:
- composer
- composer_normalize
- yamllint
- jsonlint
- phplint
- twigcs
- phpcsfixer
Expand Down Expand Up @@ -110,7 +112,7 @@ grumphp:
triggered_by: '%tasks.phpcsfixer.triggered_by%'
verbose: true
allow_risky: true
using_cache: false
using_cache: '%tasks.phpcsfixer.using_cache%'

# PHP CS
phpcs:
Expand Down
4 changes: 3 additions & 1 deletion config/psr12/grumphp.yml
Expand Up @@ -36,6 +36,7 @@ parameters:
tasks.phpcsfixer.config_contains_finder: true
tasks.phpcsfixer.triggered_by:
- php
tasks.phpcsfixer.using_cache: false

# Twigcs
tasks.twigcs.path: src
Expand All @@ -62,6 +63,7 @@ grumphp:
- composer
- composer_normalize
- yamllint
- jsonlint
- phplint
- twigcs
- phpcsfixer
Expand Down Expand Up @@ -110,7 +112,7 @@ grumphp:
triggered_by: '%tasks.phpcsfixer.triggered_by%'
verbose: true
allow_risky: true
using_cache: false
using_cache: '%tasks.phpcsfixer.using_cache%'

# PHP CS
phpcs:
Expand Down

0 comments on commit bc07818

Please sign in to comment.