Skip to content

Commit

Permalink
chore: update deps and lint (hsimah-services#64)
Browse files Browse the repository at this point in the history
* chore: update deps and lint

* chore: set php-compatibility to `dev-develop`

* chore: fix linting errors
  • Loading branch information
justlevine authored Apr 6, 2024
1 parent bfc68de commit c35bbe7
Show file tree
Hide file tree
Showing 8 changed files with 1,304 additions and 777 deletions.
2 changes: 1 addition & 1 deletion .phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
Tests for WordPress version compatibility.
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties
-->
<config name="minimum_supported_wp_version" value="5.4.1"/>
<config name="minimum_wp_version" value="5.4.1"/>

<!-- Rules: WPGraphQL Coding Standards -->
<!-- https://github.com/AxeWP/WPGraphQL-Coding-Standards/WPGraphQL/ruleset.xml -->
Expand Down
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

## Unreleased

ci: update GitHub Workflows.
ci: Test against WP 6.5.
- chore: Update Composer dependencies and lint.
- ci: Test against WP 6.5.
- ci: update GitHub Workflows.

## v0.4.4

Expand Down
13 changes: 7 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
}
},
"require": {
"php": ">=7.4, <=8.1",
"php": ">=7.4",
"axepress/wp-graphql-plugin-boilerplate": "0.0.9"
},
"require-dev": {
Expand All @@ -87,15 +87,16 @@
"codeception/module-webdriver": "^1.0",
"codeception/phpunit-wrapper": "^9.0",
"codeception/util-universalframework": "^1.0",
"lucatume/wp-browser": "^3.0",
"lucatume/wp-browser": "<3.5",
"phpstan/phpstan": "^1.8",
"phpstan/extension-installer": "^1.1",
"szepeviktor/phpstan-wordpress": "^1.1",
"wp-graphql/wp-graphql-testcase": "~2.3",
"axepress/wp-graphql-stubs": "^1.13",
"axepress/wp-graphql-cs": "^1.0.0-beta",
"axepress/wp-graphql-cs": "^2.0.0-beta",
"wp-cli/wp-cli-bundle": "^2.8.1",
"php-coveralls/php-coveralls": "^2.5"
"php-coveralls/php-coveralls": "^2.5",
"phpcompatibility/php-compatibility": "dev-develop as 9.99.99"
},
"scripts": {
"install-test-env": "bash bin/install-test-env.sh",
Expand Down Expand Up @@ -127,10 +128,10 @@
"php ./vendor/bin/phpcs -i"
],
"check-cs": [
"php ./vendor/bin/phpcs src"
"php ./vendor/bin/phpcs"
],
"fix-cs": [
"php ./vendor/bin/phpcbf src"
"php ./vendor/bin/phpcbf"
],
"phpstan": [
"vendor/bin/phpstan analyze --ansi --memory-limit=1G"
Expand Down
Loading

0 comments on commit c35bbe7

Please sign in to comment.