mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-15 16:07:55 +03:00
Merge branch '4.x' into 5.x
This commit is contained in:
@@ -28,7 +28,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: "Checkout repository"
|
||||
uses: "actions/checkout@v4"
|
||||
uses: "actions/checkout@v6"
|
||||
|
||||
- name: "Install PHP"
|
||||
uses: "shivammathur/setup-php@v2"
|
||||
@@ -53,7 +53,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: "Checkout repository"
|
||||
uses: "actions/checkout@v4"
|
||||
uses: "actions/checkout@v6"
|
||||
|
||||
- name: "Install PHP"
|
||||
uses: "shivammathur/setup-php@v2"
|
||||
@@ -81,10 +81,11 @@ jobs:
|
||||
- "8.2"
|
||||
- "8.3"
|
||||
- "8.4"
|
||||
- "8.5"
|
||||
|
||||
steps:
|
||||
- name: "Checkout repository"
|
||||
uses: "actions/checkout@v4"
|
||||
uses: "actions/checkout@v6"
|
||||
|
||||
- name: "Install dependencies (apt)"
|
||||
run: |
|
||||
@@ -114,7 +115,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: "Checkout repository"
|
||||
uses: "actions/checkout@v4"
|
||||
uses: "actions/checkout@v6"
|
||||
|
||||
- name: "Install dependencies (apt)"
|
||||
run: |
|
||||
@@ -159,6 +160,7 @@ jobs:
|
||||
- "8.2"
|
||||
- "8.3"
|
||||
- "8.4"
|
||||
- "8.5"
|
||||
operating-system:
|
||||
- "ubuntu-latest"
|
||||
- "windows-latest"
|
||||
@@ -174,7 +176,7 @@ jobs:
|
||||
git config --system core.eol lf
|
||||
|
||||
- name: "Checkout repository"
|
||||
uses: "actions/checkout@v4"
|
||||
uses: "actions/checkout@v6"
|
||||
|
||||
- name: "Install dependencies (apt)"
|
||||
if: ${{ matrix.operating-system == 'ubuntu-latest' }}
|
||||
@@ -190,6 +192,10 @@ jobs:
|
||||
coverage: "none"
|
||||
ini-values: "memory_limit=-1"
|
||||
|
||||
- name: "Downgrade brick/math in lock file for PHP 8.0"
|
||||
run: |
|
||||
composer update brick/math:"0.8.16"
|
||||
|
||||
- name: "Install dependencies (Composer)"
|
||||
uses: "ramsey/composer-install@v3"
|
||||
with:
|
||||
|
||||
@@ -74,6 +74,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
* Remove dependency on ramsey/collection package.
|
||||
|
||||
|
||||
## 4.9.1 - 2025-09-04
|
||||
|
||||
### Fixed
|
||||
|
||||
* Allow brick/math version `^0.14`; fixed in [#617](https://github.com/ramsey/uuid/pull/617).
|
||||
* Default to `microtime()` instead of `DateTimeImmutable` in `Ramsey\Uuid\Generator\UnixTimeGenerator`.
|
||||
|
||||
|
||||
## 4.9.0 - 2025-06-25
|
||||
|
||||
### Added
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
],
|
||||
"require": {
|
||||
"php": "^8.2",
|
||||
"brick/math": "^0.11 || ^0.12 || ^0.13"
|
||||
"brick/math": "^0.11 || ^0.12 || ^0.13 || ^0.14"
|
||||
},
|
||||
"require-dev": {
|
||||
"captainhook/captainhook": "^5.25",
|
||||
|
||||
Generated
+186
-150
@@ -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": "e285a97dc45b95a90728d901079965c3",
|
||||
"content-hash": "e407fae1bd4c05d076e212c191e49202",
|
||||
"packages": [
|
||||
{
|
||||
"name": "brick/math",
|
||||
"version": "0.11.0",
|
||||
"version": "0.14.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/brick/math.git",
|
||||
"reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478"
|
||||
"reference": "f05858549e5f9d7bb45875a75583240a38a281d0"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/brick/math/zipball/0ad82ce168c82ba30d1c01ec86116ab52f589478",
|
||||
"reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478",
|
||||
"url": "https://api.github.com/repos/brick/math/zipball/f05858549e5f9d7bb45875a75583240a38a281d0",
|
||||
"reference": "f05858549e5f9d7bb45875a75583240a38a281d0",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^8.0"
|
||||
"php": "^8.2"
|
||||
},
|
||||
"require-dev": {
|
||||
"php-coveralls/php-coveralls": "^2.2",
|
||||
"phpunit/phpunit": "^9.0",
|
||||
"vimeo/psalm": "5.0.0"
|
||||
"phpstan/phpstan": "2.1.22",
|
||||
"phpunit/phpunit": "^11.5"
|
||||
},
|
||||
"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.14.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -59,22 +64,22 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2023-01-15T23:15:59+00:00"
|
||||
"time": "2025-11-24T14:40:29+00:00"
|
||||
}
|
||||
],
|
||||
"packages-dev": [
|
||||
{
|
||||
"name": "captainhook/captainhook",
|
||||
"version": "5.25.5",
|
||||
"version": "5.25.10",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/captainhook-git/captainhook.git",
|
||||
"reference": "7b0feb07ae328c83c458175fe19e5cb55634b1fb"
|
||||
"reference": "5c837a10529183223bb93ed108f0744fcc8f2747"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/captainhook-git/captainhook/zipball/7b0feb07ae328c83c458175fe19e5cb55634b1fb",
|
||||
"reference": "7b0feb07ae328c83c458175fe19e5cb55634b1fb",
|
||||
"url": "https://api.github.com/repos/captainhook-git/captainhook/zipball/5c837a10529183223bb93ed108f0744fcc8f2747",
|
||||
"reference": "5c837a10529183223bb93ed108f0744fcc8f2747",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -137,7 +142,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/captainhook-git/captainhook/issues",
|
||||
"source": "https://github.com/captainhook-git/captainhook/tree/5.25.5"
|
||||
"source": "https://github.com/captainhook-git/captainhook/tree/5.25.10"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -145,7 +150,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2025-06-07T07:44:19+00:00"
|
||||
"time": "2025-07-26T09:53:28+00:00"
|
||||
},
|
||||
{
|
||||
"name": "captainhook/plugin-composer",
|
||||
@@ -260,16 +265,16 @@
|
||||
},
|
||||
{
|
||||
"name": "dealerdirect/phpcodesniffer-composer-installer",
|
||||
"version": "v1.1.0",
|
||||
"version": "v1.1.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/PHPCSStandards/composer-installer.git",
|
||||
"reference": "18a95476797ed480b3f2598984bc6f7e1eecc9a8"
|
||||
"reference": "e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/18a95476797ed480b3f2598984bc6f7e1eecc9a8",
|
||||
"reference": "18a95476797ed480b3f2598984bc6f7e1eecc9a8",
|
||||
"url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1",
|
||||
"reference": "e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -281,7 +286,7 @@
|
||||
"composer/composer": "^2.2",
|
||||
"ext-json": "*",
|
||||
"ext-zip": "*",
|
||||
"php-parallel-lint/php-parallel-lint": "^1.3.1",
|
||||
"php-parallel-lint/php-parallel-lint": "^1.4.0",
|
||||
"phpcompatibility/php-compatibility": "^9.0",
|
||||
"yoast/phpunit-polyfills": "^1.0"
|
||||
},
|
||||
@@ -352,7 +357,7 @@
|
||||
"type": "thanks_dev"
|
||||
}
|
||||
],
|
||||
"time": "2025-05-28T16:05:48+00:00"
|
||||
"time": "2025-07-17T20:45:56+00:00"
|
||||
},
|
||||
{
|
||||
"name": "doctrine/annotations",
|
||||
@@ -509,16 +514,16 @@
|
||||
},
|
||||
{
|
||||
"name": "ergebnis/composer-normalize",
|
||||
"version": "2.47.0",
|
||||
"version": "2.48.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/ergebnis/composer-normalize.git",
|
||||
"reference": "ed24b9f8901f8fbafeca98f662eaca39427f0544"
|
||||
"reference": "86dc9731b8320f49e9be9ad6d8e4de9b8b0e9b8b"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/ergebnis/composer-normalize/zipball/ed24b9f8901f8fbafeca98f662eaca39427f0544",
|
||||
"reference": "ed24b9f8901f8fbafeca98f662eaca39427f0544",
|
||||
"url": "https://api.github.com/repos/ergebnis/composer-normalize/zipball/86dc9731b8320f49e9be9ad6d8e4de9b8b0e9b8b",
|
||||
"reference": "86dc9731b8320f49e9be9ad6d8e4de9b8b0e9b8b",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -528,30 +533,31 @@
|
||||
"ergebnis/json-printer": "^3.7.0",
|
||||
"ext-json": "*",
|
||||
"justinrainbow/json-schema": "^5.2.12 || ^6.0.0",
|
||||
"localheinz/diff": "^1.2.0",
|
||||
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0"
|
||||
"localheinz/diff": "^1.3.0",
|
||||
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"composer/composer": "^2.8.3",
|
||||
"ergebnis/license": "^2.6.0",
|
||||
"ergebnis/php-cs-fixer-config": "^6.46.0",
|
||||
"ergebnis/phpunit-slow-test-detector": "^2.19.1",
|
||||
"ergebnis/license": "^2.7.0",
|
||||
"ergebnis/php-cs-fixer-config": "^6.53.0",
|
||||
"ergebnis/phpstan-rules": "^2.11.0",
|
||||
"ergebnis/phpunit-slow-test-detector": "^2.20.0",
|
||||
"fakerphp/faker": "^1.24.1",
|
||||
"infection/infection": "~0.26.6",
|
||||
"phpstan/extension-installer": "^1.4.3",
|
||||
"phpstan/phpstan": "^2.1.11",
|
||||
"phpstan/phpstan-deprecation-rules": "^2.0.1",
|
||||
"phpstan/phpstan-phpunit": "^2.0.6",
|
||||
"phpstan/phpstan-strict-rules": "^2.0.4",
|
||||
"phpstan/phpstan": "^2.1.17",
|
||||
"phpstan/phpstan-deprecation-rules": "^2.0.3",
|
||||
"phpstan/phpstan-phpunit": "^2.0.7",
|
||||
"phpstan/phpstan-strict-rules": "^2.0.6",
|
||||
"phpunit/phpunit": "^9.6.20",
|
||||
"rector/rector": "^2.0.11",
|
||||
"rector/rector": "^2.1.4",
|
||||
"symfony/filesystem": "^5.4.41"
|
||||
},
|
||||
"type": "composer-plugin",
|
||||
"extra": {
|
||||
"class": "Ergebnis\\Composer\\Normalize\\NormalizePlugin",
|
||||
"branch-alias": {
|
||||
"dev-main": "2.44-dev"
|
||||
"dev-main": "2.49-dev"
|
||||
},
|
||||
"plugin-optional": true,
|
||||
"composer-normalize": {
|
||||
@@ -588,43 +594,48 @@
|
||||
"security": "https://github.com/ergebnis/composer-normalize/blob/main/.github/SECURITY.md",
|
||||
"source": "https://github.com/ergebnis/composer-normalize"
|
||||
},
|
||||
"time": "2025-04-15T11:09:27+00:00"
|
||||
"time": "2025-09-06T11:42:34+00:00"
|
||||
},
|
||||
{
|
||||
"name": "ergebnis/json",
|
||||
"version": "1.4.0",
|
||||
"version": "1.6.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/ergebnis/json.git",
|
||||
"reference": "7656ac2aa6c2ca4408f96f599e9a17a22c464f69"
|
||||
"reference": "7b56d2b5d9e897e75b43e2e753075a0904c921b1"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/ergebnis/json/zipball/7656ac2aa6c2ca4408f96f599e9a17a22c464f69",
|
||||
"reference": "7656ac2aa6c2ca4408f96f599e9a17a22c464f69",
|
||||
"url": "https://api.github.com/repos/ergebnis/json/zipball/7b56d2b5d9e897e75b43e2e753075a0904c921b1",
|
||||
"reference": "7b56d2b5d9e897e75b43e2e753075a0904c921b1",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-json": "*",
|
||||
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0"
|
||||
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"ergebnis/composer-normalize": "^2.44.0",
|
||||
"ergebnis/data-provider": "^3.3.0",
|
||||
"ergebnis/license": "^2.5.0",
|
||||
"ergebnis/php-cs-fixer-config": "^6.37.0",
|
||||
"ergebnis/phpstan-rules": "^2.11.0",
|
||||
"ergebnis/phpunit-slow-test-detector": "^2.16.1",
|
||||
"fakerphp/faker": "^1.24.0",
|
||||
"infection/infection": "~0.26.6",
|
||||
"phpstan/extension-installer": "^1.4.3",
|
||||
"phpstan/phpstan": "^1.12.10",
|
||||
"phpstan/phpstan-deprecation-rules": "^1.2.1",
|
||||
"phpstan/phpstan-phpunit": "^1.4.0",
|
||||
"phpstan/phpstan-strict-rules": "^1.6.1",
|
||||
"phpunit/phpunit": "^9.6.18",
|
||||
"rector/rector": "^1.2.10"
|
||||
"phpstan/phpstan": "^2.1.22",
|
||||
"phpstan/phpstan-deprecation-rules": "^2.0.3",
|
||||
"phpstan/phpstan-phpunit": "^2.0.7",
|
||||
"phpstan/phpstan-strict-rules": "^2.0.6",
|
||||
"phpunit/phpunit": "^9.6.24",
|
||||
"rector/rector": "^2.1.4"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "1.7-dev"
|
||||
},
|
||||
"composer-normalize": {
|
||||
"indent-size": 2,
|
||||
"indent-style": "space"
|
||||
@@ -656,20 +667,20 @@
|
||||
"security": "https://github.com/ergebnis/json/blob/main/.github/SECURITY.md",
|
||||
"source": "https://github.com/ergebnis/json"
|
||||
},
|
||||
"time": "2024-11-17T11:51:22+00:00"
|
||||
"time": "2025-09-06T09:08:45+00:00"
|
||||
},
|
||||
{
|
||||
"name": "ergebnis/json-normalizer",
|
||||
"version": "4.9.0",
|
||||
"version": "4.10.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/ergebnis/json-normalizer.git",
|
||||
"reference": "cc4dcf3890448572a2d9bea97133c4d860e59fb1"
|
||||
"reference": "77961faf2c651c3f05977b53c6c68e8434febf62"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/ergebnis/json-normalizer/zipball/cc4dcf3890448572a2d9bea97133c4d860e59fb1",
|
||||
"reference": "cc4dcf3890448572a2d9bea97133c4d860e59fb1",
|
||||
"url": "https://api.github.com/repos/ergebnis/json-normalizer/zipball/77961faf2c651c3f05977b53c6c68e8434febf62",
|
||||
"reference": "77961faf2c651c3f05977b53c6c68e8434febf62",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -679,7 +690,7 @@
|
||||
"ergebnis/json-schema-validator": "^4.2.0",
|
||||
"ext-json": "*",
|
||||
"justinrainbow/json-schema": "^5.2.12 || ^6.0.0",
|
||||
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0"
|
||||
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"composer/semver": "^3.4.3",
|
||||
@@ -704,7 +715,7 @@
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "4.8-dev"
|
||||
"dev-main": "4.11-dev"
|
||||
},
|
||||
"composer-normalize": {
|
||||
"indent-size": 2,
|
||||
@@ -738,24 +749,24 @@
|
||||
"security": "https://github.com/ergebnis/json-normalizer/blob/main/.github/SECURITY.md",
|
||||
"source": "https://github.com/ergebnis/json-normalizer"
|
||||
},
|
||||
"time": "2025-04-10T13:13:04+00:00"
|
||||
"time": "2025-09-06T09:18:13+00:00"
|
||||
},
|
||||
{
|
||||
"name": "ergebnis/json-pointer",
|
||||
"version": "3.6.0",
|
||||
"version": "3.7.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/ergebnis/json-pointer.git",
|
||||
"reference": "4fc85d8edb74466d282119d8d9541ec7cffc0798"
|
||||
"reference": "43bef355184e9542635e35dd2705910a3df4c236"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/ergebnis/json-pointer/zipball/4fc85d8edb74466d282119d8d9541ec7cffc0798",
|
||||
"reference": "4fc85d8edb74466d282119d8d9541ec7cffc0798",
|
||||
"url": "https://api.github.com/repos/ergebnis/json-pointer/zipball/43bef355184e9542635e35dd2705910a3df4c236",
|
||||
"reference": "43bef355184e9542635e35dd2705910a3df4c236",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0"
|
||||
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"ergebnis/composer-normalize": "^2.43.0",
|
||||
@@ -776,7 +787,7 @@
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "3.6-dev"
|
||||
"dev-main": "3.8-dev"
|
||||
},
|
||||
"composer-normalize": {
|
||||
"indent-size": 2,
|
||||
@@ -811,28 +822,29 @@
|
||||
"security": "https://github.com/ergebnis/json-pointer/blob/main/.github/SECURITY.md",
|
||||
"source": "https://github.com/ergebnis/json-pointer"
|
||||
},
|
||||
"time": "2024-11-17T12:37:06+00:00"
|
||||
"time": "2025-09-06T09:28:19+00:00"
|
||||
},
|
||||
{
|
||||
"name": "ergebnis/json-printer",
|
||||
"version": "3.7.0",
|
||||
"version": "3.8.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/ergebnis/json-printer.git",
|
||||
"reference": "ced41fce7854152f0e8f38793c2ffe59513cdd82"
|
||||
"reference": "211d73fc7ec6daf98568ee6ed6e6d133dee8503e"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/ergebnis/json-printer/zipball/ced41fce7854152f0e8f38793c2ffe59513cdd82",
|
||||
"reference": "ced41fce7854152f0e8f38793c2ffe59513cdd82",
|
||||
"url": "https://api.github.com/repos/ergebnis/json-printer/zipball/211d73fc7ec6daf98568ee6ed6e6d133dee8503e",
|
||||
"reference": "211d73fc7ec6daf98568ee6ed6e6d133dee8503e",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-json": "*",
|
||||
"ext-mbstring": "*",
|
||||
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0"
|
||||
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"ergebnis/composer-normalize": "^2.44.0",
|
||||
"ergebnis/data-provider": "^3.3.0",
|
||||
"ergebnis/license": "^2.5.0",
|
||||
"ergebnis/php-cs-fixer-config": "^6.37.0",
|
||||
@@ -848,6 +860,15 @@
|
||||
"rector/rector": "^1.2.10"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "3.9-dev"
|
||||
},
|
||||
"composer-normalize": {
|
||||
"indent-size": 2,
|
||||
"indent-style": "space"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Ergebnis\\Json\\Printer\\": "src/"
|
||||
@@ -876,20 +897,20 @@
|
||||
"security": "https://github.com/ergebnis/json-printer/blob/main/.github/SECURITY.md",
|
||||
"source": "https://github.com/ergebnis/json-printer"
|
||||
},
|
||||
"time": "2024-11-17T11:20:51+00:00"
|
||||
"time": "2025-09-06T09:59:26+00:00"
|
||||
},
|
||||
{
|
||||
"name": "ergebnis/json-schema-validator",
|
||||
"version": "4.4.0",
|
||||
"version": "4.5.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/ergebnis/json-schema-validator.git",
|
||||
"reference": "85f90c81f718aebba1d738800af83eeb447dc7ec"
|
||||
"reference": "b739527a480a9e3651360ad351ea77e7e9019df2"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/ergebnis/json-schema-validator/zipball/85f90c81f718aebba1d738800af83eeb447dc7ec",
|
||||
"reference": "85f90c81f718aebba1d738800af83eeb447dc7ec",
|
||||
"url": "https://api.github.com/repos/ergebnis/json-schema-validator/zipball/b739527a480a9e3651360ad351ea77e7e9019df2",
|
||||
"reference": "b739527a480a9e3651360ad351ea77e7e9019df2",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -897,7 +918,7 @@
|
||||
"ergebnis/json-pointer": "^3.4.0",
|
||||
"ext-json": "*",
|
||||
"justinrainbow/json-schema": "^5.2.12 || ^6.0.0",
|
||||
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0"
|
||||
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"ergebnis/composer-normalize": "^2.44.0",
|
||||
@@ -918,7 +939,7 @@
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "4.4-dev"
|
||||
"dev-main": "4.6-dev"
|
||||
},
|
||||
"composer-normalize": {
|
||||
"indent-size": 2,
|
||||
@@ -953,7 +974,7 @@
|
||||
"security": "https://github.com/ergebnis/json-schema-validator/blob/main/.github/SECURITY.md",
|
||||
"source": "https://github.com/ergebnis/json-schema-validator"
|
||||
},
|
||||
"time": "2024-11-18T06:32:28+00:00"
|
||||
"time": "2025-09-06T11:37:35+00:00"
|
||||
},
|
||||
{
|
||||
"name": "hamcrest/hamcrest-php",
|
||||
@@ -1008,26 +1029,26 @@
|
||||
},
|
||||
{
|
||||
"name": "justinrainbow/json-schema",
|
||||
"version": "6.4.2",
|
||||
"version": "6.6.3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jsonrainbow/json-schema.git",
|
||||
"reference": "ce1fd2d47799bb60668643bc6220f6278a4c1d02"
|
||||
"reference": "134e98916fa2f663afa623970af345cd788e8967"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/jsonrainbow/json-schema/zipball/ce1fd2d47799bb60668643bc6220f6278a4c1d02",
|
||||
"reference": "ce1fd2d47799bb60668643bc6220f6278a4c1d02",
|
||||
"url": "https://api.github.com/repos/jsonrainbow/json-schema/zipball/134e98916fa2f663afa623970af345cd788e8967",
|
||||
"reference": "134e98916fa2f663afa623970af345cd788e8967",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-json": "*",
|
||||
"marc-mabe/php-enum": "^4.0",
|
||||
"marc-mabe/php-enum": "^4.4",
|
||||
"php": "^7.2 || ^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "3.3.0",
|
||||
"json-schema/json-schema-test-suite": "1.2.0",
|
||||
"json-schema/json-schema-test-suite": "^23.2",
|
||||
"marc-mabe/php-enum-phpstan": "^2.0",
|
||||
"phpspec/prophecy": "^1.19",
|
||||
"phpstan/phpstan": "^1.12",
|
||||
@@ -1077,26 +1098,26 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/jsonrainbow/json-schema/issues",
|
||||
"source": "https://github.com/jsonrainbow/json-schema/tree/6.4.2"
|
||||
"source": "https://github.com/jsonrainbow/json-schema/tree/6.6.3"
|
||||
},
|
||||
"time": "2025-06-03T18:27:04+00:00"
|
||||
"time": "2025-12-02T10:21:33+00:00"
|
||||
},
|
||||
{
|
||||
"name": "localheinz/diff",
|
||||
"version": "1.2.0",
|
||||
"version": "1.3.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/localheinz/diff.git",
|
||||
"reference": "ec413943c2b518464865673fd5b38f7df867a010"
|
||||
"reference": "33bd840935970cda6691c23fc7d94ae764c0734c"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/localheinz/diff/zipball/ec413943c2b518464865673fd5b38f7df867a010",
|
||||
"reference": "ec413943c2b518464865673fd5b38f7df867a010",
|
||||
"url": "https://api.github.com/repos/localheinz/diff/zipball/33bd840935970cda6691c23fc7d94ae764c0734c",
|
||||
"reference": "33bd840935970cda6691c23fc7d94ae764c0734c",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0"
|
||||
"php": "~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^7.5.0 || ^8.5.23",
|
||||
@@ -1132,22 +1153,22 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/localheinz/diff/issues",
|
||||
"source": "https://github.com/localheinz/diff/tree/1.2.0"
|
||||
"source": "https://github.com/localheinz/diff/tree/1.3.0"
|
||||
},
|
||||
"time": "2024-12-04T14:16:01+00:00"
|
||||
"time": "2025-08-30T09:44:18+00:00"
|
||||
},
|
||||
{
|
||||
"name": "marc-mabe/php-enum",
|
||||
"version": "v4.7.1",
|
||||
"version": "v4.7.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/marc-mabe/php-enum.git",
|
||||
"reference": "7159809e5cfa041dca28e61f7f7ae58063aae8ed"
|
||||
"reference": "bb426fcdd65c60fb3638ef741e8782508fda7eef"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/marc-mabe/php-enum/zipball/7159809e5cfa041dca28e61f7f7ae58063aae8ed",
|
||||
"reference": "7159809e5cfa041dca28e61f7f7ae58063aae8ed",
|
||||
"url": "https://api.github.com/repos/marc-mabe/php-enum/zipball/bb426fcdd65c60fb3638ef741e8782508fda7eef",
|
||||
"reference": "bb426fcdd65c60fb3638ef741e8782508fda7eef",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -1205,9 +1226,9 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/marc-mabe/php-enum/issues",
|
||||
"source": "https://github.com/marc-mabe/php-enum/tree/v4.7.1"
|
||||
"source": "https://github.com/marc-mabe/php-enum/tree/v4.7.2"
|
||||
},
|
||||
"time": "2024-11-28T04:54:44+00:00"
|
||||
"time": "2025-09-14T11:18:39+00:00"
|
||||
},
|
||||
{
|
||||
"name": "mockery/mockery",
|
||||
@@ -1294,16 +1315,16 @@
|
||||
},
|
||||
{
|
||||
"name": "myclabs/deep-copy",
|
||||
"version": "1.13.1",
|
||||
"version": "1.13.3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/myclabs/DeepCopy.git",
|
||||
"reference": "1720ddd719e16cf0db4eb1c6eca108031636d46c"
|
||||
"reference": "faed855a7b5f4d4637717c2b3863e277116beb36"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/1720ddd719e16cf0db4eb1c6eca108031636d46c",
|
||||
"reference": "1720ddd719e16cf0db4eb1c6eca108031636d46c",
|
||||
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/faed855a7b5f4d4637717c2b3863e277116beb36",
|
||||
"reference": "faed855a7b5f4d4637717c2b3863e277116beb36",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -1342,7 +1363,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/myclabs/DeepCopy/issues",
|
||||
"source": "https://github.com/myclabs/DeepCopy/tree/1.13.1"
|
||||
"source": "https://github.com/myclabs/DeepCopy/tree/1.13.3"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -1350,7 +1371,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2025-04-29T12:36:36+00:00"
|
||||
"time": "2025-07-05T12:25:42+00:00"
|
||||
},
|
||||
{
|
||||
"name": "nikic/php-parser",
|
||||
@@ -1992,16 +2013,16 @@
|
||||
},
|
||||
{
|
||||
"name": "phpstan/phpdoc-parser",
|
||||
"version": "2.1.0",
|
||||
"version": "2.3.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpstan/phpdoc-parser.git",
|
||||
"reference": "9b30d6fd026b2c132b3985ce6b23bec09ab3aa68"
|
||||
"reference": "1e0cd5370df5dd2e556a36b9c62f62e555870495"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/9b30d6fd026b2c132b3985ce6b23bec09ab3aa68",
|
||||
"reference": "9b30d6fd026b2c132b3985ce6b23bec09ab3aa68",
|
||||
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/1e0cd5370df5dd2e556a36b9c62f62e555870495",
|
||||
"reference": "1e0cd5370df5dd2e556a36b9c62f62e555870495",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -2033,22 +2054,17 @@
|
||||
"description": "PHPDoc parser with support for nullable, intersection and generic types",
|
||||
"support": {
|
||||
"issues": "https://github.com/phpstan/phpdoc-parser/issues",
|
||||
"source": "https://github.com/phpstan/phpdoc-parser/tree/2.1.0"
|
||||
"source": "https://github.com/phpstan/phpdoc-parser/tree/2.3.0"
|
||||
},
|
||||
"time": "2025-02-19T13:28:12+00:00"
|
||||
"time": "2025-08-30T15:50:23+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpstan/phpstan",
|
||||
"version": "2.1.17",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpstan/phpstan.git",
|
||||
"reference": "89b5ef665716fa2a52ecd2633f21007a6a349053"
|
||||
},
|
||||
"version": "2.1.33",
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/89b5ef665716fa2a52ecd2633f21007a6a349053",
|
||||
"reference": "89b5ef665716fa2a52ecd2633f21007a6a349053",
|
||||
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/9e800e6bee7d5bd02784d4c6069b48032d16224f",
|
||||
"reference": "9e800e6bee7d5bd02784d4c6069b48032d16224f",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -2093,7 +2109,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2025-05-21T20:55:28+00:00"
|
||||
"time": "2025-12-05T10:24:31+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpstan/phpstan-mockery",
|
||||
@@ -2146,21 +2162,21 @@
|
||||
},
|
||||
{
|
||||
"name": "phpstan/phpstan-phpunit",
|
||||
"version": "2.0.6",
|
||||
"version": "2.0.7",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpstan/phpstan-phpunit.git",
|
||||
"reference": "6b92469f8a7995e626da3aa487099617b8dfa260"
|
||||
"reference": "9a9b161baee88a5f5c58d816943cff354ff233dc"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/6b92469f8a7995e626da3aa487099617b8dfa260",
|
||||
"reference": "6b92469f8a7995e626da3aa487099617b8dfa260",
|
||||
"url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/9a9b161baee88a5f5c58d816943cff354ff233dc",
|
||||
"reference": "9a9b161baee88a5f5c58d816943cff354ff233dc",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.4 || ^8.0",
|
||||
"phpstan/phpstan": "^2.0.4"
|
||||
"phpstan/phpstan": "^2.1.18"
|
||||
},
|
||||
"conflict": {
|
||||
"phpunit/phpunit": "<7.0"
|
||||
@@ -2193,9 +2209,9 @@
|
||||
"description": "PHPUnit extensions and rules for PHPStan",
|
||||
"support": {
|
||||
"issues": "https://github.com/phpstan/phpstan-phpunit/issues",
|
||||
"source": "https://github.com/phpstan/phpstan-phpunit/tree/2.0.6"
|
||||
"source": "https://github.com/phpstan/phpstan-phpunit/tree/2.0.7"
|
||||
},
|
||||
"time": "2025-03-26T12:47:06+00:00"
|
||||
"time": "2025-07-13T11:31:46+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpunit/php-code-coverage",
|
||||
@@ -3616,6 +3632,18 @@
|
||||
{
|
||||
"url": "https://github.com/sebastianbergmann",
|
||||
"type": "github"
|
||||
},
|
||||
{
|
||||
"url": "https://liberapay.com/sebastianbergmann",
|
||||
"type": "liberapay"
|
||||
},
|
||||
{
|
||||
"url": "https://thanks.dev/u/gh/sebastianbergmann",
|
||||
"type": "thanks_dev"
|
||||
},
|
||||
{
|
||||
"url": "https://tidelift.com/funding/github/packagist/sebastian/recursion-context",
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2024-07-03T05:10:34+00:00"
|
||||
@@ -3973,32 +4001,32 @@
|
||||
},
|
||||
{
|
||||
"name": "slevomat/coding-standard",
|
||||
"version": "8.19.1",
|
||||
"version": "8.22.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/slevomat/coding-standard.git",
|
||||
"reference": "458d665acd49009efebd7e0cb385d71ae9ac3220"
|
||||
"reference": "1dd80bf3b93692bedb21a6623c496887fad05fec"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/slevomat/coding-standard/zipball/458d665acd49009efebd7e0cb385d71ae9ac3220",
|
||||
"reference": "458d665acd49009efebd7e0cb385d71ae9ac3220",
|
||||
"url": "https://api.github.com/repos/slevomat/coding-standard/zipball/1dd80bf3b93692bedb21a6623c496887fad05fec",
|
||||
"reference": "1dd80bf3b93692bedb21a6623c496887fad05fec",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.0",
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.1.2",
|
||||
"php": "^7.4 || ^8.0",
|
||||
"phpstan/phpdoc-parser": "^2.1.0",
|
||||
"squizlabs/php_codesniffer": "^3.13.0"
|
||||
"phpstan/phpdoc-parser": "^2.3.0",
|
||||
"squizlabs/php_codesniffer": "^3.13.4"
|
||||
},
|
||||
"require-dev": {
|
||||
"phing/phing": "3.0.1",
|
||||
"phing/phing": "3.0.1|3.1.0",
|
||||
"php-parallel-lint/php-parallel-lint": "1.4.0",
|
||||
"phpstan/phpstan": "2.1.17",
|
||||
"phpstan/phpstan": "2.1.24",
|
||||
"phpstan/phpstan-deprecation-rules": "2.0.3",
|
||||
"phpstan/phpstan-phpunit": "2.0.6",
|
||||
"phpstan/phpstan-strict-rules": "2.0.4",
|
||||
"phpunit/phpunit": "9.6.8|10.5.45|11.4.4|11.5.21|12.1.3"
|
||||
"phpstan/phpstan-phpunit": "2.0.7",
|
||||
"phpstan/phpstan-strict-rules": "2.0.6",
|
||||
"phpunit/phpunit": "9.6.8|10.5.48|11.4.4|11.5.36|12.3.10"
|
||||
},
|
||||
"type": "phpcodesniffer-standard",
|
||||
"extra": {
|
||||
@@ -4022,7 +4050,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/slevomat/coding-standard/issues",
|
||||
"source": "https://github.com/slevomat/coding-standard/tree/8.19.1"
|
||||
"source": "https://github.com/slevomat/coding-standard/tree/8.22.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -4034,20 +4062,20 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2025-06-09T17:53:57+00:00"
|
||||
"time": "2025-09-13T08:53:30+00:00"
|
||||
},
|
||||
{
|
||||
"name": "squizlabs/php_codesniffer",
|
||||
"version": "3.13.2",
|
||||
"version": "3.13.4",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
|
||||
"reference": "5b5e3821314f947dd040c70f7992a64eac89025c"
|
||||
"reference": "ad545ea9c1b7d270ce0fc9cbfb884161cd706119"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/5b5e3821314f947dd040c70f7992a64eac89025c",
|
||||
"reference": "5b5e3821314f947dd040c70f7992a64eac89025c",
|
||||
"url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/ad545ea9c1b7d270ce0fc9cbfb884161cd706119",
|
||||
"reference": "ad545ea9c1b7d270ce0fc9cbfb884161cd706119",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -4118,7 +4146,7 @@
|
||||
"type": "thanks_dev"
|
||||
}
|
||||
],
|
||||
"time": "2025-06-17T22:17:01+00:00"
|
||||
"time": "2025-09-05T05:47:09+00:00"
|
||||
},
|
||||
{
|
||||
"name": "staabm/side-effects-detector",
|
||||
@@ -4531,7 +4559,7 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/polyfill-ctype",
|
||||
"version": "v1.32.0",
|
||||
"version": "v1.33.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/polyfill-ctype.git",
|
||||
@@ -4590,7 +4618,7 @@
|
||||
"portable"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.32.0"
|
||||
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -4601,6 +4629,10 @@
|
||||
"url": "https://github.com/fabpot",
|
||||
"type": "github"
|
||||
},
|
||||
{
|
||||
"url": "https://github.com/nicolas-grekas",
|
||||
"type": "github"
|
||||
},
|
||||
{
|
||||
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
||||
"type": "tidelift"
|
||||
@@ -4769,7 +4801,7 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/polyfill-mbstring",
|
||||
"version": "v1.32.0",
|
||||
"version": "v1.33.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/polyfill-mbstring.git",
|
||||
@@ -4830,7 +4862,7 @@
|
||||
"shim"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/polyfill-mbstring/tree/v1.32.0"
|
||||
"source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -4841,6 +4873,10 @@
|
||||
"url": "https://github.com/fabpot",
|
||||
"type": "github"
|
||||
},
|
||||
{
|
||||
"url": "https://github.com/nicolas-grekas",
|
||||
"type": "github"
|
||||
},
|
||||
{
|
||||
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
||||
"type": "tidelift"
|
||||
|
||||
@@ -99,7 +99,7 @@ class PhpTimeConverter implements TimeConverterInterface
|
||||
|
||||
// Convert the 100-nanosecond intervals into seconds and microseconds.
|
||||
$splitTime = $this->splitTime(
|
||||
((int) $timestamp->toString() - self::GREGORIAN_TO_UNIX_INTERVALS) / self::SECOND_INTERVALS,
|
||||
($timestamp->toString() - self::GREGORIAN_TO_UNIX_INTERVALS) / self::SECOND_INTERVALS,
|
||||
);
|
||||
|
||||
if (!isset($splitTime['sec']) || !isset($splitTime['usec'])) {
|
||||
|
||||
@@ -15,12 +15,12 @@ declare(strict_types=1);
|
||||
namespace Ramsey\Uuid\Generator;
|
||||
|
||||
use Brick\Math\BigInteger;
|
||||
use DateTimeImmutable;
|
||||
use DateTimeInterface;
|
||||
use Ramsey\Uuid\Type\Hexadecimal;
|
||||
|
||||
use function assert;
|
||||
use function hash;
|
||||
use function microtime;
|
||||
use function pack;
|
||||
use function str_pad;
|
||||
use function strlen;
|
||||
@@ -73,7 +73,12 @@ class UnixTimeGenerator implements TimeGeneratorInterface
|
||||
?int $clockSeq = null,
|
||||
?DateTimeInterface $dateTime = null,
|
||||
): string {
|
||||
$time = ($dateTime ?? new DateTimeImmutable('now'))->format('Uv');
|
||||
if ($dateTime === null) {
|
||||
$time = microtime(false);
|
||||
$time = substr($time, 11) . substr($time, 2, 3);
|
||||
} else {
|
||||
$time = $dateTime->format('Uv');
|
||||
}
|
||||
|
||||
if ($time > self::$time || ($dateTime !== null && $time !== self::$time)) {
|
||||
$this->randomize($time);
|
||||
|
||||
@@ -49,10 +49,10 @@ final class BrickMathCalculator implements CalculatorInterface
|
||||
$sum = BigInteger::of($augend->toString());
|
||||
|
||||
foreach ($addends as $addend) {
|
||||
$sum = $sum->plus($addend->toString()); /** @phpstan-ignore possiblyImpure.methodCall */
|
||||
$sum = $sum->plus($addend->toString());
|
||||
}
|
||||
|
||||
/** @phpstan-ignore possiblyImpure.methodCall, possiblyImpure.new */
|
||||
/** @phpstan-ignore possiblyImpure.new */
|
||||
return new IntegerObject((string) $sum);
|
||||
}
|
||||
|
||||
@@ -61,10 +61,10 @@ final class BrickMathCalculator implements CalculatorInterface
|
||||
$difference = BigInteger::of($minuend->toString());
|
||||
|
||||
foreach ($subtrahends as $subtrahend) {
|
||||
$difference = $difference->minus($subtrahend->toString()); /** @phpstan-ignore possiblyImpure.methodCall */
|
||||
$difference = $difference->minus($subtrahend->toString());
|
||||
}
|
||||
|
||||
/** @phpstan-ignore possiblyImpure.methodCall, possiblyImpure.new */
|
||||
/** @phpstan-ignore possiblyImpure.new */
|
||||
return new IntegerObject((string) $difference);
|
||||
}
|
||||
|
||||
@@ -73,11 +73,10 @@ final class BrickMathCalculator implements CalculatorInterface
|
||||
$product = BigInteger::of($multiplicand->toString());
|
||||
|
||||
foreach ($multipliers as $multiplier) {
|
||||
/** @phpstan-ignore possiblyImpure.methodCall */
|
||||
$product = $product->multipliedBy($multiplier->toString());
|
||||
}
|
||||
|
||||
/** @phpstan-ignore possiblyImpure.methodCall, possiblyImpure.new */
|
||||
/** @phpstan-ignore possiblyImpure.new */
|
||||
return new IntegerObject((string) $product);
|
||||
}
|
||||
|
||||
@@ -93,23 +92,22 @@ final class BrickMathCalculator implements CalculatorInterface
|
||||
$quotient = BigDecimal::of($dividend->toString());
|
||||
|
||||
foreach ($divisors as $divisor) {
|
||||
/** @phpstan-ignore possiblyImpure.methodCall */
|
||||
$quotient = $quotient->dividedBy($divisor->toString(), $scale, $brickRounding);
|
||||
}
|
||||
|
||||
if ($scale === 0) {
|
||||
/** @phpstan-ignore possiblyImpure.methodCall, possiblyImpure.methodCall, possiblyImpure.new */
|
||||
/** @phpstan-ignore possiblyImpure.new */
|
||||
return new IntegerObject((string) $quotient->toBigInteger());
|
||||
}
|
||||
|
||||
/** @phpstan-ignore possiblyImpure.methodCall, possiblyImpure.new */
|
||||
/** @phpstan-ignore possiblyImpure.new */
|
||||
return new Decimal((string) $quotient);
|
||||
}
|
||||
|
||||
public function fromBase(string $value, int $base): IntegerObject
|
||||
{
|
||||
try {
|
||||
/** @phpstan-ignore possiblyImpure.methodCall, possiblyImpure.new */
|
||||
/** @phpstan-ignore possiblyImpure.new */
|
||||
return new IntegerObject((string) BigInteger::fromBase($value, $base));
|
||||
} catch (MathException | \InvalidArgumentException $exception) {
|
||||
throw new InvalidArgumentException(
|
||||
@@ -123,10 +121,7 @@ final class BrickMathCalculator implements CalculatorInterface
|
||||
public function toBase(IntegerObject $value, int $base): string
|
||||
{
|
||||
try {
|
||||
/**
|
||||
* @var non-empty-string
|
||||
* @phpstan-ignore possiblyImpure.methodCall
|
||||
*/
|
||||
/** @var non-empty-string */
|
||||
return BigInteger::of($value->toString())->toBase($base);
|
||||
} catch (MathException | \InvalidArgumentException $exception) {
|
||||
throw new InvalidArgumentException(
|
||||
|
||||
Reference in New Issue
Block a user