This commit is contained in:
parent
9e67ed202b
commit
5d3e8cfbed
3 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
name: lint
|
name: lint
|
||||||
run-name: lint is launched by ${{ github.actor }}
|
run-name: lint is launched by ${{ github.actor }}
|
||||||
on: [push]
|
on: [push]
|
||||||
|
@ -22,6 +23,5 @@ jobs:
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: vendor/bin/phplint --no-cache --no-progress --exclude=vendor --verbose
|
run: vendor/bin/phplint --no-cache --no-progress --exclude=vendor --verbose
|
||||||
- name: PHP CS Fixer
|
- name: PHP CS Fixer
|
||||||
run: vendor/bin/php-cs-fixer fix --dry-run --verbose --diff .
|
run: vendor/bin/php-cs-fixer check --using-cache=no --diff --verbose .
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
|
|
||||||
|
|
5
.php-cs-fixer.php
Normal file
5
.php-cs-fixer.php
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return (new PhpCsFixer\Config())
|
||||||
|
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
|
||||||
|
;
|
Loading…
Reference in a new issue