diff --git a/.github/workflows/ci-mssql.yml b/.github/workflows/ci-mssql.yml index cd83687..eee5369 100644 --- a/.github/workflows/ci-mssql.yml +++ b/.github/workflows/ci-mssql.yml @@ -13,5 +13,7 @@ name: MSSQL jobs: phpunit: uses: cycle/gh-actions/.github/workflows/db-mssql.yml@master + with: + php: '["8.2","8.3","8.4"]' ... diff --git a/.github/workflows/ci-mysql.yml b/.github/workflows/ci-mysql.yml index f1c3abd..b610480 100644 --- a/.github/workflows/ci-mysql.yml +++ b/.github/workflows/ci-mysql.yml @@ -13,5 +13,7 @@ name: MySQL jobs: phpunit: uses: cycle/gh-actions/.github/workflows/db-mysql.yml@master + with: + php: '["8.2","8.3","8.4"]' ... diff --git a/.github/workflows/ci-pgsql.yml b/.github/workflows/ci-pgsql.yml index 76ac298..56610de 100644 --- a/.github/workflows/ci-pgsql.yml +++ b/.github/workflows/ci-pgsql.yml @@ -13,5 +13,7 @@ name: Postgres jobs: phpunit: uses: cycle/gh-actions/.github/workflows/db-pgsql.yml@master + with: + php: '["8.2","8.3","8.4"]' ... diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b0da0cb..b2601a0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: ['8.1', '8.2', '8.3', '8.4'] + php-versions: ['8.2', '8.3', '8.4'] steps: - name: Install ODBC driver. run: | @@ -68,7 +68,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: ['8.1', '8.2', '8.3', '8.4'] + php-versions: ['8.2', '8.3', '8.4'] steps: - name: 📦 Checkout uses: actions/checkout@v2 diff --git a/README.md b/README.md index 06944ee..d99f22b 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,20 @@ # Cycle ORM Entity Behavior Identifier -[![Latest Stable Version](https://poser.pugx.org/cycle/entity-behavior-Identifier/version)](https://packagist.org/packages/cycle/entity-behavior-Identifier) -[![Build Status](https://github.com/cycle/entity-behavior-Identifier/workflows/build/badge.svg)](https://github.com/cycle/entity-behavior-Identifier/actions) -[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/cycle/entity-behavior-Identifier/badges/quality-score.png?b=1.x)](https://scrutinizer-ci.com/g/cycle/entity-behavior-Identifier/?branch=1.x) -[![Codecov](https://codecov.io/gh/cycle/entity-behavior-Identifier/graph/badge.svg)](https://codecov.io/gh/cycle/entity-behavior) +[![Latest Stable Version](https://poser.pugx.org/cycle/entity-behavior-Identifier/version)](https://packagist.org/packages/cycle/entity-behavior-identifier) +[![Build Status](https://github.com/cycle/entity-behavior-identifier/workflows/build/badge.svg)](https://github.com/cycle/entity-behavior-identifier/actions) +[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/cycle/entity-behavior-identifier/badges/quality-score.png?b=1.x)](https://scrutinizer-ci.com/g/cycle/entity-behavior-identifier/?branch=1.x) +[![Codecov](https://codecov.io/gh/cycle/entity-behavior-identifier/graph/badge.svg)](https://codecov.io/gh/cycle/entity-behavior) The package provides the ability to use `ramsey/identifier` as various Cycle ORM entity column types. ## Installation +> Note this package required PHP `8.2` or newer. + Install this package as a dependency using Composer. ```bash -composer require cycle/entity-behavior-Identifier +composer require cycle/entity-behavior-identifier ``` ## Example diff --git a/composer.json b/composer.json index 2b328be..3a197d3 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,7 @@ "sort-packages": true }, "require": { - "php": ">=8.1", + "php": ">=8.2", "cycle/entity-behavior": "^1.3.1", "ramsey/identifier": "^0.1.0" }, diff --git a/composer.lock b/composer.lock index 26fb892..5db2ce0 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b3863af09102215f56a42c9060126a90", + "content-hash": "7d66ff1625ef5c0f32210c131bba143c", "packages": [ { "name": "brick/math", @@ -8135,7 +8135,7 @@ "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": ">=8.1" + "php": ">=8.2" }, "platform-dev": {}, "plugin-api-version": "2.6.0"