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 c9cb805 commit 3254bc6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 29 deletions.
26 changes: 4 additions & 22 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
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
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
"minimum-stability" : "stable",

"require" : {
"php": ">=7.4.0|>=8.0.0",
"php": ">=8.0.0|>=8.1.0",
"cweagans/composer-patches": "^1.7",
"fastybird/devices-module": "^0.63",
"fastybird/json-api": "^0.10",
"fastybird/metadata": "^0.63"
"fastybird/devices-module": "^0.69",
"fastybird/json-api": "^0.11",
"fastybird/metadata": "^0.67"
},

"require-dev" : {
Expand Down
2 changes: 1 addition & 1 deletion fastybird_fb_bus_connector/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

from .bootstrap import create_connector

__version__ = "0.47.0"
__version__ = "0.48.0"

__all__ = ["connector", "bootstrap", "__connector_version__"]

Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Cython>=0.29
fastnumbers>=3.2
fastybird-devices-module>=0.63
fastybird-metadata>=0.63
fastybird-devices-module>=0.69
fastybird-metadata>=0.67
inflection>=0.5
kink>=0.6
libscrc>=1.6
Expand Down

0 comments on commit 3254bc6

Please sign in to comment.