Skip to content

Commit

Permalink
Fix code styling
Browse files Browse the repository at this point in the history
  • Loading branch information
MohmmedAshraf committed Feb 6, 2025
1 parent 45b68c5 commit 1a3cd2a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/fix-php-code-style-issues.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
name: Fix PHP code style issues

on:
pull_request:
push:
paths:
- '**.php'

permissions:
contents: write

jobs:
php-code-styling:
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: Checkout code
Expand All @@ -16,9 +20,9 @@ jobs:
ref: ${{ github.head_ref }}

- name: Fix PHP code style issues
uses: aglipanci/laravel-pint-action@2.0.0
uses: aglipanci/laravel-pint-action@2.5

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Fix styling
commit_message: Fix styling
2 changes: 1 addition & 1 deletion database/migrations/create_phrases_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function up(): void
{
Schema::create('ltu_phrases', function (Blueprint $table) {
$table->id();
$table->char('uuid', 36);;
$table->char('uuid', 36);
$table->foreignIdFor(Translation::class)->constrained('ltu_translations')->cascadeOnDelete();
$table->foreignIdFor(TranslationFile::class)->constrained('ltu_translation_files')->cascadeOnDelete();
$table->foreignIdFor(Phrase::class)->nullable()->constrained('ltu_phrases')->cascadeOnDelete();
Expand Down

0 comments on commit 1a3cd2a

Please sign in to comment.