diff --git a/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md new file mode 100644 index 0000000..7746407 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md @@ -0,0 +1,11 @@ +--- +name: Pull Request +about: Pull Request +title: '' +labels: '' +assignees: '' +--- + +Thanks for contributing! + +Before you create a Pull Request, make sure to read the [Contributing](../../docs/Contributing.md) specification. diff --git a/.github/workflows/acceptance.yml b/.github/workflows/acceptance.yml index 0695c98..03cef93 100644 --- a/.github/workflows/acceptance.yml +++ b/.github/workflows/acceptance.yml @@ -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: @@ -43,7 +43,7 @@ jobs: - name: Set up PHP uses: shivammathur/setup-php@v2 with: - php-version: "8.2" + php-version: "8.3" coverage: none env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -70,7 +70,7 @@ jobs: - name: Set up PHP uses: shivammathur/setup-php@v2 with: - php-version: "8.2" + php-version: "8.3" coverage: xdebug env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/composer.json b/composer.json index fcd8163..8f4d805 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ } }, "require": { - "php": "^8.0", + "php": "^8.1", "phrity/net-uri": "^1.2", "phrity/net-stream": "^1.3", "phrity/util-errorhandler": "^1.0", diff --git a/docs/Changelog.md b/docs/Changelog.md index f4ce971..7110164 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -4,11 +4,12 @@ ## `v2.2` - > PHP version `^8.0` + > PHP version `^8.1` ### `2.2.0` * Documentation overview (@sirn-se) + * Removed PHP `8.0` support (@sirn-se) ## `v2.1` diff --git a/docs/Contributing.md b/docs/Contributing.md index 1dc05c7..34c4ec5 100644 --- a/docs/Contributing.md +++ b/docs/Contributing.md @@ -16,7 +16,7 @@ Base your patch on corresponding version branch, and target that version branch | Version | Branch | PHP | Status | | --- | --- | --- | --- | -| [`2.2`](https://github.com/sirn-se/websocket-php/tree/2.2.0) | `v2.2-main` | `^8.0` | Future version | +| [`2.2`](https://github.com/sirn-se/websocket-php/tree/2.2.0) | `v2.2-main` | `^8.1` | Future version | | [`2.1`](https://github.com/sirn-se/websocket-php/tree/2.1.0) | `v2.1-main` | `^8.0` | Current version | | [`2.0`](https://github.com/sirn-se/websocket-php/tree/2.0.0) | `v2.0-main` | `^8.0` | Bug fixes only | | [`1.7`](https://github.com/sirn-se/websocket-php/tree/1.7.0) | `v1.7-master` | `^7.4\|^8.0` | Bug fixes only | diff --git a/examples/echoserver.php b/examples/echoserver.php index 99db3ac..922f37b 100644 --- a/examples/echoserver.php +++ b/examples/echoserver.php @@ -1,5 +1,10 @@ diff --git a/src/Client.php b/src/Client.php index 65df2ec..7ee1116 100644 --- a/src/Client.php +++ b/src/Client.php @@ -1,10 +1,8 @@