From 2916d00d2c063cf528d267a60774ada0dfaf20c8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Apr 2023 17:02:26 -0500 Subject: [PATCH 01/69] chore(deps): bump codecov/codecov-action from 3.1.1 to 3.1.2 --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 7041bda..fd59310 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -132,7 +132,7 @@ jobs: run: "./vendor/bin/phpunit --verbose --colors=always --coverage-text --coverage-clover build/logs/clover.xml" - name: "Publish coverage report to Codecov" - uses: "codecov/codecov-action@v3.1.1" + uses: "codecov/codecov-action@v3.1.2" unit-tests: name: "Unit Tests" From 0f81d9b76543a9d641d1fe54969cd4bd630c2b36 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Apr 2023 17:03:19 -0500 Subject: [PATCH 02/69] chore(deps): bump codecov/codecov-action from 3.1.2 to 3.1.3 --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index fd59310..e95aada 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -132,7 +132,7 @@ jobs: run: "./vendor/bin/phpunit --verbose --colors=always --coverage-text --coverage-clover build/logs/clover.xml" - name: "Publish coverage report to Codecov" - uses: "codecov/codecov-action@v3.1.2" + uses: "codecov/codecov-action@v3.1.3" unit-tests: name: "Unit Tests" From c2feb4cd9e5331f388cb33a50b75c1ee8f1ac618 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 May 2023 17:03:25 -0500 Subject: [PATCH 03/69] chore(deps): bump ridedott/merge-me-action from 2.10.44 to 2.10.45 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index cddb937..ad11770 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.44 + uses: ridedott/merge-me-action@v2.10.45 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 6f6cee9992db6272f1c03ad32400b0aff933001a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 May 2023 17:03:57 -0500 Subject: [PATCH 04/69] chore(deps): bump codecov/codecov-action from 3.1.3 to 3.1.4 --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index e95aada..f466ce4 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -132,7 +132,7 @@ jobs: run: "./vendor/bin/phpunit --verbose --colors=always --coverage-text --coverage-clover build/logs/clover.xml" - name: "Publish coverage report to Codecov" - uses: "codecov/codecov-action@v3.1.3" + uses: "codecov/codecov-action@v3.1.4" unit-tests: name: "Unit Tests" From bef858d57e5ede26bae2e2f2b51b21fd7f6e7590 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 May 2023 17:02:16 -0500 Subject: [PATCH 05/69] chore(deps): bump ridedott/merge-me-action from 2.10.45 to 2.10.47 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index ad11770..34e3ae7 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.45 + uses: ridedott/merge-me-action@v2.10.47 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 7d46f65e054bc8b3f3f0df1337019fcef9aa6eb0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Jul 2023 16:49:43 -0500 Subject: [PATCH 06/69] chore(deps): bump ridedott/merge-me-action from 2.10.47 to 2.10.50 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 34e3ae7..d1f9062 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.47 + uses: ridedott/merge-me-action@v2.10.50 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 618874c68145bf38355fe0bfd1cffe70fc83f32c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Aug 2023 16:12:58 -0500 Subject: [PATCH 07/69] chore(deps): bump ridedott/merge-me-action from 2.10.50 to 2.10.51 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index d1f9062..2093cbb 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.50 + uses: ridedott/merge-me-action@v2.10.51 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 8f5309dfaf80e369be15b734d94c14f7686a19e4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Aug 2023 16:20:51 -0500 Subject: [PATCH 08/69] chore(deps): bump ridedott/merge-me-action from 2.10.51 to 2.10.52 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 2093cbb..588db65 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.51 + uses: ridedott/merge-me-action@v2.10.52 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 84a9a4d1e5ba30975fa6486a6329b04a0dc41494 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Aug 2023 16:40:13 -0500 Subject: [PATCH 09/69] chore(deps): bump ridedott/merge-me-action from 2.10.52 to 2.10.54 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 588db65..c31c0bf 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.52 + uses: ridedott/merge-me-action@v2.10.54 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From c05b6662e948e1e8bca0c4dce3518c7e7bb6e1c9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Sep 2023 16:23:40 -0500 Subject: [PATCH 10/69] chore(deps): bump actions/checkout from 3 to 4 --- .github/workflows/continuous-integration.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index f466ce4..2f6de94 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -27,7 +27,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout repository" - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" - name: "Install PHP" uses: "shivammathur/setup-php@v2" @@ -49,7 +49,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout repository" - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" - name: "Install PHP" uses: "shivammathur/setup-php@v2" @@ -81,7 +81,7 @@ jobs: steps: - name: "Checkout repository" - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" - name: "Install dependencies (apt)" run: | @@ -108,7 +108,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout repository" - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" - name: "Install dependencies (apt)" run: | @@ -158,7 +158,7 @@ jobs: git config --system core.eol lf - name: "Checkout repository" - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" - name: "Install dependencies (apt)" if: ${{ matrix.operating-system == 'ubuntu-latest' }} From c02f0c8bf142e753551d90eeddf08ee24abbbf0f Mon Sep 17 00:00:00 2001 From: Serhii Petrov Date: Thu, 5 Oct 2023 22:34:08 +0300 Subject: [PATCH 11/69] Test against php 8.3 (#517) --- .github/workflows/continuous-integration.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 2f6de94..31aba06 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -78,6 +78,7 @@ jobs: - "8.0" - "8.1" - "8.2" + - "8.3" steps: - name: "Checkout repository" @@ -146,6 +147,7 @@ jobs: - "8.0" - "8.1" - "8.2" + - "8.3" operating-system: - "ubuntu-latest" - "windows-latest" From cc1555759f297898e91bcbff6f5164afc0b954d5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Oct 2023 16:11:20 -0500 Subject: [PATCH 12/69] chore(deps): bump ridedott/merge-me-action from 2.10.54 to 2.10.56 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index c31c0bf..1ec14ac 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.54 + uses: ridedott/merge-me-action@v2.10.56 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 8aa7e3c0e542d693ba736b57054aeac3aa52333d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Tue, 31 Oct 2023 17:31:57 +0100 Subject: [PATCH 13/69] Fix typo in CHANGELOG (#511) --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c65322c..cca873a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -464,7 +464,7 @@ The following functionality is deprecated and will be removed in ramsey/uuid for these fields. You may use the new `Math\CalculatorInterface::toIntegerValue()` method to convert the `Type\Hexadecimal` instances to instances of `Type\Integer`. This library provides `Math\BrickMathCalculator`, which may be - used for this purpose, or you may use the arbitrary-precision arithemetic + used for this purpose, or you may use the arbitrary-precision arithmetic library of your choice. * `getClockSeqHiAndReserved()` * `getClockSeqLow()` From bc93c5f873246a992363dc1f7da6e1eefcc02ec0 Mon Sep 17 00:00:00 2001 From: Valentin Udaltsov Date: Wed, 8 Nov 2023 06:32:47 +0300 Subject: [PATCH 14/69] Fixed UnixTimeGenerator collisions (#522) Closes #518 See https://github.com/symfony/symfony/pull/52367 --- src/Generator/UnixTimeGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generator/UnixTimeGenerator.php b/src/Generator/UnixTimeGenerator.php index af94dec..d7c8ed4 100644 --- a/src/Generator/UnixTimeGenerator.php +++ b/src/Generator/UnixTimeGenerator.php @@ -142,7 +142,7 @@ class UnixTimeGenerator implements TimeGeneratorInterface self::$seedIndex = 21; } - self::$rand[5] = 0xffff & $carry = self::$rand[5] + (self::$seedParts[self::$seedIndex--] & 0xffffff); + self::$rand[5] = 0xffff & $carry = self::$rand[5] + 1 + (self::$seedParts[self::$seedIndex--] & 0xffffff); self::$rand[4] = 0xffff & $carry = self::$rand[4] + ($carry >> 16); self::$rand[3] = 0xffff & $carry = self::$rand[3] + ($carry >> 16); self::$rand[2] = 0xffff & $carry = self::$rand[2] + ($carry >> 16); From 855304805f27a1e2d812d04cf2634d287ac5718f Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Tue, 7 Nov 2023 21:36:23 -0600 Subject: [PATCH 15/69] chore: fix RTD configuration See also: https://github.com/pypa/pyproject-hooks/pull/180 --- .readthedocs.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index bc50e91..760a6cd 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,11 +1,15 @@ version: 2 +build: + os: ubuntu-22.04 + tools: + python: "3.8" + sphinx: configuration: docs/conf.py formats: all python: - version: 3.7 install: - requirements: docs/requirements.txt From 41b1497ff477297b1f97ee4b48e6da7edd09fb83 Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Tue, 7 Nov 2023 21:52:00 -0600 Subject: [PATCH 16/69] chore: use Python 3.7 for Read The Docs --- .readthedocs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 760a6cd..01a1aa9 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,9 +1,9 @@ version: 2 build: - os: ubuntu-22.04 + os: ubuntu-20.04 tools: - python: "3.8" + python: "3.7" sphinx: configuration: docs/conf.py From 00945e11a47f68de0293ae6ef29301e9b018a714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Wed, 8 Nov 2023 06:25:47 +0100 Subject: [PATCH 17/69] Fix typo in SystemDceSecurityProviderTest (#510) --- tests/Provider/Dce/SystemDceSecurityProviderTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Provider/Dce/SystemDceSecurityProviderTest.php b/tests/Provider/Dce/SystemDceSecurityProviderTest.php index 8350d9d..f65f398 100644 --- a/tests/Provider/Dce/SystemDceSecurityProviderTest.php +++ b/tests/Provider/Dce/SystemDceSecurityProviderTest.php @@ -449,7 +449,7 @@ class SystemDceSecurityProviderTest extends TestCase 'expectedId' => '546', ], [ - 'netUserReponse' => 'Local Group Memberships Some Group Another Group', + 'netUserResponse' => 'Local Group Memberships Some Group Another Group', 'wmicGroupResponse' => 'Some Group S-1-5-80-19088743-1985229328-4294967295-1324', 'expectedGroup' => 'Some Group', 'expectedId' => '1324', From 9308b6a6000f1e66b71eb206cf4997214eddcfaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1chym=20Tou=C5=A1ek?= Date: Wed, 8 Nov 2023 06:38:32 +0100 Subject: [PATCH 18/69] Improve return type of UuidInterface::compareTo() (#508) --- src/UuidInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UuidInterface.php b/src/UuidInterface.php index 0a97808..cac9457 100644 --- a/src/UuidInterface.php +++ b/src/UuidInterface.php @@ -46,7 +46,7 @@ interface UuidInterface extends * * @param UuidInterface $other The UUID to compare * - * @return int -1, 0, or 1 if the UUID is less than, equal to, or greater than $other + * @return int<-1,1> -1, 0, or 1 if the UUID is less than, equal to, or greater than $other */ public function compareTo(UuidInterface $other): int; From 5f0df49ae5ad6efb7afa69e6bfab4e5b1e080d8e Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Tue, 7 Nov 2023 23:53:05 -0600 Subject: [PATCH 19/69] chore: prepare release 4.7.5 --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cca873a..ad5d56e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,16 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## 4.7.5 - 2023-11-08 + +### Fixed + +* Protect against UUIDv7 collisions within the same millisecond, as reported + in [#518](https://github.com/ramsey/uuid/issues/518) and fixed in + [#522](https://github.com/ramsey/uuid/pull/522). +* Improve the return type hint for `UuidInterface::compareTo()`. + + ## 4.7.4 - 2023-04-15 ### Fixed From 6730652e95b13afc3e026ce946f777ec361d9a49 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Nov 2023 16:02:35 -0600 Subject: [PATCH 20/69] chore(deps): bump ridedott/merge-me-action from 2.10.56 to 2.10.57 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 1ec14ac..4f4f696 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.56 + uses: ridedott/merge-me-action@v2.10.57 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 63e4f7e924cd81b655c39fe6c1499fece7f48333 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Nov 2023 15:59:44 -0600 Subject: [PATCH 21/69] chore(deps): bump ridedott/merge-me-action from 2.10.57 to 2.10.58 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 4f4f696..1725316 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.57 + uses: ridedott/merge-me-action@v2.10.58 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From d59257e31b960b09ec5f055703397ec3b2a5d7ab Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 15:28:19 -0600 Subject: [PATCH 22/69] chore(deps): bump ridedott/merge-me-action from 2.10.58 to 2.10.60 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 1725316..10a14b8 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.58 + uses: ridedott/merge-me-action@v2.10.60 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 80a2a4dda73938b2dc5ee9a7f606cd37bc62ca18 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 15:43:13 -0600 Subject: [PATCH 23/69] chore(deps): bump ridedott/merge-me-action from 2.10.60 to 2.10.62 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 10a14b8..7bf88ce 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.60 + uses: ridedott/merge-me-action@v2.10.62 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From ead9359bc49305d998c205cfd2bf28f9e972a283 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Dec 2023 15:09:27 -0600 Subject: [PATCH 24/69] chore(deps): bump ridedott/merge-me-action from 2.10.62 to 2.10.63 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 7bf88ce..5920298 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.62 + uses: ridedott/merge-me-action@v2.10.63 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 758682d84769871f3808d4fb1f64d7d2350175a8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Dec 2023 15:16:30 -0600 Subject: [PATCH 25/69] chore(deps): bump ridedott/merge-me-action from 2.10.63 to 2.10.64 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 5920298..e60ec48 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.63 + uses: ridedott/merge-me-action@v2.10.64 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From d459bdbb08b1d893c56b1328c81fa0fdbda3ab54 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jan 2024 15:44:20 -0600 Subject: [PATCH 26/69] chore(deps): bump ridedott/merge-me-action from 2.10.64 to 2.10.66 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index e60ec48..6aa52d7 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.64 + uses: ridedott/merge-me-action@v2.10.66 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From c41944d91f3dccb308b2cceec9150cb96fb0605c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 15:59:33 -0600 Subject: [PATCH 27/69] chore(deps): bump codecov/codecov-action from 3.1.4 to 3.1.5 --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 31aba06..48c3dab 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -133,7 +133,7 @@ jobs: run: "./vendor/bin/phpunit --verbose --colors=always --coverage-text --coverage-clover build/logs/clover.xml" - name: "Publish coverage report to Codecov" - uses: "codecov/codecov-action@v3.1.4" + uses: "codecov/codecov-action@v3.1.5" unit-tests: name: "Unit Tests" From 3e9a9842eea358393af3e7ae96228ce6ceac5509 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 15:53:35 -0600 Subject: [PATCH 28/69] chore(deps): bump ridedott/merge-me-action from 2.10.66 to 2.10.67 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 6aa52d7..3a1a82a 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.66 + uses: ridedott/merge-me-action@v2.10.67 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From dd88151c192c4ff29aa74a42859a82d4c408826a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 15:20:23 -0600 Subject: [PATCH 29/69] chore(deps): bump codecov/codecov-action from 3.1.5 to 4.0.1 --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 48c3dab..18e227a 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -133,7 +133,7 @@ jobs: run: "./vendor/bin/phpunit --verbose --colors=always --coverage-text --coverage-clover build/logs/clover.xml" - name: "Publish coverage report to Codecov" - uses: "codecov/codecov-action@v3.1.5" + uses: "codecov/codecov-action@v4.0.1" unit-tests: name: "Unit Tests" From cfd88b5ccb1686928256139fc662a91edf712631 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 15:20:39 -0600 Subject: [PATCH 30/69] chore(deps): bump ridedott/merge-me-action from 2.10.67 to 2.10.69 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 3a1a82a..fae45e0 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.67 + uses: ridedott/merge-me-action@v2.10.69 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 232c0b6fac75f26cc7520fb512770dbe10faa753 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 15:56:13 -0600 Subject: [PATCH 31/69] chore(deps): bump codecov/codecov-action from 4.0.1 to 4.1.0 --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 18e227a..3f89a59 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -133,7 +133,7 @@ jobs: run: "./vendor/bin/phpunit --verbose --colors=always --coverage-text --coverage-clover build/logs/clover.xml" - name: "Publish coverage report to Codecov" - uses: "codecov/codecov-action@v4.0.1" + uses: "codecov/codecov-action@v4.1.0" unit-tests: name: "Unit Tests" From edaf8f7a01f8992e05b34599f4d7507f6396873c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 15:05:57 -0600 Subject: [PATCH 32/69] chore(deps): bump ridedott/merge-me-action from 2.10.69 to 2.10.71 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index fae45e0..9d83972 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.69 + uses: ridedott/merge-me-action@v2.10.71 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 7de47955d8d3b77b8b7f37c6ce0681fa799317c1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 16:52:12 -0500 Subject: [PATCH 33/69] chore(deps): bump ridedott/merge-me-action from 2.10.71 to 2.10.72 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 9d83972..2413bb1 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.71 + uses: ridedott/merge-me-action@v2.10.72 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 34a0491ea0cde136c0dbefbfa0b694cfe247dcdb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:14:18 -0500 Subject: [PATCH 34/69] chore(deps): bump ridedott/merge-me-action from 2.10.72 to 2.10.74 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 2413bb1..4b1d097 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.72 + uses: ridedott/merge-me-action@v2.10.74 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 4dc941f775df808b0c2eb174c797dd266f713dbd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Mar 2024 16:48:13 -0500 Subject: [PATCH 35/69] chore(deps): bump ridedott/merge-me-action from 2.10.74 to 2.10.76 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 4b1d097..7fddd52 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.74 + uses: ridedott/merge-me-action@v2.10.76 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 59d49152e477d46cd141b99670fc2b30e702a270 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 16:20:37 -0500 Subject: [PATCH 36/69] chore(deps): bump codecov/codecov-action from 4.1.0 to 4.1.1 --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 3f89a59..da1ade0 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -133,7 +133,7 @@ jobs: run: "./vendor/bin/phpunit --verbose --colors=always --coverage-text --coverage-clover build/logs/clover.xml" - name: "Publish coverage report to Codecov" - uses: "codecov/codecov-action@v4.1.0" + uses: "codecov/codecov-action@v4.1.1" unit-tests: name: "Unit Tests" From 20bc45a2be81c539992307a5c91db1c62f8a0b42 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Apr 2024 16:12:32 -0500 Subject: [PATCH 37/69] chore(deps): bump ridedott/merge-me-action from 2.10.76 to 2.10.77 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 7fddd52..4c3c688 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.76 + uses: ridedott/merge-me-action@v2.10.77 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 30fbc7904fd6399c7eb62790dff499156cbf72a1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Apr 2024 16:28:04 -0500 Subject: [PATCH 38/69] chore(deps): bump ramsey/composer-install from 2 to 3 --- .github/workflows/continuous-integration.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index da1ade0..f5b659a 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -36,7 +36,7 @@ jobs: coverage: "none" - name: "Install dependencies (Composer)" - uses: "ramsey/composer-install@v2" + uses: "ramsey/composer-install@v3" - name: "Check syntax (php-parallel-lint)" run: "composer lint -- --colors" @@ -58,7 +58,7 @@ jobs: coverage: "none" - name: "Install dependencies (Composer)" - uses: "ramsey/composer-install@v2" + uses: "ramsey/composer-install@v3" - name: "Statically analyze code (PHPStan)" run: "composer phpstan -- --ansi" @@ -98,7 +98,7 @@ jobs: ini-values: "memory_limit=-1" - name: "Install dependencies (Composer)" - uses: "ramsey/composer-install@v2" + uses: "ramsey/composer-install@v3" - name: "Run PHPBench" run: "composer phpbench -- --ansi" @@ -125,7 +125,7 @@ jobs: ini-values: "memory_limit=-1" - name: "Install dependencies (Composer)" - uses: "ramsey/composer-install@v2" + uses: "ramsey/composer-install@v3" with: dependency-versions: "${{ matrix.dependencies }}" @@ -177,7 +177,7 @@ jobs: ini-values: "memory_limit=-1" - name: "Install dependencies (Composer)" - uses: "ramsey/composer-install@v2" + uses: "ramsey/composer-install@v3" with: composer-options: "${{ matrix.composer-options }}" From 68e4e37db514e34f8086a5968e0e0fbbb182beb3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 16:35:15 -0500 Subject: [PATCH 39/69] chore(deps): bump codecov/codecov-action from 4.1.1 to 4.3.0 --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index f5b659a..781831f 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -133,7 +133,7 @@ jobs: run: "./vendor/bin/phpunit --verbose --colors=always --coverage-text --coverage-clover build/logs/clover.xml" - name: "Publish coverage report to Codecov" - uses: "codecov/codecov-action@v4.1.1" + uses: "codecov/codecov-action@v4.3.0" unit-tests: name: "Unit Tests" From f6376dd4589a494be5219b97181a9606bec9ec4a Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Sat, 27 Apr 2024 15:55:08 -0500 Subject: [PATCH 40/69] chore: upgrade Sphinx to fix documentation builds --- docs/requirements.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 767ec4d..022d5b4 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,3 @@ -Sphinx==2.4.3 -sphinx-rtd-theme==0.4.3 -sphinxcontrib-phpdomain==0.7.0 +Sphinx==7.3.7 +sphinx-rtd-theme==2.0.0 +sphinxcontrib-phpdomain==0.11.1 From 3baa7cef7448e91cddfc2667a1ba71cff4ffa45e Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Sat, 27 Apr 2024 15:59:34 -0500 Subject: [PATCH 41/69] chore: upgrade the Python environment for documentation --- .readthedocs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 01a1aa9..a0d7665 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,9 +1,9 @@ version: 2 build: - os: ubuntu-20.04 + os: ubuntu-22.04 tools: - python: "3.7" + python: "3.12" sphinx: configuration: docs/conf.py From 3caf795655203d9fd9bf99040c01f9b65935e172 Mon Sep 17 00:00:00 2001 From: Natsuki Ikeguchi Date: Sun, 28 Apr 2024 06:17:30 +0900 Subject: [PATCH 42/69] feat: Support brick/math v0.12 (#526) Signed-off-by: Natsuki Ikeguchi --- .github/workflows/continuous-integration.yml | 16 ++++++++++- composer.json | 2 +- composer.lock | 29 ++++++++++++-------- psalm.xml | 3 +- src/Math/BrickMathCalculator.php | 6 ++-- 5 files changed, 39 insertions(+), 17 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 781831f..f5cd741 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -79,6 +79,12 @@ jobs: - "8.1" - "8.2" - "8.3" + include: + # Keep the locked version by default + - dependency-versions: "locked" + # For PHP 8.0, installing with --prefer-highest to use brick/math v0.11 + - php-version: "8.0" + dependency-versions: "highest" steps: - name: "Checkout repository" @@ -99,6 +105,8 @@ jobs: - name: "Install dependencies (Composer)" uses: "ramsey/composer-install@v3" + with: + dependency-versions: "${{ matrix.dependency-versions }}" - name: "Run PHPBench" run: "composer phpbench -- --ansi" @@ -151,6 +159,12 @@ jobs: operating-system: - "ubuntu-latest" - "windows-latest" + include: + # Keep the locked version by default + - dependency-versions: "locked" + # For PHP 8.0, installing with --prefer-highest to use brick/math v0.11 + - php-version: "8.0" + dependency-versions: "highest" steps: - name: "Configure Git (for Windows)" @@ -179,7 +193,7 @@ jobs: - name: "Install dependencies (Composer)" uses: "ramsey/composer-install@v3" with: - composer-options: "${{ matrix.composer-options }}" + dependency-versions: "${{ matrix.dependency-versions }}" - name: "Run unit tests (PHPUnit)" run: "./vendor/bin/phpunit --verbose --colors=always --no-coverage" diff --git a/composer.json b/composer.json index 9ea4e06..8139b54 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "require": { "php": "^8.0", "ext-json": "*", - "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11", + "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12", "ramsey/collection": "^1.2 || ^2.0" }, "require-dev": { diff --git a/composer.lock b/composer.lock index d23eb53..a1b85fd 100644 --- a/composer.lock +++ b/composer.lock @@ -4,29 +4,29 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1a0cfb78275fbdcb1744fc79f1d5fb66", + "content-hash": "d096188f435f9df9336415308e9e4938", "packages": [ { "name": "brick/math", - "version": "0.11.0", + "version": "0.12.1", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478" + "reference": "f510c0a40911935b77b86859eb5223d58d660df1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/0ad82ce168c82ba30d1c01ec86116ab52f589478", - "reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478", + "url": "https://api.github.com/repos/brick/math/zipball/f510c0a40911935b77b86859eb5223d58d660df1", + "reference": "f510c0a40911935b77b86859eb5223d58d660df1", "shasum": "" }, "require": { - "php": "^8.0" + "php": "^8.1" }, "require-dev": { "php-coveralls/php-coveralls": "^2.2", - "phpunit/phpunit": "^9.0", - "vimeo/psalm": "5.0.0" + "phpunit/phpunit": "^10.1", + "vimeo/psalm": "5.16.0" }, "type": "library", "autoload": { @@ -46,12 +46,17 @@ "arithmetic", "bigdecimal", "bignum", + "bignumber", "brick", - "math" + "decimal", + "integer", + "math", + "mathematics", + "rational" ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.11.0" + "source": "https://github.com/brick/math/tree/0.12.1" }, "funding": [ { @@ -59,7 +64,7 @@ "type": "github" } ], - "time": "2023-01-15T23:15:59+00:00" + "time": "2023-11-29T23:19:16+00:00" }, { "name": "ramsey/collection", @@ -7363,5 +7368,5 @@ "ext-json": "*" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/psalm.xml b/psalm.xml index 0489226..04cb32c 100644 --- a/psalm.xml +++ b/psalm.xml @@ -4,7 +4,8 @@ xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" errorLevel="1" cacheDirectory="./build/cache/psalm" - errorBaseline="psalm-baseline.xml"> + errorBaseline="psalm-baseline.xml" + phpVersion="8.1"> diff --git a/src/Math/BrickMathCalculator.php b/src/Math/BrickMathCalculator.php index f2d8678..f065acd 100644 --- a/src/Math/BrickMathCalculator.php +++ b/src/Math/BrickMathCalculator.php @@ -136,9 +136,11 @@ final class BrickMathCalculator implements CalculatorInterface /** * Maps ramsey/uuid rounding modes to those used by brick/math + * + * @return BrickMathRounding::* */ - private function getBrickRoundingMode(int $roundingMode): int + private function getBrickRoundingMode(int $roundingMode) { - return self::ROUNDING_MODE_MAP[$roundingMode] ?? 0; + return self::ROUNDING_MODE_MAP[$roundingMode] ?? BrickMathRounding::UNNECESSARY; } } From 91039bc1faa45ba123c4328958e620d382ec7088 Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Sat, 27 Apr 2024 16:32:50 -0500 Subject: [PATCH 43/69] chore: prepare version 4.7.6 --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad5d56e..62ec7fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## 4.7.6 - 2024-04-27 + +### Fixed + +* Allow brick/math version `^0.12`. + + ## 4.7.5 - 2023-11-08 ### Fixed From e9b3aef11d4f06c4fc11a0aa157b8d89002ce11f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 16:45:12 -0500 Subject: [PATCH 44/69] chore(deps): bump ridedott/merge-me-action from 2.10.77 to 2.10.79 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 4c3c688..16b3301 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.77 + uses: ridedott/merge-me-action@v2.10.79 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 1f85b37c66ab468f91831a4baaf529b97be11530 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 16:16:32 -0500 Subject: [PATCH 45/69] chore(deps): bump codecov/codecov-action from 4.3.0 to 4.3.1 --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index f5cd741..b556a1a 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -141,7 +141,7 @@ jobs: run: "./vendor/bin/phpunit --verbose --colors=always --coverage-text --coverage-clover build/logs/clover.xml" - name: "Publish coverage report to Codecov" - uses: "codecov/codecov-action@v4.3.0" + uses: "codecov/codecov-action@v4.3.1" unit-tests: name: "Unit Tests" From 9955b08d13b8d68510527759e0eb7b287d706f7c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 16:15:45 -0500 Subject: [PATCH 46/69] chore(deps): bump ridedott/merge-me-action from 2.10.79 to 2.10.80 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 16b3301..8e82f58 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.79 + uses: ridedott/merge-me-action@v2.10.80 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 558009ce4ccd77d7f0a83cd0d64580b767ebd933 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Sat, 18 May 2024 21:34:25 +0200 Subject: [PATCH 47/69] Prevent PHPStan error: 'Uuid::fromString() on a separate line has no effect.' (#552) Co-authored-by: Ben Ramsey --- src/Uuid.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/Uuid.php b/src/Uuid.php index e0384a5..cce9943 100644 --- a/src/Uuid.php +++ b/src/Uuid.php @@ -19,6 +19,7 @@ use DateTimeInterface; use Ramsey\Uuid\Codec\CodecInterface; use Ramsey\Uuid\Converter\NumberConverterInterface; use Ramsey\Uuid\Converter\TimeConverterInterface; +use Ramsey\Uuid\Exception\InvalidArgumentException; use Ramsey\Uuid\Exception\UnsupportedOperationException; use Ramsey\Uuid\Fields\FieldsInterface; use Ramsey\Uuid\Lazy\LazyUuidFromString; @@ -436,9 +437,10 @@ class Uuid implements UuidInterface * @return UuidInterface A UuidInterface instance created from a binary * string representation * + * @throws InvalidArgumentException + * * @psalm-pure note: changing the internal factory is an edge case not covered by purity invariants, * but under constant factory setups, this method operates in functionally pure manners - * * @psalm-suppress ImpureStaticProperty we know that the factory being replaced can lead to massive * havoc across all consumers: that should never happen, and * is generally to be discouraged. Until the factory is kept @@ -474,9 +476,10 @@ class Uuid implements UuidInterface * @return UuidInterface A UuidInterface instance created from a hexadecimal * string representation * + * @throws InvalidArgumentException + * * @psalm-pure note: changing the internal factory is an edge case not covered by purity invariants, * but under constant factory setups, this method operates in functionally pure manners - * * @psalm-suppress ImpureStaticProperty we know that the factory being replaced can lead to massive * havoc across all consumers: that should never happen, and * is generally to be discouraged. Until the factory is kept @@ -523,6 +526,8 @@ class Uuid implements UuidInterface * @return UuidInterface A UuidInterface instance created from the Hexadecimal * object representing a hexadecimal number * + * @throws InvalidArgumentException + * * @psalm-pure note: changing the internal factory is an edge case not covered by purity invariants, * but under constant factory setups, this method operates in functionally pure manners * @psalm-suppress MixedInferredReturnType,MixedReturnStatement @@ -550,6 +555,8 @@ class Uuid implements UuidInterface * @return UuidInterface A UuidInterface instance created from the string * representation of a 128-bit integer * + * @throws InvalidArgumentException + * * @psalm-pure note: changing the internal factory is an edge case not covered by purity invariants, * but under constant factory setups, this method operates in functionally pure manners */ From 13c33b5e7e4ee04f5e6c9b55e34beacb2bdafd8d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 May 2024 16:19:49 -0500 Subject: [PATCH 48/69] --- --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index b556a1a..1444a9d 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -141,7 +141,7 @@ jobs: run: "./vendor/bin/phpunit --verbose --colors=always --coverage-text --coverage-clover build/logs/clover.xml" - name: "Publish coverage report to Codecov" - uses: "codecov/codecov-action@v4.3.1" + uses: "codecov/codecov-action@v4.4.1" unit-tests: name: "Unit Tests" From d7f6c8f8c13ca45661872198fa6e282c1f7db6fb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 17:02:01 -0500 Subject: [PATCH 49/69] chore(deps): bump ridedott/merge-me-action from 2.10.80 to 2.10.83 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 8e82f58..74eb22e 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.80 + uses: ridedott/merge-me-action@v2.10.83 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From ba08cc7ac06da5c095f5ed26c8ad2811974027ea Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 17:04:18 -0500 Subject: [PATCH 50/69] chore(deps): bump ridedott/merge-me-action from 2.10.83 to 2.10.84 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 74eb22e..a90d919 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.83 + uses: ridedott/merge-me-action@v2.10.84 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From edd306ee78d2ab08b4821e1285e2124452450adc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 16:44:05 -0500 Subject: [PATCH 51/69] chore(deps): bump codecov/codecov-action from 4.4.1 to 4.5.0 --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 1444a9d..29813b8 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -141,7 +141,7 @@ jobs: run: "./vendor/bin/phpunit --verbose --colors=always --coverage-text --coverage-clover build/logs/clover.xml" - name: "Publish coverage report to Codecov" - uses: "codecov/codecov-action@v4.4.1" + uses: "codecov/codecov-action@v4.5.0" unit-tests: name: "Unit Tests" From f07ccaa0206b743c353330c38c9e6e6d30de7552 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 16:31:37 -0500 Subject: [PATCH 52/69] chore(deps): bump ridedott/merge-me-action from 2.10.84 to 2.10.87 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index a90d919..d369bdb 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.84 + uses: ridedott/merge-me-action@v2.10.87 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From e12f3d4e03bd1ba6d5d605a451d79151a450cd52 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jul 2024 16:05:52 -0500 Subject: [PATCH 53/69] chore(deps): bump ridedott/merge-me-action from 2.10.87 to 2.10.88 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index d369bdb..242f2fe 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.87 + uses: ridedott/merge-me-action@v2.10.88 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 49f8f205baa5de8741f8fa1a543ae0cb781f2ee5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jul 2024 16:18:28 -0500 Subject: [PATCH 54/69] chore(deps): bump ridedott/merge-me-action from 2.10.88 to 2.10.89 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 242f2fe..cdb33ad 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.88 + uses: ridedott/merge-me-action@v2.10.89 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 892e2a056d9903358f01f0e700866b14cdbe5590 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 16:31:36 -0500 Subject: [PATCH 55/69] chore(deps): bump ridedott/merge-me-action from 2.10.89 to 2.10.91 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index cdb33ad..6a9afe7 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.89 + uses: ridedott/merge-me-action@v2.10.91 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 8123be476b4ee5fde70553d4a26b4f704103f649 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 16:51:24 -0500 Subject: [PATCH 56/69] chore(deps): bump ridedott/merge-me-action from 2.10.91 to 2.10.93 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 6a9afe7..d897495 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.91 + uses: ridedott/merge-me-action@v2.10.93 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From c433de9d6929dca56757cb433319158648ab95be Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Aug 2024 16:09:13 -0500 Subject: [PATCH 57/69] chore(deps): bump ridedott/merge-me-action from 2.10.93 to 2.10.94 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index d897495..6459246 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.93 + uses: ridedott/merge-me-action@v2.10.94 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 6a8c1971179f4f14253fd576a71631608a0ea361 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:38:33 -0500 Subject: [PATCH 58/69] chore(deps): bump ridedott/merge-me-action from 2.10.94 to 2.10.96 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 6459246..f69a212 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.94 + uses: ridedott/merge-me-action@v2.10.96 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From fd06b9529487c3922f5ad70171e33a19b601c614 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Aug 2024 16:17:24 -0500 Subject: [PATCH 59/69] chore(deps): bump ridedott/merge-me-action from 2.10.96 to 2.10.98 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index f69a212..e61922a 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.96 + uses: ridedott/merge-me-action@v2.10.98 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 6f45de987cdde336532f81f7c21d47bcfa5d5830 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 16:11:39 -0500 Subject: [PATCH 60/69] chore(deps): bump ridedott/merge-me-action from 2.10.98 to 2.10.102 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index e61922a..db2a098 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.98 + uses: ridedott/merge-me-action@v2.10.102 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From b06bf5f48e758732bd332c8707b462253075e210 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Sep 2024 17:04:13 -0500 Subject: [PATCH 61/69] chore(deps): bump ridedott/merge-me-action from 2.10.102 to 2.10.103 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index db2a098..e515a7f 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.102 + uses: ridedott/merge-me-action@v2.10.103 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 7839a5663b4dd1de8d90619d78199517ba8ea653 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 16:07:05 -0500 Subject: [PATCH 62/69] chore(deps): bump ridedott/merge-me-action from 2.10.103 to 2.10.105 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index e515a7f..9afe17f 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.103 + uses: ridedott/merge-me-action@v2.10.105 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From dbab16f268c9ae6d52b8323bb3a58b3d8cfede2c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 16:50:31 -0500 Subject: [PATCH 63/69] chore(deps): bump ridedott/merge-me-action from 2.10.105 to 2.10.106 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 9afe17f..30d9af4 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.105 + uses: ridedott/merge-me-action@v2.10.106 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 5b996d9736e50cb39fbf5d50485e1aacea30491e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 17:53:55 -0400 Subject: [PATCH 64/69] chore(deps): bump ridedott/merge-me-action from 2.10.106 to 2.10.108 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 30d9af4..61608bd 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.106 + uses: ridedott/merge-me-action@v2.10.108 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From 9e8aa057ba5384e5888954c828f8de90ccd3ca4c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 16:21:59 -0500 Subject: [PATCH 65/69] chore(deps): bump codecov/codecov-action from 4.5.0 to 4.6.0 --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 29813b8..5a40099 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -141,7 +141,7 @@ jobs: run: "./vendor/bin/phpunit --verbose --colors=always --coverage-text --coverage-clover build/logs/clover.xml" - name: "Publish coverage report to Codecov" - uses: "codecov/codecov-action@v4.5.0" + uses: "codecov/codecov-action@v4.6.0" unit-tests: name: "Unit Tests" From 1311eb2c9d7391053b52334db3c94e8e4fad16a6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:02:49 -0600 Subject: [PATCH 66/69] chore(deps): bump codecov/codecov-action from 4.6.0 to 5.0.2 --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 5a40099..b97aa71 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -141,7 +141,7 @@ jobs: run: "./vendor/bin/phpunit --verbose --colors=always --coverage-text --coverage-clover build/logs/clover.xml" - name: "Publish coverage report to Codecov" - uses: "codecov/codecov-action@v4.6.0" + uses: "codecov/codecov-action@v5.0.2" unit-tests: name: "Unit Tests" From bf5d6f58bbcf4b3bedeba59dc98bedbdedcb01ca Mon Sep 17 00:00:00 2001 From: chris Date: Sat, 23 Nov 2024 19:24:08 +0100 Subject: [PATCH 67/69] tests: add tests for PHP 8.4 (#568) --- .github/workflows/continuous-integration.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index b97aa71..e0d28d5 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -79,6 +79,7 @@ jobs: - "8.1" - "8.2" - "8.3" + - "8.4" include: # Keep the locked version by default - dependency-versions: "locked" @@ -156,6 +157,7 @@ jobs: - "8.1" - "8.2" - "8.3" + - "8.4" operating-system: - "ubuntu-latest" - "windows-latest" From 99fc2f461452e2f4243d70f9099c4dd2b1c2bffd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 15:13:53 -0600 Subject: [PATCH 68/69] chore(deps): bump ridedott/merge-me-action from 2.10.108 to 2.10.111 --- .github/workflows/merge-dependabot-upgrades.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-upgrades.yml b/.github/workflows/merge-dependabot-upgrades.yml index 61608bd..60665f8 100644 --- a/.github/workflows/merge-dependabot-upgrades.yml +++ b/.github/workflows/merge-dependabot-upgrades.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Auto-Merge if: ${{ github.event.workflow_run.conclusion == 'success' }} - uses: ridedott/merge-me-action@v2.10.108 + uses: ridedott/merge-me-action@v2.10.111 with: # This must be used as GitHub Actions token does not support pushing # to protected branches. From c11fa78821eb45bd6cef35982654d78f27cf00d5 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Tue, 14 Jan 2025 11:46:40 +0100 Subject: [PATCH 69/69] Composer: update PHP Parallel Lint ... to a version which is compatible with PHP 8.4. Ref: https://github.com/php-parallel-lint/PHP-Parallel-Lint/releases/tag/v1.4.0 --- composer.json | 2 +- composer.lock | 24 ++++++++++++++---------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/composer.json b/composer.json index 8139b54..e3ee1a7 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "paragonie/random-lib": "^2", "php-mock/php-mock": "^2.2", "php-mock/php-mock-mockery": "^1.3", - "php-parallel-lint/php-parallel-lint": "^1.1", + "php-parallel-lint/php-parallel-lint": "^1.4.0", "phpbench/phpbench": "^1.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan": "^1.8", diff --git a/composer.lock b/composer.lock index a1b85fd..683cb58 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": "d096188f435f9df9336415308e9e4938", + "content-hash": "f21ec729c0d999cd566bb64ce37f675b", "packages": [ { "name": "brick/math", @@ -2961,16 +2961,16 @@ }, { "name": "php-parallel-lint/php-parallel-lint", - "version": "v1.3.2", + "version": "v1.4.0", "source": { "type": "git", "url": "https://github.com/php-parallel-lint/PHP-Parallel-Lint.git", - "reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de" + "reference": "6db563514f27e19595a19f45a4bf757b6401194e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-parallel-lint/PHP-Parallel-Lint/zipball/6483c9832e71973ed29cf71bd6b3f4fde438a9de", - "reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de", + "url": "https://api.github.com/repos/php-parallel-lint/PHP-Parallel-Lint/zipball/6db563514f27e19595a19f45a4bf757b6401194e", + "reference": "6db563514f27e19595a19f45a4bf757b6401194e", "shasum": "" }, "require": { @@ -3008,13 +3008,17 @@ "email": "ahoj@jakubonderka.cz" } ], - "description": "This tool check syntax of PHP files about 20x faster than serial check.", + "description": "This tool checks the syntax of PHP files about 20x faster than serial check.", "homepage": "https://github.com/php-parallel-lint/PHP-Parallel-Lint", + "keywords": [ + "lint", + "static analysis" + ], "support": { "issues": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/issues", - "source": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/tree/v1.3.2" + "source": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/tree/v1.4.0" }, - "time": "2022-02-21T12:50:22+00:00" + "time": "2024-03-27T12:14:49+00:00" }, { "name": "phpbench/container", @@ -7360,13 +7364,13 @@ ], "aliases": [], "minimum-stability": "dev", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": true, "prefer-lowest": false, "platform": { "php": "^8.0", "ext-json": "*" }, - "platform-dev": [], + "platform-dev": {}, "plugin-api-version": "2.6.0" }