Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Commit b306384

Browse files
chore: Bump symfony/process to 5.4.51
1 parent 134c612 commit b306384

4 files changed

Lines changed: 33 additions & 23 deletions

File tree

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@
1717
],
1818
"require-dev": {
1919
"phpunit/phpunit": "^7",
20-
"yoast/phpunit-polyfills": "^1.0",
20+
"yoast/phpunit-polyfills": "^1.1",
2121
"php-parallel-lint/php-parallel-lint": "^1.3.2",
2222
"phpcompatibility/phpcompatibility-wp": "^2.1.3",
2323
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.2",
2424
"squizlabs/php_codesniffer": "^3.6.0",
2525
"wp-coding-standards/wpcs": "^2.3.0",
2626
"wp-graphql/wp-graphql": "^1.8",
27-
"spatie/phpunit-watcher": "^1.23"
27+
"spatie/phpunit-watcher": "^1.23",
28+
"symfony/process": "5.4.51"
2829
},
2930
"scripts": {
3031
"phpunit": "vendor/bin/phpunit",

composer.lock

Lines changed: 25 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/filter-query.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ private function resolve_taxonomy( array $filter_obj, int $depth ): array {
168168
* @return array
169169
*/
170170
public function apply_recursive_filter_resolver( array $query_args, AbstractConnectionResolver $connection_resolver ): array {
171-
$args = $connection_resolver->getArgs();
171+
$args = $connection_resolver->get_args();
172172
$this->max_nesting_depth = $this->get_query_depth();
173173

174174
if ( empty( $args['filter'] ) ) {

wp-graphql-filter-query.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424
/**
2525
* Load files
2626
*/
27-
require_once dirname( __DIR__ ) . '/wp-graphql/vendor/webonyx/graphql-php/src/Error/ClientAware.php';
27+
// Load composer autoloader for dependencies
28+
if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
29+
require_once __DIR__ . '/vendor/autoload.php';
30+
}
2831

2932
require_once __DIR__ . '/src/aggregate-query.php';
3033
require_once __DIR__ . '/src/filter-exception.php';

0 commit comments

Comments
 (0)