Skip to content

Commit 9a75f4a

Browse files
committed
chore: updated the phpcs.yml file
1 parent 98ab45f commit 9a75f4a

File tree

4 files changed

+51
-60
lines changed

4 files changed

+51
-60
lines changed

.github/workflows/phpcs.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: PHP_CodeSniffer
2+
3+
on: pull_request
4+
5+
jobs:
6+
phpcs:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v2
11+
12+
- name: Setup PHP
13+
uses: shivammathur/setup-php@v2
14+
with:
15+
php-version: '8.0'
16+
coverage: none
17+
tools: composer
18+
19+
- name: Install dependencies
20+
run: composer install --prefer-dist --no-suggest --no-progress
21+
22+
- name: Detect coding standard violations
23+
run: vendor/bin/phpcs

.travis.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "brainstormforce/custom-typekit-fonts",
33
"description": "Custom Adobe Fonts allows you to extends the fonts supports from the Adobe Fonts.",
44
"require-dev": {
5-
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4",
5+
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
66
"wp-coding-standards/wpcs": "dev-master",
77
"phpcompatibility/phpcompatibility-wp": "*"
88
},

composer.lock

Lines changed: 27 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)