chore: bump minimum PHP version and lock packages for PHP 8.2.0

This commit is contained in:
Ben Ramsey
2025-05-25 23:28:05 -05:00
parent fe80311d09
commit 17d7307f81
3 changed files with 70 additions and 75 deletions
+2 -2
View File
@@ -9,9 +9,9 @@
"guid"
],
"require": {
"php": "^8.1",
"php": "^8.2",
"ext-json": "*",
"brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12"
"brick/math": "^0.11 || ^0.12"
},
"require-dev": {
"captainhook/captainhook": "^5.25",
Generated
+65 -65
View File
@@ -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": "194a7b4e6e906a4426f30d6ab7797080",
"content-hash": "4cf836b6117ee9d096b4cbaf779f3958",
"packages": [
{
"name": "brick/math",
@@ -4190,47 +4190,46 @@
},
{
"name": "symfony/console",
"version": "v6.4.21",
"version": "v7.2.6",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "a3011c7b7adb58d89f6c0d822abb641d7a5f9719"
"reference": "0e2e3f38c192e93e622e41ec37f4ca70cfedf218"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/a3011c7b7adb58d89f6c0d822abb641d7a5f9719",
"reference": "a3011c7b7adb58d89f6c0d822abb641d7a5f9719",
"url": "https://api.github.com/repos/symfony/console/zipball/0e2e3f38c192e93e622e41ec37f4ca70cfedf218",
"reference": "0e2e3f38c192e93e622e41ec37f4ca70cfedf218",
"shasum": ""
},
"require": {
"php": ">=8.1",
"symfony/deprecation-contracts": "^2.5|^3",
"php": ">=8.2",
"symfony/polyfill-mbstring": "~1.0",
"symfony/service-contracts": "^2.5|^3",
"symfony/string": "^5.4|^6.0|^7.0"
"symfony/string": "^6.4|^7.0"
},
"conflict": {
"symfony/dependency-injection": "<5.4",
"symfony/dotenv": "<5.4",
"symfony/event-dispatcher": "<5.4",
"symfony/lock": "<5.4",
"symfony/process": "<5.4"
"symfony/dependency-injection": "<6.4",
"symfony/dotenv": "<6.4",
"symfony/event-dispatcher": "<6.4",
"symfony/lock": "<6.4",
"symfony/process": "<6.4"
},
"provide": {
"psr/log-implementation": "1.0|2.0|3.0"
},
"require-dev": {
"psr/log": "^1|^2|^3",
"symfony/config": "^5.4|^6.0|^7.0",
"symfony/dependency-injection": "^5.4|^6.0|^7.0",
"symfony/event-dispatcher": "^5.4|^6.0|^7.0",
"symfony/config": "^6.4|^7.0",
"symfony/dependency-injection": "^6.4|^7.0",
"symfony/event-dispatcher": "^6.4|^7.0",
"symfony/http-foundation": "^6.4|^7.0",
"symfony/http-kernel": "^6.4|^7.0",
"symfony/lock": "^5.4|^6.0|^7.0",
"symfony/messenger": "^5.4|^6.0|^7.0",
"symfony/process": "^5.4|^6.0|^7.0",
"symfony/stopwatch": "^5.4|^6.0|^7.0",
"symfony/var-dumper": "^5.4|^6.0|^7.0"
"symfony/lock": "^6.4|^7.0",
"symfony/messenger": "^6.4|^7.0",
"symfony/process": "^6.4|^7.0",
"symfony/stopwatch": "^6.4|^7.0",
"symfony/var-dumper": "^6.4|^7.0"
},
"type": "library",
"autoload": {
@@ -4264,7 +4263,7 @@
"terminal"
],
"support": {
"source": "https://github.com/symfony/console/tree/v6.4.21"
"source": "https://github.com/symfony/console/tree/v7.2.6"
},
"funding": [
{
@@ -4280,7 +4279,7 @@
"type": "tidelift"
}
],
"time": "2025-04-07T15:42:41+00:00"
"time": "2025-04-07T19:09:28+00:00"
},
{
"name": "symfony/deprecation-contracts",
@@ -4351,25 +4350,25 @@
},
{
"name": "symfony/filesystem",
"version": "v6.4.13",
"version": "v7.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/filesystem.git",
"reference": "4856c9cf585d5a0313d8d35afd681a526f038dd3"
"reference": "b8dce482de9d7c9fe2891155035a7248ab5c7fdb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/filesystem/zipball/4856c9cf585d5a0313d8d35afd681a526f038dd3",
"reference": "4856c9cf585d5a0313d8d35afd681a526f038dd3",
"url": "https://api.github.com/repos/symfony/filesystem/zipball/b8dce482de9d7c9fe2891155035a7248ab5c7fdb",
"reference": "b8dce482de9d7c9fe2891155035a7248ab5c7fdb",
"shasum": ""
},
"require": {
"php": ">=8.1",
"php": ">=8.2",
"symfony/polyfill-ctype": "~1.8",
"symfony/polyfill-mbstring": "~1.8"
},
"require-dev": {
"symfony/process": "^5.4|^6.4|^7.0"
"symfony/process": "^6.4|^7.0"
},
"type": "library",
"autoload": {
@@ -4397,7 +4396,7 @@
"description": "Provides basic utilities for the filesystem",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/filesystem/tree/v6.4.13"
"source": "https://github.com/symfony/filesystem/tree/v7.2.0"
},
"funding": [
{
@@ -4413,27 +4412,27 @@
"type": "tidelift"
}
],
"time": "2024-10-25T15:07:50+00:00"
"time": "2024-10-25T15:15:23+00:00"
},
{
"name": "symfony/finder",
"version": "v6.4.17",
"version": "v7.2.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
"reference": "1d0e8266248c5d9ab6a87e3789e6dc482af3c9c7"
"reference": "87a71856f2f56e4100373e92529eed3171695cfb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/1d0e8266248c5d9ab6a87e3789e6dc482af3c9c7",
"reference": "1d0e8266248c5d9ab6a87e3789e6dc482af3c9c7",
"url": "https://api.github.com/repos/symfony/finder/zipball/87a71856f2f56e4100373e92529eed3171695cfb",
"reference": "87a71856f2f56e4100373e92529eed3171695cfb",
"shasum": ""
},
"require": {
"php": ">=8.1"
"php": ">=8.2"
},
"require-dev": {
"symfony/filesystem": "^6.0|^7.0"
"symfony/filesystem": "^6.4|^7.0"
},
"type": "library",
"autoload": {
@@ -4461,7 +4460,7 @@
"description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/finder/tree/v6.4.17"
"source": "https://github.com/symfony/finder/tree/v7.2.2"
},
"funding": [
{
@@ -4477,24 +4476,24 @@
"type": "tidelift"
}
],
"time": "2024-12-29T13:51:37+00:00"
"time": "2024-12-30T19:00:17+00:00"
},
{
"name": "symfony/options-resolver",
"version": "v6.4.16",
"version": "v7.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/options-resolver.git",
"reference": "368128ad168f20e22c32159b9f761e456cec0c78"
"reference": "7da8fbac9dcfef75ffc212235d76b2754ce0cf50"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/options-resolver/zipball/368128ad168f20e22c32159b9f761e456cec0c78",
"reference": "368128ad168f20e22c32159b9f761e456cec0c78",
"url": "https://api.github.com/repos/symfony/options-resolver/zipball/7da8fbac9dcfef75ffc212235d76b2754ce0cf50",
"reference": "7da8fbac9dcfef75ffc212235d76b2754ce0cf50",
"shasum": ""
},
"require": {
"php": ">=8.1",
"php": ">=8.2",
"symfony/deprecation-contracts": "^2.5|^3"
},
"type": "library",
@@ -4528,7 +4527,7 @@
"options"
],
"support": {
"source": "https://github.com/symfony/options-resolver/tree/v6.4.16"
"source": "https://github.com/symfony/options-resolver/tree/v7.2.0"
},
"funding": [
{
@@ -4544,7 +4543,7 @@
"type": "tidelift"
}
],
"time": "2024-11-20T10:57:02+00:00"
"time": "2024-11-20T11:17:29+00:00"
},
{
"name": "symfony/polyfill-ctype",
@@ -4867,20 +4866,20 @@
},
{
"name": "symfony/process",
"version": "v6.4.20",
"version": "v7.2.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
"reference": "e2a61c16af36c9a07e5c9906498b73e091949a20"
"reference": "87b7c93e57df9d8e39a093d32587702380ff045d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/e2a61c16af36c9a07e5c9906498b73e091949a20",
"reference": "e2a61c16af36c9a07e5c9906498b73e091949a20",
"url": "https://api.github.com/repos/symfony/process/zipball/87b7c93e57df9d8e39a093d32587702380ff045d",
"reference": "87b7c93e57df9d8e39a093d32587702380ff045d",
"shasum": ""
},
"require": {
"php": ">=8.1"
"php": ">=8.2"
},
"type": "library",
"autoload": {
@@ -4908,7 +4907,7 @@
"description": "Executes commands in sub-processes",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/process/tree/v6.4.20"
"source": "https://github.com/symfony/process/tree/v7.2.5"
},
"funding": [
{
@@ -4924,7 +4923,7 @@
"type": "tidelift"
}
],
"time": "2025-03-10T17:11:00+00:00"
"time": "2025-03-13T12:21:46+00:00"
},
{
"name": "symfony/service-contracts",
@@ -5011,20 +5010,20 @@
},
{
"name": "symfony/string",
"version": "v6.4.21",
"version": "v7.2.6",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
"reference": "73e2c6966a5aef1d4892873ed5322245295370c6"
"reference": "a214fe7d62bd4df2a76447c67c6b26e1d5e74931"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/string/zipball/73e2c6966a5aef1d4892873ed5322245295370c6",
"reference": "73e2c6966a5aef1d4892873ed5322245295370c6",
"url": "https://api.github.com/repos/symfony/string/zipball/a214fe7d62bd4df2a76447c67c6b26e1d5e74931",
"reference": "a214fe7d62bd4df2a76447c67c6b26e1d5e74931",
"shasum": ""
},
"require": {
"php": ">=8.1",
"php": ">=8.2",
"symfony/polyfill-ctype": "~1.8",
"symfony/polyfill-intl-grapheme": "~1.0",
"symfony/polyfill-intl-normalizer": "~1.0",
@@ -5034,11 +5033,12 @@
"symfony/translation-contracts": "<2.5"
},
"require-dev": {
"symfony/error-handler": "^5.4|^6.0|^7.0",
"symfony/http-client": "^5.4|^6.0|^7.0",
"symfony/intl": "^6.2|^7.0",
"symfony/emoji": "^7.1",
"symfony/error-handler": "^6.4|^7.0",
"symfony/http-client": "^6.4|^7.0",
"symfony/intl": "^6.4|^7.0",
"symfony/translation-contracts": "^2.5|^3.0",
"symfony/var-exporter": "^5.4|^6.0|^7.0"
"symfony/var-exporter": "^6.4|^7.0"
},
"type": "library",
"autoload": {
@@ -5077,7 +5077,7 @@
"utf8"
],
"support": {
"source": "https://github.com/symfony/string/tree/v6.4.21"
"source": "https://github.com/symfony/string/tree/v7.2.6"
},
"funding": [
{
@@ -5093,7 +5093,7 @@
"type": "tidelift"
}
],
"time": "2025-04-18T15:23:29+00:00"
"time": "2025-04-20T20:18:16+00:00"
},
{
"name": "theseer/tokenizer",
@@ -5201,7 +5201,7 @@
"prefer-stable": true,
"prefer-lowest": false,
"platform": {
"php": "^8.1",
"php": "^8.2",
"ext-json": "*"
},
"platform-dev": {},
+3 -8
View File
@@ -28,8 +28,6 @@ use Ramsey\Uuid\Type\Time;
use Ramsey\Uuid\Uuid;
use Ramsey\Uuid\UuidFactory;
use const PHP_VERSION_ID;
class UuidV2Test extends TestCase
{
/**
@@ -128,9 +126,6 @@ class UuidV2Test extends TestCase
*/
public function provideLocalDomainAndIdentifierForTests(): array
{
// https://github.com/php/php-src/issues/7758
$isGH7758Fixed = PHP_VERSION_ID >= 80107;
return [
[
'domain' => Uuid::DCE_DOMAIN_PERSON,
@@ -140,7 +135,7 @@ class UuidV2Test extends TestCase
'expectedDomainName' => 'person',
'expectedIdentifier' => '12345678',
'expectedTimestamp' => '1b21dd200000000',
'expectedTime' => $isGH7758Fixed ? '-33.276237' : '-32.723763',
'expectedTime' => '-33.276237',
],
[
'domain' => Uuid::DCE_DOMAIN_GROUP,
@@ -150,7 +145,7 @@ class UuidV2Test extends TestCase
'expectedDomainName' => 'group',
'expectedIdentifier' => '87654321',
'expectedTimestamp' => '1b21dd200000000',
'expectedTime' => $isGH7758Fixed ? '-33.276237' : '-32.723763',
'expectedTime' => '-33.276237',
],
[
'domain' => Uuid::DCE_DOMAIN_ORG,
@@ -160,7 +155,7 @@ class UuidV2Test extends TestCase
'expectedDomainName' => 'org',
'expectedIdentifier' => '1',
'expectedTimestamp' => '1b21dd200000000',
'expectedTime' => $isGH7758Fixed ? '-33.276237' : '-32.723763',
'expectedTime' => '-33.276237',
],
[
'domain' => Uuid::DCE_DOMAIN_PERSON,