diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 4af8e6b..ca2197d 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -13,7 +13,7 @@ jobs: - name: Dependabot metadata id: metadata - uses: dependabot/fetch-metadata@v1.5.1 + uses: dependabot/fetch-metadata@v1.6.0 with: github-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/fix-php-code-style-issues.yml b/.github/workflows/fix-php-code-style-issues.yml index c958238..ab1a6d2 100644 --- a/.github/workflows/fix-php-code-style-issues.yml +++ b/.github/workflows/fix-php-code-style-issues.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} @@ -22,6 +22,6 @@ jobs: uses: aglipanci/laravel-pint-action@2.3.1 - name: Commit changes - uses: stefanzweifel/git-auto-commit-action@v4 + uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: Fix styling diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 9d41c0c..ccfa9d9 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -11,7 +11,7 @@ jobs: name: phpstan runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 9b238ca..f17b9d0 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -25,7 +25,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml index 0f66ca8..68edce0 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: 2.x @@ -24,7 +24,7 @@ jobs: release-notes: ${{ github.event.release.body }} - name: Commit updated CHANGELOG - uses: stefanzweifel/git-auto-commit-action@v4 + uses: stefanzweifel/git-auto-commit-action@v5 with: branch: 2.x commit_message: Update CHANGELOG diff --git a/database/factories/SocialProjectFactory.php b/database/factories/SocialProjectFactory.php index 95facfd..7588eac 100644 --- a/database/factories/SocialProjectFactory.php +++ b/database/factories/SocialProjectFactory.php @@ -2,8 +2,8 @@ namespace AdminKit\SocialProjects\Database\Factories; -use Illuminate\Database\Eloquent\Factories\Factory; use AdminKit\SocialProjects\Models\SocialProject; +use Illuminate\Database\Eloquent\Factories\Factory; class SocialProjectFactory extends Factory { diff --git a/src/FilamentPlugin.php b/src/FilamentPlugin.php index bc2dcf4..cede9a2 100644 --- a/src/FilamentPlugin.php +++ b/src/FilamentPlugin.php @@ -2,9 +2,9 @@ namespace AdminKit\SocialProjects; +use AdminKit\SocialProjects\UI\Filament\Resources\SocialProjectResource; use Filament\Contracts\Plugin; use Filament\Panel; -use AdminKit\SocialProjects\UI\Filament\Resources\SocialProjectResource; class FilamentPlugin implements Plugin { diff --git a/src/Models/SocialProject.php b/src/Models/SocialProject.php index 5399ff0..0289564 100644 --- a/src/Models/SocialProject.php +++ b/src/Models/SocialProject.php @@ -5,9 +5,9 @@ use Spatie\MediaLibrary\HasMedia; use Spatie\MediaLibrary\InteractsWithMedia; use AdminKit\Core\Abstracts\Models\AbstractModel; +use AdminKit\SocialProjects\Database\Factories\SocialProjectFactory; use Illuminate\Database\Eloquent\Factories\HasFactory; use Spatie\Translatable\HasTranslations; -use AdminKit\SocialProjects\Database\Factories\SocialProjectFactory; class SocialProject extends AbstractModel implements HasMedia { diff --git a/src/SocialProjectsServiceProvider.php b/src/SocialProjectsServiceProvider.php index 09002bd..685f4a5 100644 --- a/src/SocialProjectsServiceProvider.php +++ b/src/SocialProjectsServiceProvider.php @@ -2,10 +2,10 @@ namespace AdminKit\SocialProjects; -use Spatie\LaravelPackageTools\Package; -use Spatie\LaravelPackageTools\PackageServiceProvider; use AdminKit\SocialProjects\Commands\SocialProjectsCommand; use AdminKit\SocialProjects\Providers\RouteServiceProvider; +use Spatie\LaravelPackageTools\Package; +use Spatie\LaravelPackageTools\PackageServiceProvider; class SocialProjectsServiceProvider extends PackageServiceProvider { diff --git a/src/UI/API/Routes/api.php b/src/UI/API/Routes/api.php index 18905de..a57af98 100644 --- a/src/UI/API/Routes/api.php +++ b/src/UI/API/Routes/api.php @@ -1,6 +1,6 @@