From 163bd5f559dcc808606381d51df61e8e4d72617d Mon Sep 17 00:00:00 2001 From: Greg Bowler Date: Tue, 5 May 2026 11:07:26 +0100 Subject: [PATCH 1/2] build: upgrade dependencies --- composer.json | 2 +- composer.lock | 72 +++++++++++++++++++++++++-------------------------- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/composer.json b/composer.json index 47521bb..0bd2688 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,7 @@ "funding": [ { "type": "github", - "url": "https://github.com/sponsors/PhpGt" + "url": "https://github.com/sponsors/phpgt" } ] } diff --git a/composer.lock b/composer.lock index 76cf1bf..e85a3f0 100644 --- a/composer.lock +++ b/composer.lock @@ -2154,16 +2154,16 @@ }, { "name": "symfony/config", - "version": "v6.4.34", + "version": "v6.4.37", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "ce9cb0c0d281aaf188b802d4968e42bfb60701e9" + "reference": "ee615e8352db9c5f0b7b149154a3f654dc72042b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/ce9cb0c0d281aaf188b802d4968e42bfb60701e9", - "reference": "ce9cb0c0d281aaf188b802d4968e42bfb60701e9", + "url": "https://api.github.com/repos/symfony/config/zipball/ee615e8352db9c5f0b7b149154a3f654dc72042b", + "reference": "ee615e8352db9c5f0b7b149154a3f654dc72042b", "shasum": "" }, "require": { @@ -2209,7 +2209,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.34" + "source": "https://github.com/symfony/config/tree/v6.4.37" }, "funding": [ { @@ -2229,20 +2229,20 @@ "type": "tidelift" } ], - "time": "2026-02-24T17:34:50+00:00" + "time": "2026-04-29T10:19:30+00:00" }, { "name": "symfony/dependency-injection", - "version": "v6.4.35", + "version": "v6.4.37", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "d95712d0e9446b9f244b64811ffb6af7b7434213" + "reference": "4f66d607578c9d0546b1750262a6140e552e346d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/d95712d0e9446b9f244b64811ffb6af7b7434213", - "reference": "d95712d0e9446b9f244b64811ffb6af7b7434213", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/4f66d607578c9d0546b1750262a6140e552e346d", + "reference": "4f66d607578c9d0546b1750262a6140e552e346d", "shasum": "" }, "require": { @@ -2294,7 +2294,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.35" + "source": "https://github.com/symfony/dependency-injection/tree/v6.4.37" }, "funding": [ { @@ -2314,7 +2314,7 @@ "type": "tidelift" } ], - "time": "2026-02-26T12:16:01+00:00" + "time": "2026-04-30T17:50:20+00:00" }, { "name": "symfony/deprecation-contracts", @@ -2385,16 +2385,16 @@ }, { "name": "symfony/filesystem", - "version": "v6.4.34", + "version": "v6.4.37", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "01ffe0411b842f93c571e5c391f289c3fdd498c3" + "reference": "29f792d7dc30cc670fc4cdd50d7c6653d067ce7b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/01ffe0411b842f93c571e5c391f289c3fdd498c3", - "reference": "01ffe0411b842f93c571e5c391f289c3fdd498c3", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/29f792d7dc30cc670fc4cdd50d7c6653d067ce7b", + "reference": "29f792d7dc30cc670fc4cdd50d7c6653d067ce7b", "shasum": "" }, "require": { @@ -2431,7 +2431,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.4.34" + "source": "https://github.com/symfony/filesystem/tree/v6.4.37" }, "funding": [ { @@ -2451,20 +2451,20 @@ "type": "tidelift" } ], - "time": "2026-02-24T17:51:06+00:00" + "time": "2026-04-13T15:27:04+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.33.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" + "reference": "141046a8f9477948ff284fa65be2095baafb94f2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/141046a8f9477948ff284fa65be2095baafb94f2", + "reference": "141046a8f9477948ff284fa65be2095baafb94f2", "shasum": "" }, "require": { @@ -2514,7 +2514,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.37.0" }, "funding": [ { @@ -2534,20 +2534,20 @@ "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2026-04-10T16:19:22+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.33.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" + "reference": "6a21eb99c6973357967f6ce3708cd55a6bec6315" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", - "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6a21eb99c6973357967f6ce3708cd55a6bec6315", + "reference": "6a21eb99c6973357967f6ce3708cd55a6bec6315", "shasum": "" }, "require": { @@ -2599,7 +2599,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.37.0" }, "funding": [ { @@ -2619,7 +2619,7 @@ "type": "tidelift" } ], - "time": "2024-12-23T08:48:59+00:00" + "time": "2026-04-10T17:25:58+00:00" }, { "name": "symfony/service-contracts", @@ -2710,16 +2710,16 @@ }, { "name": "symfony/var-exporter", - "version": "v6.4.26", + "version": "v6.4.37", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "466fcac5fa2e871f83d31173f80e9c2684743bfc" + "reference": "34f6957deffacabd1b1c579a312daa481e3e99ca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/466fcac5fa2e871f83d31173f80e9c2684743bfc", - "reference": "466fcac5fa2e871f83d31173f80e9c2684743bfc", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/34f6957deffacabd1b1c579a312daa481e3e99ca", + "reference": "34f6957deffacabd1b1c579a312daa481e3e99ca", "shasum": "" }, "require": { @@ -2767,7 +2767,7 @@ "serialize" ], "support": { - "source": "https://github.com/symfony/var-exporter/tree/v6.4.26" + "source": "https://github.com/symfony/var-exporter/tree/v6.4.37" }, "funding": [ { @@ -2787,7 +2787,7 @@ "type": "tidelift" } ], - "time": "2025-09-11T09:57:09+00:00" + "time": "2026-04-14T12:12:40+00:00" }, { "name": "theseer/tokenizer", From 19c3afa7fcc4073acdda45c311f032897978e04e Mon Sep 17 00:00:00 2001 From: Greg Bowler Date: Tue, 5 May 2026 11:11:08 +0100 Subject: [PATCH 2/2] tidy: Gt->GT refactor --- README.md | 4 ++-- composer.json | 3 ++- example/01-three-processes.php | 4 ++-- example/02-ping.php | 4 ++-- example/05-process-test.php | 2 +- example/06-pool-test.php | 4 ++-- src/CommandNotFoundException.php | 2 +- src/DaemonException.php | 2 +- src/Pool.php | 2 +- src/Process.php | 2 +- src/Signal.php | 2 +- test/phpunit/PoolTest.php | 6 +++--- test/phpunit/ProcessTest.php | 8 ++++---- 13 files changed, 23 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 4c1158a..68f61e3 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,8 @@ Execute background processes asynchronously using an object oriented process poo ```php add("Google", new Process("ping google.com")); diff --git a/example/05-process-test.php b/example/05-process-test.php index 2cf7e56..d70c6c6 100644 --- a/example/05-process-test.php +++ b/example/05-process-test.php @@ -1,7 +1,7 @@ Process */ diff --git a/src/Process.php b/src/Process.php index 48fb0ca..83f0202 100644 --- a/src/Process.php +++ b/src/Process.php @@ -1,5 +1,5 @@