Skip to content

Commit

Permalink
Merge pull request #47 from sirn-se/php8.1
Browse files Browse the repository at this point in the history
Php ^8.1
  • Loading branch information
sirn-se authored Apr 6, 2024
2 parents 5e0321b + 673f504 commit 2c0612c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
test:
strategy:
matrix:
php-versions: ["8.0", "8.1", "8.2", "8.3", "8.4"]
php-versions: ["8.1", "8.2", "8.3", "8.4"]
runs-on: ubuntu-latest
name: Unit test
steps:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
},
"require": {
"php": "^8.0",
"php": "^8.1",
"phrity/net-uri": "^2.0",
"phrity/net-stream": "^2.0",
"phrity/util-errorhandler": "^1.1",
Expand All @@ -35,7 +35,7 @@
},
"require-dev": {
"php-coveralls/php-coveralls": "^2.0",
"phpunit/phpunit": "^9.0 | ^10.0 | ^11.0",
"phpunit/phpunit": "^10.0 | ^11.0",
"phrity/net-mock": "^2.0",
"squizlabs/php_codesniffer": "^3.5"
}
Expand Down
8 changes: 8 additions & 0 deletions docs/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

# Websocket: Changelog

## `v2.3`

> PHP version `^8.1`
### `2.3.0`

* Removed PHP `8.0` support (@sirn-se)

## `v2.2`

> PHP version `^8.0`
Expand Down
2 changes: 1 addition & 1 deletion docs/Contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Base your patch on corresponding version branch, and target that version branch

| Version | Branch | PHP | Status |
| --- | --- | --- | --- |
| [`2.3`](https://github.com/sirn-se/websocket-php/tree/2.2.0) | `v2.3-main` | TBC | Future version |
| [`2.3`](https://github.com/sirn-se/websocket-php/tree/2.2.0) | `v2.3-main` | `^8.1` | Future version |
| [`2.2`](https://github.com/sirn-se/websocket-php/tree/2.2.0) | `v2.2-main` | `^8.0` | Current version |
| [`2.1`](https://github.com/sirn-se/websocket-php/tree/2.1.0) | `v2.1-main` | `^8.0` | Bug fixes only |
| [`2.0`](https://github.com/sirn-se/websocket-php/tree/2.0.0) | - | `^8.0` | Not supported |
Expand Down
6 changes: 0 additions & 6 deletions tests/suites/http/RequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,6 @@ public function testHeaderNameError(): void
$request->withHeader('.', 'invaid name');
}

/**
* @dataProvider provideInvalidHeaderValues
*/
#[DataProvider('provideInvalidHeaderValues')]
public function testHeaderValueInvalidVariants(mixed $value): void
{
Expand All @@ -244,9 +241,6 @@ public static function provideInvalidHeaderValues(): Generator
yield [[[0]]];
}

/**
* @dataProvider provideValidHeaderValues
*/
#[DataProvider('provideValidHeaderValues')]
public function testHeaderValueValidVariants(mixed $value, array $expected): void
{
Expand Down

0 comments on commit 2c0612c

Please sign in to comment.