Skip to content

Commit 25e7b5e

Browse files
Merge pull request #66 from hexadog/develop
Develop
2 parents a456e7d + 76b301f commit 25e7b5e

37 files changed

+5635
-2464
lines changed

.github/workflows/php-cs-fixer.yml

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

.github/workflows/php-linting.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: PHP Linting (Pint)
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
7+
jobs:
8+
phplint:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
with:
13+
fetch-depth: 2
14+
- name: "laravel-pint"
15+
uses: aglipanci/laravel-pint-action@0.1.0
16+
with:
17+
preset: laravel
18+
19+
- name: Commit changes
20+
uses: stefanzweifel/git-auto-commit-action@v4
21+
with:
22+
commit_message: PHP Linting (Pint)
23+
skip_fetch: true

.php-cs-fixer.dist.php

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

composer.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020
"illuminate/view": "^7.0|^8.0|^9.0|^10.0"
2121
},
2222
"require-dev": {
23-
"friendsofphp/php-cs-fixer": "^3.14",
24-
"phpunit/phpunit": "^7.0|^8.0|^9.0|^10.0"
23+
"phpunit/phpunit": "^7.0|^8.0|^9.0|^10.0",
24+
"laravel/pint": "^1.10",
25+
"nunomaduro/larastan": "^2.0",
26+
"orchestra/testbench": "^8.3"
2527
},
2628
"autoload": {
2729
"psr-4": {
@@ -38,7 +40,8 @@
3840
},
3941
"config": {
4042
"allow-plugins": {
41-
"hexadog/laravel-theme-installer": true
43+
"hexadog/laravel-theme-installer": true,
44+
"dealerdirect/phpcodesniffer-composer-installer": true
4245
}
4346
},
4447
"extra": {
@@ -58,4 +61,4 @@
5861
"check-style": "vendor/bin/phpcs --extensions=php ./src",
5962
"fix-style": "vendor/bin/php-cs-fixer fix"
6063
}
61-
}
64+
}

0 commit comments

Comments
 (0)