Skip to content

Commit 1a899c8

Browse files
committed
Drop support for php 8.0
Minimum php supported version is now 8.1 Signed-off-by: guido <[email protected]>
1 parent d8a248a commit 1a899c8

File tree

4 files changed

+51
-51
lines changed

4 files changed

+51
-51
lines changed

.github/workflows/php-qa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
if: "!contains(github.event.head_commit.message, '--skip ci') && !github.event.pull_request.draft"
1515
strategy:
1616
matrix:
17-
php-versions: [ '8.0', '8.1', '8.2', '8.3' ]
17+
php-versions: [ '8.1', '8.2', '8.3' ]
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v3

.wp-env.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
2-
"core": "./vendor/roots/wordpress-no-content",
3-
"plugins": ["."],
4-
"env": {
5-
"development": {
6-
"phpVersion": "8.0",
7-
"mappings": {
8-
"wp-content/plugins/wp-entities-search": "."
9-
}
10-
}
11-
},
12-
"config": {
13-
"WP_ENVIRONMENT_TYPE": "local"
14-
}
2+
"core": "./vendor/roots/wordpress-no-content",
3+
"plugins": ["."],
4+
"env": {
5+
"development": {
6+
"phpVersion": "8.1",
7+
"mappings": {
8+
"wp-content/plugins/wp-entities-search": "."
9+
}
10+
}
11+
},
12+
"config": {
13+
"WP_ENVIRONMENT_TYPE": "local"
14+
}
1515
}

composer.json

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
{
2-
"name": "widoz/wp-entities-search",
3-
"description": "A WordPress package to search Entities including Rest API Endpoints and React Components",
4-
"type": "library",
5-
"license": "GPL-2.0-or-later",
6-
"autoload": {
7-
"psr-4": {
8-
"Widoz\\Wp\\EntitiesSearch\\": "sources/server/src/"
9-
}
10-
},
11-
"authors": [
12-
{
13-
"name": "guido scialfa",
14-
"email": "[email protected]"
15-
}
16-
],
17-
"minimum-stability": "stable",
18-
"require": {
19-
"php": ">=8.0"
20-
},
21-
"require-dev": {
22-
"inpsyde/modularity": "^1.5",
23-
"inpsyde/php-coding-standards": "^1.0",
24-
"roots/wordpress-no-content": "^6.3"
25-
},
26-
"config": {
27-
"platform": {
28-
"php": "8.0"
29-
},
30-
"allow-plugins": {
31-
"dealerdirect/phpcodesniffer-composer-installer": true
32-
}
33-
},
34-
"scripts": {
35-
"cs": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs",
36-
"cs:fix": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"
37-
}
2+
"name": "widoz/wp-entities-search",
3+
"description": "A WordPress package to search Entities including Rest API Endpoints and React Components",
4+
"type": "library",
5+
"license": "GPL-2.0-or-later",
6+
"autoload": {
7+
"psr-4": {
8+
"Widoz\\Wp\\EntitiesSearch\\": "sources/server/src/"
9+
}
10+
},
11+
"authors": [
12+
{
13+
"name": "guido scialfa",
14+
"email": "[email protected]"
15+
}
16+
],
17+
"minimum-stability": "stable",
18+
"require": {
19+
"php": ">=8.1"
20+
},
21+
"require-dev": {
22+
"inpsyde/modularity": "^1.5",
23+
"inpsyde/php-coding-standards": "^1.0",
24+
"roots/wordpress-no-content": "^6.3"
25+
},
26+
"config": {
27+
"platform": {
28+
"php": "8.1"
29+
},
30+
"allow-plugins": {
31+
"dealerdirect/phpcodesniffer-composer-installer": true
32+
}
33+
},
34+
"scripts": {
35+
"cs": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs",
36+
"cs:fix": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"
37+
}
3838
}

phpcs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<arg name="extensions" value="php,inc"/>
88

99
<config name="text_domain" value="wp-entities-search"/>
10-
<config name="testVersion" value="8.0-"/>
10+
<config name="testVersion" value="8.1-"/>
1111
<config name="ignore_warnings_on_exit" value="1"/>
1212

1313
<rule ref="Inpsyde" />

0 commit comments

Comments
 (0)