We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 85f3ea9 + 0e4c22f commit 2dad423Copy full SHA for 2dad423
.github/workflows/php.yml
@@ -0,0 +1,20 @@
1
+name: Test PHP
2
+
3
+on: [pull_request]
4
5
+jobs:
6
+ build:
7
+ name: Test
8
+ runs-on: ubuntu-latest
9
10
+ steps:
11
+ - uses: actions/checkout@v1
12
13
+ - name: Setup Composer Access
14
+ run: composer config -g github-oauth.github.com ${{ secrets.GH_ACCESS_TOKEN }}
15
16
+ - name: Install dependencies
17
+ run: composer install --prefer-dist --no-progress --no-suggest
18
19
+ - name: Validate code against PSR2
20
+ run: ./vendor/bin/phpcs ./ --extensions=php --standard=PSR2 --ignore=vendor/
0 commit comments