diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 32a1a00..c0fbc53 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -18,6 +18,7 @@ jobs: - "8.2" - "8.3" - "8.4" + - "8.5" steps: - name: Checkout diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index dc4b6fa..9976515 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -18,6 +18,7 @@ jobs: - "8.2" - "8.3" - "8.4" + - "8.5" steps: - name: Checkout diff --git a/README.md b/README.md index 9a4129c..f9c241c 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Documentation is available at: https://docs.dotkernel.org/dot-data-fixtures/. ## Badges ![OSS Lifecycle](https://img.shields.io/osslifecycle/dotkernel/dot-data-fixtures) -![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-data-fixtures/1.4.0) +![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-data-fixtures/1.5.0) [![GitHub issues](https://img.shields.io/github/issues/dotkernel/dot-data-fixtures)](https://github.com/dotkernel/dot-data-fixtures/issues) [![GitHub forks](https://img.shields.io/github/forks/dotkernel/dot-data-fixtures)](https://github.com/dotkernel/dot-data-fixtures/network) @@ -34,7 +34,7 @@ This package provides a CLI interface for interacting with doctrine/data-fixture ## Installation -Run the following command in you project directory +Run the following command in your project directory ```shell composer require dotkernel/dot-data-fixtures @@ -91,21 +91,21 @@ ConsoleRunner::run( ## Usage -**List fixtures command** - will list all the available fixtures, by order of execution. +**List fixtures command**: will list all the available fixtures, by order of execution. ````shell php ./bin/doctrine fixtures:list ```` -**Execute fixtures command** - this command will execute all or one fixture. +**Execute fixtures command**: this command will execute one or all fixtures. -To execute all the fixtures run: +To execute all the fixtures, run: ```shell php ./bin/doctrine fixtures:execute ``` -To execute a specific fixture run: +To execute a specific fixture, run: ```shell php ./bin/doctrine fixtures:execute --class=RoleLoader @@ -113,11 +113,11 @@ php ./bin/doctrine fixtures:execute --class=RoleLoader ## Creating fixtures -When creating a new fixture we have 2 requirements: +When creating a new fixture, we have two requirements: - Fixtures should be created in the folder we configured earlier: `data/doctrine/fixtures` - Fixtures should implement `FixtureInterface` and have a `load` method. -- Create a new php file and copy the below code-block. +- Create a new PHP file and copy the below code-block. ### Example @@ -157,7 +157,7 @@ class RoleLoader implements FixtureInterface ## Ordering fixtures -Fixtures can we ordered using 2 methods : +Fixtures can be ordered: - by order - by dependencies diff --git a/SECURITY.md b/SECURITY.md index c9dc087..5ad5da5 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -5,7 +5,7 @@ | Version | Supported | PHP Version | |---------|--------------------|-------------------------------------------------------------------------------------------------------------------| -| 1.x | :white_check_mark: | ![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-data-fixtures/1.0.0) | +| 1.x | :white_check_mark: | ![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-data-fixtures/1.5.0) | ## Reporting Potential Security Issues diff --git a/composer.json b/composer.json index c67d55c..e723369 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "laminas" ], "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", + "php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0", "doctrine/data-fixtures": "^2.0", "doctrine/orm": "^3.0", "symfony/console": "^7.0" diff --git a/docs/book/v1/overview.md b/docs/book/v1/overview.md index fe06d73..d1267a4 100644 --- a/docs/book/v1/overview.md +++ b/docs/book/v1/overview.md @@ -9,7 +9,7 @@ Executing fixtures will append data to the tables. ## Badges ![OSS Lifecycle](https://img.shields.io/osslifecycle/dotkernel/dot-data-fixtures) -![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-data-fixtures/1.4.0) +![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-data-fixtures/1.5.0) [![GitHub issues](https://img.shields.io/github/issues/dotkernel/dot-data-fixtures)](https://github.com/dotkernel/dot-data-fixtures/issues) [![GitHub forks](https://img.shields.io/github/forks/dotkernel/dot-data-fixtures)](https://github.com/dotkernel/dot-data-fixtures/network) diff --git a/docs/book/v1/usage.md b/docs/book/v1/usage.md index 074c5f2..b31de21 100644 --- a/docs/book/v1/usage.md +++ b/docs/book/v1/usage.md @@ -12,7 +12,7 @@ php ./bin/doctrine fixtures:list ### Execute fixtures command -This command will execute all or one fixture. +This command will execute one or all fixtures. To execute all the fixtures, run: @@ -28,11 +28,11 @@ php ./bin/doctrine fixtures:execute --class=RoleLoader ## Creating fixtures -When creating a new fixture we have 2 requirements: +When creating a new fixture, we have two requirements: - Fixtures should be created in the folder we configured earlier, `data/doctrine/fixtures` - Fixtures should implement `FixtureInterface` and have a `load` method. -- Create a new php file and copy the below code-block. +- Create a new PHP file and copy the below code-block. ### Example @@ -70,7 +70,7 @@ class RoleLoader implements FixtureInterface ## Ordering fixtures -Fixtures can we ordered using 2 methods: +Fixtures can be ordered: - by order - by dependencies