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.
1 parent 3ca05f6 commit af4c970Copy full SHA for af4c970
.github/workflows/code-style.yml
@@ -0,0 +1,25 @@
1
+name: Code style
2
+
3
+on: [push, pull_request]
4
5
+permissions:
6
+ contents: read
7
8
+jobs:
9
+ phpcs:
10
+ name: PHPCS
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v3
15
16
+ - name: Setup PHP
17
+ uses: shivammathur/setup-php@v2
18
+ with:
19
+ php-version: '8.1'
20
21
+ - name: Install dependencies
22
+ run: composer update --prefer-dist --no-progress --no-suggest
23
24
+ - name: Run script
25
+ run: vendor/bin/phpcs
0 commit comments