Skip to content

Commit

Permalink
[TASK] Set minimum PHP version to 8.1
Browse files Browse the repository at this point in the history
Related: #2
  • Loading branch information
brotkrueml committed Dec 11, 2022
1 parent 96cab84 commit 739f333
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ jobs:
fail-fast: false
matrix:
php-versions:
- '7.4'
- '8.0'
- '8.1'
- '8.2'
steps:
Expand Down Expand Up @@ -67,7 +65,7 @@ jobs:
- name: Setup PHP version
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.1
coverage: xdebug
extensions: curl filter json
- name: Get Composer Cache Directory
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"docs": "https://jobrouter-client.readthedocs.io/"
},
"require": {
"php": ">=7.4",
"php": ">=8.1",
"ext-curl": "*",
"ext-filter": "*",
"ext-json": "*",
Expand Down
16 changes: 9 additions & 7 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,30 @@ Installation
Requirements
============

The JobRouter Client |version| requires at least PHP 7.4; using the latest
The JobRouter Client |version| requires at least PHP 8.1; using the latest
version of PHP is highly recommended.

The library requires the curl, filter and json extensions, which are normally
enabled by default.
The library requires the curl and filter extensions, which are normally enabled
by default.

Version matrix
--------------

================ =========================== =========
JobRouter Client JobRouter® PHP
================ =========================== =========
1.0 4.2 - 5.1 7.2 - 7.4
2.0 2022.1 - 2022.4 8.1 - 8.2
---------------- --------------------------- ---------
1.1 4.2 - 5.2 7.3 - 8.1
1.4 4.2 - 5.2 / 2022.1 - 2022.4 7.4 - 8.2
---------------- --------------------------- ---------
1.2 / 1.3 4.2 - 5.2 / 2022.1 - 2022.2 7.4 - 8.1
---------------- --------------------------- ---------
1.4 4.2 - 5.2 / 2022.1 - 2022.4 7.4 - 8.2
1.1 4.2 - 5.2 7.3 - 8.1
---------------- --------------------------- ---------
1.0 4.2 - 5.1 7.2 - 7.4
================ =========================== =========

You can use, for example, JobRouter Client version 1.0 on JobRouter® version 5.2
You can use, for example, JobRouter Client version 2.0 on JobRouter® version 5.2
at your own risk. However, new REST API resources may not be usable.


Expand Down

0 comments on commit 739f333

Please sign in to comment.