~ UPG php => 8.4 and Refactor code structure for improved readability and maintainability
All checks were successful
/ build-and-deploy (push) Successful in 1m15s

This commit is contained in:
felegy
2026-01-19 07:32:05 +00:00
parent 73dcf363bd
commit 380dd4752e
4 changed files with 3445 additions and 3445 deletions

View File

@@ -6,7 +6,7 @@ proxy:
- mailhog.hvgdev.website - mailhog.hvgdev.website
recipe: wordpress recipe: wordpress
config: config:
php: "8.3" php: "8.4"
via: nginx via: nginx
database: mariadb database: mariadb
webroot: web webroot: web

View File

@@ -2,6 +2,6 @@ brew "editorconfig-checker"
brew "composer" brew "composer"
brew "wp-cli" brew "wp-cli"
tap "shivammathur/php" tap "shivammathur/php"
brew "php@8.3" brew "php@8.4"
brew "php-code-sniffer" brew "php-code-sniffer"
vscode "Command is only available in WSL or inside a Visual Studio Code terminal." vscode "Command is only available in WSL or inside a Visual Studio Code terminal."

View File

@@ -48,7 +48,7 @@
} }
], ],
"require": { "require": {
"php": ">=7.4 <8.4", "php": ">=7.4 <8.5",
"ext-gd": "*", "ext-gd": "*",
"ext-redis": "*", "ext-redis": "*",
"ext-mbstring": "*", "ext-mbstring": "*",
@@ -61,11 +61,11 @@
"oscarotero/env": "^2.1", "oscarotero/env": "^2.1",
"roots/bedrock-autoloader": "^1.0", "roots/bedrock-autoloader": "^1.0",
"roots/bedrock-disallow-indexing": "^2.0", "roots/bedrock-disallow-indexing": "^2.0",
"roots/wordpress": "^6.8.1", "roots/wordpress": "^6.9",
"roots/wp-config": "^1.0.0", "roots/wp-config": "^1.0.0",
"wpackagist-theme/twentytwentyfive": "^1.0",
"humanmade/s3-uploads": "^3.0", "humanmade/s3-uploads": "^3.0",
"hvg-dev/hvg-blog-general": "dev-main", "hvg-dev/hvg-blog-general": "dev-main",
"wpackagist-theme/twentytwentyfive": "^1.0",
"wpackagist-plugin/disable-wordpress-updates": "^1.8", "wpackagist-plugin/disable-wordpress-updates": "^1.8",
"wpackagist-plugin/disable-comments": "^2.5", "wpackagist-plugin/disable-comments": "^2.5",
"wpackagist-plugin/wp-webhooks": "^3.3", "wpackagist-plugin/wp-webhooks": "^3.3",

44
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "1e1cc84e9274ca85a21371c8faca0c79", "content-hash": "8c3ab161ef3991701709cdbaf41859f6",
"packages": [ "packages": [
{ {
"name": "aws/aws-crt-php", "name": "aws/aws-crt-php",
@@ -62,16 +62,16 @@
}, },
{ {
"name": "aws/aws-sdk-php", "name": "aws/aws-sdk-php",
"version": "3.369.14", "version": "3.369.15",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/aws/aws-sdk-php.git", "url": "https://github.com/aws/aws-sdk-php.git",
"reference": "b40eb1177d2e621c18cd797ca6cc9efb5a0e99d9" "reference": "7c62f41fb0460c3e5d5c1f70e93e726f1daa75f5"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/b40eb1177d2e621c18cd797ca6cc9efb5a0e99d9", "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/7c62f41fb0460c3e5d5c1f70e93e726f1daa75f5",
"reference": "b40eb1177d2e621c18cd797ca6cc9efb5a0e99d9", "reference": "7c62f41fb0460c3e5d5c1f70e93e726f1daa75f5",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -153,9 +153,9 @@
"support": { "support": {
"forum": "https://github.com/aws/aws-sdk-php/discussions", "forum": "https://github.com/aws/aws-sdk-php/discussions",
"issues": "https://github.com/aws/aws-sdk-php/issues", "issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.369.14" "source": "https://github.com/aws/aws-sdk-php/tree/3.369.15"
}, },
"time": "2026-01-15T19:10:54+00:00" "time": "2026-01-16T19:18:57+00:00"
}, },
{ {
"name": "composer/installers", "name": "composer/installers",
@@ -2071,15 +2071,15 @@
}, },
{ {
"name": "wpackagist-plugin/code-snippets", "name": "wpackagist-plugin/code-snippets",
"version": "3.9.3", "version": "3.9.4",
"source": { "source": {
"type": "svn", "type": "svn",
"url": "https://plugins.svn.wordpress.org/code-snippets/", "url": "https://plugins.svn.wordpress.org/code-snippets/",
"reference": "tags/3.9.3" "reference": "tags/3.9.4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://downloads.wordpress.org/plugin/code-snippets.3.9.3.zip" "url": "https://downloads.wordpress.org/plugin/code-snippets.3.9.4.zip"
}, },
"require": { "require": {
"composer/installers": "^1.0 || ^2.0" "composer/installers": "^1.0 || ^2.0"
@@ -2289,16 +2289,16 @@
"packages-dev": [ "packages-dev": [
{ {
"name": "heroku/heroku-buildpack-php", "name": "heroku/heroku-buildpack-php",
"version": "v280", "version": "v281",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/heroku/heroku-buildpack-php.git", "url": "https://github.com/heroku/heroku-buildpack-php.git",
"reference": "e38fbc1d3c57b3e138276023722046753ef5f837" "reference": "490db7880f4adb2b5d14b461c9013608876075c6"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/heroku/heroku-buildpack-php/zipball/e38fbc1d3c57b3e138276023722046753ef5f837", "url": "https://api.github.com/repos/heroku/heroku-buildpack-php/zipball/490db7880f4adb2b5d14b461c9013608876075c6",
"reference": "e38fbc1d3c57b3e138276023722046753ef5f837", "reference": "490db7880f4adb2b5d14b461c9013608876075c6",
"shasum": "" "shasum": ""
}, },
"bin": [ "bin": [
@@ -2328,9 +2328,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/heroku/heroku-buildpack-php/issues", "issues": "https://github.com/heroku/heroku-buildpack-php/issues",
"source": "https://github.com/heroku/heroku-buildpack-php/tree/v280" "source": "https://github.com/heroku/heroku-buildpack-php/tree/v281"
}, },
"time": "2025-12-19T15:06:48+00:00" "time": "2026-01-15T23:10:03+00:00"
}, },
{ {
"name": "roave/security-advisories", "name": "roave/security-advisories",
@@ -2338,12 +2338,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Roave/SecurityAdvisories.git", "url": "https://github.com/Roave/SecurityAdvisories.git",
"reference": "95fda149b750941a5d7bd292e712107ca3227a04" "reference": "57ac71b06405e32e77d960bb8490683138573f04"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/95fda149b750941a5d7bd292e712107ca3227a04", "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/57ac71b06405e32e77d960bb8490683138573f04",
"reference": "95fda149b750941a5d7bd292e712107ca3227a04", "reference": "57ac71b06405e32e77d960bb8490683138573f04",
"shasum": "" "shasum": ""
}, },
"conflict": { "conflict": {
@@ -2439,7 +2439,7 @@
"bytefury/crater": "<6.0.2", "bytefury/crater": "<6.0.2",
"cachethq/cachet": "<2.5.1", "cachethq/cachet": "<2.5.1",
"cadmium-org/cadmium-cms": "<=0.4.9", "cadmium-org/cadmium-cms": "<=0.4.9",
"cakephp/cakephp": "<3.10.3|>=4,<4.0.10|>=4.1,<4.1.4|>=4.2,<4.2.12|>=4.3,<4.3.11|>=4.4,<4.4.10", "cakephp/cakephp": "<3.10.3|>=4,<4.0.10|>=4.1,<4.1.4|>=4.2,<4.2.12|>=4.3,<4.3.11|>=4.4,<4.4.10|>=5.2.10,<5.2.12|==5.3",
"cakephp/database": ">=4.2,<4.2.12|>=4.3,<4.3.11|>=4.4,<4.4.10", "cakephp/database": ">=4.2,<4.2.12|>=4.3,<4.3.11|>=4.4,<4.4.10",
"cardgate/magento2": "<2.0.33", "cardgate/magento2": "<2.0.33",
"cardgate/woocommerce": "<=3.1.15", "cardgate/woocommerce": "<=3.1.15",
@@ -3342,7 +3342,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2026-01-15T23:06:28+00:00" "time": "2026-01-16T21:05:58+00:00"
}, },
{ {
"name": "squizlabs/php_codesniffer", "name": "squizlabs/php_codesniffer",
@@ -3433,7 +3433,7 @@
"prefer-stable": true, "prefer-stable": true,
"prefer-lowest": false, "prefer-lowest": false,
"platform": { "platform": {
"php": ">=7.4 <8.4", "php": ">=7.4 <8.5",
"ext-gd": "*", "ext-gd": "*",
"ext-redis": "*", "ext-redis": "*",
"ext-mbstring": "*", "ext-mbstring": "*",