Skip to content

Commit 64d26af

Browse files
authored
Merge pull request #83 from php-http/fix-build
install legacy factory to still test it
2 parents 422f6dd + 0f21d5d commit 64d26af

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/Build-Test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
operating-system: [ubuntu-20.04]
17+
operating-system: [ubuntu-22.04]
1818
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
1919
include:
20-
- operating-system: ubuntu-16.04
20+
- operating-system: ubuntu-20.04
2121
php-versions: '7.1'
2222
COMPOSER_FLAGS: '--prefer-stable --prefer-lowest'
2323
PHPUNIT_FLAGS: '--coverage-clover build/coverage.xml'

composer.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
"guzzlehttp/psr7": "^1.0",
2929
"php-http/client-integration-tests": "^3.0",
3030
"phpunit/phpunit": "^7.5 || ^9.4",
31-
"laminas/laminas-diactoros": "^2.0"
31+
"laminas/laminas-diactoros": "^2.0",
32+
"php-http/message-factory": "^1.1"
3233
},
3334
"autoload": {
3435
"psr-4": {
@@ -48,5 +49,10 @@
4849
"scripts": {
4950
"test": "vendor/bin/phpunit",
5051
"test-ci": "vendor/bin/phpunit --coverage-clover build/coverage.xml"
52+
},
53+
"config": {
54+
"allow-plugins": {
55+
"php-http/discovery": false
56+
}
5157
}
5258
}

0 commit comments

Comments
 (0)