Skip to content

Commit

Permalink
Drop PHP 7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
akadlec committed Jul 6, 2022
1 parent e701f00 commit 3312861
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 25 deletions.
26 changes: 4 additions & 22 deletions .github/workflows/ci.yaml
Expand Up @@ -23,18 +23,12 @@ jobs :
php-qa :
name : "Quality assurance for PHP code"
runs-on : "${{ matrix.operating-system }}"
continue-on-error : "${{ matrix.experimental }}"

strategy :
fail-fast : false
matrix :
php-version : [ "7.4" ]
php-version : [ "8.0", "8.1" ]
operating-system : [ "ubuntu-latest" ]
experimental : [ false ]
include :
- php-version : "8.0"
operating-system : "ubuntu-latest"
experimental : true

steps :
- name : "Checkout"
Expand Down Expand Up @@ -89,18 +83,12 @@ jobs :
php-static-analysis :
name : "Static analysis for PHP code"
runs-on : "${{ matrix.operating-system }}"
continue-on-error : "${{ matrix.experimental }}"

strategy :
fail-fast : false
matrix :
php-version : [ "7.4" ]
php-version : [ "8.0", "8.1" ]
operating-system : [ "ubuntu-latest" ]
experimental : [ false ]
include :
- php-version : "8.0"
operating-system : "ubuntu-latest"
experimental : true

steps :
- name : "Checkout"
Expand Down Expand Up @@ -153,18 +141,12 @@ jobs :
name : "Tests for PHP code"
runs-on : "${{ matrix.operating-system }}"
needs : [ "php-qa", "php-static-analysis" ]
continue-on-error : "${{ matrix.experimental }}"

strategy :
fail-fast : false
matrix :
php-version : [ "7.4" ]
php-version : [ "8.0", "8.1" ]
operating-system : [ "ubuntu-latest" ]
experimental : [ false ]
include :
- php-version : "8.0"
operating-system : "ubuntu-latest"
experimental : true

steps :
- name : "Checkout"
Expand Down Expand Up @@ -234,7 +216,7 @@ jobs :

strategy :
matrix :
php-version : [ "7.4" ]
php-version : [ "8.1" ]
operating-system : [ "ubuntu-latest" ]
fail-fast : false

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -39,9 +39,9 @@
"minimum-stability" : "stable",

"require" : {
"php": ">=7.4.0|>=8.0.0",
"php": ">=8.0.0|>=8.1.0",
"cweagans/composer-patches": "^1.7",
"fastybird/metadata": "^0.66",
"fastybird/metadata": "^0.67",
"nette/bootstrap": "^3.1",
"nette/di": "^3.0",
"nette/utils": "^3.2",
Expand Down
2 changes: 1 addition & 1 deletion fastybird_exchange/__init__.py
Expand Up @@ -18,4 +18,4 @@
Exchange library
"""

__version__ = "0.48.0"
__version__ = "0.49.0"

0 comments on commit 3312861

Please sign in to comment.