From 33867f70490bb421d35734a13bf27eac6b3a6e96 Mon Sep 17 00:00:00 2001 From: Yoshitaka Jingu Date: Wed, 23 Apr 2025 10:27:04 +0900 Subject: [PATCH 1/5] add support psr/http-message:^2.0 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 249d08c..14d1f08 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ ], "require": { "php": "^7.3 || ^8.0", - "psr/http-message": "^1.0", + "psr/http-message": "^1.0|^2.0", "nyholm/psr7": "^1.0", "nyholm/psr7-server": "^1.0", "ray/di": "^2.11", From 877accd1a75831f0c79e09f675fde1ef59c7333c Mon Sep 17 00:00:00 2001 From: Yoshitaka Jingu Date: Wed, 23 Apr 2025 11:18:05 +0900 Subject: [PATCH 2/5] remove post-install-cmd, post-update-cmd scripts from composer.json --- composer.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/composer.json b/composer.json index 14d1f08..3e63276 100644 --- a/composer.json +++ b/composer.json @@ -34,8 +34,6 @@ } }, "scripts": { - "post-install-cmd": ["@composer bin all install --ansi"], - "post-update-cmd": ["@composer bin all update --ansi"], "test": ["./vendor/bin/phpunit"], "tests": ["@cs", "@test", "@sa"], "coverage": ["php -dzend_extension=xdebug.so -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"], From a2db423acf934bdc27c4b2e5250496af35fb84d1 Mon Sep 17 00:00:00 2001 From: Yoshitaka Jingu Date: Wed, 23 Apr 2025 11:32:41 +0900 Subject: [PATCH 3/5] require "phpunit/phpunit": "^8.5.41 || ^9.5" --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 3e63276..78bd219 100644 --- a/composer.json +++ b/composer.json @@ -10,14 +10,14 @@ ], "require": { "php": "^7.3 || ^8.0", - "psr/http-message": "^1.0|^2.0", + "psr/http-message": "^1.0 || ^2.0", "nyholm/psr7": "^1.0", "nyholm/psr7-server": "^1.0", "ray/di": "^2.11", "ray/aop": "^2.10.3" }, "require-dev": { - "phpunit/phpunit": "^9.5", + "phpunit/phpunit": "^8.5.41 || ^9.5", "bamarni/composer-bin-plugin": "^1.4" }, "autoload": { From 5f74aee360fc81fa5f18d8ef9d29d05845fc66ea Mon Sep 17 00:00:00 2001 From: Yoshitaka Jingu Date: Wed, 23 Apr 2025 11:38:57 +0900 Subject: [PATCH 4/5] Change the current stable PHP version to 8.4 in CI --- .github/workflows/continuous-integration.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index b42a071..db43a4c 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -9,5 +9,5 @@ jobs: ci: uses: ray-di/.github/.github/workflows/continuous-integration.yml@v1 with: - old_stable: '["7.3", "7.4", "8.0", "8.1", "8.2"]' - current_stable: 8.3 + old_stable: '["7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]' + current_stable: 8.4 From 26f5523f0bea5ad5f0b8f18ec66099502df0fb07 Mon Sep 17 00:00:00 2001 From: Yoshitaka Jingu Date: Wed, 23 Apr 2025 11:55:25 +0900 Subject: [PATCH 5/5] add bamarni-bin configuration --- composer.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/composer.json b/composer.json index 78bd219..bf37c61 100644 --- a/composer.json +++ b/composer.json @@ -50,5 +50,11 @@ "allow-plugins": { "bamarni/composer-bin-plugin": true } + }, + "extra": { + "bamarni-bin": { + "forward-command": true, + "bin-links": true + } } }