Skip to content
This repository was archived by the owner on Mar 12, 2024. It is now read-only.

Commit 1914192

Browse files
committed
replace phpcs with pint
1 parent 4096604 commit 1914192

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed
Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
1-
name: php-code-sniffer
2-
1+
name: "Laravel Pint"
32
on:
4-
push:
5-
branches:
6-
- main
73
pull_request:
8-
branches:
9-
- main
4+
types: [opened, synchronize, reopened, ready_for_review]
105

116
jobs:
12-
psalm:
13-
name: phpcs
7+
pint:
8+
name: "Running Laravel Pint check"
149
runs-on: ubuntu-latest
10+
if: github.event.pull_request.draft == false
1511
steps:
1612
- uses: actions/checkout@v2
1713

1814
- name: Setup PHP
1915
uses: shivammathur/setup-php@v2
2016
with:
2117
php-version: '8.1'
22-
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
18+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, intl, gd, exif, iconv
2319
coverage: none
2420

2521
- name: Cache composer dependencies
@@ -31,5 +27,5 @@ jobs:
3127
- name: Run composer install
3228
run: composer install -n --prefer-dist
3329

34-
- name: Run phpcs
35-
run: ./vendor/bin/phpcs
30+
- name: Run Laravel Pint
31+
run: ./vendor/bin/pint --test

0 commit comments

Comments
 (0)