Skip to content

Commit

Permalink
use the organization workflow instead
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmichot committed Aug 31, 2023
1 parent df5e45b commit 0eb2e75
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Ignore all test and documentation with "export-ignore".
/.gitattributes export-ignore
/.gitignore export-ignore
/.styleci.yml export-ignore
/pint.json export-ignore
/phpunit.xml.dist export-ignore
/.scrutinizer.yml export-ignore
/tests export-ignore
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: Fix code styling

on: [ push ]

jobs:
lint:
uses: socialiteproviders/.github/.github/workflows/coding-standards.yml@main
1 change: 0 additions & 1 deletion .styleci.yml

This file was deleted.

20 changes: 20 additions & 0 deletions pint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"preset": "laravel",
"rules": {
"binary_operator_spaces": {
"operators": {
"=>": "align"
}
},
"is_null": true,
"no_superfluous_elseif": true,
"no_superfluous_phpdoc_tags": false,
"no_useless_else": true,
"yoda_style": {
"always_move_variable": true,
"equal": false,
"identical": false,
"less_and_greater": false
}
}
}

0 comments on commit 0eb2e75

Please sign in to comment.