From 77739875c8c4eb6b1598eeddb987d78fd52e22f6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Aug 2022 12:20:56 +0000 Subject: [PATCH 01/40] Bump aglipanci/laravel-pint-action from 0.1.0 to 1.0.0 Bumps [aglipanci/laravel-pint-action](https://github.com/aglipanci/laravel-pint-action) from 0.1.0 to 1.0.0. - [Release notes](https://github.com/aglipanci/laravel-pint-action/releases) - [Commits](https://github.com/aglipanci/laravel-pint-action/compare/0.1.0...1.0.0) --- updated-dependencies: - dependency-name: aglipanci/laravel-pint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/fix-php-code-style-issues.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fix-php-code-style-issues.yml b/.github/workflows/fix-php-code-style-issues.yml index 9a784a1..970633c 100644 --- a/.github/workflows/fix-php-code-style-issues.yml +++ b/.github/workflows/fix-php-code-style-issues.yml @@ -13,7 +13,7 @@ jobs: ref: ${{ github.head_ref }} - name: Fix PHP code style issues - uses: aglipanci/laravel-pint-action@0.1.0 + uses: aglipanci/laravel-pint-action@1.0.0 - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v4 From 7db510ae00bb44d3b16ecd805150b0e0bbb34eed Mon Sep 17 00:00:00 2001 From: ousid Date: Sun, 18 Sep 2022 20:16:11 +0100 Subject: [PATCH 02/40] update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e3461a8..89a2892 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,10 @@

-[![Latest Version on Packagist](https://img.shields.io/packagist/v/coderflexx/laravel-csv.svg?style=flat-square)](https://packagist.org/packages/coderflexx/laravel-csv) +[![Latest Version on Packagist](https://img.shields.io/packagist/v/coderflexx/laravel-csv.svg?style=flat-square)](https://packagist.org/packages/coderflex/laravel-csv) [![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/coderflexx/laravel-csv/run-tests?label=tests)](https://github.com/coderflexx/laravel-csv/actions?query=workflow%3Arun-tests+branch%3Amain) [![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/coderflexx/laravel-csv/Fix%20PHP%20code%20style%20issues?label=code%20style)](https://github.com/coderflexx/laravel-csv/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain) -[![Total Downloads](https://img.shields.io/packagist/dt/coderflexx/laravel-csv.svg?style=flat-square)](https://packagist.org/packages/coderflexx/laravel-csv) +[![Total Downloads](https://img.shields.io/packagist/dt/coderflexx/laravel-csv.svg?style=flat-square)](https://packagist.org/packages/coderflex/laravel-csv) - [Introduction](#introduction) @@ -66,7 +66,7 @@ return [ | This package came with multiple layouts to serve your need, and | currently it supports "tailwindcss" and "bootstrap", by default | the layout is tailwind. - | currently support: "tailwindcss", "bootstrap" + | currently support: "tailwindcss" | */ 'layout' => 'tailwindcss', @@ -124,13 +124,13 @@ Using this package, is really simple, all what you need to do is implementing th | columns-label |`array` | Accept Column Label of the required columns for the message | ### Button Component -The Component using `alpinejs` under the hood, If you want to use add the import button, you may use `x-csv-button` component. +The Component using `alpinejs` under the hood, If you want to use the import button, you may use `x-csv-button` component. ```blade Import ``` -If you want to style it, you can use the `class` attribute, or any attribute you want really +If you want to style it, you may use the `class` attribute, or any attribute you want. ```blade ``` ### In TALL stack project -If you are using this package in a [TALL Stack]() project, (Tailwindcss, Alpinejs, Laravel, Livewire) All what you need to do is publish the vendor views +If you are using this package in a [TALL Stack](https://tallstack.dev/) project, (Tailwindcss, Alpinejs, Laravel, Livewire) All what you need to do is publish the vendor views ```bash php artisan vendor:publish --tag="csv-views" From 6aac2a4d4087c2ffffb38b5839933fdd4389db2a Mon Sep 17 00:00:00 2001 From: ousid Date: Sun, 18 Sep 2022 20:16:31 +0100 Subject: [PATCH 03/40] update laravel_csv.php config --- config/laravel_csv.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/laravel_csv.php b/config/laravel_csv.php index 54aebbb..94154d2 100644 --- a/config/laravel_csv.php +++ b/config/laravel_csv.php @@ -10,7 +10,7 @@ | This package came with multiple layouts to serve your need, and | currently it supports "tailwindcss" and "bootstrap", by default | the layout is tailwind. - | currently support: "tailwindcss", "bootstrap" + | currently support: "tailwindcss" | */ 'layout' => 'tailwindcss', From fa9760eb0649dd0dba41b230140a9180cbcf85a8 Mon Sep 17 00:00:00 2001 From: ousid Date: Sun, 18 Sep 2022 21:26:46 +0100 Subject: [PATCH 04/40] update: static analyses checks --- phpstan.neon.dist | 6 +++++- src/Http/Livewire/HandleImports.php | 9 ++++++--- src/Jobs/ImportCsv.php | 2 +- src/LaravelCsvDirectives.php | 23 ++++++++++++++++++++--- src/LaravelCsvServiceProvider.php | 3 +++ src/Utilities/ChunkIterator.php | 5 ++++- src/helpers.php | 2 +- 7 files changed, 40 insertions(+), 10 deletions(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index a91953b..fb14673 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -2,7 +2,7 @@ includes: - phpstan-baseline.neon parameters: - level: 4 + level: 6 paths: - src - config @@ -11,4 +11,8 @@ parameters: checkOctaneCompatibility: true checkModelProperties: true checkMissingIterableValueType: false + checkGenericClassInNonGenericObjectType: false + ignoreErrors: + - '#Internal error: Internal error: Target class \[laravel-csv\] does not exist.#' + - '#Internal error: Internal error: Target class \[livewire\] does not exist.#' diff --git a/src/Http/Livewire/HandleImports.php b/src/Http/Livewire/HandleImports.php index c912f05..e777696 100644 --- a/src/Http/Livewire/HandleImports.php +++ b/src/Http/Livewire/HandleImports.php @@ -4,6 +4,9 @@ use function Coderflex\LaravelCsv\csv_view_path; use Coderflex\LaravelCsv\Models\Import; +use Illuminate\Database\Eloquent\Collection; +use Illuminate\Contracts\View\View; +use Illuminate\Contracts\View\Factory; use Livewire\Component; class HandleImports extends Component @@ -16,12 +19,12 @@ class HandleImports extends Component 'imports.refresh' => '$refresh', ]; - public function mount(string $model) + public function mount(string $model): void { $this->model = $model; } - public function getImportsProperty() + public function getImportsProperty(): Collection { /** @var \Illuminate\Foundation\Auth\User */ $user = auth()->user(); @@ -34,7 +37,7 @@ public function getImportsProperty() ->get(); } - public function render() + public function render(): View|Factory { return view( csv_view_path('handle-imports') diff --git a/src/Jobs/ImportCsv.php b/src/Jobs/ImportCsv.php index dc8dada..d89e046 100644 --- a/src/Jobs/ImportCsv.php +++ b/src/Jobs/ImportCsv.php @@ -38,7 +38,7 @@ public function handle() $affectedRows = $this->model::upsert( $this->chunk, ['id'], - collect($this->columns)->diff('id')->keys()->toArray(), + collect($this->columns)->diff(['id'])->keys()->toArray(), ); $this->import->increment('processed_rows', $affectedRows); diff --git a/src/LaravelCsvDirectives.php b/src/LaravelCsvDirectives.php index 61309ec..cb24a0e 100644 --- a/src/LaravelCsvDirectives.php +++ b/src/LaravelCsvDirectives.php @@ -4,21 +4,38 @@ class LaravelCsvDirectives { - public static function csvStyles() + /** + * Get CSV Styles + * + * @return string + */ + public static function csvStyles():string|null { if (config('laravel_csv.layout') == 'tailwindcss') { return self::getTailwindStyle(); } + + return self::getTailwindStyle(); } - public static function csvScripts() + /** + * Get CSV Scripts + * + * @return string + */ + public static function csvScripts(): string { return <<<'HTML' HTML; } - protected static function getTailwindStyle() + /** + * Get Tailwind Style Path + * + * @return string + */ + protected static function getTailwindStyle(): string { return <<<'HTML' diff --git a/src/LaravelCsvServiceProvider.php b/src/LaravelCsvServiceProvider.php index 31fcd8c..eaec972 100644 --- a/src/LaravelCsvServiceProvider.php +++ b/src/LaravelCsvServiceProvider.php @@ -60,7 +60,10 @@ protected function configureComponents(): void */ protected function registerLivewireComponents(): void { + /** @phpstan-ignore-next-line */ Livewire::component('csv-importer', CsvImporter::class); + + /** @phpstan-ignore-next-line */ Livewire::component('handle-imports', HandleImports::class); } diff --git a/src/Utilities/ChunkIterator.php b/src/Utilities/ChunkIterator.php index 5ed7233..4fc8f22 100644 --- a/src/Utilities/ChunkIterator.php +++ b/src/Utilities/ChunkIterator.php @@ -2,6 +2,7 @@ namespace Coderflex\LaravelCsv\Utilities; +use Generator; use Iterator; /** @@ -35,8 +36,10 @@ public function __construct(Iterator $iterator, int $chunkSize) /** * Chunk the given data + * + * @return Generator */ - public function get() + public function get(): Generator { $chunk = []; diff --git a/src/helpers.php b/src/helpers.php index 78e4e9e..8cdb1d9 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -9,7 +9,7 @@ * @param string|null $view * @return string */ - function csv_view_path($view): string + function csv_view_path(string|null $view): string { return 'laravel-csv::livewire.'.config('laravel_csv.layout').'.'.$view; } From eb2d41ce54c196478dbb093ad73cca4714c603dc Mon Sep 17 00:00:00 2001 From: ousid Date: Sun, 18 Sep 2022 20:27:28 +0000 Subject: [PATCH 05/40] Fix styling --- src/Http/Livewire/HandleImports.php | 4 ++-- src/LaravelCsvDirectives.php | 8 ++++---- src/Utilities/ChunkIterator.php | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Http/Livewire/HandleImports.php b/src/Http/Livewire/HandleImports.php index e777696..7715978 100644 --- a/src/Http/Livewire/HandleImports.php +++ b/src/Http/Livewire/HandleImports.php @@ -4,9 +4,9 @@ use function Coderflex\LaravelCsv\csv_view_path; use Coderflex\LaravelCsv\Models\Import; -use Illuminate\Database\Eloquent\Collection; -use Illuminate\Contracts\View\View; use Illuminate\Contracts\View\Factory; +use Illuminate\Contracts\View\View; +use Illuminate\Database\Eloquent\Collection; use Livewire\Component; class HandleImports extends Component diff --git a/src/LaravelCsvDirectives.php b/src/LaravelCsvDirectives.php index cb24a0e..f1d9463 100644 --- a/src/LaravelCsvDirectives.php +++ b/src/LaravelCsvDirectives.php @@ -6,10 +6,10 @@ class LaravelCsvDirectives { /** * Get CSV Styles - * + * * @return string */ - public static function csvStyles():string|null + public static function csvStyles(): string|null { if (config('laravel_csv.layout') == 'tailwindcss') { return self::getTailwindStyle(); @@ -20,7 +20,7 @@ public static function csvStyles():string|null /** * Get CSV Scripts - * + * * @return string */ public static function csvScripts(): string @@ -32,7 +32,7 @@ public static function csvScripts(): string /** * Get Tailwind Style Path - * + * * @return string */ protected static function getTailwindStyle(): string diff --git a/src/Utilities/ChunkIterator.php b/src/Utilities/ChunkIterator.php index 4fc8f22..1a6012c 100644 --- a/src/Utilities/ChunkIterator.php +++ b/src/Utilities/ChunkIterator.php @@ -36,7 +36,7 @@ public function __construct(Iterator $iterator, int $chunkSize) /** * Chunk the given data - * + * * @return Generator */ public function get(): Generator From c6fc7558bec6b23c2d39a5e0a3fb8d25577859fc Mon Sep 17 00:00:00 2001 From: johnwesely Date: Tue, 27 Sep 2022 07:38:01 -0600 Subject: [PATCH 06/40] Update README.md --- README.md | 58 ++++++++++++++++++++++++++----------------------------- 1 file changed, 27 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index 89a2892..44588ce 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ - [License](#license) ## Introduction -__Laravel CSV__ Package is a package created on top of Laravel [livewire](https://laravel-livewire.com) package, and it handles importing thousands of records without any issues. +__Laravel CSV__ Package is a package created on top of Laravel [livewire](https://laravel-livewire.com) for easily handling imports with a simple API. ## Installation @@ -39,20 +39,20 @@ composer require coderflex/laravel-csv ## Configuration -You can publish and run the migrations with: +Publish and run the migrations with: ```bash php artisan vendor:publish --tag="csv-migrations" php artisan migrate ``` -You can publish the config file with: +Publish the config file with: ```bash php artisan vendor:publish --tag="csv-config" ``` -This is the contents of the published config file: +The following is the contents of the published config file: ```php @@ -63,10 +63,8 @@ return [ | Default Layout |-------------------------------------------------------------------------- | - | This package came with multiple layouts to serve your need, and - | currently it supports "tailwindcss" and "bootstrap", by default - | the layout is tailwind. - | currently support: "tailwindcss" + | This package plans on supporting multiple CSS frameworks. + | Currently, 'tailwindcss' is the default and only supported framework. | */ 'layout' => 'tailwindcss', @@ -76,20 +74,18 @@ return [ | Max Upload File Size |-------------------------------------------------------------------------- | - | This package came with file validation for uploaded files, - | and by default the file should not be greater than 20MB. If - | you wish to increase/decrease this value, you may change the - | value below. - | Note that the value is defined by "KB". + | The default maximumum file size that can be imported by this + | package is 20MB. If you wish to increase/decrease this value, + | change the value in KB below. | */ 'file_upload_size' => 20000, ]; ``` -The `layout` option is for choosing which CSS Framework you are using, currently supports only `tailwindcss`, and we're working on other CSS frameworks to implement in the future. +The `layout` option is for choosing which CSS framework you are using and currently supports only `tailwindcss`. We are working on other CSS frameworks to implement in the future. -The `file_upload_size` is for validation rules, and it helps define the file size of the uploaded files, or. You can define this one from [livewire config](https://github.com/livewire/livewire/blob/master/config/livewire.php#L100) file. +The `file_upload_size` is for validation rules, and it defines the maximum file size of uploaded files. You may also define this value from the [livewire config](https://github.com/livewire/livewire/blob/master/config/livewire.php#L100) file. Optionally, you can publish the views using @@ -102,7 +98,7 @@ php artisan vendor:publish --tag="csv-views" ## Usage ### CSV Importer Component -Using this package, is really simple, all what you need to do is implementing the component inside your desired file. +Using this package is a breeze. To implmenent the importer in your project, simply include the following component inside a Blade view. ```blade Import ``` -If you want to style it, you may use the `class` attribute, or any attribute you want. +To style the button, use the `class` attribute with Tailwind utility classes. ```blade ``` ### In TALL stack project -If you are using this package in a [TALL Stack](https://tallstack.dev/) project, (Tailwindcss, Alpinejs, Laravel, Livewire) All what you need to do is publish the vendor views +If you are using this package in a [TALL Stack](https://tallstack.dev/) project, (Tailwindcss, Alpinejs, Laravel, Livewire) publish the vendor views to include Laravel-CSV in your project. ```bash php artisan vendor:publish --tag="csv-views" ``` -Then compile your assets, to add the additional classes, came with the component. +Then compile your assets. ```bash npm run dev ``` ### In none TALL Stack project -If you are not using the TALL Stack by default, you may use the `csv directives` to add the necessary styles/scripts +If you are not using the TALL Stack, use the `csv directives` to add the necessary styles/scripts. ```blade @@ -170,19 +166,19 @@ If you are not using the TALL Stack by default, you may use the `csv directives` ``` ### Using Queues -This package is using [queues](https://laravel.com/docs/9.x/queues#main-content), under the hood with [PHP Generators](https://www.php.net/manual/en/language.generators.overview.php), to make it works fast and efficient. +This package uses [queues](https://laravel.com/docs/9.x/queues#main-content) under the hood with [PHP Generators](https://www.php.net/manual/en/language.generators.overview.php) to make it fast and efficient. -You need first to create the `batches table` +Create the `batches table` by running ```bash php artisan queue:batches-table ``` -Then run the migration +Then, run the migration. ``` php artisan migrate ``` -After that, you need to set up the queues' configuration. -You may head into [Laravel Queues Documentation](https://laravel.com/docs/9.x/queues#main-content) to learn more. +After that, set up the queues' configuration. +Head to [Laravel Queues Documentation](https://laravel.com/docs/9.x/queues#main-content) to learn more. ## Testing @@ -204,7 +200,7 @@ Please see [CONTRIBUTING](https://github.com/ousid/.github/blob/main/CONTRIBUTIN Please review [our security policy](../../security/policy) on how to report security vulnerabilities. ## Inspiration -This Package Was Inspired by [codecourse](https://codecourse.com) video series, and if you want to learn how this package was created, make sure to take a look at this [video series](https://codecourse.com/subjects/laravel-livewire) +This Package Was Inspired by [codecourse](https://codecourse.com) video series. If you want to learn how this package was created, make sure to take a look at this [video series](https://codecourse.com/subjects/laravel-livewire) ## Credits From 209cc877c303f31f16e088f12338acc2a61f639c Mon Sep 17 00:00:00 2001 From: johnwesely Date: Tue, 27 Sep 2022 07:38:57 -0600 Subject: [PATCH 07/40] Update laravel_csv.php --- config/laravel_csv.php | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/config/laravel_csv.php b/config/laravel_csv.php index 94154d2..4576ecd 100644 --- a/config/laravel_csv.php +++ b/config/laravel_csv.php @@ -1,5 +1,3 @@ - 'tailwindcss', @@ -20,11 +16,9 @@ | Max Upload File Size |-------------------------------------------------------------------------- | - | This package came with file validation for uploaded files, - | and by default the file should not be greater than 20MB. If - | you wish to increase/decrease this value, you may change the - | value below. - | Note that the value is defined by "KB". + | The default maximumum file size that can be imported by this + | package is 20MB. If you wish to increase/decrease this value, + | change the value in KB below. | */ 'file_upload_size' => 20000, From 77c7668010c53cf8aa16e297c8cbec9ed9e76b21 Mon Sep 17 00:00:00 2001 From: askdkc Date: Wed, 28 Sep 2022 09:20:47 +0900 Subject: [PATCH 08/40] Fixed broken link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 89a2892..7bd73a4 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ Optionally, you can publish the views using php artisan vendor:publish --tag="csv-views" ``` -> Before Using this command, please take a look at this [section](in-tall-stack-project) below. +> Before Using this command, please take a look at this [section](#in-tall-stack-project) below. ## Usage From ca11ad0596de0e0d6c4e3a5c3ac16d90ad823a9e Mon Sep 17 00:00:00 2001 From: ousid Date: Wed, 28 Sep 2022 10:54:05 +0000 Subject: [PATCH 09/40] Update CHANGELOG --- CHANGELOG.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9450de1..8aacd06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ # Changelog All notable changes to `laravel-csv` will be documented in this file. + +## v1.0.1 - 2022-09-28 + +### What's Changed + +- Copy changes for README by @johnwesely in https://github.com/coderflexx/laravel-csv/pull/2 +- Fixed broken link by @askdkc in https://github.com/coderflexx/laravel-csv/pull/3 + +### New Contributors + +- @johnwesely made their first contribution in https://github.com/coderflexx/laravel-csv/pull/2 +- @askdkc made their first contribution in https://github.com/coderflexx/laravel-csv/pull/3 + +**Full Changelog**: https://github.com/coderflexx/laravel-csv/compare/v1.0.0...v1.0.1 From 07711f6a03261c8b9cd0e353f9b02538df714f02 Mon Sep 17 00:00:00 2001 From: askdkc Date: Thu, 29 Sep 2022 08:42:09 +0900 Subject: [PATCH 10/40] Bug Fix: package installation failure When installing this package to newly created laravel app with "composer require coderflex/laravel-csv" throws an Illuminate\Foundation\ComposerScripts::postAutoloadDump error. I guess removing Date: Thu, 29 Sep 2022 22:28:03 +0000 Subject: [PATCH 11/40] Fix styling --- config/laravel_csv.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/laravel_csv.php b/config/laravel_csv.php index 9f54b56..ba0eaa8 100644 --- a/config/laravel_csv.php +++ b/config/laravel_csv.php @@ -7,7 +7,7 @@ | Default Layout |-------------------------------------------------------------------------- | - | This package plans on supporting multiple CSS frameworks. + | This package plans on supporting multiple CSS frameworks. | Currently, 'tailwindcss' is the default and only supported framework. | */ @@ -19,7 +19,7 @@ |-------------------------------------------------------------------------- | | The default maximumum file size that can be imported by this - | package is 20MB. If you wish to increase/decrease this value, + | package is 20MB. If you wish to increase/decrease this value, | change the value in KB below. | */ From 64f3aa1a647e8f100c5fc2cda7bb0b669a09eeee Mon Sep 17 00:00:00 2001 From: ousid Date: Thu, 29 Sep 2022 23:32:26 +0100 Subject: [PATCH 12/40] update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a121c18..74eb179 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,10 @@

-[![Latest Version on Packagist](https://img.shields.io/packagist/v/coderflexx/laravel-csv.svg?style=flat-square)](https://packagist.org/packages/coderflex/laravel-csv) +[![Latest Version on Packagist](https://img.shields.io/packagist/v/coderflex/laravel-csv.svg?style=flat-square)](https://packagist.org/packages/coderflex/laravel-csv) [![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/coderflexx/laravel-csv/run-tests?label=tests)](https://github.com/coderflexx/laravel-csv/actions?query=workflow%3Arun-tests+branch%3Amain) [![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/coderflexx/laravel-csv/Fix%20PHP%20code%20style%20issues?label=code%20style)](https://github.com/coderflexx/laravel-csv/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain) -[![Total Downloads](https://img.shields.io/packagist/dt/coderflexx/laravel-csv.svg?style=flat-square)](https://packagist.org/packages/coderflex/laravel-csv) +[![Total Downloads](https://img.shields.io/packagist/dt/coderflex/laravel-csv.svg?style=flat-square)](https://packagist.org/packages/coderflex/laravel-csv) - [Introduction](#introduction) From ac6ef869e2a4c2c977831662163c29aafc77418f Mon Sep 17 00:00:00 2001 From: ousid Date: Thu, 29 Sep 2022 22:36:23 +0000 Subject: [PATCH 13/40] Update CHANGELOG --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8aacd06..a01201c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to `laravel-csv` will be documented in this file. +## v1.0.2 - 2022-09-29 + +### What's Changed + +- Bug Fix: package installation failure by @askdkc in https://github.com/coderflexx/laravel-csv/pull/5 + +**Full Changelog**: https://github.com/coderflexx/laravel-csv/compare/v1.0.1...v1.0.2 + ## v1.0.1 - 2022-09-28 ### What's Changed From 0f0a290348cbb3be2b0dff1176b74b4944c6fbe4 Mon Sep 17 00:00:00 2001 From: askdkc Date: Sat, 1 Oct 2022 12:36:03 +0900 Subject: [PATCH 14/40] Update README.md fixed typo. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 74eb179..6d71a97 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ php artisan vendor:publish --tag="csv-views" ## Usage ### CSV Importer Component -Using this package is a breeze. To implmenent the importer in your project, simply include the following component inside a Blade view. +Using this package is a breeze. To implement the importer in your project, simply include the following component inside a Blade view. ```blade Date: Mon, 3 Oct 2022 12:30:04 +0000 Subject: [PATCH 15/40] Bump dependabot/fetch-metadata from 1.3.3 to 1.3.4 Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.3.3 to 1.3.4. - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](https://github.com/dependabot/fetch-metadata/compare/v1.3.3...v1.3.4) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/dependabot-auto-merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 14da349..41099d3 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.3.3 + uses: dependabot/fetch-metadata@v1.3.4 with: github-token: "${{ secrets.GITHUB_TOKEN }}" From 272650ab799ff0f59ca00c18df01b2c7c8284e27 Mon Sep 17 00:00:00 2001 From: dkc Date: Tue, 11 Oct 2022 17:07:55 +0900 Subject: [PATCH 16/40] Fixed vendor:publish tag name --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6d71a97..5b99f26 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ The `file_upload_size` is for validation rules, and it defines the maximum file Optionally, you can publish the views using ```bash -php artisan vendor:publish --tag="csv-views" +php artisan vendor:publish --tag="laravel-csv-views" ``` > Before Using this command, please take a look at this [section](#in-tall-stack-project) below. From 7d8ed82f462bc9912f3293b180de6ded65136fe4 Mon Sep 17 00:00:00 2001 From: ousid Date: Wed, 12 Oct 2022 12:18:48 +0000 Subject: [PATCH 17/40] Update CHANGELOG --- CHANGELOG.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a01201c..9e47a6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,20 @@ All notable changes to `laravel-csv` will be documented in this file. +## v1.1.0 - 2022-10-12 + +### What's Changed + +- Update README.md by @askdkc in https://github.com/coderflexx/laravel-csv/pull/9 +- Bump dependabot/fetch-metadata from 1.3.3 to 1.3.4 by @dependabot in https://github.com/coderflexx/laravel-csv/pull/10 +- Fixed vendor:publish tag name by @askdkc in https://github.com/coderflexx/laravel-csv/pull/11 + +### New Contributors + +- @dependabot made their first contribution in https://github.com/coderflexx/laravel-csv/pull/10 + +**Full Changelog**: https://github.com/coderflexx/laravel-csv/compare/v1.0.2...v1.1.0 + ## v1.0.2 - 2022-09-29 ### What's Changed From 40c66838d44784e7281e5a2e5482ef4cdd01800d Mon Sep 17 00:00:00 2001 From: Globerada Date: Mon, 7 Nov 2022 09:36:14 +0100 Subject: [PATCH 18/40] Update csv-importer.blade.php Typo. --- resources/views/livewire/tailwindcss/csv-importer.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/livewire/tailwindcss/csv-importer.blade.php b/resources/views/livewire/tailwindcss/csv-importer.blade.php index 7f2dcc7..b93ce34 100644 --- a/resources/views/livewire/tailwindcss/csv-importer.blade.php +++ b/resources/views/livewire/tailwindcss/csv-importer.blade.php @@ -31,7 +31,7 @@ x-on:dragover.prevent="dropping = true" x-on:dragleave.prevent="dropping = false" x-on:drop.prevent="dropping = false" - x-on:drop.prevnet="handleDrop($event)" + x-on:drop.prevent="handleDrop($event)" x-data="{ dropping: false, From 86c848bbcfe22ff77008c6200c4162a2e5aa8b93 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Nov 2022 12:04:04 +0000 Subject: [PATCH 19/40] Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.3.4 to 1.3.5. - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](https://github.com/dependabot/fetch-metadata/compare/v1.3.4...v1.3.5) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/dependabot-auto-merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 41099d3..e7e28b9 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.3.4 + uses: dependabot/fetch-metadata@v1.3.5 with: github-token: "${{ secrets.GITHUB_TOKEN }}" From 4d3a1552cbc88f1575350e525b398c203c2cd7e8 Mon Sep 17 00:00:00 2001 From: ousid Date: Mon, 7 Nov 2022 13:12:52 +0000 Subject: [PATCH 20/40] Update CHANGELOG --- CHANGELOG.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e47a6f..f9ccd38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ All notable changes to `laravel-csv` will be documented in this file. +## v1.1.1 - 2022-11-07 + +### What's Changed + +- Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 by @dependabot in https://github.com/coderflexx/laravel-csv/pull/13 +- Update csv-importer.blade.php by @Globerada in https://github.com/coderflexx/laravel-csv/pull/12 + +### New Contributors + +- @Globerada made their first contribution in https://github.com/coderflexx/laravel-csv/pull/12 + +**Full Changelog**: https://github.com/coderflexx/laravel-csv/compare/v1.1.0...v1.1.1 + ## v1.1.0 - 2022-10-12 ### What's Changed From 4cf7d7f4ca23c29b14fd48ae24411837e6df7a72 Mon Sep 17 00:00:00 2001 From: Globerada Date: Mon, 7 Nov 2022 17:21:45 +0100 Subject: [PATCH 21/40] Update README.md imports() referenced in createNewImport. It is needed to add trait to user model. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 5b99f26..bbdfae0 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,8 @@ php artisan vendor:publish --tag="csv-migrations" php artisan migrate ``` +Add trait **HasCsvImports** to your User model. + Publish the config file with: ```bash From b9e1731f395e768971c0ded52ab328d7bc970049 Mon Sep 17 00:00:00 2001 From: Globerada Date: Mon, 7 Nov 2022 17:51:35 +0100 Subject: [PATCH 22/40] Update CsvImporter.php You have renamed to handle-imports the csv-imports from Codecourse. --- src/Http/Livewire/CsvImporter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/Livewire/CsvImporter.php b/src/Http/Livewire/CsvImporter.php index 27b022c..da9e62e 100644 --- a/src/Http/Livewire/CsvImporter.php +++ b/src/Http/Livewire/CsvImporter.php @@ -83,7 +83,7 @@ public function import() $this->resetExcept($this->exceptions); - $this->emitTo('csv-imports', 'imports.refresh'); + $this->emitTo('handle-imports', 'imports.refresh'); } public function toggle() From b4ad492db109943e504b288a891c2c415a2ebfdc Mon Sep 17 00:00:00 2001 From: Globerada Date: Mon, 7 Nov 2022 17:57:56 +0100 Subject: [PATCH 23/40] Update CsvImporter.php --- src/Http/Livewire/CsvImporter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/Livewire/CsvImporter.php b/src/Http/Livewire/CsvImporter.php index da9e62e..b627953 100644 --- a/src/Http/Livewire/CsvImporter.php +++ b/src/Http/Livewire/CsvImporter.php @@ -45,7 +45,7 @@ class CsvImporter extends Component /** @var array */ protected $exceptions = [ - 'mode', 'columnsToMap', 'open', + 'model', 'columnsToMap', 'open', 'columnLabels', 'requiredColumns', ]; From ec87016515e2e82292ec7019cdcd8fd3295f72c8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 24 Nov 2022 11:43:30 +0000 Subject: [PATCH 24/40] Bump loader-utils from 1.4.0 to 1.4.2 Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2. - [Release notes](https://github.com/webpack/loader-utils/releases) - [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md) - [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.2) --- updated-dependencies: - dependency-name: loader-utils dependency-type: indirect ... Signed-off-by: dependabot[bot] --- package-lock.json | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1bd7e5a..9ab649e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5290,9 +5290,9 @@ } }, "node_modules/img-loader/node_modules/loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.2.tgz", + "integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==", "dev": true, "dependencies": { "big.js": "^5.2.2", @@ -5747,9 +5747,9 @@ } }, "node_modules/loader-utils": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz", - "integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", + "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", "dev": true, "dependencies": { "big.js": "^5.2.2", @@ -8790,9 +8790,9 @@ } }, "node_modules/vue-style-loader/node_modules/loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.2.tgz", + "integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==", "dev": true, "dependencies": { "big.js": "^5.2.2", @@ -13402,9 +13402,9 @@ } }, "loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.2.tgz", + "integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==", "dev": true, "requires": { "big.js": "^5.2.2", @@ -13736,9 +13736,9 @@ "dev": true }, "loader-utils": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz", - "integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", + "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", "dev": true, "requires": { "big.js": "^5.2.2", @@ -15961,9 +15961,9 @@ } }, "loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.2.tgz", + "integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==", "dev": true, "requires": { "big.js": "^5.2.2", From 3bd22886362b35bbb57d9d2905b4097f31cb0cc6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Nov 2022 12:08:45 +0000 Subject: [PATCH 25/40] Bump ramsey/composer-install from 1 to 2 Bumps [ramsey/composer-install](https://github.com/ramsey/composer-install) from 1 to 2. - [Release notes](https://github.com/ramsey/composer-install/releases) - [Commits](https://github.com/ramsey/composer-install/compare/v1...v2) --- 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 557d263..9d41c0c 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@v1 + uses: ramsey/composer-install@v2 - name: Run PHPStan run: ./vendor/bin/phpstan --error-format=github From 0a79995c16a38827d276fb42e8c13bcc6d225ace Mon Sep 17 00:00:00 2001 From: ousid Date: Sun, 18 Dec 2022 13:04:48 +0100 Subject: [PATCH 26/40] fix readme badges status --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bbdfae0..e29f32c 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@

[![Latest Version on Packagist](https://img.shields.io/packagist/v/coderflex/laravel-csv.svg?style=flat-square)](https://packagist.org/packages/coderflex/laravel-csv) -[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/coderflexx/laravel-csv/run-tests?label=tests)](https://github.com/coderflexx/laravel-csv/actions?query=workflow%3Arun-tests+branch%3Amain) -[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/coderflexx/laravel-csv/Fix%20PHP%20code%20style%20issues?label=code%20style)](https://github.com/coderflexx/laravel-csv/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain) +[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/coderflexx/laravel-csv/run-tests.yml?branch=main&label=tests)](https://github.com/coderflexx/laravel-csv/actions?query=workflow%3Arun-tests+branch%3Amain) +[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/coderflexx/laravel-csv/phpstan.yml?branch=main&label=code%20style)](https://github.com/coderflexx/laravel-csv/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain) [![Total Downloads](https://img.shields.io/packagist/dt/coderflex/laravel-csv.svg?style=flat-square)](https://packagist.org/packages/coderflex/laravel-csv) From c964635a1eee7da4337b11547289cb05f6a8e63f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Jan 2023 12:12:30 +0000 Subject: [PATCH 27/40] Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.3.5 to 1.3.6. - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](https://github.com/dependabot/fetch-metadata/compare/v1.3.5...v1.3.6) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/dependabot-auto-merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index e7e28b9..32f7754 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.3.5 + uses: dependabot/fetch-metadata@v1.3.6 with: github-token: "${{ secrets.GITHUB_TOKEN }}" From 9b26f4b51348b66b9b313415afd98814cbcd7101 Mon Sep 17 00:00:00 2001 From: ousid Date: Thu, 23 Feb 2023 23:26:54 +0100 Subject: [PATCH 28/40] add laravel 10 support --- .github/workflows/run-tests.yml | 9 +++++++-- composer.json | 10 +++++----- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 39ff7ee..b662705 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,12 +13,17 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.1] - laravel: [9.*] + php: [8.1, 8.2] + laravel: [9.*, 10.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 9.* testbench: 7.* + - laravel: 10.* + testbench: 8.* + exclude: + - laravel: 9.* + php: 8.2 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index 083c2cc..5896bb2 100644 --- a/composer.json +++ b/composer.json @@ -18,23 +18,23 @@ ], "require": { "php": "^8.1", - "illuminate/contracts": "^9.0", + "illuminate/contracts": "^9.0|^10.0", "league/csv": "^9.8", "livewire/livewire": "^2.10", "spatie/laravel-package-tools": "^1.9.2" }, "require-dev": { "laravel/pint": "^1.0", - "nunomaduro/collision": "^6.0", + "nunomaduro/collision": "^6.0|^7.0", "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^7.0", - "pestphp/pest": "^1.21", + "orchestra/testbench": "^7.0|^8.0", + "pestphp/pest": "^1.22", "pestphp/pest-plugin-laravel": "^1.1", "pestphp/pest-plugin-livewire": "^1.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": "^9.5|^10.0" }, "autoload": { "files": [ From 6d9da76a9611282c3d692edf536c39d01e30cea4 Mon Sep 17 00:00:00 2001 From: ousid Date: Thu, 23 Feb 2023 22:27:23 +0000 Subject: [PATCH 29/40] Fix styling --- src/Concerns/HasCsvProperties.php | 6 ------ src/Concerns/InteractsWithColumns.php | 6 ------ src/Concerns/InteractsWithCsvFiles.php | 3 --- src/Http/Livewire/CsvImporter.php | 6 ------ src/LaravelCsvDirectives.php | 4 ---- src/LaravelCsvManager.php | 4 ---- src/LaravelCsvServiceProvider.php | 7 ------- src/Scopes/ImportScope.php | 12 ------------ src/Utilities/ChunkIterator.php | 8 -------- src/helpers.php | 3 --- 10 files changed, 59 deletions(-) diff --git a/src/Concerns/HasCsvProperties.php b/src/Concerns/HasCsvProperties.php index 178e0b9..50f530d 100644 --- a/src/Concerns/HasCsvProperties.php +++ b/src/Concerns/HasCsvProperties.php @@ -20,8 +20,6 @@ trait HasCsvProperties /** * Read CSV Property - * - * @return Reader */ public function getReadCsvProperty(): Reader { @@ -30,8 +28,6 @@ public function getReadCsvProperty(): Reader /** * Get CSV Records Property - * - * @return TabularDataReader */ public function getCsvRecordsProperty(): TabularDataReader { @@ -40,8 +36,6 @@ public function getCsvRecordsProperty(): TabularDataReader /** * Handle CSV Information properties from the given file - * - * @return array|\Illuminate\Support\MessageBag */ public function handleCsvProperties(): array|MessageBag { diff --git a/src/Concerns/InteractsWithColumns.php b/src/Concerns/InteractsWithColumns.php index 8fdfc82..0448d22 100644 --- a/src/Concerns/InteractsWithColumns.php +++ b/src/Concerns/InteractsWithColumns.php @@ -6,8 +6,6 @@ trait InteractsWithColumns { /** * Converts the columnsToMap property into an associative array. - * - * @return array */ protected function mapThroughColumns(): array { @@ -22,8 +20,6 @@ protected function mapThroughColumns(): array /** * Maps requiredColumns property into columnsToMap required state. - * - * @return array */ protected function mapThroughRequiredColumns(): array { @@ -39,8 +35,6 @@ protected function mapThroughRequiredColumns(): array /** * Maps columnLabels property into columnsToMap label state. - * - * @return array */ protected function mapThroughColumnLabels(): array { diff --git a/src/Concerns/InteractsWithCsvFiles.php b/src/Concerns/InteractsWithCsvFiles.php index 9f43a71..5f7e22a 100644 --- a/src/Concerns/InteractsWithCsvFiles.php +++ b/src/Concerns/InteractsWithCsvFiles.php @@ -8,9 +8,6 @@ trait InteractsWithCsvFiles { /** * Read CSV File. - * - * @param string $path - * @return Reader */ protected function readCSV(string $path): Reader { diff --git a/src/Http/Livewire/CsvImporter.php b/src/Http/Livewire/CsvImporter.php index b627953..16fd3b0 100644 --- a/src/Http/Livewire/CsvImporter.php +++ b/src/Http/Livewire/CsvImporter.php @@ -22,25 +22,19 @@ class CsvImporter extends Component /** @var string */ public $model; - /** @var bool */ public bool $open = false; /** @var object */ public $file; - /** @var array */ public array $columnsToMap = []; - /** @var array */ public array $requiredColumns = []; - /** @var array */ public array $columnLabels = []; - /** @var array */ public array $fileHeaders = []; - /** @var int */ public int $fileRowCount = 0; /** @var array */ diff --git a/src/LaravelCsvDirectives.php b/src/LaravelCsvDirectives.php index f1d9463..0cd203e 100644 --- a/src/LaravelCsvDirectives.php +++ b/src/LaravelCsvDirectives.php @@ -20,8 +20,6 @@ public static function csvStyles(): string|null /** * Get CSV Scripts - * - * @return string */ public static function csvScripts(): string { @@ -32,8 +30,6 @@ public static function csvScripts(): string /** * Get Tailwind Style Path - * - * @return string */ protected static function getTailwindStyle(): string { diff --git a/src/LaravelCsvManager.php b/src/LaravelCsvManager.php index 4d44cf2..98e8182 100644 --- a/src/LaravelCsvManager.php +++ b/src/LaravelCsvManager.php @@ -6,10 +6,6 @@ class LaravelCsvManager { /** * Get the given size and formated it. - * - * @param int $size - * @param int $precision - * @return string|int */ public function formatFileSize(int $size, int $precision = 2): string|int { diff --git a/src/LaravelCsvServiceProvider.php b/src/LaravelCsvServiceProvider.php index eaec972..94a8900 100644 --- a/src/LaravelCsvServiceProvider.php +++ b/src/LaravelCsvServiceProvider.php @@ -43,8 +43,6 @@ public function registeringPackage() /** * Configure Laravel CSV Blade components - * - * @return void */ protected function configureComponents(): void { @@ -55,8 +53,6 @@ protected function configureComponents(): void /** * Register livewire components - * - * @return void */ protected function registerLivewireComponents(): void { @@ -69,9 +65,6 @@ protected function registerLivewireComponents(): void /** * Register given component. - * - * @param string $component - * @return void */ protected function registerComponent(string $component): void { diff --git a/src/Scopes/ImportScope.php b/src/Scopes/ImportScope.php index 2d73cf1..3273301 100644 --- a/src/Scopes/ImportScope.php +++ b/src/Scopes/ImportScope.php @@ -9,8 +9,6 @@ trait ImportScope { /** * Completed Status Scope - * - * @return \Illuminate\Database\Eloquent\Builder */ public function scopeCompleted(Builder $builder): Builder { @@ -19,8 +17,6 @@ public function scopeCompleted(Builder $builder): Builder /** * Not Completed Status Scope - * - * @return \Illuminate\Database\Eloquent\Builder */ public function scopeUnCompleted(Builder $builder): Builder { @@ -29,8 +25,6 @@ public function scopeUnCompleted(Builder $builder): Builder /** * Get the percentage of the model completion - * - * @return int|float */ public function percentageComplete(): int|float { @@ -39,9 +33,6 @@ public function percentageComplete(): int|float /** * Fetch imports based on the given model - * - * @param string $model - * @return \Illuminate\Database\Eloquent\Builder */ public function scopeForModel(Builder $builder, string $model): Builder { @@ -50,9 +41,6 @@ public function scopeForModel(Builder $builder, string $model): Builder /** * Fetch imports on the user id - * - * @param int $user - * @return \Illuminate\Database\Eloquent\Builder */ public function scopeForUser(Builder $builder, int $user): Builder { diff --git a/src/Utilities/ChunkIterator.php b/src/Utilities/ChunkIterator.php index 1a6012c..7b97719 100644 --- a/src/Utilities/ChunkIterator.php +++ b/src/Utilities/ChunkIterator.php @@ -18,14 +18,8 @@ */ class ChunkIterator { - /** - * @var Iterator - */ protected Iterator $iterator; - /** - * @var int - */ protected int $chunkSize; public function __construct(Iterator $iterator, int $chunkSize) @@ -36,8 +30,6 @@ public function __construct(Iterator $iterator, int $chunkSize) /** * Chunk the given data - * - * @return Generator */ public function get(): Generator { diff --git a/src/helpers.php b/src/helpers.php index 8cdb1d9..5532e05 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -5,9 +5,6 @@ if (! function_exists('Coderflex\LaravelCsv\csv_view_path')) { /** * Get the evaluated view content from the livewire view - * - * @param string|null $view - * @return string */ function csv_view_path(string|null $view): string { From 996a5a248fd033aa34d91dfe5087f1e8d7cc2fda Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Mar 2023 11:06:22 +0000 Subject: [PATCH 30/40] Bump webpack from 5.74.0 to 5.76.2 Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.76.2. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v5.74.0...v5.76.2) --- updated-dependencies: - dependency-name: webpack dependency-type: indirect ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9ab649e..35f67ec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8826,9 +8826,9 @@ } }, "node_modules/webpack": { - "version": "5.74.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.74.0.tgz", - "integrity": "sha512-A2InDwnhhGN4LYctJj6M1JEaGL7Luj6LOmyBHjcI8529cm5p6VXiTIW2sn6ffvEAKmveLzvu4jrihwXtPojlAA==", + "version": "5.76.2", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.76.2.tgz", + "integrity": "sha512-Th05ggRm23rVzEOlX8y67NkYCHa9nTNcwHPBhdg+lKG+mtiW7XgggjAeeLnADAe7mLjJ6LUNfgHAuRRh+Z6J7w==", "dev": true, "dependencies": { "@types/eslint-scope": "^3.7.3", @@ -15993,9 +15993,9 @@ } }, "webpack": { - "version": "5.74.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.74.0.tgz", - "integrity": "sha512-A2InDwnhhGN4LYctJj6M1JEaGL7Luj6LOmyBHjcI8529cm5p6VXiTIW2sn6ffvEAKmveLzvu4jrihwXtPojlAA==", + "version": "5.76.2", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.76.2.tgz", + "integrity": "sha512-Th05ggRm23rVzEOlX8y67NkYCHa9nTNcwHPBhdg+lKG+mtiW7XgggjAeeLnADAe7mLjJ6LUNfgHAuRRh+Z6J7w==", "dev": true, "requires": { "@types/eslint-scope": "^3.7.3", From 69561b7926c52b93c75177545dbb202b06076235 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Apr 2023 13:00:18 +0000 Subject: [PATCH 31/40] Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.3.6 to 1.4.0. - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](https://github.com/dependabot/fetch-metadata/compare/v1.3.6...v1.4.0) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/dependabot-auto-merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 32f7754..8fc6538 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.3.6 + uses: dependabot/fetch-metadata@v1.4.0 with: github-token: "${{ secrets.GITHUB_TOKEN }}" From 39e10690b50adfdded4fb13f3f7946ce3ade4592 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 May 2023 12:59:06 +0000 Subject: [PATCH 32/40] Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.4.0 to 1.5.1. - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](https://github.com/dependabot/fetch-metadata/compare/v1.4.0...v1.5.1) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/dependabot-auto-merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 8fc6538..4af8e6b 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.4.0 + uses: dependabot/fetch-metadata@v1.5.1 with: github-token: "${{ secrets.GITHUB_TOKEN }}" From 8d3fe33ef7aa504ef7a1ace03d9796f1d2b8372b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 May 2023 12:59:12 +0000 Subject: [PATCH 33/40] Bump aglipanci/laravel-pint-action from 1.0.0 to 2.3.0 Bumps [aglipanci/laravel-pint-action](https://github.com/aglipanci/laravel-pint-action) from 1.0.0 to 2.3.0. - [Release notes](https://github.com/aglipanci/laravel-pint-action/releases) - [Commits](https://github.com/aglipanci/laravel-pint-action/compare/1.0.0...2.3.0) --- updated-dependencies: - dependency-name: aglipanci/laravel-pint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/fix-php-code-style-issues.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fix-php-code-style-issues.yml b/.github/workflows/fix-php-code-style-issues.yml index 970633c..bdef9a9 100644 --- a/.github/workflows/fix-php-code-style-issues.yml +++ b/.github/workflows/fix-php-code-style-issues.yml @@ -13,7 +13,7 @@ jobs: ref: ${{ github.head_ref }} - name: Fix PHP code style issues - uses: aglipanci/laravel-pint-action@1.0.0 + uses: aglipanci/laravel-pint-action@2.3.0 - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v4 From 96da7f439791c91c4413051a5f01a3eb47eab38e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Jun 2023 10:16:27 +0000 Subject: [PATCH 34/40] Bump json5 from 1.0.1 to 1.0.2 Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/json5/json5/releases) - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md) - [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: json5 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- package-lock.json | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 35f67ec..22e063c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5278,9 +5278,9 @@ } }, "node_modules/img-loader/node_modules/json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", "dev": true, "dependencies": { "minimist": "^1.2.0" @@ -5597,9 +5597,9 @@ "dev": true }, "node_modules/json5": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", - "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true, "bin": { "json5": "lib/cli.js" @@ -8778,9 +8778,9 @@ } }, "node_modules/vue-style-loader/node_modules/json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", "dev": true, "dependencies": { "minimist": "^1.2.0" @@ -13393,9 +13393,9 @@ }, "dependencies": { "json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", "dev": true, "requires": { "minimist": "^1.2.0" @@ -13626,9 +13626,9 @@ "dev": true }, "json5": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", - "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true }, "jsonfile": { @@ -15952,9 +15952,9 @@ }, "dependencies": { "json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", "dev": true, "requires": { "minimist": "^1.2.0" From e7eb19407aaf54cacf2f6dbbb088af7258d72dbe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jul 2023 12:24:50 +0000 Subject: [PATCH 35/40] Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.5.1 to 1.6.0. - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](https://github.com/dependabot/fetch-metadata/compare/v1.5.1...v1.6.0) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/dependabot-auto-merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}" From 86af96358dd071b3465c67ac1d876c744486af66 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Sep 2023 12:54:31 +0000 Subject: [PATCH 36/40] Bump actions/checkout from 3 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/fix-php-code-style-issues.yml | 2 +- .github/workflows/phpstan.yml | 2 +- .github/workflows/run-tests.yml | 2 +- .github/workflows/update-changelog.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/fix-php-code-style-issues.yml b/.github/workflows/fix-php-code-style-issues.yml index 970633c..b82007d 100644 --- a/.github/workflows/fix-php-code-style-issues.yml +++ b/.github/workflows/fix-php-code-style-issues.yml @@ -8,7 +8,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} 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 b662705..bdeac46 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -29,7 +29,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 b20f3b6..94df2c3 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -10,7 +10,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: main From 78db5f9b88b05c145bb072e83e1ffba184dd854c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 12:22:53 +0000 Subject: [PATCH 37/40] Bump stefanzweifel/git-auto-commit-action from 4 to 5 Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 4 to 5. - [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases) - [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md) - [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4...v5) --- updated-dependencies: - dependency-name: stefanzweifel/git-auto-commit-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/fix-php-code-style-issues.yml | 2 +- .github/workflows/update-changelog.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fix-php-code-style-issues.yml b/.github/workflows/fix-php-code-style-issues.yml index 970633c..bd82798 100644 --- a/.github/workflows/fix-php-code-style-issues.yml +++ b/.github/workflows/fix-php-code-style-issues.yml @@ -16,6 +16,6 @@ jobs: uses: aglipanci/laravel-pint-action@1.0.0 - 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/update-changelog.yml b/.github/workflows/update-changelog.yml index b20f3b6..395c4a6 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -21,7 +21,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: main commit_message: Update CHANGELOG From 760a537e7a5760cf68aa0a20a0506c8f1094ff15 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 Mar 2025 12:52:10 +0000 Subject: [PATCH 38/40] Bump aglipanci/laravel-pint-action from 2.3.0 to 2.3.1 Bumps [aglipanci/laravel-pint-action](https://github.com/aglipanci/laravel-pint-action) from 2.3.0 to 2.3.1. - [Release notes](https://github.com/aglipanci/laravel-pint-action/releases) - [Commits](https://github.com/aglipanci/laravel-pint-action/compare/2.3.0...2.3.1) --- updated-dependencies: - dependency-name: aglipanci/laravel-pint-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/fix-php-code-style-issues.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fix-php-code-style-issues.yml b/.github/workflows/fix-php-code-style-issues.yml index 1d74a65..7f61fce 100644 --- a/.github/workflows/fix-php-code-style-issues.yml +++ b/.github/workflows/fix-php-code-style-issues.yml @@ -13,7 +13,7 @@ jobs: ref: ${{ github.head_ref }} - name: Fix PHP code style issues - uses: aglipanci/laravel-pint-action@2.3.0 + uses: aglipanci/laravel-pint-action@2.3.1 - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v5 From 6db8699d901bb7377cc29931dc89c39ea1968e36 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Apr 2025 13:17:23 +0000 Subject: [PATCH 39/40] Bump aglipanci/laravel-pint-action from 2.3.1 to 2.5 Bumps [aglipanci/laravel-pint-action](https://github.com/aglipanci/laravel-pint-action) from 2.3.1 to 2.5. - [Release notes](https://github.com/aglipanci/laravel-pint-action/releases) - [Commits](https://github.com/aglipanci/laravel-pint-action/compare/2.3.1...2.5) --- updated-dependencies: - dependency-name: aglipanci/laravel-pint-action dependency-version: '2.5' dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/fix-php-code-style-issues.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fix-php-code-style-issues.yml b/.github/workflows/fix-php-code-style-issues.yml index 7f61fce..ef2fadf 100644 --- a/.github/workflows/fix-php-code-style-issues.yml +++ b/.github/workflows/fix-php-code-style-issues.yml @@ -13,7 +13,7 @@ jobs: ref: ${{ github.head_ref }} - name: Fix PHP code style issues - uses: aglipanci/laravel-pint-action@2.3.1 + uses: aglipanci/laravel-pint-action@2.5 - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v5 From 88e1704003b1f22a0b50a25c04b922c1c0a05132 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Jul 2025 15:53:52 +0000 Subject: [PATCH 40/40] Bump aglipanci/laravel-pint-action from 2.5 to 2.6 Bumps [aglipanci/laravel-pint-action](https://github.com/aglipanci/laravel-pint-action) from 2.5 to 2.6. - [Release notes](https://github.com/aglipanci/laravel-pint-action/releases) - [Commits](https://github.com/aglipanci/laravel-pint-action/compare/2.5...2.6) --- updated-dependencies: - dependency-name: aglipanci/laravel-pint-action dependency-version: '2.6' dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/fix-php-code-style-issues.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fix-php-code-style-issues.yml b/.github/workflows/fix-php-code-style-issues.yml index ef2fadf..e8ff1c6 100644 --- a/.github/workflows/fix-php-code-style-issues.yml +++ b/.github/workflows/fix-php-code-style-issues.yml @@ -13,7 +13,7 @@ jobs: ref: ${{ github.head_ref }} - name: Fix PHP code style issues - uses: aglipanci/laravel-pint-action@2.5 + uses: aglipanci/laravel-pint-action@2.6 - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v5 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy