Skip to content

Commit

Permalink
Drop support for php 8.0
Browse files Browse the repository at this point in the history
Minimum php supported version is now 8.1

Signed-off-by: guido <dev@guidoscialfa.com>
  • Loading branch information
widoz committed May 1, 2024
1 parent d8a248a commit 1a899c8
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 51 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
if: "!contains(github.event.head_commit.message, '--skip ci') && !github.event.pull_request.draft"
strategy:
matrix:
php-versions: [ '8.0', '8.1', '8.2', '8.3' ]
php-versions: [ '8.1', '8.2', '8.3' ]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
26 changes: 13 additions & 13 deletions .wp-env.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"core": "./vendor/roots/wordpress-no-content",
"plugins": ["."],
"env": {
"development": {
"phpVersion": "8.0",
"mappings": {
"wp-content/plugins/wp-entities-search": "."
}
}
},
"config": {
"WP_ENVIRONMENT_TYPE": "local"
}
"core": "./vendor/roots/wordpress-no-content",
"plugins": ["."],
"env": {
"development": {
"phpVersion": "8.1",
"mappings": {
"wp-content/plugins/wp-entities-search": "."
}
}
},
"config": {
"WP_ENVIRONMENT_TYPE": "local"
}
}
72 changes: 36 additions & 36 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"name": "widoz/wp-entities-search",
"description": "A WordPress package to search Entities including Rest API Endpoints and React Components",
"type": "library",
"license": "GPL-2.0-or-later",
"autoload": {
"psr-4": {
"Widoz\\Wp\\EntitiesSearch\\": "sources/server/src/"
}
},
"authors": [
{
"name": "guido scialfa",
"email": "dev@guidoscialfa.com"
}
],
"minimum-stability": "stable",
"require": {
"php": ">=8.0"
},
"require-dev": {
"inpsyde/modularity": "^1.5",
"inpsyde/php-coding-standards": "^1.0",
"roots/wordpress-no-content": "^6.3"
},
"config": {
"platform": {
"php": "8.0"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"cs": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs",
"cs:fix": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"
}
"name": "widoz/wp-entities-search",
"description": "A WordPress package to search Entities including Rest API Endpoints and React Components",
"type": "library",
"license": "GPL-2.0-or-later",
"autoload": {
"psr-4": {
"Widoz\\Wp\\EntitiesSearch\\": "sources/server/src/"
}
},
"authors": [
{
"name": "guido scialfa",
"email": "dev@guidoscialfa.com"
}
],
"minimum-stability": "stable",
"require": {
"php": ">=8.1"
},
"require-dev": {
"inpsyde/modularity": "^1.5",
"inpsyde/php-coding-standards": "^1.0",
"roots/wordpress-no-content": "^6.3"
},
"config": {
"platform": {
"php": "8.1"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"cs": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs",
"cs:fix": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"
}
}
2 changes: 1 addition & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<arg name="extensions" value="php,inc"/>

<config name="text_domain" value="wp-entities-search"/>
<config name="testVersion" value="8.0-"/>
<config name="testVersion" value="8.1-"/>
<config name="ignore_warnings_on_exit" value="1"/>

<rule ref="Inpsyde" />
Expand Down

0 comments on commit 1a899c8

Please sign in to comment.