diff --git a/composer.lock b/composer.lock
index 2710b3609..3cd029b32 100644
--- a/composer.lock
+++ b/composer.lock
@@ -1044,16 +1044,16 @@
},
{
"name": "gitonomy/gitlib",
- "version": "v1.4.0",
+ "version": "v1.5.0",
"source": {
"type": "git",
"url": "https://github.com/gitonomy/gitlib.git",
- "reference": "2c7fbbd9814178474d0bb1b6292701cb4ab508f9"
+ "reference": "ac17834888bf399a4ecae5e108be52c8c5f93958"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/gitonomy/gitlib/zipball/2c7fbbd9814178474d0bb1b6292701cb4ab508f9",
- "reference": "2c7fbbd9814178474d0bb1b6292701cb4ab508f9",
+ "url": "https://api.github.com/repos/gitonomy/gitlib/zipball/ac17834888bf399a4ecae5e108be52c8c5f93958",
+ "reference": "ac17834888bf399a4ecae5e108be52c8c5f93958",
"shasum": ""
},
"require": {
@@ -1103,7 +1103,7 @@
"description": "Library for accessing git",
"support": {
"issues": "https://github.com/gitonomy/gitlib/issues",
- "source": "https://github.com/gitonomy/gitlib/tree/v1.4.0"
+ "source": "https://github.com/gitonomy/gitlib/tree/v1.5.0"
},
"funding": [
{
@@ -1111,7 +1111,7 @@
"type": "tidelift"
}
],
- "time": "2023-12-20T13:02:08+00:00"
+ "time": "2024-11-03T15:59:21+00:00"
},
{
"name": "kelunik/certificate",
@@ -1173,16 +1173,16 @@
},
{
"name": "laravel/serializable-closure",
- "version": "v1.3.5",
+ "version": "v1.3.7",
"source": {
"type": "git",
"url": "https://github.com/laravel/serializable-closure.git",
- "reference": "1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c"
+ "reference": "4f48ade902b94323ca3be7646db16209ec76be3d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c",
- "reference": "1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c",
+ "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/4f48ade902b94323ca3be7646db16209ec76be3d",
+ "reference": "4f48ade902b94323ca3be7646db16209ec76be3d",
"shasum": ""
},
"require": {
@@ -1230,7 +1230,7 @@
"issues": "https://github.com/laravel/serializable-closure/issues",
"source": "https://github.com/laravel/serializable-closure"
},
- "time": "2024-09-23T13:33:08+00:00"
+ "time": "2024-11-14T18:34:49+00:00"
},
{
"name": "league/uri",
@@ -1408,16 +1408,16 @@
},
{
"name": "monolog/monolog",
- "version": "3.7.0",
+ "version": "3.8.0",
"source": {
"type": "git",
"url": "https://github.com/Seldaek/monolog.git",
- "reference": "f4393b648b78a5408747de94fca38beb5f7e9ef8"
+ "reference": "32e515fdc02cdafbe4593e30a9350d486b125b67"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f4393b648b78a5408747de94fca38beb5f7e9ef8",
- "reference": "f4393b648b78a5408747de94fca38beb5f7e9ef8",
+ "url": "https://api.github.com/repos/Seldaek/monolog/zipball/32e515fdc02cdafbe4593e30a9350d486b125b67",
+ "reference": "32e515fdc02cdafbe4593e30a9350d486b125b67",
"shasum": ""
},
"require": {
@@ -1437,12 +1437,14 @@
"guzzlehttp/psr7": "^2.2",
"mongodb/mongodb": "^1.8",
"php-amqplib/php-amqplib": "~2.4 || ^3",
- "phpstan/phpstan": "^1.9",
- "phpstan/phpstan-deprecation-rules": "^1.0",
- "phpstan/phpstan-strict-rules": "^1.4",
- "phpunit/phpunit": "^10.5.17",
+ "php-console/php-console": "^3.1.8",
+ "phpstan/phpstan": "^2",
+ "phpstan/phpstan-deprecation-rules": "^2",
+ "phpstan/phpstan-strict-rules": "^2",
+ "phpunit/phpunit": "^10.5.17 || ^11.0.7",
"predis/predis": "^1.1 || ^2",
- "ruflin/elastica": "^7",
+ "rollbar/rollbar": "^4.0",
+ "ruflin/elastica": "^7 || ^8",
"symfony/mailer": "^5.4 || ^6",
"symfony/mime": "^5.4 || ^6"
},
@@ -1493,7 +1495,7 @@
],
"support": {
"issues": "https://github.com/Seldaek/monolog/issues",
- "source": "https://github.com/Seldaek/monolog/tree/3.7.0"
+ "source": "https://github.com/Seldaek/monolog/tree/3.8.0"
},
"funding": [
{
@@ -1505,7 +1507,7 @@
"type": "tidelift"
}
],
- "time": "2024-06-28T09:40:51+00:00"
+ "time": "2024-11-12T13:57:08+00:00"
},
{
"name": "ondram/ci-detector",
@@ -2033,16 +2035,16 @@
},
{
"name": "symfony/cache",
- "version": "v6.4.12",
+ "version": "v6.4.14",
"source": {
"type": "git",
"url": "https://github.com/symfony/cache.git",
- "reference": "a463451b7f6ac4a47b98dbfc78ec2d3560c759d8"
+ "reference": "36fb8aa88833708e9f29014b6f15fac051a8b613"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/cache/zipball/a463451b7f6ac4a47b98dbfc78ec2d3560c759d8",
- "reference": "a463451b7f6ac4a47b98dbfc78ec2d3560c759d8",
+ "url": "https://api.github.com/repos/symfony/cache/zipball/36fb8aa88833708e9f29014b6f15fac051a8b613",
+ "reference": "36fb8aa88833708e9f29014b6f15fac051a8b613",
"shasum": ""
},
"require": {
@@ -2109,7 +2111,7 @@
"psr6"
],
"support": {
- "source": "https://github.com/symfony/cache/tree/v6.4.12"
+ "source": "https://github.com/symfony/cache/tree/v6.4.14"
},
"funding": [
{
@@ -2125,7 +2127,7 @@
"type": "tidelift"
}
],
- "time": "2024-09-16T16:01:33+00:00"
+ "time": "2024-11-05T15:34:40+00:00"
},
{
"name": "symfony/cache-contracts",
@@ -2205,16 +2207,16 @@
},
{
"name": "symfony/config",
- "version": "v6.4.8",
+ "version": "v6.4.14",
"source": {
"type": "git",
"url": "https://github.com/symfony/config.git",
- "reference": "12e7e52515ce37191b193cf3365903c4f3951e35"
+ "reference": "4e55e7e4ffddd343671ea972216d4509f46c22ef"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/config/zipball/12e7e52515ce37191b193cf3365903c4f3951e35",
- "reference": "12e7e52515ce37191b193cf3365903c4f3951e35",
+ "url": "https://api.github.com/repos/symfony/config/zipball/4e55e7e4ffddd343671ea972216d4509f46c22ef",
+ "reference": "4e55e7e4ffddd343671ea972216d4509f46c22ef",
"shasum": ""
},
"require": {
@@ -2260,7 +2262,7 @@
"description": "Helps you find, load, combine, autofill and validate configuration values of any kind",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/config/tree/v6.4.8"
+ "source": "https://github.com/symfony/config/tree/v6.4.14"
},
"funding": [
{
@@ -2276,20 +2278,20 @@
"type": "tidelift"
}
],
- "time": "2024-05-31T14:49:08+00:00"
+ "time": "2024-11-04T11:33:53+00:00"
},
{
"name": "symfony/console",
- "version": "v6.4.12",
+ "version": "v6.4.15",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "72d080eb9edf80e36c19be61f72c98ed8273b765"
+ "reference": "f1fc6f47283e27336e7cebb9e8946c8de7bff9bd"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/72d080eb9edf80e36c19be61f72c98ed8273b765",
- "reference": "72d080eb9edf80e36c19be61f72c98ed8273b765",
+ "url": "https://api.github.com/repos/symfony/console/zipball/f1fc6f47283e27336e7cebb9e8946c8de7bff9bd",
+ "reference": "f1fc6f47283e27336e7cebb9e8946c8de7bff9bd",
"shasum": ""
},
"require": {
@@ -2354,7 +2356,7 @@
"terminal"
],
"support": {
- "source": "https://github.com/symfony/console/tree/v6.4.12"
+ "source": "https://github.com/symfony/console/tree/v6.4.15"
},
"funding": [
{
@@ -2370,20 +2372,20 @@
"type": "tidelift"
}
],
- "time": "2024-09-20T08:15:52+00:00"
+ "time": "2024-11-06T14:19:14+00:00"
},
{
"name": "symfony/dependency-injection",
- "version": "v6.4.12",
+ "version": "v6.4.15",
"source": {
"type": "git",
"url": "https://github.com/symfony/dependency-injection.git",
- "reference": "cfb9d34a1cdd4911bc737a5358fd1cf8ebfb536e"
+ "reference": "70ab1f65a4516ef741e519ea938e6aa465e6aa36"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/cfb9d34a1cdd4911bc737a5358fd1cf8ebfb536e",
- "reference": "cfb9d34a1cdd4911bc737a5358fd1cf8ebfb536e",
+ "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/70ab1f65a4516ef741e519ea938e6aa465e6aa36",
+ "reference": "70ab1f65a4516ef741e519ea938e6aa465e6aa36",
"shasum": ""
},
"require": {
@@ -2435,7 +2437,7 @@
"description": "Allows you to standardize and centralize the way objects are constructed in your application",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/dependency-injection/tree/v6.4.12"
+ "source": "https://github.com/symfony/dependency-injection/tree/v6.4.15"
},
"funding": [
{
@@ -2451,7 +2453,7 @@
"type": "tidelift"
}
],
- "time": "2024-09-20T08:18:25+00:00"
+ "time": "2024-11-09T06:56:25+00:00"
},
{
"name": "symfony/deprecation-contracts",
@@ -2522,16 +2524,16 @@
},
{
"name": "symfony/dotenv",
- "version": "v6.4.12",
+ "version": "v6.4.13",
"source": {
"type": "git",
"url": "https://github.com/symfony/dotenv.git",
- "reference": "815284236cab7d8e1280f53bf562c07a4dfe5954"
+ "reference": "436ae2dd89360fea8c7d5ff3f48ecf523c80bfb4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/dotenv/zipball/815284236cab7d8e1280f53bf562c07a4dfe5954",
- "reference": "815284236cab7d8e1280f53bf562c07a4dfe5954",
+ "url": "https://api.github.com/repos/symfony/dotenv/zipball/436ae2dd89360fea8c7d5ff3f48ecf523c80bfb4",
+ "reference": "436ae2dd89360fea8c7d5ff3f48ecf523c80bfb4",
"shasum": ""
},
"require": {
@@ -2576,7 +2578,7 @@
"environment"
],
"support": {
- "source": "https://github.com/symfony/dotenv/tree/v6.4.12"
+ "source": "https://github.com/symfony/dotenv/tree/v6.4.13"
},
"funding": [
{
@@ -2592,20 +2594,20 @@
"type": "tidelift"
}
],
- "time": "2024-09-16T16:01:33+00:00"
+ "time": "2024-09-28T07:43:51+00:00"
},
{
"name": "symfony/event-dispatcher",
- "version": "v6.4.8",
+ "version": "v6.4.13",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "8d7507f02b06e06815e56bb39aa0128e3806208b"
+ "reference": "0ffc48080ab3e9132ea74ef4e09d8dcf26bf897e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/8d7507f02b06e06815e56bb39aa0128e3806208b",
- "reference": "8d7507f02b06e06815e56bb39aa0128e3806208b",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/0ffc48080ab3e9132ea74ef4e09d8dcf26bf897e",
+ "reference": "0ffc48080ab3e9132ea74ef4e09d8dcf26bf897e",
"shasum": ""
},
"require": {
@@ -2656,7 +2658,7 @@
"description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/event-dispatcher/tree/v6.4.8"
+ "source": "https://github.com/symfony/event-dispatcher/tree/v6.4.13"
},
"funding": [
{
@@ -2672,7 +2674,7 @@
"type": "tidelift"
}
],
- "time": "2024-05-31T14:49:08+00:00"
+ "time": "2024-09-25T14:18:03+00:00"
},
{
"name": "symfony/event-dispatcher-contracts",
@@ -2752,16 +2754,16 @@
},
{
"name": "symfony/expression-language",
- "version": "v6.4.11",
+ "version": "v6.4.13",
"source": {
"type": "git",
"url": "https://github.com/symfony/expression-language.git",
- "reference": "564e109c40d3637053c942a29a58e9434592a8bf"
+ "reference": "3524904fb026356a5230cd197f9a4e6a61e0e7df"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/expression-language/zipball/564e109c40d3637053c942a29a58e9434592a8bf",
- "reference": "564e109c40d3637053c942a29a58e9434592a8bf",
+ "url": "https://api.github.com/repos/symfony/expression-language/zipball/3524904fb026356a5230cd197f9a4e6a61e0e7df",
+ "reference": "3524904fb026356a5230cd197f9a4e6a61e0e7df",
"shasum": ""
},
"require": {
@@ -2796,7 +2798,7 @@
"description": "Provides an engine that can compile and evaluate expressions",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/expression-language/tree/v6.4.11"
+ "source": "https://github.com/symfony/expression-language/tree/v6.4.13"
},
"funding": [
{
@@ -2812,20 +2814,20 @@
"type": "tidelift"
}
],
- "time": "2024-08-12T09:55:28+00:00"
+ "time": "2024-10-09T08:40:40+00:00"
},
{
"name": "symfony/filesystem",
- "version": "v6.4.12",
+ "version": "v6.4.13",
"source": {
"type": "git",
"url": "https://github.com/symfony/filesystem.git",
- "reference": "f810e3cbdf7fdc35983968523d09f349fa9ada12"
+ "reference": "4856c9cf585d5a0313d8d35afd681a526f038dd3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/f810e3cbdf7fdc35983968523d09f349fa9ada12",
- "reference": "f810e3cbdf7fdc35983968523d09f349fa9ada12",
+ "url": "https://api.github.com/repos/symfony/filesystem/zipball/4856c9cf585d5a0313d8d35afd681a526f038dd3",
+ "reference": "4856c9cf585d5a0313d8d35afd681a526f038dd3",
"shasum": ""
},
"require": {
@@ -2862,7 +2864,7 @@
"description": "Provides basic utilities for the filesystem",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/filesystem/tree/v6.4.12"
+ "source": "https://github.com/symfony/filesystem/tree/v6.4.13"
},
"funding": [
{
@@ -2878,20 +2880,20 @@
"type": "tidelift"
}
],
- "time": "2024-09-16T16:01:33+00:00"
+ "time": "2024-10-25T15:07:50+00:00"
},
{
"name": "symfony/finder",
- "version": "v6.4.11",
+ "version": "v6.4.13",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
- "reference": "d7eb6daf8cd7e9ac4976e9576b32042ef7253453"
+ "reference": "daea9eca0b08d0ed1dc9ab702a46128fd1be4958"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/d7eb6daf8cd7e9ac4976e9576b32042ef7253453",
- "reference": "d7eb6daf8cd7e9ac4976e9576b32042ef7253453",
+ "url": "https://api.github.com/repos/symfony/finder/zipball/daea9eca0b08d0ed1dc9ab702a46128fd1be4958",
+ "reference": "daea9eca0b08d0ed1dc9ab702a46128fd1be4958",
"shasum": ""
},
"require": {
@@ -2926,7 +2928,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.11"
+ "source": "https://github.com/symfony/finder/tree/v6.4.13"
},
"funding": [
{
@@ -2942,20 +2944,20 @@
"type": "tidelift"
}
],
- "time": "2024-08-13T14:27:37+00:00"
+ "time": "2024-10-01T08:30:56+00:00"
},
{
"name": "symfony/options-resolver",
- "version": "v6.4.8",
+ "version": "v6.4.13",
"source": {
"type": "git",
"url": "https://github.com/symfony/options-resolver.git",
- "reference": "22ab9e9101ab18de37839074f8a1197f55590c1b"
+ "reference": "0a62a9f2504a8dd27083f89d21894ceb01cc59db"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/options-resolver/zipball/22ab9e9101ab18de37839074f8a1197f55590c1b",
- "reference": "22ab9e9101ab18de37839074f8a1197f55590c1b",
+ "url": "https://api.github.com/repos/symfony/options-resolver/zipball/0a62a9f2504a8dd27083f89d21894ceb01cc59db",
+ "reference": "0a62a9f2504a8dd27083f89d21894ceb01cc59db",
"shasum": ""
},
"require": {
@@ -2993,7 +2995,7 @@
"options"
],
"support": {
- "source": "https://github.com/symfony/options-resolver/tree/v6.4.8"
+ "source": "https://github.com/symfony/options-resolver/tree/v6.4.13"
},
"funding": [
{
@@ -3009,7 +3011,7 @@
"type": "tidelift"
}
],
- "time": "2024-05-31T14:49:08+00:00"
+ "time": "2024-09-25T14:18:03+00:00"
},
{
"name": "symfony/polyfill-ctype",
@@ -3331,16 +3333,16 @@
},
{
"name": "symfony/process",
- "version": "v6.4.12",
+ "version": "v6.4.15",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
- "reference": "3f94e5f13ff58df371a7ead461b6e8068900fbb3"
+ "reference": "3cb242f059c14ae08591c5c4087d1fe443564392"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/3f94e5f13ff58df371a7ead461b6e8068900fbb3",
- "reference": "3f94e5f13ff58df371a7ead461b6e8068900fbb3",
+ "url": "https://api.github.com/repos/symfony/process/zipball/3cb242f059c14ae08591c5c4087d1fe443564392",
+ "reference": "3cb242f059c14ae08591c5c4087d1fe443564392",
"shasum": ""
},
"require": {
@@ -3372,7 +3374,7 @@
"description": "Executes commands in sub-processes",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/process/tree/v6.4.12"
+ "source": "https://github.com/symfony/process/tree/v6.4.15"
},
"funding": [
{
@@ -3388,7 +3390,7 @@
"type": "tidelift"
}
],
- "time": "2024-09-17T12:47:12+00:00"
+ "time": "2024-11-06T14:19:14+00:00"
},
{
"name": "symfony/service-contracts",
@@ -3475,16 +3477,16 @@
},
{
"name": "symfony/string",
- "version": "v6.4.12",
+ "version": "v6.4.15",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
- "reference": "f8a1ccebd0997e16112dfecfd74220b78e5b284b"
+ "reference": "73a5e66ea2e1677c98d4449177c5a9cf9d8b4c6f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/string/zipball/f8a1ccebd0997e16112dfecfd74220b78e5b284b",
- "reference": "f8a1ccebd0997e16112dfecfd74220b78e5b284b",
+ "url": "https://api.github.com/repos/symfony/string/zipball/73a5e66ea2e1677c98d4449177c5a9cf9d8b4c6f",
+ "reference": "73a5e66ea2e1677c98d4449177c5a9cf9d8b4c6f",
"shasum": ""
},
"require": {
@@ -3541,7 +3543,7 @@
"utf8"
],
"support": {
- "source": "https://github.com/symfony/string/tree/v6.4.12"
+ "source": "https://github.com/symfony/string/tree/v6.4.15"
},
"funding": [
{
@@ -3557,20 +3559,20 @@
"type": "tidelift"
}
],
- "time": "2024-09-20T08:15:52+00:00"
+ "time": "2024-11-13T13:31:12+00:00"
},
{
"name": "symfony/var-exporter",
- "version": "v6.4.9",
+ "version": "v6.4.13",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-exporter.git",
- "reference": "f9a060622e0d93777b7f8687ec4860191e16802e"
+ "reference": "0f605f72a363f8743001038a176eeb2a11223b51"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/var-exporter/zipball/f9a060622e0d93777b7f8687ec4860191e16802e",
- "reference": "f9a060622e0d93777b7f8687ec4860191e16802e",
+ "url": "https://api.github.com/repos/symfony/var-exporter/zipball/0f605f72a363f8743001038a176eeb2a11223b51",
+ "reference": "0f605f72a363f8743001038a176eeb2a11223b51",
"shasum": ""
},
"require": {
@@ -3618,7 +3620,7 @@
"serialize"
],
"support": {
- "source": "https://github.com/symfony/var-exporter/tree/v6.4.9"
+ "source": "https://github.com/symfony/var-exporter/tree/v6.4.13"
},
"funding": [
{
@@ -3634,20 +3636,20 @@
"type": "tidelift"
}
],
- "time": "2024-06-24T15:53:56+00:00"
+ "time": "2024-09-25T14:18:03+00:00"
},
{
"name": "symfony/yaml",
- "version": "v6.4.12",
+ "version": "v6.4.13",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
- "reference": "762ee56b2649659380e0ef4d592d807bc17b7971"
+ "reference": "e99b4e94d124b29ee4cf3140e1b537d2dad8cec9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/762ee56b2649659380e0ef4d592d807bc17b7971",
- "reference": "762ee56b2649659380e0ef4d592d807bc17b7971",
+ "url": "https://api.github.com/repos/symfony/yaml/zipball/e99b4e94d124b29ee4cf3140e1b537d2dad8cec9",
+ "reference": "e99b4e94d124b29ee4cf3140e1b537d2dad8cec9",
"shasum": ""
},
"require": {
@@ -3690,7 +3692,7 @@
"description": "Loads and dumps YAML files",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/yaml/tree/v6.4.12"
+ "source": "https://github.com/symfony/yaml/tree/v6.4.13"
},
"funding": [
{
@@ -3706,7 +3708,7 @@
"type": "tidelift"
}
],
- "time": "2024-09-17T12:47:12+00:00"
+ "time": "2024-09-25T14:18:03+00:00"
}
],
"packages-dev": [
@@ -3804,16 +3806,16 @@
},
{
"name": "composer/ca-bundle",
- "version": "1.5.2",
+ "version": "1.5.3",
"source": {
"type": "git",
"url": "https://github.com/composer/ca-bundle.git",
- "reference": "48a792895a2b7a6ee65dd5442c299d7b835b6137"
+ "reference": "3b1fc3f0be055baa7c6258b1467849c3e8204eb2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/ca-bundle/zipball/48a792895a2b7a6ee65dd5442c299d7b835b6137",
- "reference": "48a792895a2b7a6ee65dd5442c299d7b835b6137",
+ "url": "https://api.github.com/repos/composer/ca-bundle/zipball/3b1fc3f0be055baa7c6258b1467849c3e8204eb2",
+ "reference": "3b1fc3f0be055baa7c6258b1467849c3e8204eb2",
"shasum": ""
},
"require": {
@@ -3860,7 +3862,7 @@
"support": {
"irc": "irc://irc.freenode.org/composer",
"issues": "https://github.com/composer/ca-bundle/issues",
- "source": "https://github.com/composer/ca-bundle/tree/1.5.2"
+ "source": "https://github.com/composer/ca-bundle/tree/1.5.3"
},
"funding": [
{
@@ -3876,20 +3878,20 @@
"type": "tidelift"
}
],
- "time": "2024-09-25T07:49:53+00:00"
+ "time": "2024-11-04T10:15:26+00:00"
},
{
"name": "composer/class-map-generator",
- "version": "1.4.0",
+ "version": "1.5.0",
"source": {
"type": "git",
"url": "https://github.com/composer/class-map-generator.git",
- "reference": "98bbf6780e56e0fd2404fe4b82eb665a0f93b783"
+ "reference": "4b0a223cf5be7c9ee7e0ef1bc7db42b4a97c9915"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/class-map-generator/zipball/98bbf6780e56e0fd2404fe4b82eb665a0f93b783",
- "reference": "98bbf6780e56e0fd2404fe4b82eb665a0f93b783",
+ "url": "https://api.github.com/repos/composer/class-map-generator/zipball/4b0a223cf5be7c9ee7e0ef1bc7db42b4a97c9915",
+ "reference": "4b0a223cf5be7c9ee7e0ef1bc7db42b4a97c9915",
"shasum": ""
},
"require": {
@@ -3898,10 +3900,10 @@
"symfony/finder": "^4.4 || ^5.3 || ^6 || ^7"
},
"require-dev": {
- "phpstan/phpstan": "^1.6",
- "phpstan/phpstan-deprecation-rules": "^1",
- "phpstan/phpstan-phpunit": "^1",
- "phpstan/phpstan-strict-rules": "^1.1",
+ "phpstan/phpstan": "^1.12 || ^2",
+ "phpstan/phpstan-deprecation-rules": "^1 || ^2",
+ "phpstan/phpstan-phpunit": "^1 || ^2",
+ "phpstan/phpstan-strict-rules": "^1.1 || ^2",
"phpunit/phpunit": "^8",
"symfony/filesystem": "^5.4 || ^6"
},
@@ -3933,7 +3935,7 @@
],
"support": {
"issues": "https://github.com/composer/class-map-generator/issues",
- "source": "https://github.com/composer/class-map-generator/tree/1.4.0"
+ "source": "https://github.com/composer/class-map-generator/tree/1.5.0"
},
"funding": [
{
@@ -3949,20 +3951,20 @@
"type": "tidelift"
}
],
- "time": "2024-10-03T18:14:00+00:00"
+ "time": "2024-11-25T16:11:06+00:00"
},
{
"name": "composer/composer",
- "version": "2.8.1",
+ "version": "2.8.3",
"source": {
"type": "git",
"url": "https://github.com/composer/composer.git",
- "reference": "e52b8672276cf436670cdd6bd5de4353740e83b2"
+ "reference": "2a7c71266b2545a3bed9f4860734081963f6e688"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/composer/zipball/e52b8672276cf436670cdd6bd5de4353740e83b2",
- "reference": "e52b8672276cf436670cdd6bd5de4353740e83b2",
+ "url": "https://api.github.com/repos/composer/composer/zipball/2a7c71266b2545a3bed9f4860734081963f6e688",
+ "reference": "2a7c71266b2545a3bed9f4860734081963f6e688",
"shasum": ""
},
"require": {
@@ -3976,7 +3978,7 @@
"justinrainbow/json-schema": "^5.3",
"php": "^7.2.5 || ^8.0",
"psr/log": "^1.0 || ^2.0 || ^3.0",
- "react/promise": "^3.2",
+ "react/promise": "^2.11 || ^3.2",
"seld/jsonlint": "^1.4",
"seld/phar-utils": "^1.2",
"seld/signal-handler": "^2.0",
@@ -4047,7 +4049,7 @@
"irc": "ircs://irc.libera.chat:6697/composer",
"issues": "https://github.com/composer/composer/issues",
"security": "https://github.com/composer/composer/security/policy",
- "source": "https://github.com/composer/composer/tree/2.8.1"
+ "source": "https://github.com/composer/composer/tree/2.8.3"
},
"funding": [
{
@@ -4063,7 +4065,7 @@
"type": "tidelift"
}
],
- "time": "2024-10-04T09:31:01+00:00"
+ "time": "2024-11-17T12:13:04+00:00"
},
{
"name": "composer/metadata-minifier",
@@ -4136,16 +4138,16 @@
},
{
"name": "composer/pcre",
- "version": "3.3.1",
+ "version": "3.3.2",
"source": {
"type": "git",
"url": "https://github.com/composer/pcre.git",
- "reference": "63aaeac21d7e775ff9bc9d45021e1745c97521c4"
+ "reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/pcre/zipball/63aaeac21d7e775ff9bc9d45021e1745c97521c4",
- "reference": "63aaeac21d7e775ff9bc9d45021e1745c97521c4",
+ "url": "https://api.github.com/repos/composer/pcre/zipball/b2bed4734f0cc156ee1fe9c0da2550420d99a21e",
+ "reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e",
"shasum": ""
},
"require": {
@@ -4155,8 +4157,8 @@
"phpstan/phpstan": "<1.11.10"
},
"require-dev": {
- "phpstan/phpstan": "^1.11.10",
- "phpstan/phpstan-strict-rules": "^1.1",
+ "phpstan/phpstan": "^1.12 || ^2",
+ "phpstan/phpstan-strict-rules": "^1 || ^2",
"phpunit/phpunit": "^8 || ^9"
},
"type": "library",
@@ -4195,7 +4197,7 @@
],
"support": {
"issues": "https://github.com/composer/pcre/issues",
- "source": "https://github.com/composer/pcre/tree/3.3.1"
+ "source": "https://github.com/composer/pcre/tree/3.3.2"
},
"funding": [
{
@@ -4211,7 +4213,7 @@
"type": "tidelift"
}
],
- "time": "2024-08-27T18:44:43+00:00"
+ "time": "2024-11-12T16:29:46+00:00"
},
{
"name": "composer/semver",
@@ -4573,28 +4575,28 @@
},
{
"name": "jean85/pretty-package-versions",
- "version": "2.0.6",
+ "version": "2.1.0",
"source": {
"type": "git",
"url": "https://github.com/Jean85/pretty-package-versions.git",
- "reference": "f9fdd29ad8e6d024f52678b570e5593759b550b4"
+ "reference": "3c4e5f62ba8d7de1734312e4fff32f67a8daaf10"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/f9fdd29ad8e6d024f52678b570e5593759b550b4",
- "reference": "f9fdd29ad8e6d024f52678b570e5593759b550b4",
+ "url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/3c4e5f62ba8d7de1734312e4fff32f67a8daaf10",
+ "reference": "3c4e5f62ba8d7de1734312e4fff32f67a8daaf10",
"shasum": ""
},
"require": {
- "composer-runtime-api": "^2.0.0",
- "php": "^7.1|^8.0"
+ "composer-runtime-api": "^2.1.0",
+ "php": "^7.4|^8.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.2",
"jean85/composer-provided-replaced-stub-package": "^1.0",
"phpstan/phpstan": "^1.4",
- "phpunit/phpunit": "^7.5|^8.5|^9.4",
- "vimeo/psalm": "^4.3"
+ "phpunit/phpunit": "^7.5|^8.5|^9.6",
+ "vimeo/psalm": "^4.3 || ^5.0"
},
"type": "library",
"extra": {
@@ -4626,9 +4628,9 @@
],
"support": {
"issues": "https://github.com/Jean85/pretty-package-versions/issues",
- "source": "https://github.com/Jean85/pretty-package-versions/tree/2.0.6"
+ "source": "https://github.com/Jean85/pretty-package-versions/tree/2.1.0"
},
- "time": "2024-03-08T09:58:59+00:00"
+ "time": "2024-11-18T16:19:46+00:00"
},
{
"name": "justinrainbow/json-schema",
@@ -4697,16 +4699,16 @@
},
{
"name": "myclabs/deep-copy",
- "version": "1.12.0",
+ "version": "1.12.1",
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c"
+ "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c",
- "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c",
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/123267b2c49fbf30d78a7b2d333f6be754b94845",
+ "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845",
"shasum": ""
},
"require": {
@@ -4745,7 +4747,7 @@
],
"support": {
"issues": "https://github.com/myclabs/DeepCopy/issues",
- "source": "https://github.com/myclabs/DeepCopy/tree/1.12.0"
+ "source": "https://github.com/myclabs/DeepCopy/tree/1.12.1"
},
"funding": [
{
@@ -4753,7 +4755,7 @@
"type": "tidelift"
}
],
- "time": "2024-06-12T14:39:25+00:00"
+ "time": "2024-11-08T17:47:46+00:00"
},
{
"name": "nikic/php-parser",
@@ -5047,16 +5049,16 @@
},
{
"name": "phpdocumentor/reflection-docblock",
- "version": "5.4.1",
+ "version": "5.6.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "9d07b3f7fdcf5efec5d1609cba3c19c5ea2bdc9c"
+ "reference": "f3558a4c23426d12bffeaab463f8a8d8b681193c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/9d07b3f7fdcf5efec5d1609cba3c19c5ea2bdc9c",
- "reference": "9d07b3f7fdcf5efec5d1609cba3c19c5ea2bdc9c",
+ "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/f3558a4c23426d12bffeaab463f8a8d8b681193c",
+ "reference": "f3558a4c23426d12bffeaab463f8a8d8b681193c",
"shasum": ""
},
"require": {
@@ -5065,17 +5067,17 @@
"php": "^7.4 || ^8.0",
"phpdocumentor/reflection-common": "^2.2",
"phpdocumentor/type-resolver": "^1.7",
- "phpstan/phpdoc-parser": "^1.7",
+ "phpstan/phpdoc-parser": "^1.7|^2.0",
"webmozart/assert": "^1.9.1"
},
"require-dev": {
- "mockery/mockery": "~1.3.5",
+ "mockery/mockery": "~1.3.5 || ~1.6.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.8",
"phpstan/phpstan-mockery": "^1.1",
"phpstan/phpstan-webmozart-assert": "^1.2",
"phpunit/phpunit": "^9.5",
- "vimeo/psalm": "^5.13"
+ "psalm/phar": "^5.26"
},
"type": "library",
"extra": {
@@ -5105,29 +5107,29 @@
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
"support": {
"issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
- "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.4.1"
+ "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.6.0"
},
- "time": "2024-05-21T05:55:05+00:00"
+ "time": "2024-11-12T11:25:25+00:00"
},
{
"name": "phpdocumentor/type-resolver",
- "version": "1.8.2",
+ "version": "1.10.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "153ae662783729388a584b4361f2545e4d841e3c"
+ "reference": "679e3ce485b99e84c775d28e2e96fade9a7fb50a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/153ae662783729388a584b4361f2545e4d841e3c",
- "reference": "153ae662783729388a584b4361f2545e4d841e3c",
+ "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/679e3ce485b99e84c775d28e2e96fade9a7fb50a",
+ "reference": "679e3ce485b99e84c775d28e2e96fade9a7fb50a",
"shasum": ""
},
"require": {
"doctrine/deprecations": "^1.0",
"php": "^7.3 || ^8.0",
"phpdocumentor/reflection-common": "^2.0",
- "phpstan/phpdoc-parser": "^1.13"
+ "phpstan/phpdoc-parser": "^1.18|^2.0"
},
"require-dev": {
"ext-tokenizer": "*",
@@ -5163,9 +5165,9 @@
"description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
"support": {
"issues": "https://github.com/phpDocumentor/TypeResolver/issues",
- "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.8.2"
+ "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.10.0"
},
- "time": "2024-02-23T11:10:43+00:00"
+ "time": "2024-11-09T15:12:26+00:00"
},
{
"name": "phpspec/php-diff",
@@ -5299,26 +5301,27 @@
},
{
"name": "phpspec/prophecy",
- "version": "v1.19.0",
+ "version": "v1.20.0",
"source": {
"type": "git",
"url": "https://github.com/phpspec/prophecy.git",
- "reference": "67a759e7d8746d501c41536ba40cd9c0a07d6a87"
+ "reference": "a0165c648cab6a80311c74ffc708a07bb53ecc93"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/67a759e7d8746d501c41536ba40cd9c0a07d6a87",
- "reference": "67a759e7d8746d501c41536ba40cd9c0a07d6a87",
+ "url": "https://api.github.com/repos/phpspec/prophecy/zipball/a0165c648cab6a80311c74ffc708a07bb53ecc93",
+ "reference": "a0165c648cab6a80311c74ffc708a07bb53ecc93",
"shasum": ""
},
"require": {
"doctrine/instantiator": "^1.2 || ^2.0",
- "php": "^7.2 || 8.0.* || 8.1.* || 8.2.* || 8.3.*",
+ "php": "^7.2 || 8.0.* || 8.1.* || 8.2.* || 8.3.* || 8.4.*",
"phpdocumentor/reflection-docblock": "^5.2",
"sebastian/comparator": "^3.0 || ^4.0 || ^5.0 || ^6.0",
"sebastian/recursion-context": "^3.0 || ^4.0 || ^5.0 || ^6.0"
},
"require-dev": {
+ "friendsofphp/php-cs-fixer": "^3.40",
"phpspec/phpspec": "^6.0 || ^7.0",
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^8.0 || ^9.0 || ^10.0"
@@ -5362,22 +5365,22 @@
],
"support": {
"issues": "https://github.com/phpspec/prophecy/issues",
- "source": "https://github.com/phpspec/prophecy/tree/v1.19.0"
+ "source": "https://github.com/phpspec/prophecy/tree/v1.20.0"
},
- "time": "2024-02-29T11:52:51+00:00"
+ "time": "2024-11-19T13:12:41+00:00"
},
{
"name": "phpspec/prophecy-phpunit",
- "version": "v2.2.0",
+ "version": "v2.3.0",
"source": {
"type": "git",
"url": "https://github.com/phpspec/prophecy-phpunit.git",
- "reference": "16e1247e139434bce0bac09848bc5c8d882940fc"
+ "reference": "8819516c1b489ecee4c60db5f5432fac1ea8ac6f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy-phpunit/zipball/16e1247e139434bce0bac09848bc5c8d882940fc",
- "reference": "16e1247e139434bce0bac09848bc5c8d882940fc",
+ "url": "https://api.github.com/repos/phpspec/prophecy-phpunit/zipball/8819516c1b489ecee4c60db5f5432fac1ea8ac6f",
+ "reference": "8819516c1b489ecee4c60db5f5432fac1ea8ac6f",
"shasum": ""
},
"require": {
@@ -5385,6 +5388,9 @@
"phpspec/prophecy": "^1.18",
"phpunit/phpunit": "^9.1 || ^10.1 || ^11.0"
},
+ "require-dev": {
+ "phpstan/phpstan": "^1.10"
+ },
"type": "library",
"extra": {
"branch-alias": {
@@ -5414,36 +5420,36 @@
],
"support": {
"issues": "https://github.com/phpspec/prophecy-phpunit/issues",
- "source": "https://github.com/phpspec/prophecy-phpunit/tree/v2.2.0"
+ "source": "https://github.com/phpspec/prophecy-phpunit/tree/v2.3.0"
},
- "time": "2024-03-01T08:33:58+00:00"
+ "time": "2024-11-19T13:24:17+00:00"
},
{
"name": "phpstan/phpdoc-parser",
- "version": "1.33.0",
+ "version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpdoc-parser.git",
- "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140"
+ "reference": "c00d78fb6b29658347f9d37ebe104bffadf36299"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/82a311fd3690fb2bf7b64d5c98f912b3dd746140",
- "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140",
+ "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/c00d78fb6b29658347f9d37ebe104bffadf36299",
+ "reference": "c00d78fb6b29658347f9d37ebe104bffadf36299",
"shasum": ""
},
"require": {
- "php": "^7.2 || ^8.0"
+ "php": "^7.4 || ^8.0"
},
"require-dev": {
"doctrine/annotations": "^2.0",
- "nikic/php-parser": "^4.15",
+ "nikic/php-parser": "^5.3.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/extension-installer": "^1.0",
- "phpstan/phpstan": "^1.5",
- "phpstan/phpstan-phpunit": "^1.1",
- "phpstan/phpstan-strict-rules": "^1.0",
- "phpunit/phpunit": "^9.5",
+ "phpstan/phpstan": "^2.0",
+ "phpstan/phpstan-phpunit": "^2.0",
+ "phpstan/phpstan-strict-rules": "^2.0",
+ "phpunit/phpunit": "^9.6",
"symfony/process": "^5.2"
},
"type": "library",
@@ -5461,9 +5467,9 @@
"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/1.33.0"
+ "source": "https://github.com/phpstan/phpdoc-parser/tree/2.0.0"
},
- "time": "2024-10-13T11:25:22+00:00"
+ "time": "2024-10-13T11:29:49+00:00"
},
{
"name": "phpunit/php-code-coverage",
diff --git a/spec/Process/ProcessBuilderSpec.php b/spec/Process/ProcessBuilderSpec.php
index 3433ec3bc..a2f7de1dd 100644
--- a/spec/Process/ProcessBuilderSpec.php
+++ b/spec/Process/ProcessBuilderSpec.php
@@ -84,6 +84,17 @@ public function getMatchers(): array
{
return [
'beQuoted' => function ($subject, $string) {
+ if ('\\' === DIRECTORY_SEPARATOR) {
+ if ($subject !== $string) {
+ throw new FailureException(sprintf(
+ 'Expected %s, got %s.',
+ $string,
+ $subject
+ ));
+ }
+ return true;
+ }
+
$regex = sprintf('{^([\'"])%s\1$}', preg_quote($string));
if (!preg_match($regex, $subject)) {
throw new FailureException(sprintf(
diff --git a/spec/Process/ProcessFactorySpec.php b/spec/Process/ProcessFactorySpec.php
index a076f00a8..70cf40ca6 100644
--- a/spec/Process/ProcessFactorySpec.php
+++ b/spec/Process/ProcessFactorySpec.php
@@ -42,6 +42,17 @@ public function getMatchers(): array
{
return [
'beQuoted' => function ($subject, $string) {
+ if ('\\' === DIRECTORY_SEPARATOR) {
+ if ($subject !== $string) {
+ throw new FailureException(sprintf(
+ 'Expected %s, got %s.',
+ $string,
+ $subject
+ ));
+ }
+ return true;
+ }
+
$regex = sprintf('{^([\'"])%s\1$}', preg_quote($string));
if (!preg_match($regex, $subject)) {
throw new FailureException(sprintf(
diff --git a/src/Configuration/Loader/DistFileLoader.php b/src/Configuration/Loader/DistFileLoader.php
index 4806cd7b9..c68e87d89 100644
--- a/src/Configuration/Loader/DistFileLoader.php
+++ b/src/Configuration/Loader/DistFileLoader.php
@@ -18,12 +18,12 @@ public function __construct(LoaderInterface $loader)
$this->loader = $loader;
}
- public function load(mixed $resource, string $type = null): mixed
+ public function load(mixed $resource, ?string $type = null): mixed
{
return $this->loader->load($resource, $type);
}
- public function supports(mixed $resource, string $type = null): bool
+ public function supports(mixed $resource, ?string $type = null): bool
{
if (!\is_string($resource)) {
return false;
diff --git a/src/Console/Command/ConfigureCommand.php b/src/Console/Command/ConfigureCommand.php
index 329c53f7a..85d3fec8a 100644
--- a/src/Console/Command/ConfigureCommand.php
+++ b/src/Console/Command/ConfigureCommand.php
@@ -147,7 +147,7 @@ protected function buildConfiguration(InputInterface $input, OutputInterface $ou
];
}
- protected function createQuestionString(string $question, string $default = null, string $separator = ':'): string
+ protected function createQuestionString(string $question, ?string $default = null, string $separator = ':'): string
{
return null !== $default ?
sprintf('%s [%s]%s ', $question, $default, $separator) :
diff --git a/src/Event/Dispatcher/Bridge/SymfonyEventDispatcher.php b/src/Event/Dispatcher/Bridge/SymfonyEventDispatcher.php
index eeb8dd01e..010c94911 100644
--- a/src/Event/Dispatcher/Bridge/SymfonyEventDispatcher.php
+++ b/src/Event/Dispatcher/Bridge/SymfonyEventDispatcher.php
@@ -24,7 +24,7 @@ public function __construct($eventDispatcher)
$this->dispatcher = $eventDispatcher;
}
- public function dispatch(Event $event, string $name = null): void
+ public function dispatch(Event $event, ?string $name = null): void
{
$interfacesImplemented = class_implements($this->dispatcher);
if (in_array(SymfonyEventDispatcherContract::class, $interfacesImplemented, true)) {
diff --git a/src/Event/Dispatcher/EventDispatcherInterface.php b/src/Event/Dispatcher/EventDispatcherInterface.php
index 10e6b132d..ebc73c729 100644
--- a/src/Event/Dispatcher/EventDispatcherInterface.php
+++ b/src/Event/Dispatcher/EventDispatcherInterface.php
@@ -8,5 +8,5 @@
interface EventDispatcherInterface
{
- public function dispatch(Event $event, string $name = null): void;
+ public function dispatch(Event $event, ?string $name = null): void;
}
diff --git a/src/Parser/Php/Configurator/TraverserConfigurator.php b/src/Parser/Php/Configurator/TraverserConfigurator.php
index 0c6033699..4ec746e5c 100644
--- a/src/Parser/Php/Configurator/TraverserConfigurator.php
+++ b/src/Parser/Php/Configurator/TraverserConfigurator.php
@@ -61,7 +61,7 @@ public function registerVisitorId(string $alias, string $visitorId): void
/**
* @throws \GrumPHP\Exception\RuntimeException
*/
- public function registerStandardEnabledVisitor(string $alias, array $visitorOptions = null): void
+ public function registerStandardEnabledVisitor(string $alias, ?array $visitorOptions = null): void
{
if (array_key_exists($alias, $this->standardEnabledVisitors)) {
throw new RuntimeException(
diff --git a/src/Process/ProcessBuilder.php b/src/Process/ProcessBuilder.php
index 7ab4f9ccb..cda82fef0 100644
--- a/src/Process/ProcessBuilder.php
+++ b/src/Process/ProcessBuilder.php
@@ -41,7 +41,7 @@ public function __construct(ExternalCommand $externalCommandLocator, IOInterface
*/
public function createArgumentsForCommand(
string $command,
- callable $pathManipulator = null
+ ?callable $pathManipulator = null
): ProcessArgumentsCollection {
$executable = $this->externalCommandLocator->locate($command);
$manipulatedExecutable = $pathManipulator ? $pathManipulator($executable) : $executable;
diff --git a/src/Runner/TaskRunnerContext.php b/src/Runner/TaskRunnerContext.php
index f9f56b2fd..41882551a 100644
--- a/src/Runner/TaskRunnerContext.php
+++ b/src/Runner/TaskRunnerContext.php
@@ -43,7 +43,7 @@ class TaskRunnerContext
*/
public function __construct(
ContextInterface $taskContext,
- TestSuiteInterface $testSuite = null,
+ ?TestSuiteInterface $testSuite = null,
array $taskNames = []
) {
$this->taskContext = $taskContext;
diff --git a/test/E2E/AbstractE2ETestCase.php b/test/E2E/AbstractE2ETestCase.php
index d05b38dcf..6e4bc9d4b 100644
--- a/test/E2E/AbstractE2ETestCase.php
+++ b/test/E2E/AbstractE2ETestCase.php
@@ -73,6 +73,8 @@ protected function initializeGitSubModule(string $gitPath, string $submodulePath
$process = new Process(
[
$this->executableFinder->find('git'),
+ '-c',
+ 'protocol.file.allow=always',
'submodule',
'add',
'-f',
@@ -174,7 +176,7 @@ protected function mergeComposerConfig(string $composerFile, array $config, $rec
$this->dumpFile($composerFile, json_encode($newSource, $flags));
}
- protected function ensureHooksExist(string $gitPath = null, string $containsPattern = '{grumphp}')
+ protected function ensureHooksExist(?string $gitPath = null, string $containsPattern = '{grumphp}')
{
$gitPath = $gitPath ?: $this->rootDir;
$hooks = ['pre-commit', 'commit-msg'];
@@ -346,7 +348,7 @@ protected function installComposer(string $path, array $arguments = [])
$this->runCommand('install composer', $process);
}
- protected function commitAll(string $gitPath = null)
+ protected function commitAll(?string $gitPath = null)
{
$gitPath = $gitPath ?: $this->rootDir;
$git = $this->executableFinder->find('git');
@@ -362,7 +364,7 @@ protected function commitAll(string $gitPath = null)
* --all: Tell the command to automatically stage files that have been modified and deleted,
* but new files you have not told Git about are not affected.
*/
- protected function commitModifiedAndDeleted(string $gitPath = null)
+ protected function commitModifiedAndDeleted(?string $gitPath = null)
{
$gitPath = $gitPath ?: $this->rootDir;
$git = $this->executableFinder->find('git');
@@ -382,7 +384,7 @@ protected function runGrumphp(string $projectPath, string $vendorPath = './vendo
{
$projectPath = $this->relativeRootPath($projectPath);
$process = new Process(
- [$vendorPath.'/bin/grumphp', 'run', '-vvv'],
+ [$this->executableFinder->find('php'), $vendorPath.'/bin/grumphp', 'run', '-vvv'],
$projectPath
);
@@ -396,7 +398,7 @@ protected function runGrumphpWithConfig(string $projectPath, string $grumphpFile
$projectPath = $this->relativeRootPath($projectPath);
$this->runCommand('grumphp run with config',
new Process(
- [$vendorPath.'/bin/grumphp', 'run', '-vvv', '--config='.$grumphpFile],
+ [$this->executableFinder->find('php'), $vendorPath.'/bin/grumphp', 'run', '-vvv', '--config='.$grumphpFile],
$projectPath
)
);
@@ -407,7 +409,7 @@ protected function runGrumphpInfo(string $projectPath, $vendorPath = './vendor')
$projectPath = $this->relativeRootPath($projectPath);
$this->runCommand('grumphp info',
new Process(
- [$vendorPath.'/bin/grumphp'],
+ [$this->executableFinder->find('php'), $vendorPath.'/bin/grumphp'],
$projectPath
)
);
@@ -418,7 +420,7 @@ protected function initializeGrumphpGitHooksWithConfig(string $grumphpFile, $ven
$this->runCommand(
'grumphp git:init',
new Process(
- [$vendorPath.'/bin/grumphp', 'git:init', '--config='.$grumphpFile],
+ [$this->executableFinder->find('php'), $vendorPath.'/bin/grumphp', 'git:init', '--config='.$grumphpFile],
$this->rootDir
)
);
diff --git a/test/E2E/GitHookParametersTest.php b/test/E2E/GitHookParametersTest.php
index 34973047e..0dfb6d7c1 100644
--- a/test/E2E/GitHookParametersTest.php
+++ b/test/E2E/GitHookParametersTest.php
@@ -48,7 +48,7 @@ function it_can_specify_hook_exec_command_with_additional_arguments()
$this->installComposer($this->rootDir);
- $hookPattern = sprintf('{[\'"]%s[\'"] [\'"]-d date\.timezone=Europe/Brussels[\'"]}', preg_quote($php));
+ $hookPattern = sprintf('{([\'"]?)%s([\'"]?) [\'"]-d date\.timezone=Europe/Brussels[\'"]}', preg_quote($php));
$this->ensureHooksExist($this->rootDir, $hookPattern);
$this->enableValidatePathsTask($grumphpFile, $this->rootDir);