From 7bc58dcda3823c8fbb409f0d241242a2aa347a8d Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Thu, 16 Dec 2021 08:49:26 +0000 Subject: [PATCH 01/22] Fixed Composer Normalize workflow (#1144) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fixed Composer Normalize workflow * Fix subprojects Co-authored-by: Jérémy Derussé --- composer.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 17e7aa4..a8ea0a8 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,8 @@ { "name": "async-aws/dynamo-db-session", - "type": "library", "description": "AsyncAws DynamoDB integration for PHP Sessions.", + "license": "MIT", + "type": "library", "keywords": [ "aws", "amazon", @@ -10,16 +11,10 @@ "dynamo-db", "session" ], - "license": "MIT", "require": { "php": "^7.2.5 || ^8.0", "async-aws/dynamo-db": "^1.0" }, - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, "autoload": { "psr-4": { "AsyncAws\\DynamoDbSession\\": "src" @@ -29,5 +24,10 @@ "psr-4": { "AsyncAws\\DynamoDbSession\\Tests\\": "tests/" } + }, + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } } } From 8651adb3b6dcc60fdbdbf5162e0a7baf54354c35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Fri, 17 Dec 2021 18:43:18 +0100 Subject: [PATCH 02/22] Bump CI to php 8.1 (and tests root against php 8.2) (#1148) --- .github/workflows/branch_alias.yml | 2 +- .github/workflows/ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/branch_alias.yml b/.github/workflows/branch_alias.yml index d92f3e5..f76fb0e 100644 --- a/.github/workflows/branch_alias.yml +++ b/.github/workflows/branch_alias.yml @@ -13,7 +13,7 @@ jobs: - name: Set up PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.0 + php-version: 8.1 coverage: none - name: Find branch alias diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a382c27..8ab1371 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: max-parallel: 10 matrix: - php: ['7.2', '7.3', '7.4', '8.0'] + php: ['7.2', '7.3', '7.4', '8.0', '8.1'] steps: - name: Set up PHP From 6ba77fe3e2c65f13298f4400de24fd3bf1b1187d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Tue, 26 Apr 2022 11:24:45 +0200 Subject: [PATCH 03/22] Upgrade dependencies (#1224) --- src/SessionHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SessionHandler.php b/src/SessionHandler.php index 5ccd62d..578e4c6 100644 --- a/src/SessionHandler.php +++ b/src/SessionHandler.php @@ -193,7 +193,7 @@ public function write($sessionId, $sessionData) private function doWrite(string $id, bool $updateData, string $data = ''): bool { - $expires = time() + ($this->options['session_lifetime'] ?? (int) ini_get('session.gc_maxlifetime')); + $expires = time() + ($this->options['session_lifetime'] ?? (int) \ini_get('session.gc_maxlifetime')); $attributes = [ $this->options['session_lifetime_attribute'] => ['Value' => ['N' => (string) $expires]], From 690a0b6b89208d0b837f669554a821603df53f51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Tue, 6 Sep 2022 14:34:22 +0200 Subject: [PATCH 04/22] Run tests with PHP 8.2 (#1299) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ab1371..c81b815 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: max-parallel: 10 matrix: - php: ['7.2', '7.3', '7.4', '8.0', '8.1'] + php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2'] steps: - name: Set up PHP From 4b33aecdb9f47dd60bcdb5f471dba0856e531ea1 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Tue, 30 May 2023 10:30:32 +0200 Subject: [PATCH 05/22] Update the GitHub Actions configuration (#1416) --- .github/workflows/checks.yml | 2 +- .github/workflows/ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 1a72276..30bc8de 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Modify composer.json run: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c81b815..c7f27ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: coverage: none - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Download dependencies run: | From 2e78a3576c5ea13c1edc8941241ebfe360da9942 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Wed, 31 May 2023 12:10:07 +0200 Subject: [PATCH 06/22] Remove usage of ::set-output in GitHub Actions (#1422) --- .github/workflows/branch_alias.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/branch_alias.yml b/.github/workflows/branch_alias.yml index f76fb0e..c6f469f 100644 --- a/.github/workflows/branch_alias.yml +++ b/.github/workflows/branch_alias.yml @@ -23,7 +23,7 @@ jobs: echo "Last tag was $TAG" ARR=(${TAG//./ }) ARR[1]=$((${ARR[1]}+1)) - echo ::set-output name=alias::${ARR[0]}.${ARR[1]} + echo "alias=${ARR[0]}.${ARR[1]}" >> $GITHUB_OUTPUT - name: Checkout main repo run: | From 72252a1dc838c798663e83b147f1ea93d9f8a4e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Tue, 13 Jun 2023 11:27:45 +0200 Subject: [PATCH 07/22] Use GHA without docker to run BC-Checks (#1438) --- .github/workflows/checks.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 30bc8de..a2ea916 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -23,5 +23,14 @@ jobs: git config --local user.name "AsyncAws Bot" git commit -am "Allow unstable dependencies" + - name: Install PHP with extensions + uses: shivammathur/setup-php@v2 + with: + php-version: 8.2 + tools: composer:v2 + + - name: Install roave/backward-compatibility-check + run: composer require --dev roave/backward-compatibility-check + - name: Roave BC Check - uses: docker://nyholm/roave-bc-check-ga + run: vendor/bin/roave-backward-compatibility-check From 2f4c7804dc18500ff6c427bd8656b615475f7570 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Tue, 13 Jun 2023 12:27:04 +0200 Subject: [PATCH 08/22] Fix Roave BC script (#1441) --- .github/workflows/checks.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index a2ea916..c73d351 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -13,6 +13,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Modify composer.json run: | From 2f6f047b4ea8ccf1252d6911e45283aaba8d6964 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Sun, 2 Jul 2023 08:27:07 +0200 Subject: [PATCH 09/22] Add more precise types in the DynamoDbSession integration (#1492) --- src/SessionHandler.php | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/src/SessionHandler.php b/src/SessionHandler.php index 578e4c6..0f0fabf 100644 --- a/src/SessionHandler.php +++ b/src/SessionHandler.php @@ -16,7 +16,15 @@ class SessionHandler implements \SessionHandlerInterface private $client; /** - * @var array + * @var array{ + * consistent_read?: bool, + * data_attribute: string, + * hash_key: string, + * session_lifetime?: int, + * session_lifetime_attribute: string, + * table_name: string, + * id_separator: string + * } */ private $options; @@ -54,11 +62,11 @@ class SessionHandler implements \SessionHandlerInterface public function __construct(DynamoDbClient $client, array $options) { $this->client = $client; + $options['data_attribute'] = $options['data_attribute'] ?? 'data'; + $options['hash_key'] = $options['hash_key'] ?? 'id'; + $options['session_lifetime_attribute'] = $options['session_lifetime_attribute'] ?? 'expires'; + $options['id_separator'] = $options['id_separator'] ?? '_'; $this->options = $options; - $this->options['data_attribute'] = $this->options['data_attribute'] ?? 'data'; - $this->options['hash_key'] = $this->options['hash_key'] ?? 'id'; - $this->options['session_lifetime_attribute'] = $this->options['session_lifetime_attribute'] ?? 'expires'; - $this->options['id_separator'] = $this->options['id_separator'] ?? '_'; } public function setUp(): void @@ -104,7 +112,7 @@ public function close() $id = session_id(); // Make sure the expiration time is updated, even if the write did not occur - if ($this->sessionId !== $id || !$this->sessionWritten) { + if (false !== $id && ($this->sessionId !== $id || !$this->sessionWritten)) { $this->sessionWritten = $this->doWrite($id, false); } @@ -223,6 +231,9 @@ private function formatId(string $id): string return trim($this->sessionName . $this->options['id_separator'] . $id, $this->options['id_separator']); } + /** + * @return array + */ private function formatKey(string $key): array { return [$this->options['hash_key'] => ['S' => $key]]; From 0ed26abe81413299fcbbac1ec49f71c5989cd281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Mon, 7 Aug 2023 22:00:50 +0200 Subject: [PATCH 10/22] prepare next release (#1536) --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 117594f..c5b308c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Change Log -## NOT RELEASED +## 1.0.2 + +### Changed + +- Improve parameter type and return type in phpdoc ## 1.0.1 From 3b88fe69eb9fca38a7d05a76fdd6c0d74a0fb42b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Tue, 8 Aug 2023 13:25:17 +0200 Subject: [PATCH 11/22] restore `not release` entry in changelogs (#1539) --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5b308c..db3e77e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## NOT RELEASED + ## 1.0.2 ### Changed From f8c908b014af8d5122c4d77619c2de912824e8bf Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Wed, 30 Aug 2023 09:47:15 +0100 Subject: [PATCH 12/22] Test on PHP 8.3 (#1560) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c7f27ea..eeb7c14 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: max-parallel: 10 matrix: - php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2'] + php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] steps: - name: Set up PHP From a3a228cfd615dbb84ea20dcc89d4c21cc0cb3371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Fri, 6 Oct 2023 14:29:00 +0200 Subject: [PATCH 13/22] Add test to assert CHANGELOG format (#1582) --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index db3e77e..e218839 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,13 +10,13 @@ ## 1.0.1 -### Updated +### Changed - Fix deprecations triggered by php 8.1 ## 1.0.0 -### Updated +### Changed - Use async-aws/dynamo-db: ^1.0 From 1b7b275983ac2e5cde6e8bc253af75b689ae00cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Fri, 8 Dec 2023 17:07:40 +0100 Subject: [PATCH 14/22] Add a test to assert branch-alias is well defined (#1610) --- .github/workflows/branch_alias.yml | 76 ------------------------------ composer.json | 2 +- 2 files changed, 1 insertion(+), 77 deletions(-) delete mode 100644 .github/workflows/branch_alias.yml diff --git a/.github/workflows/branch_alias.yml b/.github/workflows/branch_alias.yml deleted file mode 100644 index c6f469f..0000000 --- a/.github/workflows/branch_alias.yml +++ /dev/null @@ -1,76 +0,0 @@ -name: Update branch alias - -on: - push: - tags: ['*'] - -jobs: - branch-alias: - name: Update branch alias - runs-on: ubuntu-latest - - steps: - - name: Set up PHP - uses: shivammathur/setup-php@v2 - with: - php-version: 8.1 - coverage: none - - - name: Find branch alias - id: find_alias - run: | - TAG=$(echo $GITHUB_REF | cut -d'/' -f 3) - echo "Last tag was $TAG" - ARR=(${TAG//./ }) - ARR[1]=$((${ARR[1]}+1)) - echo "alias=${ARR[0]}.${ARR[1]}" >> $GITHUB_OUTPUT - - - name: Checkout main repo - run: | - git clone --branch master https://${{ secrets.BOT_GITHUB_TOKEN }}:x-oauth-basic@github.com/async-aws/aws aws - - - name: Update branch alias - run: | - cd aws/src/Integration/Aws/DynamoDbSession - CURRENT_ALIAS=$(composer config extra.branch-alias.dev-master | cut -d'-' -f 1) - - # If there is a current value on the branch alias - if [ ! -z $CURRENT_ALIAS ]; then - NEW_ALIAS=${{ steps.find_alias.outputs.alias }} - CURRENT_ARR=(${CURRENT_ALIAS//./ }) - NEW_ARR=(${NEW_ALIAS//./ }) - - if [ ${CURRENT_ARR[0]} -gt ${NEW_ARR[0]} ]; then - echo "The current value for major version is larger" - exit 1; - fi - - if [ ${CURRENT_ARR[0]} -eq ${NEW_ARR[0]} ] && [ ${CURRENT_ARR[1]} -gt ${NEW_ARR[1]} ]; then - echo "The current value for minor version is larger" - exit 1; - fi - fi - - composer config extra.branch-alias.dev-master ${{ steps.find_alias.outputs.alias }}-dev - - - name: Commit & push the new files - run: | - echo "::group::git status" - cd aws - git status - echo "::endgroup::" - - git add -N . - if [[ $(git diff --numstat | wc -l) -eq 0 ]]; then - echo "No changes found. Exiting." - exit 0; - fi - - git config --local user.email "github@async-aws.com" - git config --local user.name "AsyncAws Bot" - - echo "::group::git push" - git add . - git commit -m "Update branch alias" - git push - echo "::endgroup::" diff --git a/composer.json b/composer.json index a8ea0a8..07c8aff 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.1-dev" + "dev-master": "1.0-dev" } } } From fd6e4c81b0eaea08f305d8296d6785ad2aa368a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Wed, 10 Jan 2024 21:17:03 +0100 Subject: [PATCH 15/22] Bump internal dependencies (#1641) --- CHANGELOG.md | 4 ++++ composer.json | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e218839..17dbf03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## NOT RELEASED +### Added + +- Added support for `async-aws/dynamo-db` 2.0 and 3.0 + ## 1.0.2 ### Changed diff --git a/composer.json b/composer.json index 07c8aff..c7bf0b3 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ ], "require": { "php": "^7.2.5 || ^8.0", - "async-aws/dynamo-db": "^1.0" + "async-aws/dynamo-db": "^1.0 || ^2.0 || ^3.0" }, "autoload": { "psr-4": { @@ -27,7 +27,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "1.1-dev" } } } From 5c77da68939ec114f51b7da42902555f6c7b372e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Wed, 10 Jan 2024 21:23:23 +0100 Subject: [PATCH 16/22] Test against PHP 8.4 (#1642) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eeb7c14..433c0fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: max-parallel: 10 matrix: - php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] + php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] steps: - name: Set up PHP From 4054b077e0251fff59355322db20fd3b70019325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Thu, 11 Jan 2024 00:55:46 +0100 Subject: [PATCH 17/22] Make PHP 8.3 the default version in tests (#1643) --- .github/workflows/checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index c73d351..c767322 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -28,7 +28,7 @@ jobs: - name: Install PHP with extensions uses: shivammathur/setup-php@v2 with: - php-version: 8.2 + php-version: 8.3 tools: composer:v2 - name: Install roave/backward-compatibility-check From 37d8c98e24c2e10ab720b976fc2df6e4ebb9d0bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Tue, 27 Feb 2024 15:44:12 +0100 Subject: [PATCH 18/22] prepare next release (#1674) --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 17dbf03..8b8886d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## NOT RELEASED +## 1.1.0 + ### Added - Added support for `async-aws/dynamo-db` 2.0 and 3.0 From 6ae1d4075196e1198ac198441f91026143efbad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Tue, 30 Jul 2024 13:36:17 +0200 Subject: [PATCH 19/22] Bump php-cs-fixer to version 3.60 (#1743) --- CHANGELOG.md | 4 ++++ src/SessionHandler.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b8886d..c42d3b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## NOT RELEASED +### Changed + +- Enable compiler optimization for the `sprintf` function. + ## 1.1.0 ### Added diff --git a/src/SessionHandler.php b/src/SessionHandler.php index 0f0fabf..fecf954 100644 --- a/src/SessionHandler.php +++ b/src/SessionHandler.php @@ -91,7 +91,7 @@ public function setUp(): void $response = $this->client->tableExists(['TableName' => $this->options['table_name']]); $response->wait(100, 3); if (!$response->isSuccess()) { - throw new RuntimeException(sprintf('Could not create table %s', $this->options['table_name'])); + throw new RuntimeException(\sprintf('Could not create table %s', $this->options['table_name'])); } $this->client->updateTimeToLive([ From 95cf8451323fe9edda66a7c8debd99acf64ddd46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Wed, 9 Oct 2024 10:09:09 +0200 Subject: [PATCH 20/22] prepare next release (#1778) --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c42d3b8..f63d6bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## NOT RELEASED +## 1.1.1 + ### Changed - Enable compiler optimization for the `sprintf` function. From 2f39c43acc3c05edbcab0cba76e415f704f784f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Mon, 11 Nov 2024 11:35:53 +0100 Subject: [PATCH 21/22] Upgrade github actions (#1792) --- .github/workflows/checks.yml | 2 +- .github/workflows/ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index c767322..b9c47e8 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 433c0fe..397c8f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: coverage: none - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download dependencies run: | From dee14329d10782b5cd1a55b3c9eafcb1a01b6502 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Sun, 24 Nov 2024 18:57:34 +0100 Subject: [PATCH 22/22] Add support for php 8.5 (#1808) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 397c8f4..944db96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: max-parallel: 10 matrix: - php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] + php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5'] steps: - name: Set up PHP