Skip to content

Commit cf2e7fa

Browse files
committed
Added PHP Linting (Pint) to CI workflow
1 parent 3f632bb commit cf2e7fa

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@ name: CI
33
on: [push, pull_request]
44

55
jobs:
6+
phplint:
7+
runs-on: ubuntu-latest
8+
9+
name: PHP Linting (Pint)
10+
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: "laravel-pint"
16+
uses: aglipanci/laravel-pint-action@latest
17+
with:
18+
preset: laravel
19+
verboseMode: true
20+
testMode: true
21+
configPath: "pint.json"
22+
pintVersion: 1.18.2
23+
onlyDirty: true
24+
625
test:
726
runs-on: ubuntu-latest
827
strategy:
@@ -16,7 +35,7 @@ jobs:
1635
- laravel: 11.*
1736
testbench: 9.*
1837

19-
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
38+
name: PHP${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
2039

2140
steps:
2241
- name: Checkout

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ All notable changes to `laravel-notification-channels/twilio` will be documented
44

55
## 4.0.0
66

7+
- Added PHP Linting (Pint) to CI workflow
8+
- Additional tests to achieve 100% code coverage by @pascalbaljet
79
- Update PhpUnit to 10.5 and fixed all tests.
810
- Bump `twilio/sdk` to 8.3
911
- Improved types and use constructor property promotion everywhere.

0 commit comments

Comments
 (0)