Skip to content

Commit e3df4f9

Browse files
committed
install legacy factory to still test it
1 parent 422f6dd commit e3df4f9

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/Build-Test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ jobs:
1717
operating-system: [ubuntu-20.04]
1818
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
1919
include:
20-
- operating-system: ubuntu-16.04
21-
php-versions: '7.1'
20+
- php-versions: '7.1'
2221
COMPOSER_FLAGS: '--prefer-stable --prefer-lowest'
2322
PHPUNIT_FLAGS: '--coverage-clover build/coverage.xml'
2423

composer.json

Lines changed: 7 additions & 1 deletion
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)