Skip to content

Commit a4f65d0

Browse files
committed
Create PHPLint config for build actions
1 parent 9a95408 commit a4f65d0

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/php.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v2
1212

13+
- uses: michaelw90/PHP-Lint@master
14+
1315
- name: Validate composer.json and composer.lock
1416
run: composer validate
1517

.phplint.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
path:
2+
- src
3+
- tests
4+
jobs: 10
5+
no-cache: true
6+
exclude:
7+
- fixtures
8+
extensions:
9+
- php
10+

0 commit comments

Comments
 (0)