Skip to content

Commit

Permalink
Merge pull request #66 from hexadog/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
gaetan-hexadog authored Jun 14, 2023
2 parents a456e7d + 76b301f commit 25e7b5e
Show file tree
Hide file tree
Showing 37 changed files with 5,635 additions and 2,464 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/php-cs-fixer.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/php-linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: PHP Linting (Pint)

on:
workflow_dispatch:
push:

jobs:
phplint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: "laravel-pint"
uses: aglipanci/laravel-pint-action@0.1.0
with:
preset: laravel

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: PHP Linting (Pint)
skip_fetch: true
27 changes: 0 additions & 27 deletions .php-cs-fixer.dist.php

This file was deleted.

11 changes: 7 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@
"illuminate/view": "^7.0|^8.0|^9.0|^10.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.14",
"phpunit/phpunit": "^7.0|^8.0|^9.0|^10.0"
"phpunit/phpunit": "^7.0|^8.0|^9.0|^10.0",
"laravel/pint": "^1.10",
"nunomaduro/larastan": "^2.0",
"orchestra/testbench": "^8.3"
},
"autoload": {
"psr-4": {
Expand All @@ -38,7 +40,8 @@
},
"config": {
"allow-plugins": {
"hexadog/laravel-theme-installer": true
"hexadog/laravel-theme-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
Expand All @@ -58,4 +61,4 @@
"check-style": "vendor/bin/phpcs --extensions=php ./src",
"fix-style": "vendor/bin/php-cs-fixer fix"
}
}
}
Loading

0 comments on commit 25e7b5e

Please sign in to comment.