From 14ce6c1474935447a006b75cba58504c651336dd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 10 Mar 2024 13:11:45 +0000 Subject: [PATCH 1/2] Bump ramsey/composer-install from 2 to 3 Bumps [ramsey/composer-install](https://github.com/ramsey/composer-install) from 2 to 3. - [Release notes](https://github.com/ramsey/composer-install/releases) - [Commits](https://github.com/ramsey/composer-install/compare/v2...v3) --- updated-dependencies: - dependency-name: ramsey/composer-install dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/phpstan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index ccfa9d9..3855a08 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -20,7 +20,7 @@ jobs: coverage: none - name: Install composer dependencies - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 - name: Run PHPStan run: ./vendor/bin/phpstan --error-format=github From 5ca613018acee736bfb23bb639dfa1671037174b Mon Sep 17 00:00:00 2001 From: daurensky Date: Sun, 10 Mar 2024 13:21:53 +0000 Subject: [PATCH 2/2] Fix styling --- database/factories/CompanyFactory.php | 2 +- src/CompaniesServiceProvider.php | 4 ++-- src/FilamentPlugin.php | 2 +- src/Models/Company.php | 2 +- src/UI/API/Routes/api.php | 2 +- src/UI/Filament/Resources/CompanyResource.php | 4 ++-- .../Resources/CompanyResource/Pages/CreateCompany.php | 2 +- .../Filament/Resources/CompanyResource/Pages/EditCompany.php | 2 +- .../Filament/Resources/CompanyResource/Pages/ListCompany.php | 2 +- tests/TestCase.php | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/database/factories/CompanyFactory.php b/database/factories/CompanyFactory.php index 2bd4b01..7ab9ee0 100644 --- a/database/factories/CompanyFactory.php +++ b/database/factories/CompanyFactory.php @@ -2,8 +2,8 @@ namespace AdminKit\Companies\Database\Factories; -use Illuminate\Database\Eloquent\Factories\Factory; use AdminKit\Companies\Models\Company; +use Illuminate\Database\Eloquent\Factories\Factory; class CompanyFactory extends Factory { diff --git a/src/CompaniesServiceProvider.php b/src/CompaniesServiceProvider.php index 5f4f881..c3daea1 100644 --- a/src/CompaniesServiceProvider.php +++ b/src/CompaniesServiceProvider.php @@ -2,10 +2,10 @@ namespace AdminKit\Companies; -use Spatie\LaravelPackageTools\Package; -use Spatie\LaravelPackageTools\PackageServiceProvider; use AdminKit\Companies\Commands\CompaniesCommand; use AdminKit\Companies\Providers\RouteServiceProvider; +use Spatie\LaravelPackageTools\Package; +use Spatie\LaravelPackageTools\PackageServiceProvider; class CompaniesServiceProvider extends PackageServiceProvider { diff --git a/src/FilamentPlugin.php b/src/FilamentPlugin.php index d8692da..26bb68e 100644 --- a/src/FilamentPlugin.php +++ b/src/FilamentPlugin.php @@ -2,9 +2,9 @@ namespace AdminKit\Companies; +use AdminKit\Companies\UI\Filament\Resources\CompanyResource; use Filament\Contracts\Plugin; use Filament\Panel; -use AdminKit\Companies\UI\Filament\Resources\CompanyResource; class FilamentPlugin implements Plugin { diff --git a/src/Models/Company.php b/src/Models/Company.php index 3b3b82d..afc5a69 100644 --- a/src/Models/Company.php +++ b/src/Models/Company.php @@ -2,10 +2,10 @@ namespace AdminKit\Companies\Models; +use AdminKit\Companies\Database\Factories\CompanyFactory; use AdminKit\Core\Abstracts\Models\AbstractModel; use Illuminate\Database\Eloquent\Factories\HasFactory; use Spatie\Translatable\HasTranslations; -use AdminKit\Companies\Database\Factories\CompanyFactory; class Company extends AbstractModel { diff --git a/src/UI/API/Routes/api.php b/src/UI/API/Routes/api.php index 913165a..48c098e 100644 --- a/src/UI/API/Routes/api.php +++ b/src/UI/API/Routes/api.php @@ -1,7 +1,7 @@