Skip to content

Commit

Permalink
Drop PHP 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm committed Dec 12, 2023
1 parent 17618cc commit 14b68a7
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
fail-fast: false
matrix:
package: ${{ fromJson(needs.matrix.outputs.list) }}
php: [ '8.0', '8.1', '8.2', '8.3' ]
php: [ '8.1', '8.2', '8.3' ]
strategy: [ 'highest', 'lowest' ]

steps:
Expand Down
2 changes: 1 addition & 1 deletion src/swoole-nyholm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## 0.2.0

- Add support for Symfony 7
- Drop support for PHP 7
- Drop support for PHP 7 and PHP 8.0

## 0.1.1

Expand Down
4 changes: 2 additions & 2 deletions src/swoole-nyholm/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
}
],
"require": {
"php": ">=8.0.5",
"nyholm/psr7": "^1.5",
"php": ">=8.1",
"nyholm/psr7": "^1.7",
"psr/http-server-handler": "^1.0",
"symfony/runtime": "^5.4.26 || ^6.3.2 || ^7.0"
},
Expand Down
1 change: 1 addition & 0 deletions src/swoole-nyholm/tests/Unit/RequestHandlerRunnerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public function testHandle(): void
'X-Test' => ['Swoole-Runtime'],
]);
$psrResponse->expects(self::once())->method('getBody')->willReturn(Stream::create('Test'));
$psrResponse->expects(self::once())->method('getStatusCode')->willReturn(200);

$response->expects(self::once())->method('setHeader')->with('X-Test', 'Swoole-Runtime');
$response->expects(self::once())->method('write')->with('Test');
Expand Down
2 changes: 1 addition & 1 deletion src/swoole/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## 0.4.0

- Add support for Symfony 7
- Drop support for PHP 7
- Drop support for PHP 7 and PHP 8.0

## 0.3.1

Expand Down
2 changes: 1 addition & 1 deletion src/swoole/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"php": ">=8.0.5",
"php": ">=8.1",
"symfony/runtime": "^5.4.26 || ^6.3.2 || ^7.0"
},
"require-dev": {
Expand Down

0 comments on commit 14b68a7

Please # to comment.