We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35aa3c6 commit c255beaCopy full SHA for c255bea
2 files changed
.github/workflows/pint.yml
@@ -0,0 +1,29 @@
1
+name: Pint
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
+jobs:
10
+ pint:
11
+ name: Pint
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Checkout code
16
+ uses: actions/checkout@v3
17
18
+ - name: Set up PHP
19
+ uses: shivammathur/setup-php@v2
20
+ with:
21
+ php-version: 8.4
22
+ tools: composer:v2
23
+ coverage: none
24
25
+ - name: Install Laravel Pint
26
+ run: composer global require laravel/pint
27
28
+ - name: Run Laravel Pint
29
+ run: ~/.composer/vendor/bin/pint --test
pint.json
@@ -0,0 +1,11 @@
+{
+ "preset": "laravel",
+ "rules": {
+ "concat_space": false,
+ "new_with_parentheses": {
+ "anonymous_class": false
+ },
+ "not_operator_with_successor_space": false,
+ "single_line_comment_spacing": false
+ }
+}
0 commit comments