Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/clean-nights-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@wpengine/hwp-previews-wordpress-plugin": patch
---

chore: Various dev package upgrades. PHP set to minimum of 8.2 from 7.4

2 changes: 1 addition & 1 deletion .github/workflows/codeception.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
strategy:
matrix:
plugin: ${{ fromJson(needs.detect-plugins.outputs.plugins) }}
php: ["8.3","8.2","8.1"]
php: ["8.4","8.2"]
wordpress: ["6.9","6.8","6.7"]
include:
- php: "8.2"
Expand Down
6 changes: 2 additions & 4 deletions plugins/hwp-previews/activation.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
/**
* Runs when the plugin is activated.
*/
function hwp_previews_activation_callback(): callable {
return static function (): void {
do_action( 'hwp_previews_activate' );
};
function hwp_previews_activation_callback( bool $_network_wide = false ): void { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.Found
do_action( 'hwp_previews_activate' );
}
2 changes: 1 addition & 1 deletion plugins/hwp-previews/bin/install-test-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ post_setup() {
wp config set AUTOMATIC_UPDATER_DISABLED true --raw --type=constant --quiet --allow-root

echo -e "$(status_message "Installed plugins")"
wp plugin list --allow-root
wp plugin list --allow-root --format=csv
}

##
Expand Down
23 changes: 11 additions & 12 deletions plugins/hwp-previews/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,26 @@
"previews"
],
"require": {
"php": "^7.4 || ^8.0"
"php": "^8.2"
},
"minimum-stability": "dev",
"prefer-stable": true,
"require-dev": {
"10up/wp_mock": "^1.1",
"automattic/vipwpcs": "^3.0",
"codeception/lib-innerbrowser": "^1.0",
"codeception/module-asserts": "^1.0",
"codeception/module-cli": "^1.0",
"codeception/module-db": "^1.0",
"codeception/module-filesystem": "^1.0",
"codeception/module-phpbrowser": "^1.0",
"codeception/module-rest": "^2.0",
"codeception/module-webdriver": "^1.0",
"codeception/lib-innerbrowser": "^4.0",
"codeception/module-asserts": "^3.0",
"codeception/module-cli": "^2.0",
"codeception/module-db": "^3.0",
"codeception/module-filesystem": "^3.0",
"codeception/module-phpbrowser": "^3.0",
"codeception/module-rest": "^3.0",
"codeception/module-webdriver": "^4.0",
"codeception/util-universalframework": "^1.0",
"composer/composer": "~2.2.26",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"humanmade/psalm-plugin-wordpress": "^3.1",
"johnpbloch/wordpress-core": "^6.9",
"lucatume/wp-browser": "^3.5",
"lucatume/wp-browser": "^4.0",
"mockery/mockery": "^1.6",
"phpcompatibility/php-compatibility": "^9.3",
"phpcompatibility/phpcompatibility-wp": "^2.0",
Expand All @@ -58,7 +57,7 @@
},
"optimize-autoloader": true,
"platform": {
"php": "7.4"
"php": "8.2"
},
"preferred-install": "dist",
"sort-packages": true
Expand Down
Loading
Loading