From 21a3fc8385360439f3cf6ffd2825de36cc858a4b Mon Sep 17 00:00:00 2001 From: Nathan Schmidt <91974372+nathan-schmidt-viget@users.noreply.github.com> Date: Thu, 29 Feb 2024 16:44:25 -0700 Subject: [PATCH 1/9] [#495] Setting up basic test with nav links --- .../blocks/nonprofit-navigation/block.json | 13 +++++++++++ .../blocks/nonprofit-navigation/block.php | 23 +++++++++++++++++++ .../blocks/nonprofit-navigation/render.php | 15 ++++++++++++ themes/goodbids-main/functions.php | 11 +++++++++ .../patterns/header-nonprofit.php | 7 +++++- 5 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.json create mode 100644 client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.php create mode 100644 client-mu-plugins/goodbids/blocks/nonprofit-navigation/render.php diff --git a/client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.json b/client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.json new file mode 100644 index 000000000..9a90082de --- /dev/null +++ b/client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.json @@ -0,0 +1,13 @@ +{ + "name": "nonprofit-navigation", + "title": "Nonprofit Navigation", + "description": "Displays the Nonprofit Navigation", + "icon": "admin-links", + "textdomain": "goodbids", + "acf": { + "mode": "preview" + }, + "supports": { + "jsx": false + } +} diff --git a/client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.php b/client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.php new file mode 100644 index 000000000..364414ffb --- /dev/null +++ b/client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.php @@ -0,0 +1,23 @@ + + + + + diff --git a/themes/goodbids-main/functions.php b/themes/goodbids-main/functions.php index 1f7e9c393..1ace9e69b 100644 --- a/themes/goodbids-main/functions.php +++ b/themes/goodbids-main/functions.php @@ -209,3 +209,14 @@ function goodbids_main_pattern_categories() { * Disable remote block patterns. */ add_filter( 'should_load_remote_block_patterns', '__return_false' ); + + +function register_home_link_block_as_navigation_last_child( $hooked_blocks, $position, $anchor_block, $context ) { + if ( $anchor_block === 'core/navigation' && $position === 'last_child' ) { + $hooked_blocks[] = 'core/loginout'; + } + + return $hooked_blocks; +} + +add_filter( 'hooked_block_types', 'register_home_link_block_as_navigation_last_child', 10, 4 ); diff --git a/themes/goodbids-nonprofit/patterns/header-nonprofit.php b/themes/goodbids-nonprofit/patterns/header-nonprofit.php index c62a1e31a..1c07944b3 100644 --- a/themes/goodbids-nonprofit/patterns/header-nonprofit.php +++ b/themes/goodbids-nonprofit/patterns/header-nonprofit.php @@ -21,7 +21,12 @@
- + + + + + +
From 16385f9b8898127039206b5227b0f7d621d6c0b3 Mon Sep 17 00:00:00 2001 From: Nathan Schmidt <91974372+nathan-schmidt-viget@users.noreply.github.com> Date: Fri, 1 Mar 2024 09:28:05 -0700 Subject: [PATCH 2/9] [#495] testing out pattern for custom menu --- .../src/classes/Frontend/Patterns.php | 12 ++++++++++ .../goodbids/src/classes/Network/Sites.php | 23 +++++++++++++++++++ .../views/patterns/nonprofit-navigation.php | 17 ++++++++++++++ .../patterns/header-nonprofit.php | 8 +------ 4 files changed, 53 insertions(+), 7 deletions(-) create mode 100644 client-mu-plugins/goodbids/views/patterns/nonprofit-navigation.php diff --git a/client-mu-plugins/goodbids/src/classes/Frontend/Patterns.php b/client-mu-plugins/goodbids/src/classes/Frontend/Patterns.php index 9dd6937f4..ab9ad8663 100644 --- a/client-mu-plugins/goodbids/src/classes/Frontend/Patterns.php +++ b/client-mu-plugins/goodbids/src/classes/Frontend/Patterns.php @@ -108,6 +108,17 @@ function (): void { 'inserter' => true, ]; + $nonprofit_navigation = [ + 'name' => 'nonprofit-navigation', + 'path' => goodbids()->get_view_path( 'patterns/nonprofit-navigation.php' ), + 'title' => __( 'Nonprofit Navigation', 'goodbids' ), + 'description' => _x( 'Default Nonprofit Navigation', 'Block pattern description', 'goodbids' ), + 'categories' => [ 'goodbids' ], + 'keywords' => [ 'navigation' ], + 'source' => 'plugin', + 'inserter' => true, + ]; + $section_sidebar_chapters = [ 'name' => 'section-sidebar-chapters', 'path' => goodbids()->get_view_path( 'patterns/section-sidebar-chapters.php' ), @@ -167,6 +178,7 @@ function (): void { $hero_banner, $logo_grid, $nonprofit_interest_form, + $nonprofit_navigation, $section_sidebar_chapters, $template_about, $template_auction, diff --git a/client-mu-plugins/goodbids/src/classes/Network/Sites.php b/client-mu-plugins/goodbids/src/classes/Network/Sites.php index 884e7bfea..504a1adee 100644 --- a/client-mu-plugins/goodbids/src/classes/Network/Sites.php +++ b/client-mu-plugins/goodbids/src/classes/Network/Sites.php @@ -1081,4 +1081,27 @@ private function get_page_path( string $path ): ?WP_Post { return get_page_by_path( $path ); // phpcs:ignore } + + + /** + * Return the nonprofit navigation + * + * @return array + * + * @since 1.0.0 + */ + public function get_nonprofit_navigation(): array { + return [ + [ + 'label' => 'Explore Auctions', + 'ID' => 4, + 'url' => '/explore-auctions', + ], + [ + 'label' => 'About GOODBIDS', + 'ID' => 3, + 'url' => '/about', + ], + ]; + } } diff --git a/client-mu-plugins/goodbids/views/patterns/nonprofit-navigation.php b/client-mu-plugins/goodbids/views/patterns/nonprofit-navigation.php new file mode 100644 index 000000000..ceaf0408e --- /dev/null +++ b/client-mu-plugins/goodbids/views/patterns/nonprofit-navigation.php @@ -0,0 +1,17 @@ +sites->get_nonprofit_navigation(); +?> + + + + + + + diff --git a/themes/goodbids-nonprofit/patterns/header-nonprofit.php b/themes/goodbids-nonprofit/patterns/header-nonprofit.php index 1c07944b3..60cfb564e 100644 --- a/themes/goodbids-nonprofit/patterns/header-nonprofit.php +++ b/themes/goodbids-nonprofit/patterns/header-nonprofit.php @@ -21,13 +21,7 @@
- - - - - - - +
From c618804aefb19069e1ecd6a0a0c8b3f56d6838e6 Mon Sep 17 00:00:00 2001 From: Nathan Schmidt <91974372+nathan-schmidt-viget@users.noreply.github.com> Date: Fri, 1 Mar 2024 11:54:04 -0700 Subject: [PATCH 3/9] [#495] pulling in the created pages into the new nav --- .../blocks/nonprofit-navigation/block.json | 13 ---- .../blocks/nonprofit-navigation/block.php | 23 ------ .../blocks/nonprofit-navigation/render.php | 15 ---- .../src/classes/Frontend/Patterns.php | 12 ---- .../goodbids/src/classes/Network/Sites.php | 70 +++++++++++++++---- .../views/parts/nonprofit-navigation.php | 14 ++++ .../views/patterns/nonprofit-navigation.php | 17 ----- themes/goodbids-main/functions.php | 11 --- .../patterns/header-nonprofit.php | 3 +- 9 files changed, 71 insertions(+), 107 deletions(-) delete mode 100644 client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.json delete mode 100644 client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.php delete mode 100644 client-mu-plugins/goodbids/blocks/nonprofit-navigation/render.php create mode 100644 client-mu-plugins/goodbids/views/parts/nonprofit-navigation.php delete mode 100644 client-mu-plugins/goodbids/views/patterns/nonprofit-navigation.php diff --git a/client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.json b/client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.json deleted file mode 100644 index 9a90082de..000000000 --- a/client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "nonprofit-navigation", - "title": "Nonprofit Navigation", - "description": "Displays the Nonprofit Navigation", - "icon": "admin-links", - "textdomain": "goodbids", - "acf": { - "mode": "preview" - }, - "supports": { - "jsx": false - } -} diff --git a/client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.php b/client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.php deleted file mode 100644 index 364414ffb..000000000 --- a/client-mu-plugins/goodbids/blocks/nonprofit-navigation/block.php +++ /dev/null @@ -1,23 +0,0 @@ - - - - - diff --git a/client-mu-plugins/goodbids/src/classes/Frontend/Patterns.php b/client-mu-plugins/goodbids/src/classes/Frontend/Patterns.php index ab9ad8663..9dd6937f4 100644 --- a/client-mu-plugins/goodbids/src/classes/Frontend/Patterns.php +++ b/client-mu-plugins/goodbids/src/classes/Frontend/Patterns.php @@ -108,17 +108,6 @@ function (): void { 'inserter' => true, ]; - $nonprofit_navigation = [ - 'name' => 'nonprofit-navigation', - 'path' => goodbids()->get_view_path( 'patterns/nonprofit-navigation.php' ), - 'title' => __( 'Nonprofit Navigation', 'goodbids' ), - 'description' => _x( 'Default Nonprofit Navigation', 'Block pattern description', 'goodbids' ), - 'categories' => [ 'goodbids' ], - 'keywords' => [ 'navigation' ], - 'source' => 'plugin', - 'inserter' => true, - ]; - $section_sidebar_chapters = [ 'name' => 'section-sidebar-chapters', 'path' => goodbids()->get_view_path( 'patterns/section-sidebar-chapters.php' ), @@ -178,7 +167,6 @@ function (): void { $hero_banner, $logo_grid, $nonprofit_interest_form, - $nonprofit_navigation, $section_sidebar_chapters, $template_about, $template_auction, diff --git a/client-mu-plugins/goodbids/src/classes/Network/Sites.php b/client-mu-plugins/goodbids/src/classes/Network/Sites.php index 504a1adee..d9a15d210 100644 --- a/client-mu-plugins/goodbids/src/classes/Network/Sites.php +++ b/client-mu-plugins/goodbids/src/classes/Network/Sites.php @@ -17,6 +17,7 @@ use WP_Block_Type_Registry; use WP_Post; use WP_Site; +use WP_Query; /** * Network Sites Class @@ -31,6 +32,18 @@ class Sites { */ const ALL_AUCTIONS_TRANSIENT = '_goodbids_all_auctions'; + /** + * @since 1.0.0 + * @var array + */ + const ABOUT_OPTION = 'gb_about_page'; + + /** + * @since 1.0.0 + * @var array + */ + const AUCTIONS_OPTION = 'gb_auctions_page'; + /** * @since 1.0.0 */ @@ -63,6 +76,8 @@ public function __construct() { // Refresh transients when Auctions change status. $this->maybe_clear_transients(); + + $this->set_nonprofit_navigation(); } /** @@ -393,6 +408,8 @@ function (): void { if ( is_wp_error( $about_id ) ) { Log::error( $about_id->get_error_message() ); } + + update_option( self::ABOUT_OPTION, $about_id ); } ); } @@ -433,6 +450,8 @@ function (): void { if ( is_wp_error( $auctions_id ) ) { Log::error( $auctions_id->get_error_message() ); } + + update_option( self::AUCTIONS_OPTION, $auctions_id ); } ); } @@ -1084,24 +1103,45 @@ private function get_page_path( string $path ): ?WP_Post { /** - * Return the nonprofit navigation + * Set the nonprofit navigation * - * @return array + * @return void * * @since 1.0.0 */ - public function get_nonprofit_navigation(): array { - return [ - [ - 'label' => 'Explore Auctions', - 'ID' => 4, - 'url' => '/explore-auctions', - ], - [ - 'label' => 'About GOODBIDS', - 'ID' => 3, - 'url' => '/about', - ], - ]; + public function set_nonprofit_navigation(): void { + add_action( + 'goodbids_nonprofit_verified', + function ( int $site_id ): void { + $about_id = get_option( self::ABOUT_OPTION ); + $auctions_id = get_option( self::AUCTIONS_OPTION ); + $wp_navigation = new WP_Query( + [ + 'post_type' => 'wp_navigation', + 'post_status' => [ 'publish' ], + ] + ); + $nav_links = [ + get_post( $about_id ), + get_post( $auctions_id ), + ]; + + + ob_start(); + goodbids()->load_view( 'parts/nonprofit-navigation.php', compact( 'nav_links' ) ); + + $navigation_content = [ + 'ID' => $wp_navigation->posts[0]->ID, + 'post_content' => ob_get_clean(), + ]; + + // Update the navigation into the database + wp_update_post( $navigation_content ); + + if ( is_wp_error( $navigation_content ) ) { + Log::error( $navigation_content->get_error_message() ); + } + } + ); } } diff --git a/client-mu-plugins/goodbids/views/parts/nonprofit-navigation.php b/client-mu-plugins/goodbids/views/parts/nonprofit-navigation.php new file mode 100644 index 000000000..d51ac79ea --- /dev/null +++ b/client-mu-plugins/goodbids/views/parts/nonprofit-navigation.php @@ -0,0 +1,14 @@ + + + + + diff --git a/client-mu-plugins/goodbids/views/patterns/nonprofit-navigation.php b/client-mu-plugins/goodbids/views/patterns/nonprofit-navigation.php deleted file mode 100644 index ceaf0408e..000000000 --- a/client-mu-plugins/goodbids/views/patterns/nonprofit-navigation.php +++ /dev/null @@ -1,17 +0,0 @@ -sites->get_nonprofit_navigation(); -?> - - - - - - - diff --git a/themes/goodbids-main/functions.php b/themes/goodbids-main/functions.php index 1ace9e69b..1f7e9c393 100644 --- a/themes/goodbids-main/functions.php +++ b/themes/goodbids-main/functions.php @@ -209,14 +209,3 @@ function goodbids_main_pattern_categories() { * Disable remote block patterns. */ add_filter( 'should_load_remote_block_patterns', '__return_false' ); - - -function register_home_link_block_as_navigation_last_child( $hooked_blocks, $position, $anchor_block, $context ) { - if ( $anchor_block === 'core/navigation' && $position === 'last_child' ) { - $hooked_blocks[] = 'core/loginout'; - } - - return $hooked_blocks; -} - -add_filter( 'hooked_block_types', 'register_home_link_block_as_navigation_last_child', 10, 4 ); diff --git a/themes/goodbids-nonprofit/patterns/header-nonprofit.php b/themes/goodbids-nonprofit/patterns/header-nonprofit.php index 60cfb564e..c62a1e31a 100644 --- a/themes/goodbids-nonprofit/patterns/header-nonprofit.php +++ b/themes/goodbids-nonprofit/patterns/header-nonprofit.php @@ -21,7 +21,8 @@
- + +
From 8ba10b7343f5c66eeb894e2d95d758204816113a Mon Sep 17 00:00:00 2001 From: Nathan Schmidt <91974372+nathan-schmidt-viget@users.noreply.github.com> Date: Fri, 1 Mar 2024 16:10:59 -0700 Subject: [PATCH 4/9] [#495] adding notes for TODO --- .../goodbids/src/classes/Network/Sites.php | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/client-mu-plugins/goodbids/src/classes/Network/Sites.php b/client-mu-plugins/goodbids/src/classes/Network/Sites.php index d9a15d210..2b81abd69 100644 --- a/client-mu-plugins/goodbids/src/classes/Network/Sites.php +++ b/client-mu-plugins/goodbids/src/classes/Network/Sites.php @@ -1110,26 +1110,34 @@ private function get_page_path( string $path ): ?WP_Post { * @since 1.0.0 */ public function set_nonprofit_navigation(): void { + // TODO: Figure out why it does not fire on setup add_action( 'goodbids_nonprofit_verified', function ( int $site_id ): void { - $about_id = get_option( self::ABOUT_OPTION ); - $auctions_id = get_option( self::AUCTIONS_OPTION ); + $about_id = get_option( self::ABOUT_OPTION ); + $auctions_id = get_option( self::AUCTIONS_OPTION ); + + if ( ! $about_id || ! $auctions_id ) { + return; + } + $wp_navigation = new WP_Query( [ 'post_type' => 'wp_navigation', 'post_status' => [ 'publish' ], ] ); - $nav_links = [ + + $nav_links = [ get_post( $about_id ), get_post( $auctions_id ), ]; - + // Set the navigation content ob_start(); goodbids()->load_view( 'parts/nonprofit-navigation.php', compact( 'nav_links' ) ); + // TODO: figure out how to get ID - it is always the first one $navigation_content = [ 'ID' => $wp_navigation->posts[0]->ID, 'post_content' => ob_get_clean(), From f53373313238b16d9d59144918829638dc680360 Mon Sep 17 00:00:00 2001 From: Nathan Schmidt <91974372+nathan-schmidt-viget@users.noreply.github.com> Date: Mon, 4 Mar 2024 08:18:29 -0700 Subject: [PATCH 5/9] [#495] getting active nav post id --- client-mu-plugins/goodbids/src/classes/Network/Sites.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client-mu-plugins/goodbids/src/classes/Network/Sites.php b/client-mu-plugins/goodbids/src/classes/Network/Sites.php index 2b81abd69..968af6bc9 100644 --- a/client-mu-plugins/goodbids/src/classes/Network/Sites.php +++ b/client-mu-plugins/goodbids/src/classes/Network/Sites.php @@ -1117,7 +1117,7 @@ function ( int $site_id ): void { $about_id = get_option( self::ABOUT_OPTION ); $auctions_id = get_option( self::AUCTIONS_OPTION ); - if ( ! $about_id || ! $auctions_id ) { + if ( ! $about_id && ! $auctions_id ) { return; } @@ -1137,9 +1137,8 @@ function ( int $site_id ): void { ob_start(); goodbids()->load_view( 'parts/nonprofit-navigation.php', compact( 'nav_links' ) ); - // TODO: figure out how to get ID - it is always the first one $navigation_content = [ - 'ID' => $wp_navigation->posts[0]->ID, + 'ID' => $wp_navigation->post->ID, 'post_content' => ob_get_clean(), ]; From 0eae952de26da930fd8dfedced5c911b7dc5b715 Mon Sep 17 00:00:00 2001 From: Brian DiChiara Date: Mon, 4 Mar 2024 18:22:28 -0600 Subject: [PATCH 6/9] [#495] A couple of tweaks, potential bug fixes --- .../goodbids/src/classes/Network/Sites.php | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/client-mu-plugins/goodbids/src/classes/Network/Sites.php b/client-mu-plugins/goodbids/src/classes/Network/Sites.php index 968af6bc9..9aace9301 100644 --- a/client-mu-plugins/goodbids/src/classes/Network/Sites.php +++ b/client-mu-plugins/goodbids/src/classes/Network/Sites.php @@ -77,6 +77,7 @@ public function __construct() { // Refresh transients when Auctions change status. $this->maybe_clear_transients(); + // Setup default Nonprofit Navigation. $this->set_nonprofit_navigation(); } @@ -373,7 +374,7 @@ public function add_user_to_site( int $user_id, ?int $site_id = null ): void { } /** - * Create the GOODBIDS About page and sets the pattern template + * Creates the GOODBIDS About page and sets the pattern template * * @since 1.0.0 * @@ -384,9 +385,10 @@ private function create_about_page(): void { 'goodbids_initialize_site', function (): void { $about_slug = 'about'; + $existing = get_option( self::ABOUT_OPTION ); // Make sure it doesn't already exist. - if ( $this->get_page_path( $about_slug ) ) { + if ( $this->get_page_path( $about_slug ) || $existing ) { return; } @@ -407,6 +409,7 @@ function (): void { if ( is_wp_error( $about_id ) ) { Log::error( $about_id->get_error_message() ); + return; } update_option( self::ABOUT_OPTION, $about_id ); @@ -426,9 +429,10 @@ private function create_all_auctions_page(): void { 'goodbids_initialize_site', function (): void { $auctions_slug = 'explore-auctions'; + $existing = get_option( self::AUCTIONS_OPTION ); // Make sure it doesn't already exist. - if ( $this->get_page_path( $auctions_slug ) ) { + if ( $this->get_page_path( $auctions_slug ) || $existing ) { return; } @@ -449,6 +453,7 @@ function (): void { if ( is_wp_error( $auctions_id ) ) { Log::error( $auctions_id->get_error_message() ); + return; } update_option( self::AUCTIONS_OPTION, $auctions_id ); @@ -457,7 +462,7 @@ function (): void { } /** - * Delete the sample page + * Attempt to delete the Sample Page * * @since 1.0.0 * @@ -1112,8 +1117,8 @@ private function get_page_path( string $path ): ?WP_Post { public function set_nonprofit_navigation(): void { // TODO: Figure out why it does not fire on setup add_action( - 'goodbids_nonprofit_verified', - function ( int $site_id ): void { + 'goodbids_initialize_site', + function (): void { $about_id = get_option( self::ABOUT_OPTION ); $auctions_id = get_option( self::AUCTIONS_OPTION ); @@ -1143,10 +1148,10 @@ function ( int $site_id ): void { ]; // Update the navigation into the database - wp_update_post( $navigation_content ); + $update = wp_update_post( $navigation_content ); - if ( is_wp_error( $navigation_content ) ) { - Log::error( $navigation_content->get_error_message() ); + if ( is_wp_error( $update ) ) { + Log::error( 'Error updating Nonprofit Navigation: ' . $update->get_error_message() ); } } ); From 387c02fb1d04792a3c2ff94c4d96c9d25e9735ba Mon Sep 17 00:00:00 2001 From: Brian DiChiara Date: Mon, 4 Mar 2024 18:40:44 -0600 Subject: [PATCH 7/9] [#495] Some fixes/adjustments --- .../goodbids/src/classes/Network/Sites.php | 26 +++++++++++-------- .../views/parts/nonprofit-navigation.php | 13 +++++----- 2 files changed, 22 insertions(+), 17 deletions(-) diff --git a/client-mu-plugins/goodbids/src/classes/Network/Sites.php b/client-mu-plugins/goodbids/src/classes/Network/Sites.php index 9aace9301..be9a4d15e 100644 --- a/client-mu-plugins/goodbids/src/classes/Network/Sites.php +++ b/client-mu-plugins/goodbids/src/classes/Network/Sites.php @@ -1106,7 +1106,6 @@ private function get_page_path( string $path ): ?WP_Post { return get_page_by_path( $path ); // phpcs:ignore } - /** * Set the nonprofit navigation * @@ -1115,14 +1114,16 @@ private function get_page_path( string $path ): ?WP_Post { * @since 1.0.0 */ public function set_nonprofit_navigation(): void { - // TODO: Figure out why it does not fire on setup add_action( 'goodbids_initialize_site', function (): void { - $about_id = get_option( self::ABOUT_OPTION ); - $auctions_id = get_option( self::AUCTIONS_OPTION ); + $nav_links = [ + intval( get_option( self::ABOUT_OPTION ) ), // About Page ID. + intval( get_option( self::AUCTIONS_OPTION ) ), // Auctions Page ID. + ]; - if ( ! $about_id && ! $auctions_id ) { + if ( 2 !== count( array_filter( $nav_links ) ) ) { + Log::warning( 'Missing one or more Nonprofit Navigation items' ); return; } @@ -1133,17 +1134,19 @@ function (): void { ] ); - $nav_links = [ - get_post( $about_id ), - get_post( $auctions_id ), - ]; + if ( ! $wp_navigation->have_posts() ) { + Log::error( 'Unable to locate Nonprofit Navigation' ); + return; + } + + $navigation_id = $wp_navigation->posts[0]->ID; // Set the navigation content ob_start(); goodbids()->load_view( 'parts/nonprofit-navigation.php', compact( 'nav_links' ) ); $navigation_content = [ - 'ID' => $wp_navigation->post->ID, + 'ID' => $navigation_id, 'post_content' => ob_get_clean(), ]; @@ -1153,7 +1156,8 @@ function (): void { if ( is_wp_error( $update ) ) { Log::error( 'Error updating Nonprofit Navigation: ' . $update->get_error_message() ); } - } + }, + 50 ); } } diff --git a/client-mu-plugins/goodbids/views/parts/nonprofit-navigation.php b/client-mu-plugins/goodbids/views/parts/nonprofit-navigation.php index d51ac79ea..ee76d83b8 100644 --- a/client-mu-plugins/goodbids/views/parts/nonprofit-navigation.php +++ b/client-mu-plugins/goodbids/views/parts/nonprofit-navigation.php @@ -1,14 +1,15 @@ - - - +foreach ( $nav_links as $page_id ) : + ?> + + Date: Mon, 4 Mar 2024 18:44:47 -0600 Subject: [PATCH 8/9] [#495] Used Verified hook for Navigation Changes --- client-mu-plugins/goodbids/src/classes/Network/Sites.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-mu-plugins/goodbids/src/classes/Network/Sites.php b/client-mu-plugins/goodbids/src/classes/Network/Sites.php index be9a4d15e..d4ca79fbd 100644 --- a/client-mu-plugins/goodbids/src/classes/Network/Sites.php +++ b/client-mu-plugins/goodbids/src/classes/Network/Sites.php @@ -1115,7 +1115,7 @@ private function get_page_path( string $path ): ?WP_Post { */ public function set_nonprofit_navigation(): void { add_action( - 'goodbids_initialize_site', + 'goodbids_nonprofit_verified', function (): void { $nav_links = [ intval( get_option( self::ABOUT_OPTION ) ), // About Page ID. From 526b2d98e1fa38e3945d700c111a9168dca11cee Mon Sep 17 00:00:00 2001 From: Brian DiChiara <122309362+bd-viget@users.noreply.github.com> Date: Wed, 6 Mar 2024 03:50:35 -0600 Subject: [PATCH 9/9] [#495] Misc Fixes (#591) * [#495] Setting up basic test with nav links * [#495] testing out pattern for custom menu * [#495] pulling in the created pages into the new nav * [#495] adding notes for TODO * [#495] getting active nav post id * [#495] A couple of tweaks, potential bug fixes * [#495] Some fixes/adjustments * [#495] Used Verified hook for Navigation Changes * [#495] Fix nav + other bug fixes --------- Co-authored-by: Nathan Schmidt <91974372+nathan-schmidt-viget@users.noreply.github.com> --- client-mu-plugins/goodbids/composer.json | 5 +- client-mu-plugins/goodbids/composer.lock | 4546 +---------------- client-mu-plugins/goodbids/package.json | 2 +- .../goodbids/src/classes/Core.php | 16 + .../goodbids/src/classes/Network/Sites.php | 199 +- .../src/classes/Nonprofits/Verification.php | 7 +- .../classes/Users/Referrals/Shortcodes.php | 4 +- 7 files changed, 334 insertions(+), 4445 deletions(-) diff --git a/client-mu-plugins/goodbids/composer.json b/client-mu-plugins/goodbids/composer.json index f1ca68d3b..96f20c676 100644 --- a/client-mu-plugins/goodbids/composer.json +++ b/client-mu-plugins/goodbids/composer.json @@ -57,14 +57,13 @@ "wpackagist-plugin/svg-support": "^2.5", "wpackagist-plugin/user-switching": "^1.7", "wpackagist-plugin/woocommerce": "^8.6", - "wpackagist-plugin/woocommerce-gateway-stripe": "^7.9", - "wpackagist-plugin/woocommerce-services": "^2.4", + "wpackagist-plugin/woocommerce-gateway-stripe": "^8.0", + "wpackagist-plugin/woocommerce-services": "^2.5", "wpengine/advanced-custom-fields-pro": "^6.2" }, "require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "^1.0.0", "squizlabs/php_codesniffer": "^3.7", - "wp-cli/wp-cli-bundle": "^2.10", "wp-coding-standards/wpcs": "^3.0" }, "extra": { diff --git a/client-mu-plugins/goodbids/composer.lock b/client-mu-plugins/goodbids/composer.lock index 0266fee20..9fb917d00 100644 --- a/client-mu-plugins/goodbids/composer.lock +++ b/client-mu-plugins/goodbids/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "946f0ceb5a847567d4cc59be20fd3da9", + "content-hash": "6180c9fa6bb0c29d255d1abcd7cf9f85", "packages": [ { "name": "composer/installers", @@ -1240,15 +1240,15 @@ }, { "name": "wpackagist-plugin/accessibility-checker", - "version": "1.9.0", + "version": "1.9.1", "source": { "type": "svn", "url": "https://plugins.svn.wordpress.org/accessibility-checker/", - "reference": "tags/1.9.0" + "reference": "tags/1.9.1" }, "dist": { "type": "zip", - "url": "https://downloads.wordpress.org/plugin/accessibility-checker.1.9.0.zip" + "url": "https://downloads.wordpress.org/plugin/accessibility-checker.1.9.1.zip" }, "require": { "composer/installers": "^1.0 || ^2.0" @@ -1312,15 +1312,15 @@ }, { "name": "wpackagist-plugin/woocommerce-gateway-stripe", - "version": "7.9.3", + "version": "8.0.0", "source": { "type": "svn", "url": "https://plugins.svn.wordpress.org/woocommerce-gateway-stripe/", - "reference": "tags/7.9.3" + "reference": "tags/8.0.0" }, "dist": { "type": "zip", - "url": "https://downloads.wordpress.org/plugin/woocommerce-gateway-stripe.7.9.3.zip" + "url": "https://downloads.wordpress.org/plugin/woocommerce-gateway-stripe.8.0.0.zip" }, "require": { "composer/installers": "^1.0 || ^2.0" @@ -1364,39 +1364,39 @@ ], "packages-dev": [ { - "name": "composer/ca-bundle", - "version": "1.4.1", + "name": "dealerdirect/phpcodesniffer-composer-installer", + "version": "v1.0.0", "source": { "type": "git", - "url": "https://github.com/composer/ca-bundle.git", - "reference": "3ce240142f6d59b808dd65c1f52f7a1c252e6cfd" + "url": "https://github.com/PHPCSStandards/composer-installer.git", + "reference": "4be43904336affa5c2f70744a348312336afd0da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/3ce240142f6d59b808dd65c1f52f7a1c252e6cfd", - "reference": "3ce240142f6d59b808dd65c1f52f7a1c252e6cfd", + "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/4be43904336affa5c2f70744a348312336afd0da", + "reference": "4be43904336affa5c2f70744a348312336afd0da", "shasum": "" }, "require": { - "ext-openssl": "*", - "ext-pcre": "*", - "php": "^5.3.2 || ^7.0 || ^8.0" + "composer-plugin-api": "^1.0 || ^2.0", + "php": ">=5.4", + "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" }, "require-dev": { - "phpstan/phpstan": "^0.12.55", - "psr/log": "^1.0", - "symfony/phpunit-bridge": "^4.2 || ^5", - "symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0" + "composer/composer": "*", + "ext-json": "*", + "ext-zip": "*", + "php-parallel-lint/php-parallel-lint": "^1.3.1", + "phpcompatibility/php-compatibility": "^9.0", + "yoast/phpunit-polyfills": "^1.0" }, - "type": "library", + "type": "composer-plugin", "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } + "class": "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" }, "autoload": { "psr-4": { - "Composer\\CaBundle\\": "src" + "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -1405,4465 +1405,287 @@ ], "authors": [ { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" + "name": "Franck Nijhof", + "email": "franck.nijhof@dealerdirect.com", + "homepage": "http://www.frenck.nl", + "role": "Developer / IT Manager" + }, + { + "name": "Contributors", + "homepage": "https://github.com/PHPCSStandards/composer-installer/graphs/contributors" } ], - "description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.", + "description": "PHP_CodeSniffer Standards Composer Installer Plugin", + "homepage": "http://www.dealerdirect.com", "keywords": [ - "cabundle", - "cacert", - "certificate", - "ssl", - "tls" + "PHPCodeSniffer", + "PHP_CodeSniffer", + "code quality", + "codesniffer", + "composer", + "installer", + "phpcbf", + "phpcs", + "plugin", + "qa", + "quality", + "standard", + "standards", + "style guide", + "stylecheck", + "tests" ], "support": { - "irc": "irc://irc.freenode.org/composer", - "issues": "https://github.com/composer/ca-bundle/issues", - "source": "https://github.com/composer/ca-bundle/tree/1.4.1" + "issues": "https://github.com/PHPCSStandards/composer-installer/issues", + "source": "https://github.com/PHPCSStandards/composer-installer" }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2024-02-23T10:16:52+00:00" + "time": "2023-01-05T11:28:13+00:00" }, { - "name": "composer/class-map-generator", - "version": "1.1.0", + "name": "phpcsstandards/phpcsextra", + "version": "1.2.1", "source": { "type": "git", - "url": "https://github.com/composer/class-map-generator.git", - "reference": "953cc4ea32e0c31f2185549c7d216d7921f03da9" + "url": "https://github.com/PHPCSStandards/PHPCSExtra.git", + "reference": "11d387c6642b6e4acaf0bd9bf5203b8cca1ec489" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/class-map-generator/zipball/953cc4ea32e0c31f2185549c7d216d7921f03da9", - "reference": "953cc4ea32e0c31f2185549c7d216d7921f03da9", + "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/11d387c6642b6e4acaf0bd9bf5203b8cca1ec489", + "reference": "11d387c6642b6e4acaf0bd9bf5203b8cca1ec489", "shasum": "" }, "require": { - "composer/pcre": "^2.1 || ^3.1", - "php": "^7.2 || ^8.0", - "symfony/finder": "^4.4 || ^5.3 || ^6 || ^7" + "php": ">=5.4", + "phpcsstandards/phpcsutils": "^1.0.9", + "squizlabs/php_codesniffer": "^3.8.0" }, "require-dev": { - "phpstan/phpstan": "^1.6", - "phpstan/phpstan-deprecation-rules": "^1", - "phpstan/phpstan-phpunit": "^1", - "phpstan/phpstan-strict-rules": "^1.1", - "symfony/filesystem": "^5.4 || ^6", - "symfony/phpunit-bridge": "^5" + "php-parallel-lint/php-console-highlighter": "^1.0", + "php-parallel-lint/php-parallel-lint": "^1.3.2", + "phpcsstandards/phpcsdevcs": "^1.1.6", + "phpcsstandards/phpcsdevtools": "^1.2.1", + "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0" }, - "type": "library", + "type": "phpcodesniffer-standard", "extra": { "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\ClassMapGenerator\\": "src" + "dev-stable": "1.x-dev", + "dev-develop": "1.x-dev" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "LGPL-3.0-or-later" ], "authors": [ { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "https://seld.be" + "name": "Juliette Reinders Folmer", + "homepage": "https://github.com/jrfnl", + "role": "lead" + }, + { + "name": "Contributors", + "homepage": "https://github.com/PHPCSStandards/PHPCSExtra/graphs/contributors" } ], - "description": "Utilities to scan PHP code and generate class maps.", + "description": "A collection of sniffs and standards for use with PHP_CodeSniffer.", "keywords": [ - "classmap" + "PHP_CodeSniffer", + "phpcbf", + "phpcodesniffer-standard", + "phpcs", + "standards", + "static analysis" ], "support": { - "issues": "https://github.com/composer/class-map-generator/issues", - "source": "https://github.com/composer/class-map-generator/tree/1.1.0" + "issues": "https://github.com/PHPCSStandards/PHPCSExtra/issues", + "security": "https://github.com/PHPCSStandards/PHPCSExtra/security/policy", + "source": "https://github.com/PHPCSStandards/PHPCSExtra" }, "funding": [ { - "url": "https://packagist.com", - "type": "custom" + "url": "https://github.com/PHPCSStandards", + "type": "github" }, { - "url": "https://github.com/composer", + "url": "https://github.com/jrfnl", "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" + "url": "https://opencollective.com/php_codesniffer", + "type": "open_collective" } ], - "time": "2023-06-30T13:58:57+00:00" + "time": "2023-12-08T16:49:07+00:00" }, { - "name": "composer/composer", - "version": "2.7.1", + "name": "phpcsstandards/phpcsutils", + "version": "1.0.9", "source": { "type": "git", - "url": "https://github.com/composer/composer.git", - "reference": "aaf6ed5ccd27c23f79a545e351b4d7842a99d0bc" + "url": "https://github.com/PHPCSStandards/PHPCSUtils.git", + "reference": "908247bc65010c7b7541a9551e002db12e9dae70" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/aaf6ed5ccd27c23f79a545e351b4d7842a99d0bc", - "reference": "aaf6ed5ccd27c23f79a545e351b4d7842a99d0bc", + "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/908247bc65010c7b7541a9551e002db12e9dae70", + "reference": "908247bc65010c7b7541a9551e002db12e9dae70", "shasum": "" }, "require": { - "composer/ca-bundle": "^1.0", - "composer/class-map-generator": "^1.0", - "composer/metadata-minifier": "^1.0", - "composer/pcre": "^2.1 || ^3.1", - "composer/semver": "^3.2.5", - "composer/spdx-licenses": "^1.5.7", - "composer/xdebug-handler": "^2.0.2 || ^3.0.3", - "justinrainbow/json-schema": "^5.2.11", - "php": "^7.2.5 || ^8.0", - "psr/log": "^1.0 || ^2.0 || ^3.0", - "react/promise": "^2.8 || ^3", - "seld/jsonlint": "^1.4", - "seld/phar-utils": "^1.2", - "seld/signal-handler": "^2.0", - "symfony/console": "^5.4.11 || ^6.0.11 || ^7", - "symfony/filesystem": "^5.4 || ^6.0 || ^7", - "symfony/finder": "^5.4 || ^6.0 || ^7", - "symfony/polyfill-php73": "^1.24", - "symfony/polyfill-php80": "^1.24", - "symfony/polyfill-php81": "^1.24", - "symfony/process": "^5.4 || ^6.0 || ^7" + "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0", + "php": ">=5.4", + "squizlabs/php_codesniffer": "^3.8.0 || 4.0.x-dev@dev" }, "require-dev": { - "phpstan/phpstan": "^1.9.3", - "phpstan/phpstan-deprecation-rules": "^1", - "phpstan/phpstan-phpunit": "^1.0", - "phpstan/phpstan-strict-rules": "^1", - "phpstan/phpstan-symfony": "^1.2.10", - "symfony/phpunit-bridge": "^6.4.1 || ^7.0.1" - }, - "suggest": { - "ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages", - "ext-zip": "Enabling the zip extension allows you to unzip archives", - "ext-zlib": "Allow gzip compression of HTTP requests" + "ext-filter": "*", + "php-parallel-lint/php-console-highlighter": "^1.0", + "php-parallel-lint/php-parallel-lint": "^1.3.2", + "phpcsstandards/phpcsdevcs": "^1.1.6", + "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0" }, - "bin": [ - "bin/composer" - ], - "type": "library", + "type": "phpcodesniffer-standard", "extra": { "branch-alias": { - "dev-main": "2.7-dev" - }, - "phpstan": { - "includes": [ - "phpstan/rules.neon" - ] + "dev-stable": "1.x-dev", + "dev-develop": "1.x-dev" } }, "autoload": { - "psr-4": { - "Composer\\": "src/Composer/" - } + "classmap": [ + "PHPCSUtils/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "LGPL-3.0-or-later" ], "authors": [ { - "name": "Nils Adermann", - "email": "naderman@naderman.de", - "homepage": "https://www.naderman.de" + "name": "Juliette Reinders Folmer", + "homepage": "https://github.com/jrfnl", + "role": "lead" }, { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "https://seld.be" + "name": "Contributors", + "homepage": "https://github.com/PHPCSStandards/PHPCSUtils/graphs/contributors" } ], - "description": "Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.", - "homepage": "https://getcomposer.org/", + "description": "A suite of utility functions for use with PHP_CodeSniffer", + "homepage": "https://phpcsutils.com/", "keywords": [ - "autoload", - "dependency", - "package" + "PHP_CodeSniffer", + "phpcbf", + "phpcodesniffer-standard", + "phpcs", + "phpcs3", + "standards", + "static analysis", + "tokens", + "utility" ], "support": { - "irc": "ircs://irc.libera.chat:6697/composer", - "issues": "https://github.com/composer/composer/issues", - "security": "https://github.com/composer/composer/security/policy", - "source": "https://github.com/composer/composer/tree/2.7.1" + "docs": "https://phpcsutils.com/", + "issues": "https://github.com/PHPCSStandards/PHPCSUtils/issues", + "security": "https://github.com/PHPCSStandards/PHPCSUtils/security/policy", + "source": "https://github.com/PHPCSStandards/PHPCSUtils" }, "funding": [ { - "url": "https://packagist.com", - "type": "custom" + "url": "https://github.com/PHPCSStandards", + "type": "github" }, { - "url": "https://github.com/composer", + "url": "https://github.com/jrfnl", "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" + "url": "https://opencollective.com/php_codesniffer", + "type": "open_collective" } ], - "time": "2024-02-09T14:26:28+00:00" + "time": "2023-12-08T14:50:00+00:00" }, { - "name": "composer/metadata-minifier", - "version": "1.0.0", + "name": "squizlabs/php_codesniffer", + "version": "3.8.0", "source": { "type": "git", - "url": "https://github.com/composer/metadata-minifier.git", - "reference": "c549d23829536f0d0e984aaabbf02af91f443207" + "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", + "reference": "5805f7a4e4958dbb5e944ef1e6edae0a303765e7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/metadata-minifier/zipball/c549d23829536f0d0e984aaabbf02af91f443207", - "reference": "c549d23829536f0d0e984aaabbf02af91f443207", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/5805f7a4e4958dbb5e944ef1e6edae0a303765e7", + "reference": "5805f7a4e4958dbb5e944ef1e6edae0a303765e7", "shasum": "" }, "require": { - "php": "^5.3.2 || ^7.0 || ^8.0" + "ext-simplexml": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": ">=5.4.0" }, "require-dev": { - "composer/composer": "^2", - "phpstan/phpstan": "^0.12.55", - "symfony/phpunit-bridge": "^4.2 || ^5" + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0" }, + "bin": [ + "bin/phpcs", + "bin/phpcbf" + ], "type": "library", "extra": { "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\MetadataMinifier\\": "src" + "dev-master": "3.x-dev" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" + "name": "Greg Sherwood", + "role": "Former lead" + }, + { + "name": "Juliette Reinders Folmer", + "role": "Current lead" + }, + { + "name": "Contributors", + "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors" } ], - "description": "Small utility library that handles metadata minification and expansion.", + "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", + "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer", "keywords": [ - "composer", - "compression" + "phpcs", + "standards", + "static analysis" ], "support": { - "issues": "https://github.com/composer/metadata-minifier/issues", - "source": "https://github.com/composer/metadata-minifier/tree/1.0.0" + "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues", + "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy", + "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer", + "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki" }, "funding": [ { - "url": "https://packagist.com", - "type": "custom" + "url": "https://github.com/PHPCSStandards", + "type": "github" }, { - "url": "https://github.com/composer", + "url": "https://github.com/jrfnl", "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" + "url": "https://opencollective.com/php_codesniffer", + "type": "open_collective" } ], - "time": "2021-04-07T13:37:33+00:00" - }, - { - "name": "composer/pcre", - "version": "3.1.1", - "source": { - "type": "git", - "url": "https://github.com/composer/pcre.git", - "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/00104306927c7a0919b4ced2aaa6782c1e61a3c9", - "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9", - "shasum": "" - }, - "require": { - "php": "^7.4 || ^8.0" - }, - "require-dev": { - "phpstan/phpstan": "^1.3", - "phpstan/phpstan-strict-rules": "^1.1", - "symfony/phpunit-bridge": "^5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\Pcre\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - } - ], - "description": "PCRE wrapping library that offers type-safe preg_* replacements.", - "keywords": [ - "PCRE", - "preg", - "regex", - "regular expression" - ], - "support": { - "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/3.1.1" - }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2023-10-11T07:11:09+00:00" - }, - { - "name": "composer/semver", - "version": "3.4.0", - "source": { - "type": "git", - "url": "https://github.com/composer/semver.git", - "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/35e8d0af4486141bc745f23a29cc2091eb624a32", - "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32", - "shasum": "" - }, - "require": { - "php": "^5.3.2 || ^7.0 || ^8.0" - }, - "require-dev": { - "phpstan/phpstan": "^1.4", - "symfony/phpunit-bridge": "^4.2 || ^5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\Semver\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nils Adermann", - "email": "naderman@naderman.de", - "homepage": "http://www.naderman.de" - }, - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - }, - { - "name": "Rob Bast", - "email": "rob.bast@gmail.com", - "homepage": "http://robbast.nl" - } - ], - "description": "Semver library that offers utilities, version constraint parsing and validation.", - "keywords": [ - "semantic", - "semver", - "validation", - "versioning" - ], - "support": { - "irc": "ircs://irc.libera.chat:6697/composer", - "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.4.0" - }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2023-08-31T09:50:34+00:00" - }, - { - "name": "composer/spdx-licenses", - "version": "1.5.8", - "source": { - "type": "git", - "url": "https://github.com/composer/spdx-licenses.git", - "reference": "560bdcf8deb88ae5d611c80a2de8ea9d0358cc0a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/560bdcf8deb88ae5d611c80a2de8ea9d0358cc0a", - "reference": "560bdcf8deb88ae5d611c80a2de8ea9d0358cc0a", - "shasum": "" - }, - "require": { - "php": "^5.3.2 || ^7.0 || ^8.0" - }, - "require-dev": { - "phpstan/phpstan": "^0.12.55", - "symfony/phpunit-bridge": "^4.2 || ^5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\Spdx\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nils Adermann", - "email": "naderman@naderman.de", - "homepage": "http://www.naderman.de" - }, - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - }, - { - "name": "Rob Bast", - "email": "rob.bast@gmail.com", - "homepage": "http://robbast.nl" - } - ], - "description": "SPDX licenses list and validation library.", - "keywords": [ - "license", - "spdx", - "validator" - ], - "support": { - "irc": "ircs://irc.libera.chat:6697/composer", - "issues": "https://github.com/composer/spdx-licenses/issues", - "source": "https://github.com/composer/spdx-licenses/tree/1.5.8" - }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2023-11-20T07:44:33+00:00" - }, - { - "name": "composer/xdebug-handler", - "version": "3.0.3", - "source": { - "type": "git", - "url": "https://github.com/composer/xdebug-handler.git", - "reference": "ced299686f41dce890debac69273b47ffe98a40c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c", - "reference": "ced299686f41dce890debac69273b47ffe98a40c", - "shasum": "" - }, - "require": { - "composer/pcre": "^1 || ^2 || ^3", - "php": "^7.2.5 || ^8.0", - "psr/log": "^1 || ^2 || ^3" - }, - "require-dev": { - "phpstan/phpstan": "^1.0", - "phpstan/phpstan-strict-rules": "^1.1", - "symfony/phpunit-bridge": "^6.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Composer\\XdebugHandler\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "John Stevenson", - "email": "john-stevenson@blueyonder.co.uk" - } - ], - "description": "Restarts a process without Xdebug.", - "keywords": [ - "Xdebug", - "performance" - ], - "support": { - "irc": "irc://irc.freenode.org/composer", - "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/3.0.3" - }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2022-02-25T21:32:43+00:00" - }, - { - "name": "dealerdirect/phpcodesniffer-composer-installer", - "version": "v1.0.0", - "source": { - "type": "git", - "url": "https://github.com/PHPCSStandards/composer-installer.git", - "reference": "4be43904336affa5c2f70744a348312336afd0da" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/4be43904336affa5c2f70744a348312336afd0da", - "reference": "4be43904336affa5c2f70744a348312336afd0da", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.0 || ^2.0", - "php": ">=5.4", - "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" - }, - "require-dev": { - "composer/composer": "*", - "ext-json": "*", - "ext-zip": "*", - "php-parallel-lint/php-parallel-lint": "^1.3.1", - "phpcompatibility/php-compatibility": "^9.0", - "yoast/phpunit-polyfills": "^1.0" - }, - "type": "composer-plugin", - "extra": { - "class": "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" - }, - "autoload": { - "psr-4": { - "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Franck Nijhof", - "email": "franck.nijhof@dealerdirect.com", - "homepage": "http://www.frenck.nl", - "role": "Developer / IT Manager" - }, - { - "name": "Contributors", - "homepage": "https://github.com/PHPCSStandards/composer-installer/graphs/contributors" - } - ], - "description": "PHP_CodeSniffer Standards Composer Installer Plugin", - "homepage": "http://www.dealerdirect.com", - "keywords": [ - "PHPCodeSniffer", - "PHP_CodeSniffer", - "code quality", - "codesniffer", - "composer", - "installer", - "phpcbf", - "phpcs", - "plugin", - "qa", - "quality", - "standard", - "standards", - "style guide", - "stylecheck", - "tests" - ], - "support": { - "issues": "https://github.com/PHPCSStandards/composer-installer/issues", - "source": "https://github.com/PHPCSStandards/composer-installer" - }, - "time": "2023-01-05T11:28:13+00:00" - }, - { - "name": "eftec/bladeone", - "version": "3.52", - "source": { - "type": "git", - "url": "https://github.com/EFTEC/BladeOne.git", - "reference": "a19bf66917de0b29836983db87a455a4f6e32148" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/EFTEC/BladeOne/zipball/a19bf66917de0b29836983db87a455a4f6e32148", - "reference": "a19bf66917de0b29836983db87a455a4f6e32148", - "shasum": "" - }, - "require": { - "ext-json": "*", - "php": ">=5.6" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.16.1", - "phpunit/phpunit": "^5.7", - "squizlabs/php_codesniffer": "^3.5.4" - }, - "suggest": { - "eftec/bladeonehtml": "Extension to create forms", - "ext-mbstring": "This extension is used if it's active" - }, - "type": "library", - "autoload": { - "psr-4": { - "eftec\\bladeone\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jorge Patricio Castro Castillo", - "email": "jcastro@eftec.cl" - } - ], - "description": "The standalone version Blade Template Engine from Laravel in a single php file", - "homepage": "https://github.com/EFTEC/BladeOne", - "keywords": [ - "blade", - "php", - "template", - "templating", - "view" - ], - "support": { - "issues": "https://github.com/EFTEC/BladeOne/issues", - "source": "https://github.com/EFTEC/BladeOne/tree/3.52" - }, - "time": "2021-04-17T13:49:01+00:00" - }, - { - "name": "gettext/gettext", - "version": "v4.8.11", - "source": { - "type": "git", - "url": "https://github.com/php-gettext/Gettext.git", - "reference": "b632aaf5e4579d0b2ae8bc61785e238bff4c5156" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-gettext/Gettext/zipball/b632aaf5e4579d0b2ae8bc61785e238bff4c5156", - "reference": "b632aaf5e4579d0b2ae8bc61785e238bff4c5156", - "shasum": "" - }, - "require": { - "gettext/languages": "^2.3", - "php": ">=5.4.0" - }, - "require-dev": { - "illuminate/view": "^5.0.x-dev", - "phpunit/phpunit": "^4.8|^5.7|^6.5", - "squizlabs/php_codesniffer": "^3.0", - "symfony/yaml": "~2", - "twig/extensions": "*", - "twig/twig": "^1.31|^2.0" - }, - "suggest": { - "illuminate/view": "Is necessary if you want to use the Blade extractor", - "symfony/yaml": "Is necessary if you want to use the Yaml extractor/generator", - "twig/extensions": "Is necessary if you want to use the Twig extractor", - "twig/twig": "Is necessary if you want to use the Twig extractor" - }, - "type": "library", - "autoload": { - "psr-4": { - "Gettext\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Oscar Otero", - "email": "oom@oscarotero.com", - "homepage": "http://oscarotero.com", - "role": "Developer" - } - ], - "description": "PHP gettext manager", - "homepage": "https://github.com/oscarotero/Gettext", - "keywords": [ - "JS", - "gettext", - "i18n", - "mo", - "po", - "translation" - ], - "support": { - "email": "oom@oscarotero.com", - "issues": "https://github.com/oscarotero/Gettext/issues", - "source": "https://github.com/php-gettext/Gettext/tree/v4.8.11" - }, - "funding": [ - { - "url": "https://paypal.me/oscarotero", - "type": "custom" - }, - { - "url": "https://github.com/oscarotero", - "type": "github" - }, - { - "url": "https://www.patreon.com/misteroom", - "type": "patreon" - } - ], - "time": "2023-08-14T15:15:05+00:00" - }, - { - "name": "gettext/languages", - "version": "2.10.0", - "source": { - "type": "git", - "url": "https://github.com/php-gettext/Languages.git", - "reference": "4d61d67fe83a2ad85959fe6133d6d9ba7dddd1ab" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-gettext/Languages/zipball/4d61d67fe83a2ad85959fe6133d6d9ba7dddd1ab", - "reference": "4d61d67fe83a2ad85959fe6133d6d9ba7dddd1ab", - "shasum": "" - }, - "require": { - "php": ">=5.3" - }, - "require-dev": { - "phpunit/phpunit": "^4.8 || ^5.7 || ^6.5 || ^7.5 || ^8.4" - }, - "bin": [ - "bin/export-plural-rules" - ], - "type": "library", - "autoload": { - "psr-4": { - "Gettext\\Languages\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michele Locati", - "email": "mlocati@gmail.com", - "role": "Developer" - } - ], - "description": "gettext languages with plural rules", - "homepage": "https://github.com/php-gettext/Languages", - "keywords": [ - "cldr", - "i18n", - "internationalization", - "l10n", - "language", - "languages", - "localization", - "php", - "plural", - "plural rules", - "plurals", - "translate", - "translations", - "unicode" - ], - "support": { - "issues": "https://github.com/php-gettext/Languages/issues", - "source": "https://github.com/php-gettext/Languages/tree/2.10.0" - }, - "funding": [ - { - "url": "https://paypal.me/mlocati", - "type": "custom" - }, - { - "url": "https://github.com/mlocati", - "type": "github" - } - ], - "time": "2022-10-18T15:00:10+00:00" - }, - { - "name": "justinrainbow/json-schema", - "version": "v5.2.13", - "source": { - "type": "git", - "url": "https://github.com/justinrainbow/json-schema.git", - "reference": "fbbe7e5d79f618997bc3332a6f49246036c45793" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/fbbe7e5d79f618997bc3332a6f49246036c45793", - "reference": "fbbe7e5d79f618997bc3332a6f49246036c45793", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "~2.2.20||~2.15.1", - "json-schema/json-schema-test-suite": "1.2.0", - "phpunit/phpunit": "^4.8.35" - }, - "bin": [ - "bin/validate-json" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "JsonSchema\\": "src/JsonSchema/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bruno Prieto Reis", - "email": "bruno.p.reis@gmail.com" - }, - { - "name": "Justin Rainbow", - "email": "justin.rainbow@gmail.com" - }, - { - "name": "Igor Wiedler", - "email": "igor@wiedler.ch" - }, - { - "name": "Robert Schönthal", - "email": "seroscho@googlemail.com" - } - ], - "description": "A library to validate a json schema.", - "homepage": "https://github.com/justinrainbow/json-schema", - "keywords": [ - "json", - "schema" - ], - "support": { - "issues": "https://github.com/justinrainbow/json-schema/issues", - "source": "https://github.com/justinrainbow/json-schema/tree/v5.2.13" - }, - "time": "2023-09-26T02:20:38+00:00" - }, - { - "name": "mck89/peast", - "version": "v1.16.2", - "source": { - "type": "git", - "url": "https://github.com/mck89/peast.git", - "reference": "2791b08ffcc1862fe18eef85675da3aa58c406fe" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/mck89/peast/zipball/2791b08ffcc1862fe18eef85675da3aa58c406fe", - "reference": "2791b08ffcc1862fe18eef85675da3aa58c406fe", - "shasum": "" - }, - "require": { - "ext-mbstring": "*", - "php": ">=5.4.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.16.2-dev" - } - }, - "autoload": { - "psr-4": { - "Peast\\": "lib/Peast/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Marco Marchiò", - "email": "marco.mm89@gmail.com" - } - ], - "description": "Peast is PHP library that generates AST for JavaScript code", - "support": { - "issues": "https://github.com/mck89/peast/issues", - "source": "https://github.com/mck89/peast/tree/v1.16.2" - }, - "time": "2024-03-05T09:16:03+00:00" - }, - { - "name": "mustache/mustache", - "version": "v2.14.2", - "source": { - "type": "git", - "url": "https://github.com/bobthecow/mustache.php.git", - "reference": "e62b7c3849d22ec55f3ec425507bf7968193a6cb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/bobthecow/mustache.php/zipball/e62b7c3849d22ec55f3ec425507bf7968193a6cb", - "reference": "e62b7c3849d22ec55f3ec425507bf7968193a6cb", - "shasum": "" - }, - "require": { - "php": ">=5.2.4" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "~1.11", - "phpunit/phpunit": "~3.7|~4.0|~5.0" - }, - "type": "library", - "autoload": { - "psr-0": { - "Mustache": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Justin Hileman", - "email": "justin@justinhileman.info", - "homepage": "http://justinhileman.com" - } - ], - "description": "A Mustache implementation in PHP.", - "homepage": "https://github.com/bobthecow/mustache.php", - "keywords": [ - "mustache", - "templating" - ], - "support": { - "issues": "https://github.com/bobthecow/mustache.php/issues", - "source": "https://github.com/bobthecow/mustache.php/tree/v2.14.2" - }, - "time": "2022-08-23T13:07:01+00:00" - }, - { - "name": "nb/oxymel", - "version": "v0.1.0", - "source": { - "type": "git", - "url": "https://github.com/nb/oxymel.git", - "reference": "cbe626ef55d5c4cc9b5e6e3904b395861ea76e3c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nb/oxymel/zipball/cbe626ef55d5c4cc9b5e6e3904b395861ea76e3c", - "reference": "cbe626ef55d5c4cc9b5e6e3904b395861ea76e3c", - "shasum": "" - }, - "require": { - "php": ">=5.2.4" - }, - "type": "library", - "autoload": { - "psr-0": { - "Oxymel": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nikolay Bachiyski", - "email": "nb@nikolay.bg", - "homepage": "http://extrapolate.me/" - } - ], - "description": "A sweet XML builder", - "homepage": "https://github.com/nb/oxymel", - "keywords": [ - "xml" - ], - "support": { - "issues": "https://github.com/nb/oxymel/issues", - "source": "https://github.com/nb/oxymel/tree/master" - }, - "time": "2013-02-24T15:01:54+00:00" - }, - { - "name": "phpcsstandards/phpcsextra", - "version": "1.2.1", - "source": { - "type": "git", - "url": "https://github.com/PHPCSStandards/PHPCSExtra.git", - "reference": "11d387c6642b6e4acaf0bd9bf5203b8cca1ec489" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/11d387c6642b6e4acaf0bd9bf5203b8cca1ec489", - "reference": "11d387c6642b6e4acaf0bd9bf5203b8cca1ec489", - "shasum": "" - }, - "require": { - "php": ">=5.4", - "phpcsstandards/phpcsutils": "^1.0.9", - "squizlabs/php_codesniffer": "^3.8.0" - }, - "require-dev": { - "php-parallel-lint/php-console-highlighter": "^1.0", - "php-parallel-lint/php-parallel-lint": "^1.3.2", - "phpcsstandards/phpcsdevcs": "^1.1.6", - "phpcsstandards/phpcsdevtools": "^1.2.1", - "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0" - }, - "type": "phpcodesniffer-standard", - "extra": { - "branch-alias": { - "dev-stable": "1.x-dev", - "dev-develop": "1.x-dev" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-3.0-or-later" - ], - "authors": [ - { - "name": "Juliette Reinders Folmer", - "homepage": "https://github.com/jrfnl", - "role": "lead" - }, - { - "name": "Contributors", - "homepage": "https://github.com/PHPCSStandards/PHPCSExtra/graphs/contributors" - } - ], - "description": "A collection of sniffs and standards for use with PHP_CodeSniffer.", - "keywords": [ - "PHP_CodeSniffer", - "phpcbf", - "phpcodesniffer-standard", - "phpcs", - "standards", - "static analysis" - ], - "support": { - "issues": "https://github.com/PHPCSStandards/PHPCSExtra/issues", - "security": "https://github.com/PHPCSStandards/PHPCSExtra/security/policy", - "source": "https://github.com/PHPCSStandards/PHPCSExtra" - }, - "funding": [ - { - "url": "https://github.com/PHPCSStandards", - "type": "github" - }, - { - "url": "https://github.com/jrfnl", - "type": "github" - }, - { - "url": "https://opencollective.com/php_codesniffer", - "type": "open_collective" - } - ], - "time": "2023-12-08T16:49:07+00:00" - }, - { - "name": "phpcsstandards/phpcsutils", - "version": "1.0.9", - "source": { - "type": "git", - "url": "https://github.com/PHPCSStandards/PHPCSUtils.git", - "reference": "908247bc65010c7b7541a9551e002db12e9dae70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/908247bc65010c7b7541a9551e002db12e9dae70", - "reference": "908247bc65010c7b7541a9551e002db12e9dae70", - "shasum": "" - }, - "require": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0", - "php": ">=5.4", - "squizlabs/php_codesniffer": "^3.8.0 || 4.0.x-dev@dev" - }, - "require-dev": { - "ext-filter": "*", - "php-parallel-lint/php-console-highlighter": "^1.0", - "php-parallel-lint/php-parallel-lint": "^1.3.2", - "phpcsstandards/phpcsdevcs": "^1.1.6", - "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0" - }, - "type": "phpcodesniffer-standard", - "extra": { - "branch-alias": { - "dev-stable": "1.x-dev", - "dev-develop": "1.x-dev" - } - }, - "autoload": { - "classmap": [ - "PHPCSUtils/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-3.0-or-later" - ], - "authors": [ - { - "name": "Juliette Reinders Folmer", - "homepage": "https://github.com/jrfnl", - "role": "lead" - }, - { - "name": "Contributors", - "homepage": "https://github.com/PHPCSStandards/PHPCSUtils/graphs/contributors" - } - ], - "description": "A suite of utility functions for use with PHP_CodeSniffer", - "homepage": "https://phpcsutils.com/", - "keywords": [ - "PHP_CodeSniffer", - "phpcbf", - "phpcodesniffer-standard", - "phpcs", - "phpcs3", - "standards", - "static analysis", - "tokens", - "utility" - ], - "support": { - "docs": "https://phpcsutils.com/", - "issues": "https://github.com/PHPCSStandards/PHPCSUtils/issues", - "security": "https://github.com/PHPCSStandards/PHPCSUtils/security/policy", - "source": "https://github.com/PHPCSStandards/PHPCSUtils" - }, - "funding": [ - { - "url": "https://github.com/PHPCSStandards", - "type": "github" - }, - { - "url": "https://github.com/jrfnl", - "type": "github" - }, - { - "url": "https://opencollective.com/php_codesniffer", - "type": "open_collective" - } - ], - "time": "2023-12-08T14:50:00+00:00" - }, - { - "name": "react/promise", - "version": "v3.1.0", - "source": { - "type": "git", - "url": "https://github.com/reactphp/promise.git", - "reference": "e563d55d1641de1dea9f5e84f3cccc66d2bfe02c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/reactphp/promise/zipball/e563d55d1641de1dea9f5e84f3cccc66d2bfe02c", - "reference": "e563d55d1641de1dea9f5e84f3cccc66d2bfe02c", - "shasum": "" - }, - "require": { - "php": ">=7.1.0" - }, - "require-dev": { - "phpstan/phpstan": "1.10.39 || 1.4.10", - "phpunit/phpunit": "^9.6 || ^7.5" - }, - "type": "library", - "autoload": { - "files": [ - "src/functions_include.php" - ], - "psr-4": { - "React\\Promise\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jan Sorgalla", - "email": "jsorgalla@gmail.com", - "homepage": "https://sorgalla.com/" - }, - { - "name": "Christian Lück", - "email": "christian@clue.engineering", - "homepage": "https://clue.engineering/" - }, - { - "name": "Cees-Jan Kiewiet", - "email": "reactphp@ceesjankiewiet.nl", - "homepage": "https://wyrihaximus.net/" - }, - { - "name": "Chris Boden", - "email": "cboden@gmail.com", - "homepage": "https://cboden.dev/" - } - ], - "description": "A lightweight implementation of CommonJS Promises/A for PHP", - "keywords": [ - "promise", - "promises" - ], - "support": { - "issues": "https://github.com/reactphp/promise/issues", - "source": "https://github.com/reactphp/promise/tree/v3.1.0" - }, - "funding": [ - { - "url": "https://opencollective.com/reactphp", - "type": "open_collective" - } - ], - "time": "2023-11-16T16:21:57+00:00" - }, - { - "name": "seld/jsonlint", - "version": "1.10.2", - "source": { - "type": "git", - "url": "https://github.com/Seldaek/jsonlint.git", - "reference": "9bb7db07b5d66d90f6ebf542f09fc67d800e5259" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/9bb7db07b5d66d90f6ebf542f09fc67d800e5259", - "reference": "9bb7db07b5d66d90f6ebf542f09fc67d800e5259", - "shasum": "" - }, - "require": { - "php": "^5.3 || ^7.0 || ^8.0" - }, - "require-dev": { - "phpstan/phpstan": "^1.5", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^8.5.13" - }, - "bin": [ - "bin/jsonlint" - ], - "type": "library", - "autoload": { - "psr-4": { - "Seld\\JsonLint\\": "src/Seld/JsonLint/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "https://seld.be" - } - ], - "description": "JSON Linter", - "keywords": [ - "json", - "linter", - "parser", - "validator" - ], - "support": { - "issues": "https://github.com/Seldaek/jsonlint/issues", - "source": "https://github.com/Seldaek/jsonlint/tree/1.10.2" - }, - "funding": [ - { - "url": "https://github.com/Seldaek", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/seld/jsonlint", - "type": "tidelift" - } - ], - "time": "2024-02-07T12:57:50+00:00" - }, - { - "name": "seld/phar-utils", - "version": "1.2.1", - "source": { - "type": "git", - "url": "https://github.com/Seldaek/phar-utils.git", - "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Seldaek/phar-utils/zipball/ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", - "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", - "shasum": "" - }, - "require": { - "php": ">=5.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Seld\\PharUtils\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be" - } - ], - "description": "PHAR file format utilities, for when PHP phars you up", - "keywords": [ - "phar" - ], - "support": { - "issues": "https://github.com/Seldaek/phar-utils/issues", - "source": "https://github.com/Seldaek/phar-utils/tree/1.2.1" - }, - "time": "2022-08-31T10:31:18+00:00" - }, - { - "name": "seld/signal-handler", - "version": "2.0.2", - "source": { - "type": "git", - "url": "https://github.com/Seldaek/signal-handler.git", - "reference": "04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Seldaek/signal-handler/zipball/04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98", - "reference": "04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98", - "shasum": "" - }, - "require": { - "php": ">=7.2.0" - }, - "require-dev": { - "phpstan/phpstan": "^1", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1", - "phpstan/phpstan-strict-rules": "^1.3", - "phpunit/phpunit": "^7.5.20 || ^8.5.23", - "psr/log": "^1 || ^2 || ^3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - } - }, - "autoload": { - "psr-4": { - "Seld\\Signal\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - } - ], - "description": "Simple unix signal handler that silently fails where signals are not supported for easy cross-platform development", - "keywords": [ - "posix", - "sigint", - "signal", - "sigterm", - "unix" - ], - "support": { - "issues": "https://github.com/Seldaek/signal-handler/issues", - "source": "https://github.com/Seldaek/signal-handler/tree/2.0.2" - }, - "time": "2023-09-03T09:24:00+00:00" - }, - { - "name": "squizlabs/php_codesniffer", - "version": "3.8.0", - "source": { - "type": "git", - "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "5805f7a4e4958dbb5e944ef1e6edae0a303765e7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/5805f7a4e4958dbb5e944ef1e6edae0a303765e7", - "reference": "5805f7a4e4958dbb5e944ef1e6edae0a303765e7", - "shasum": "" - }, - "require": { - "ext-simplexml": "*", - "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": ">=5.4.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0" - }, - "bin": [ - "bin/phpcs", - "bin/phpcbf" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Greg Sherwood", - "role": "Former lead" - }, - { - "name": "Juliette Reinders Folmer", - "role": "Current lead" - }, - { - "name": "Contributors", - "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors" - } - ], - "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", - "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer", - "keywords": [ - "phpcs", - "standards", - "static analysis" - ], - "support": { - "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues", - "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy", - "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer", - "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki" - }, - "funding": [ - { - "url": "https://github.com/PHPCSStandards", - "type": "github" - }, - { - "url": "https://github.com/jrfnl", - "type": "github" - }, - { - "url": "https://opencollective.com/php_codesniffer", - "type": "open_collective" - } - ], - "time": "2023-12-08T12:32:31+00:00" - }, - { - "name": "symfony/console", - "version": "v7.0.4", - "source": { - "type": "git", - "url": "https://github.com/symfony/console.git", - "reference": "6b099f3306f7c9c2d2786ed736d0026b2903205f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/6b099f3306f7c9c2d2786ed736d0026b2903205f", - "reference": "6b099f3306f7c9c2d2786ed736d0026b2903205f", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/polyfill-mbstring": "~1.0", - "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^6.4|^7.0" - }, - "conflict": { - "symfony/dependency-injection": "<6.4", - "symfony/dotenv": "<6.4", - "symfony/event-dispatcher": "<6.4", - "symfony/lock": "<6.4", - "symfony/process": "<6.4" - }, - "provide": { - "psr/log-implementation": "1.0|2.0|3.0" - }, - "require-dev": { - "psr/log": "^1|^2|^3", - "symfony/config": "^6.4|^7.0", - "symfony/dependency-injection": "^6.4|^7.0", - "symfony/event-dispatcher": "^6.4|^7.0", - "symfony/http-foundation": "^6.4|^7.0", - "symfony/http-kernel": "^6.4|^7.0", - "symfony/lock": "^6.4|^7.0", - "symfony/messenger": "^6.4|^7.0", - "symfony/process": "^6.4|^7.0", - "symfony/stopwatch": "^6.4|^7.0", - "symfony/var-dumper": "^6.4|^7.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Console\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Eases the creation of beautiful and testable command line interfaces", - "homepage": "https://symfony.com", - "keywords": [ - "cli", - "command-line", - "console", - "terminal" - ], - "support": { - "source": "https://github.com/symfony/console/tree/v7.0.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-02-22T20:27:20+00:00" - }, - { - "name": "symfony/filesystem", - "version": "v7.0.3", - "source": { - "type": "git", - "url": "https://github.com/symfony/filesystem.git", - "reference": "2890e3a825bc0c0558526c04499c13f83e1b6b12" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/2890e3a825bc0c0558526c04499c13f83e1b6b12", - "reference": "2890e3a825bc0c0558526c04499c13f83e1b6b12", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.8" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Filesystem\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides basic utilities for the filesystem", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/filesystem/tree/v7.0.3" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-01-23T15:02:46+00:00" - }, - { - "name": "symfony/finder", - "version": "v7.0.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/finder.git", - "reference": "6e5688d69f7cfc4ed4a511e96007e06c2d34ce56" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/6e5688d69f7cfc4ed4a511e96007e06c2d34ce56", - "reference": "6e5688d69f7cfc4ed4a511e96007e06c2d34ce56", - "shasum": "" - }, - "require": { - "php": ">=8.2" - }, - "require-dev": { - "symfony/filesystem": "^6.4|^7.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Finder\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Finds files and directories via an intuitive fluent interface", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/finder/tree/v7.0.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-10-31T17:59:56+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "v1.29.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/32a9da87d7b3245e09ac426c83d334ae9f06f80f", - "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "type": "library", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.29.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-01-29T20:11:03+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "v1.29.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "bc45c394692b948b4d383a08d7753968bed9a83d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/bc45c394692b948b4d383a08d7753968bed9a83d", - "reference": "bc45c394692b948b4d383a08d7753968bed9a83d", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "type": "library", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.29.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-01-29T20:11:03+00:00" - }, - { - "name": "symfony/polyfill-php73", - "version": "v1.29.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "21bd091060673a1177ae842c0ef8fe30893114d2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/21bd091060673a1177ae842c0ef8fe30893114d2", - "reference": "21bd091060673a1177ae842c0ef8fe30893114d2", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.29.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-01-29T20:11:03+00:00" - }, - { - "name": "symfony/polyfill-php81", - "version": "v1.29.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "c565ad1e63f30e7477fc40738343c62b40bc672d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/c565ad1e63f30e7477fc40738343c62b40bc672d", - "reference": "c565ad1e63f30e7477fc40738343c62b40bc672d", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php81\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.29.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-01-29T20:11:03+00:00" - }, - { - "name": "symfony/process", - "version": "v7.0.4", - "source": { - "type": "git", - "url": "https://github.com/symfony/process.git", - "reference": "0e7727191c3b71ebec6d529fa0e50a01ca5679e9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/0e7727191c3b71ebec6d529fa0e50a01ca5679e9", - "reference": "0e7727191c3b71ebec6d529fa0e50a01ca5679e9", - "shasum": "" - }, - "require": { - "php": ">=8.2" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Process\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Executes commands in sub-processes", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/process/tree/v7.0.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-02-22T20:27:20+00:00" - }, - { - "name": "symfony/service-contracts", - "version": "v3.4.1", - "source": { - "type": "git", - "url": "https://github.com/symfony/service-contracts.git", - "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/fe07cbc8d837f60caf7018068e350cc5163681a0", - "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0", - "shasum": "" - }, - "require": { - "php": ">=8.1", - "psr/container": "^1.1|^2.0" - }, - "conflict": { - "ext-psr": "<1.1|>=2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.4-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Contracts\\Service\\": "" - }, - "exclude-from-classmap": [ - "/Test/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Generic abstractions related to writing services", - "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], - "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.4.1" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-12-26T14:02:43+00:00" - }, - { - "name": "symfony/string", - "version": "v7.0.4", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "f5832521b998b0bec40bee688ad5de98d4cf111b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/f5832521b998b0bec40bee688ad5de98d4cf111b", - "reference": "f5832521b998b0bec40bee688ad5de98d4cf111b", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.0", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/error-handler": "^6.4|^7.0", - "symfony/http-client": "^6.4|^7.0", - "symfony/intl": "^6.4|^7.0", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/v7.0.4" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-02-01T13:17:36+00:00" - }, - { - "name": "wp-cli/cache-command", - "version": "v2.1.2", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/cache-command.git", - "reference": "205c004ce6127c605e4a71840a6f0b5be72b0517" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/cache-command/zipball/205c004ce6127c605e4a71840a6f0b5be72b0517", - "reference": "205c004ce6127c605e4a71840a6f0b5be72b0517", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "cache", - "cache add", - "cache decr", - "cache delete", - "cache flush", - "cache flush-group", - "cache get", - "cache incr", - "cache replace", - "cache set", - "cache supports", - "cache type", - "transient", - "transient delete", - "transient get", - "transient set", - "transient type", - "transient list" - ] - }, - "autoload": { - "files": [ - "cache-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Manages object and transient caches.", - "homepage": "https://github.com/wp-cli/cache-command", - "support": { - "issues": "https://github.com/wp-cli/cache-command/issues", - "source": "https://github.com/wp-cli/cache-command/tree/v2.1.2" - }, - "time": "2024-01-11T14:00:20+00:00" - }, - { - "name": "wp-cli/checksum-command", - "version": "v2.2.5", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/checksum-command.git", - "reference": "f6911998734018da08f75464a168feb0d07b4475" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/checksum-command/zipball/f6911998734018da08f75464a168feb0d07b4475", - "reference": "f6911998734018da08f75464a168feb0d07b4475", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "core verify-checksums", - "plugin verify-checksums" - ] - }, - "autoload": { - "files": [ - "checksum-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Verifies file integrity by comparing to published checksums.", - "homepage": "https://github.com/wp-cli/checksum-command", - "support": { - "issues": "https://github.com/wp-cli/checksum-command/issues", - "source": "https://github.com/wp-cli/checksum-command/tree/v2.2.5" - }, - "time": "2023-11-10T21:54:15+00:00" - }, - { - "name": "wp-cli/config-command", - "version": "v2.3.3", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/config-command.git", - "reference": "890b6e3c8fd945dcad2bff4bf565ba6dfb33e35d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/config-command/zipball/890b6e3c8fd945dcad2bff4bf565ba6dfb33e35d", - "reference": "890b6e3c8fd945dcad2bff4bf565ba6dfb33e35d", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5", - "wp-cli/wp-config-transformer": "^1.2.1" - }, - "require-dev": { - "wp-cli/db-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^4.2.8" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "config", - "config edit", - "config delete", - "config create", - "config get", - "config has", - "config is-true", - "config list", - "config path", - "config set", - "config shuffle-salts" - ] - }, - "autoload": { - "files": [ - "config-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - }, - { - "name": "Alain Schlesser", - "email": "alain.schlesser@gmail.com", - "homepage": "https://www.alainschlesser.com" - } - ], - "description": "Generates and reads the wp-config.php file.", - "homepage": "https://github.com/wp-cli/config-command", - "support": { - "issues": "https://github.com/wp-cli/config-command/issues", - "source": "https://github.com/wp-cli/config-command/tree/v2.3.3" - }, - "time": "2023-12-21T10:01:16+00:00" - }, - { - "name": "wp-cli/core-command", - "version": "v2.1.17", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/core-command.git", - "reference": "dcac4c36a3c596f1c81779bdbaa0c5f508f14075" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/core-command/zipball/dcac4c36a3c596f1c81779bdbaa0c5f508f14075", - "reference": "dcac4c36a3c596f1c81779bdbaa0c5f508f14075", - "shasum": "" - }, - "require": { - "composer/semver": "^1.4 || ^2 || ^3", - "wp-cli/wp-cli": "^2.5.1" - }, - "require-dev": { - "wp-cli/checksum-command": "^1 || ^2", - "wp-cli/db-command": "^1.3 || ^2", - "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "core", - "core check-update", - "core download", - "core install", - "core is-installed", - "core multisite-convert", - "core multisite-install", - "core update", - "core update-db", - "core version" - ] - }, - "autoload": { - "files": [ - "core-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Downloads, installs, updates, and manages a WordPress installation.", - "homepage": "https://github.com/wp-cli/core-command", - "support": { - "issues": "https://github.com/wp-cli/core-command/issues", - "source": "https://github.com/wp-cli/core-command/tree/v2.1.17" - }, - "time": "2024-01-11T11:03:57+00:00" - }, - { - "name": "wp-cli/cron-command", - "version": "v2.2.3", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/cron-command.git", - "reference": "bc7e4bd2f441a5bb3b311e1419be2b05ed53146d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/cron-command/zipball/bc7e4bd2f441a5bb3b311e1419be2b05ed53146d", - "reference": "bc7e4bd2f441a5bb3b311e1419be2b05ed53146d", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/eval-command": "^2.0", - "wp-cli/server-command": "^2.0", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "cron", - "cron test", - "cron event", - "cron event delete", - "cron event list", - "cron event run", - "cron event schedule", - "cron schedule", - "cron schedule list", - "cron event unschedule" - ] - }, - "autoload": { - "files": [ - "cron-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Tests, runs, and deletes WP-Cron events; manages WP-Cron schedules.", - "homepage": "https://github.com/wp-cli/cron-command", - "support": { - "issues": "https://github.com/wp-cli/cron-command/issues", - "source": "https://github.com/wp-cli/cron-command/tree/v2.2.3" - }, - "time": "2023-08-30T13:31:32+00:00" - }, - { - "name": "wp-cli/db-command", - "version": "v2.0.27", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/db-command.git", - "reference": "eea28dd115fb381c82641a2a3060856d3a67242d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/db-command/zipball/eea28dd115fb381c82641a2a3060856d3a67242d", - "reference": "eea28dd115fb381c82641a2a3060856d3a67242d", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "db", - "db clean", - "db create", - "db drop", - "db reset", - "db check", - "db optimize", - "db prefix", - "db repair", - "db cli", - "db query", - "db export", - "db import", - "db search", - "db tables", - "db size", - "db columns" - ] - }, - "autoload": { - "files": [ - "db-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Performs basic database operations using credentials stored in wp-config.php.", - "homepage": "https://github.com/wp-cli/db-command", - "support": { - "issues": "https://github.com/wp-cli/db-command/issues", - "source": "https://github.com/wp-cli/db-command/tree/v2.0.27" - }, - "time": "2023-11-13T12:34:44+00:00" - }, - { - "name": "wp-cli/embed-command", - "version": "v2.0.15", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/embed-command.git", - "reference": "3987e2051354eaad842c8612ea9255493534c589" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/embed-command/zipball/3987e2051354eaad842c8612ea9255493534c589", - "reference": "3987e2051354eaad842c8612ea9255493534c589", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "embed", - "embed fetch", - "embed provider", - "embed provider list", - "embed provider match", - "embed handler", - "embed handler list", - "embed cache", - "embed cache clear", - "embed cache find", - "embed cache trigger" - ] - }, - "autoload": { - "files": [ - "embed-command.php" - ], - "psr-4": { - "WP_CLI\\Embeds\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Pascal Birchler", - "homepage": "https://pascalbirchler.com/" - } - ], - "description": "Inspects oEmbed providers, clears embed cache, and more.", - "homepage": "https://github.com/wp-cli/embed-command", - "support": { - "issues": "https://github.com/wp-cli/embed-command/issues", - "source": "https://github.com/wp-cli/embed-command/tree/v2.0.15" - }, - "time": "2023-08-30T15:52:06+00:00" - }, - { - "name": "wp-cli/entity-command", - "version": "v2.6.2", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/entity-command.git", - "reference": "2b5d5d54550edb7383ebaa77fb3a2d53871ba19a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/entity-command/zipball/2b5d5d54550edb7383ebaa77fb3a2d53871ba19a", - "reference": "2b5d5d54550edb7383ebaa77fb3a2d53871ba19a", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.10" - }, - "require-dev": { - "wp-cli/cache-command": "^1 || ^2", - "wp-cli/db-command": "^1.3 || ^2", - "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/media-command": "^1.1 || ^2", - "wp-cli/super-admin-command": "^1 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "comment", - "comment approve", - "comment count", - "comment create", - "comment delete", - "comment exists", - "comment generate", - "comment get", - "comment list", - "comment meta", - "comment meta add", - "comment meta delete", - "comment meta get", - "comment meta list", - "comment meta patch", - "comment meta pluck", - "comment meta update", - "comment recount", - "comment spam", - "comment status", - "comment trash", - "comment unapprove", - "comment unspam", - "comment untrash", - "comment update", - "menu", - "menu create", - "menu delete", - "menu item", - "menu item add-custom", - "menu item add-post", - "menu item add-term", - "menu item delete", - "menu item list", - "menu item update", - "menu list", - "menu location", - "menu location assign", - "menu location list", - "menu location remove", - "network meta", - "network meta add", - "network meta delete", - "network meta get", - "network meta list", - "network meta patch", - "network meta pluck", - "network meta update", - "option", - "option add", - "option delete", - "option get", - "option list", - "option patch", - "option pluck", - "option update", - "option set-autoload", - "option get-autoload", - "post", - "post create", - "post delete", - "post edit", - "post exists", - "post generate", - "post get", - "post list", - "post meta", - "post meta add", - "post meta clean-duplicates", - "post meta delete", - "post meta get", - "post meta list", - "post meta patch", - "post meta pluck", - "post meta update", - "post term", - "post term add", - "post term list", - "post term remove", - "post term set", - "post update", - "post url-to-id", - "post-type", - "post-type get", - "post-type list", - "site", - "site activate", - "site archive", - "site create", - "site deactivate", - "site delete", - "site empty", - "site list", - "site mature", - "site option", - "site private", - "site public", - "site spam", - "site unarchive", - "site unmature", - "site unspam", - "taxonomy", - "taxonomy get", - "taxonomy list", - "term", - "term create", - "term delete", - "term generate", - "term get", - "term list", - "term meta", - "term meta add", - "term meta delete", - "term meta get", - "term meta list", - "term meta patch", - "term meta pluck", - "term meta update", - "term recount", - "term update", - "user", - "user add-cap", - "user add-role", - "user create", - "user delete", - "user generate", - "user get", - "user import-csv", - "user list", - "user list-caps", - "user meta", - "user meta add", - "user meta delete", - "user meta get", - "user meta list", - "user meta patch", - "user meta pluck", - "user meta update", - "user remove-cap", - "user remove-role", - "user reset-password", - "user session", - "user session destroy", - "user session list", - "user set-role", - "user spam", - "user term", - "user term add", - "user term list", - "user term remove", - "user term set", - "user unspam", - "user update" - ] - }, - "autoload": { - "files": [ - "entity-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Manage WordPress comments, menus, options, posts, sites, terms, and users.", - "homepage": "https://github.com/wp-cli/entity-command", - "support": { - "issues": "https://github.com/wp-cli/entity-command/issues", - "source": "https://github.com/wp-cli/entity-command/tree/v2.6.2" - }, - "time": "2024-02-06T13:38:03+00:00" - }, - { - "name": "wp-cli/eval-command", - "version": "v2.2.4", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/eval-command.git", - "reference": "5a9c605ae52d118f582693209d2f1c5c4f214b76" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/eval-command/zipball/5a9c605ae52d118f582693209d2f1c5c4f214b76", - "reference": "5a9c605ae52d118f582693209d2f1c5c4f214b76", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "eval", - "eval-file" - ] - }, - "autoload": { - "files": [ - "eval-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Executes arbitrary PHP code or files.", - "homepage": "https://github.com/wp-cli/eval-command", - "support": { - "issues": "https://github.com/wp-cli/eval-command/issues", - "source": "https://github.com/wp-cli/eval-command/tree/v2.2.4" - }, - "time": "2023-08-30T14:51:36+00:00" - }, - { - "name": "wp-cli/export-command", - "version": "v2.1.12", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/export-command.git", - "reference": "31e3d714ac6d6f0af613c34b33dbc02b85dc2e68" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/export-command/zipball/31e3d714ac6d6f0af613c34b33dbc02b85dc2e68", - "reference": "31e3d714ac6d6f0af613c34b33dbc02b85dc2e68", - "shasum": "" - }, - "require": { - "nb/oxymel": "~0.1.0", - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/db-command": "^1.3 || ^2", - "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/import-command": "^1 || ^2", - "wp-cli/media-command": "^1 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "export" - ] - }, - "autoload": { - "files": [ - "export-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Exports WordPress content to a WXR file.", - "homepage": "https://github.com/wp-cli/export-command", - "support": { - "issues": "https://github.com/wp-cli/export-command/issues", - "source": "https://github.com/wp-cli/export-command/tree/v2.1.12" - }, - "time": "2023-09-18T21:41:00+00:00" - }, - { - "name": "wp-cli/extension-command", - "version": "v2.1.19", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/extension-command.git", - "reference": "80713703e090fbc74926af6f75bf963619f76fdb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/extension-command/zipball/80713703e090fbc74926af6f75bf963619f76fdb", - "reference": "80713703e090fbc74926af6f75bf963619f76fdb", - "shasum": "" - }, - "require": { - "composer/semver": "^1.4 || ^2 || ^3", - "wp-cli/wp-cli": "^2.10" - }, - "require-dev": { - "wp-cli/cache-command": "^2.0", - "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/language-command": "^2.0", - "wp-cli/scaffold-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "plugin", - "plugin activate", - "plugin deactivate", - "plugin delete", - "plugin get", - "plugin install", - "plugin is-installed", - "plugin list", - "plugin path", - "plugin search", - "plugin status", - "plugin toggle", - "plugin uninstall", - "plugin update", - "theme", - "theme activate", - "theme delete", - "theme disable", - "theme enable", - "theme get", - "theme install", - "theme is-installed", - "theme list", - "theme mod", - "theme mod get", - "theme mod set", - "theme mod remove", - "theme path", - "theme search", - "theme status", - "theme update", - "theme mod list" - ] - }, - "autoload": { - "files": [ - "extension-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - }, - { - "name": "Alain Schlesser", - "email": "alain.schlesser@gmail.com", - "homepage": "https://www.alainschlesser.com" - } - ], - "description": "Manages plugins and themes, including installs, activations, and updates.", - "homepage": "https://github.com/wp-cli/extension-command", - "support": { - "issues": "https://github.com/wp-cli/extension-command/issues", - "source": "https://github.com/wp-cli/extension-command/tree/v2.1.19" - }, - "time": "2024-02-05T14:53:09+00:00" - }, - { - "name": "wp-cli/i18n-command", - "version": "2.6.1", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/i18n-command.git", - "reference": "7538d684d4f06b0e10c8a0166ce4e6d9e1687aa1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/i18n-command/zipball/7538d684d4f06b0e10c8a0166ce4e6d9e1687aa1", - "reference": "7538d684d4f06b0e10c8a0166ce4e6d9e1687aa1", - "shasum": "" - }, - "require": { - "eftec/bladeone": "3.52", - "gettext/gettext": "^4.8", - "mck89/peast": "^1.13.11", - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/scaffold-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "suggest": { - "ext-json": "Used for reading and generating JSON translation files", - "ext-mbstring": "Used for calculating include/exclude matches in code extraction" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "i18n", - "i18n make-pot", - "i18n make-json", - "i18n make-mo", - "i18n make-php", - "i18n update-po" - ] - }, - "autoload": { - "files": [ - "i18n-command.php" - ], - "psr-4": { - "WP_CLI\\I18n\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Pascal Birchler", - "homepage": "https://pascalbirchler.com/" - } - ], - "description": "Provides internationalization tools for WordPress projects.", - "homepage": "https://github.com/wp-cli/i18n-command", - "support": { - "issues": "https://github.com/wp-cli/i18n-command/issues", - "source": "https://github.com/wp-cli/i18n-command/tree/2.6.1" - }, - "time": "2024-02-28T11:27:34+00:00" - }, - { - "name": "wp-cli/import-command", - "version": "v2.0.12", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/import-command.git", - "reference": "7aafa54bf7c122dfbd777b5e5fbb5907af38e504" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/import-command/zipball/7aafa54bf7c122dfbd777b5e5fbb5907af38e504", - "reference": "7aafa54bf7c122dfbd777b5e5fbb5907af38e504", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/export-command": "^1 || ^2", - "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "import" - ] - }, - "autoload": { - "files": [ - "import-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Imports content from a given WXR file.", - "homepage": "https://github.com/wp-cli/import-command", - "support": { - "issues": "https://github.com/wp-cli/import-command/issues", - "source": "https://github.com/wp-cli/import-command/tree/v2.0.12" - }, - "time": "2023-08-30T15:53:58+00:00" - }, - { - "name": "wp-cli/language-command", - "version": "v2.0.19", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/language-command.git", - "reference": "4d0a2e58f8c48772e0a85a3b25f413ef240c212a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/language-command/zipball/4d0a2e58f8c48772e0a85a3b25f413ef240c212a", - "reference": "4d0a2e58f8c48772e0a85a3b25f413ef240c212a", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/db-command": "^1.3 || ^2", - "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "language", - "language core", - "language core activate", - "language core is-installed", - "language core install", - "language core list", - "language core uninstall", - "language core update", - "language plugin", - "language plugin is-installed", - "language plugin install", - "language plugin list", - "language plugin uninstall", - "language plugin update", - "language theme", - "language theme is-installed", - "language theme install", - "language theme list", - "language theme uninstall", - "language theme update" - ] - }, - "autoload": { - "files": [ - "language-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Installs, activates, and manages language packs.", - "homepage": "https://github.com/wp-cli/language-command", - "support": { - "issues": "https://github.com/wp-cli/language-command/issues", - "source": "https://github.com/wp-cli/language-command/tree/v2.0.19" - }, - "time": "2024-02-01T14:28:11+00:00" - }, - { - "name": "wp-cli/maintenance-mode-command", - "version": "v2.1.0", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/maintenance-mode-command.git", - "reference": "2e9845a1cd1678b960dd8d0dd0c936648113788c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/maintenance-mode-command/zipball/2e9845a1cd1678b960dd8d0dd0c936648113788c", - "reference": "2e9845a1cd1678b960dd8d0dd0c936648113788c", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "maintenance-mode", - "maintenance-mode activate", - "maintenance-mode deactivate", - "maintenance-mode status", - "maintenance-mode is-active" - ] - }, - "autoload": { - "files": [ - "maintenance-mode-command.php" - ], - "psr-4": { - "WP_CLI\\MaintenanceMode\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Thrijith Thankachan", - "email": "thrijith13@gmail.com", - "homepage": "https://thrijith.com" - } - ], - "description": "Activates, deactivates or checks the status of the maintenance mode of a site.", - "homepage": "https://github.com/wp-cli/maintenance-mode-command", - "support": { - "issues": "https://github.com/wp-cli/maintenance-mode-command/issues", - "source": "https://github.com/wp-cli/maintenance-mode-command/tree/v2.1.0" - }, - "time": "2023-11-06T14:04:13+00:00" - }, - { - "name": "wp-cli/media-command", - "version": "v2.0.21", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/media-command.git", - "reference": "4950ed4ded35c52068d30fec080d545a33baa85c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/media-command/zipball/4950ed4ded35c52068d30fec080d545a33baa85c", - "reference": "4950ed4ded35c52068d30fec080d545a33baa85c", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/extension-command": "^2.0", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "media", - "media import", - "media regenerate", - "media image-size" - ] - }, - "autoload": { - "files": [ - "media-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Imports files as attachments, regenerates thumbnails, or lists registered image sizes.", - "homepage": "https://github.com/wp-cli/media-command", - "support": { - "issues": "https://github.com/wp-cli/media-command/issues", - "source": "https://github.com/wp-cli/media-command/tree/v2.0.21" - }, - "time": "2023-11-10T21:56:52+00:00" - }, - { - "name": "wp-cli/mustangostang-spyc", - "version": "0.6.3", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/spyc.git", - "reference": "6aa0b4da69ce9e9a2c8402dab8d43cf32c581cc7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/spyc/zipball/6aa0b4da69ce9e9a2c8402dab8d43cf32c581cc7", - "reference": "6aa0b4da69ce9e9a2c8402dab8d43cf32c581cc7", - "shasum": "" - }, - "require": { - "php": ">=5.3.1" - }, - "require-dev": { - "phpunit/phpunit": "4.3.*@dev" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.5.x-dev" - } - }, - "autoload": { - "files": [ - "includes/functions.php" - ], - "psr-4": { - "Mustangostang\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "mustangostang", - "email": "vlad.andersen@gmail.com" - } - ], - "description": "A simple YAML loader/dumper class for PHP (WP-CLI fork)", - "homepage": "https://github.com/mustangostang/spyc/", - "support": { - "source": "https://github.com/wp-cli/spyc/tree/autoload" - }, - "time": "2017-04-25T11:26:20+00:00" - }, - { - "name": "wp-cli/package-command", - "version": "v2.5.0", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/package-command.git", - "reference": "71683195f8c27ad97009628e2a72d2a4155503b2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/package-command/zipball/71683195f8c27ad97009628e2a72d2a4155503b2", - "reference": "71683195f8c27ad97009628e2a72d2a4155503b2", - "shasum": "" - }, - "require": { - "composer/composer": "^1.10.23 || ^2.2.17", - "ext-json": "*", - "wp-cli/wp-cli": "^2.8" - }, - "require-dev": { - "wp-cli/scaffold-command": "^1 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "package", - "package browse", - "package install", - "package list", - "package update", - "package uninstall" - ] - }, - "autoload": { - "files": [ - "package-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Lists, installs, and removes WP-CLI packages.", - "homepage": "https://github.com/wp-cli/package-command", - "support": { - "issues": "https://github.com/wp-cli/package-command/issues", - "source": "https://github.com/wp-cli/package-command/tree/v2.5.0" - }, - "time": "2023-12-08T10:38:16+00:00" - }, - { - "name": "wp-cli/php-cli-tools", - "version": "v0.11.22", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/php-cli-tools.git", - "reference": "a6bb94664ca36d0962f9c2ff25591c315a550c51" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/php-cli-tools/zipball/a6bb94664ca36d0962f9c2ff25591c315a550c51", - "reference": "a6bb94664ca36d0962f9c2ff25591c315a550c51", - "shasum": "" - }, - "require": { - "php": ">= 5.3.0" - }, - "require-dev": { - "roave/security-advisories": "dev-latest", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.11.x-dev" - } - }, - "autoload": { - "files": [ - "lib/cli/cli.php" - ], - "psr-0": { - "cli": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@handbuilt.co", - "role": "Maintainer" - }, - { - "name": "James Logsdon", - "email": "jlogsdon@php.net", - "role": "Developer" - } - ], - "description": "Console utilities for PHP", - "homepage": "http://github.com/wp-cli/php-cli-tools", - "keywords": [ - "cli", - "console" - ], - "support": { - "issues": "https://github.com/wp-cli/php-cli-tools/issues", - "source": "https://github.com/wp-cli/php-cli-tools/tree/v0.11.22" - }, - "time": "2023-12-03T19:25:05+00:00" - }, - { - "name": "wp-cli/rewrite-command", - "version": "v2.0.13", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/rewrite-command.git", - "reference": "293f9de9905b9d0199d72ff0d17e837228e47a10" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/rewrite-command/zipball/293f9de9905b9d0199d72ff0d17e837228e47a10", - "reference": "293f9de9905b9d0199d72ff0d17e837228e47a10", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "rewrite", - "rewrite flush", - "rewrite list", - "rewrite structure" - ] - }, - "autoload": { - "files": [ - "rewrite-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Lists or flushes the site's rewrite rules, updates the permalink structure.", - "homepage": "https://github.com/wp-cli/rewrite-command", - "support": { - "issues": "https://github.com/wp-cli/rewrite-command/issues", - "source": "https://github.com/wp-cli/rewrite-command/tree/v2.0.13" - }, - "time": "2023-08-30T15:25:42+00:00" - }, - { - "name": "wp-cli/role-command", - "version": "v2.0.14", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/role-command.git", - "reference": "7680178016a1811421897aeb9eeae9e81e6893ac" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/role-command/zipball/7680178016a1811421897aeb9eeae9e81e6893ac", - "reference": "7680178016a1811421897aeb9eeae9e81e6893ac", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "role", - "role create", - "role delete", - "role exists", - "role list", - "role reset", - "cap", - "cap add", - "cap list", - "cap remove" - ] - }, - "autoload": { - "files": [ - "role-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Adds, removes, lists, and resets roles and capabilities.", - "homepage": "https://github.com/wp-cli/role-command", - "support": { - "issues": "https://github.com/wp-cli/role-command/issues", - "source": "https://github.com/wp-cli/role-command/tree/v2.0.14" - }, - "time": "2023-08-30T16:18:53+00:00" - }, - { - "name": "wp-cli/scaffold-command", - "version": "v2.2.0", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/scaffold-command.git", - "reference": "8aa906c3ec6ae7d95f38c962fc2561714f9c7145" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/scaffold-command/zipball/8aa906c3ec6ae7d95f38c962fc2561714f9c7145", - "reference": "8aa906c3ec6ae7d95f38c962fc2561714f9c7145", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "scaffold", - "scaffold underscores", - "scaffold block", - "scaffold child-theme", - "scaffold plugin", - "scaffold plugin-tests", - "scaffold post-type", - "scaffold taxonomy", - "scaffold theme-tests" - ] - }, - "autoload": { - "files": [ - "scaffold-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Generates code for post types, taxonomies, blocks, plugins, child themes, etc.", - "homepage": "https://github.com/wp-cli/scaffold-command", - "support": { - "issues": "https://github.com/wp-cli/scaffold-command/issues", - "source": "https://github.com/wp-cli/scaffold-command/tree/v2.2.0" - }, - "time": "2023-11-16T15:25:33+00:00" - }, - { - "name": "wp-cli/search-replace-command", - "version": "v2.1.5", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/search-replace-command.git", - "reference": "f6c828abc6d5054d5bbf202b917d2a3b38abed84" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/search-replace-command/zipball/f6c828abc6d5054d5bbf202b917d2a3b38abed84", - "reference": "f6c828abc6d5054d5bbf202b917d2a3b38abed84", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/db-command": "^1.3 || ^2", - "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "search-replace" - ] - }, - "autoload": { - "files": [ - "search-replace-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Searches/replaces strings in the database.", - "homepage": "https://github.com/wp-cli/search-replace-command", - "support": { - "issues": "https://github.com/wp-cli/search-replace-command/issues", - "source": "https://github.com/wp-cli/search-replace-command/tree/v2.1.5" - }, - "time": "2024-01-09T00:29:39+00:00" - }, - { - "name": "wp-cli/server-command", - "version": "v2.0.13", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/server-command.git", - "reference": "42babfa0fdd517cd8bdd66528b3c9027d6d14a29" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/server-command/zipball/42babfa0fdd517cd8bdd66528b3c9027d6d14a29", - "reference": "42babfa0fdd517cd8bdd66528b3c9027d6d14a29", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/entity-command": "^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "server" - ] - }, - "autoload": { - "files": [ - "server-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Launches PHP's built-in web server for a specific WordPress installation.", - "homepage": "https://github.com/wp-cli/server-command", - "support": { - "issues": "https://github.com/wp-cli/server-command/issues", - "source": "https://github.com/wp-cli/server-command/tree/v2.0.13" - }, - "time": "2023-08-30T15:27:57+00:00" - }, - { - "name": "wp-cli/shell-command", - "version": "v2.0.14", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/shell-command.git", - "reference": "f470d04a597e294ef29ad73dace9d4de98df7c42" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/shell-command/zipball/f470d04a597e294ef29ad73dace9d4de98df7c42", - "reference": "f470d04a597e294ef29ad73dace9d4de98df7c42", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "shell" - ] - }, - "autoload": { - "files": [ - "shell-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Opens an interactive PHP console for running and testing PHP code.", - "homepage": "https://github.com/wp-cli/shell-command", - "support": { - "issues": "https://github.com/wp-cli/shell-command/issues", - "source": "https://github.com/wp-cli/shell-command/tree/v2.0.14" - }, - "time": "2023-08-30T15:58:08+00:00" - }, - { - "name": "wp-cli/super-admin-command", - "version": "v2.0.13", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/super-admin-command.git", - "reference": "9d91c131ad814f9bcec313c3877e8348622720d5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/super-admin-command/zipball/9d91c131ad814f9bcec313c3877e8348622720d5", - "reference": "9d91c131ad814f9bcec313c3877e8348622720d5", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "super-admin", - "super-admin add", - "super-admin list", - "super-admin remove" - ] - }, - "autoload": { - "files": [ - "super-admin-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Lists, adds, or removes super admin users on a multisite installation.", - "homepage": "https://github.com/wp-cli/super-admin-command", - "support": { - "issues": "https://github.com/wp-cli/super-admin-command/issues", - "source": "https://github.com/wp-cli/super-admin-command/tree/v2.0.13" - }, - "time": "2024-01-08T12:21:39+00:00" - }, - { - "name": "wp-cli/widget-command", - "version": "v2.1.9", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/widget-command.git", - "reference": "fa67eb62b3b0248014f48fb1280bfdea2eb96712" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/widget-command/zipball/fa67eb62b3b0248014f48fb1280bfdea2eb96712", - "reference": "fa67eb62b3b0248014f48fb1280bfdea2eb96712", - "shasum": "" - }, - "require": { - "wp-cli/wp-cli": "^2.5" - }, - "require-dev": { - "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^4" - }, - "type": "wp-cli-package", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - }, - "bundled": true, - "commands": [ - "widget", - "widget add", - "widget deactivate", - "widget delete", - "widget list", - "widget move", - "widget reset", - "widget update", - "sidebar", - "sidebar list" - ] - }, - "autoload": { - "files": [ - "widget-command.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Bachhuber", - "email": "daniel@runcommand.io", - "homepage": "https://runcommand.io" - } - ], - "description": "Adds, moves, and removes widgets; lists sidebars.", - "homepage": "https://github.com/wp-cli/widget-command", - "support": { - "issues": "https://github.com/wp-cli/widget-command/issues", - "source": "https://github.com/wp-cli/widget-command/tree/v2.1.9" - }, - "time": "2023-08-30T15:52:58+00:00" - }, - { - "name": "wp-cli/wp-cli", - "version": "v2.10.0", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/wp-cli.git", - "reference": "a339dca576df73c31af4b4d8054efc2dab9a0685" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/a339dca576df73c31af4b4d8054efc2dab9a0685", - "reference": "a339dca576df73c31af4b4d8054efc2dab9a0685", - "shasum": "" - }, - "require": { - "ext-curl": "*", - "mustache/mustache": "^2.14.1", - "php": "^5.6 || ^7.0 || ^8.0", - "symfony/finder": ">2.7", - "wp-cli/mustangostang-spyc": "^0.6.3", - "wp-cli/php-cli-tools": "~0.11.2" - }, - "require-dev": { - "roave/security-advisories": "dev-latest", - "wp-cli/db-command": "^1.3 || ^2", - "wp-cli/entity-command": "^1.2 || ^2", - "wp-cli/extension-command": "^1.1 || ^2", - "wp-cli/package-command": "^1 || ^2", - "wp-cli/wp-cli-tests": "^4.0.1" - }, - "suggest": { - "ext-readline": "Include for a better --prompt implementation", - "ext-zip": "Needed to support extraction of ZIP archives when doing downloads or updates" - }, - "bin": [ - "bin/wp", - "bin/wp.bat" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.10.x-dev" - } - }, - "autoload": { - "psr-0": { - "WP_CLI\\": "php/" - }, - "classmap": [ - "php/class-wp-cli.php", - "php/class-wp-cli-command.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "WP-CLI framework", - "homepage": "https://wp-cli.org", - "keywords": [ - "cli", - "wordpress" - ], - "support": { - "docs": "https://make.wordpress.org/cli/handbook/", - "issues": "https://github.com/wp-cli/wp-cli/issues", - "source": "https://github.com/wp-cli/wp-cli" - }, - "time": "2024-02-08T16:52:43+00:00" - }, - { - "name": "wp-cli/wp-cli-bundle", - "version": "v2.10.0", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/wp-cli-bundle.git", - "reference": "b795ca19f12bf9605dc8d85235d55a721b43064c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-cli-bundle/zipball/b795ca19f12bf9605dc8d85235d55a721b43064c", - "reference": "b795ca19f12bf9605dc8d85235d55a721b43064c", - "shasum": "" - }, - "require": { - "php": ">=5.6", - "wp-cli/cache-command": "^2", - "wp-cli/checksum-command": "^2.1", - "wp-cli/config-command": "^2.1", - "wp-cli/core-command": "^2.1", - "wp-cli/cron-command": "^2", - "wp-cli/db-command": "^2", - "wp-cli/embed-command": "^2", - "wp-cli/entity-command": "^2", - "wp-cli/eval-command": "^2", - "wp-cli/export-command": "^2", - "wp-cli/extension-command": "^2.1", - "wp-cli/i18n-command": "^2", - "wp-cli/import-command": "^2", - "wp-cli/language-command": "^2", - "wp-cli/maintenance-mode-command": "^2", - "wp-cli/media-command": "^2", - "wp-cli/package-command": "^2.1", - "wp-cli/rewrite-command": "^2", - "wp-cli/role-command": "^2", - "wp-cli/scaffold-command": "^2", - "wp-cli/search-replace-command": "^2", - "wp-cli/server-command": "^2", - "wp-cli/shell-command": "^2", - "wp-cli/super-admin-command": "^2", - "wp-cli/widget-command": "^2", - "wp-cli/wp-cli": "^2.10.0" - }, - "require-dev": { - "roave/security-advisories": "dev-latest", - "wp-cli/wp-cli-tests": "^4" - }, - "suggest": { - "psy/psysh": "Enhanced `wp shell` functionality" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.9.x-dev" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "WP-CLI bundle package with default commands.", - "homepage": "https://wp-cli.org", - "keywords": [ - "cli", - "wordpress" - ], - "support": { - "docs": "https://make.wordpress.org/cli/handbook/", - "issues": "https://github.com/wp-cli/wp-cli-bundle/issues", - "source": "https://github.com/wp-cli/wp-cli-bundle" - }, - "time": "2024-02-08T17:05:33+00:00" - }, - { - "name": "wp-cli/wp-config-transformer", - "version": "v1.3.5", - "source": { - "type": "git", - "url": "https://github.com/wp-cli/wp-config-transformer.git", - "reference": "202aa80528939159d52bc4026cee5453aec382db" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-config-transformer/zipball/202aa80528939159d52bc4026cee5453aec382db", - "reference": "202aa80528939159d52bc4026cee5453aec382db", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0 || ^8.0" - }, - "require-dev": { - "wp-cli/wp-cli-tests": "^4.0" - }, - "type": "library", - "autoload": { - "files": [ - "src/WPConfigTransformer.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Frankie Jarrett", - "email": "fjarrett@gmail.com" - } - ], - "description": "Programmatically edit a wp-config.php file.", - "homepage": "https://github.com/wp-cli/wp-config-transformer", - "support": { - "issues": "https://github.com/wp-cli/wp-config-transformer/issues", - "source": "https://github.com/wp-cli/wp-config-transformer/tree/v1.3.5" - }, - "time": "2023-11-10T14:28:03+00:00" + "time": "2023-12-08T12:32:31+00:00" }, { "name": "wp-coding-standards/wpcs", diff --git a/client-mu-plugins/goodbids/package.json b/client-mu-plugins/goodbids/package.json index 77d3f5198..f0ff7db9b 100644 --- a/client-mu-plugins/goodbids/package.json +++ b/client-mu-plugins/goodbids/package.json @@ -22,7 +22,7 @@ "prepare": "cd ../../ && husky install", "start": "wp-scripts start", "staged": "lint-staged", - "translate": "vendor/bin/wp i18n make-pot ./ ./languages/goodbids.pot", + "translate": "wp i18n make-pot ./ ./languages/goodbids.pot", "test:e2e": "wp-scripts test-e2e", "test:unit": "wp-scripts test-unit-js" }, diff --git a/client-mu-plugins/goodbids/src/classes/Core.php b/client-mu-plugins/goodbids/src/classes/Core.php index f776758da..5c39e010f 100644 --- a/client-mu-plugins/goodbids/src/classes/Core.php +++ b/client-mu-plugins/goodbids/src/classes/Core.php @@ -522,6 +522,22 @@ public function load_view( string $_name, array $_data = [] ): void { require $_path; } + /** + * Get the contents of a view file. + * + * @since 1.0.0 + * + * @param string $_name + * @param array $_data + * + * @return string + */ + public function get_view( string $_name, array $_data = [] ): string { + ob_start(); + $this->load_view( $_name, $_data ); + return ob_get_clean(); + } + /** * Load Text Domain * diff --git a/client-mu-plugins/goodbids/src/classes/Network/Sites.php b/client-mu-plugins/goodbids/src/classes/Network/Sites.php index d4ca79fbd..aa80265fb 100644 --- a/client-mu-plugins/goodbids/src/classes/Network/Sites.php +++ b/client-mu-plugins/goodbids/src/classes/Network/Sites.php @@ -34,16 +34,22 @@ class Sites { /** * @since 1.0.0 - * @var array + * @var string */ const ABOUT_OPTION = 'gb_about_page'; /** * @since 1.0.0 - * @var array + * @var string */ const AUCTIONS_OPTION = 'gb_auctions_page'; + /** + * @since 1.0.0 + * @var string + */ + const NAVIGATION_ID_OPTION = 'gb_navigation_id'; + /** * @since 1.0.0 */ @@ -79,6 +85,9 @@ public function __construct() { // Setup default Nonprofit Navigation. $this->set_nonprofit_navigation(); + + // Prevent SVG Support Errors + $this->prevent_svg_support_errors(); } /** @@ -160,7 +169,8 @@ function (): void { if ( wp_get_theme( $stylesheet )->exists() ) { switch_theme( $stylesheet ); } - } + }, + 80 ); } @@ -276,7 +286,7 @@ public function loop( callable|array $callback, array $site_args = [] ): array { return collect( get_sites( $site_args ) ) ->flatMap( - fn( WP_Site $site ) => $this->swap( + fn ( WP_Site $site ) => $this->swap( fn ( int $site_id ) => call_user_func( $callback, $site_id ), $site->blog_id ) @@ -388,32 +398,30 @@ function (): void { $existing = get_option( self::ABOUT_OPTION ); // Make sure it doesn't already exist. - if ( $this->get_page_path( $about_slug ) || $existing ) { + if ( $existing || get_page_by_path( $about_slug ) ) { // phpcs:ignore return; } - ob_start(); - - goodbids()->load_view( 'patterns/template-about-page.php' ); + $about_args = [ + 'post_title' => __( 'About GOODBIDS', 'goodbids' ), + 'post_content' => goodbids()->get_view( 'patterns/template-about-page.php' ), + 'post_type' => 'page', + 'post_status' => 'publish', + 'post_author' => 1, + 'post_name' => $about_slug, + ]; - $about_id = wp_insert_post( - [ - 'post_title' => __( 'About GOODBIDS', 'goodbids' ), - 'post_content' => ob_get_clean(), - 'post_type' => 'page', - 'post_status' => 'publish', - 'post_author' => 1, - 'post_name' => $about_slug, - ] - ); + $about_id = wp_insert_post( $about_args ); if ( is_wp_error( $about_id ) ) { Log::error( $about_id->get_error_message() ); return; } + Log::debug( 'About Page Created.' ); update_option( self::ABOUT_OPTION, $about_id ); - } + }, + 100 ); } @@ -432,32 +440,30 @@ function (): void { $existing = get_option( self::AUCTIONS_OPTION ); // Make sure it doesn't already exist. - if ( $this->get_page_path( $auctions_slug ) || $existing ) { + if ( $existing || get_page_by_path( $auctions_slug ) ) { // phpcs:ignore return; } - ob_start(); - - goodbids()->load_view( 'patterns/template-archive-auction.php' ); + $auctions_args = [ + 'post_title' => __( 'Explore Auctions', 'goodbids' ), + 'post_content' => goodbids()->get_view( 'patterns/template-archive-auction.php' ), + 'post_type' => 'page', + 'post_status' => 'publish', + 'post_author' => 1, + 'post_name' => $auctions_slug, + ]; - $auctions_id = wp_insert_post( - [ - 'post_title' => __( 'Explore Auctions', 'goodbids' ), - 'post_content' => ob_get_clean(), - 'post_type' => 'page', - 'post_status' => 'publish', - 'post_author' => 1, - 'post_name' => $auctions_slug, - ] - ); + $auctions_id = wp_insert_post( $auctions_args ); if ( is_wp_error( $auctions_id ) ) { Log::error( $auctions_id->get_error_message() ); return; } + Log::debug( 'Auctions Page Created.' ); update_option( self::AUCTIONS_OPTION, $auctions_id ); - } + }, + 110 ); } @@ -472,7 +478,7 @@ private function delete_sample_page(): void { add_action( 'goodbids_initialize_site', function (): void { - $page = $this->get_page_path( 'sample-page' ); + $page = get_page_by_path( 'sample-page' ); // phpcs:ignore if ( ! $page ) { return; @@ -482,10 +488,17 @@ function (): void { return; } + // Disable third-party plugin hook. + remove_action( 'wp_trash_post', 'edac_delete_post' ); + if ( ! wp_delete_post( $page->ID ) ) { Log::warning( 'There was a problem deleting the Sample Page' ); + return; } - } + + Log::debug( 'Sample page deleted.' ); + }, + 120 ); } @@ -716,7 +729,7 @@ function ( int $post_id ): void { */ public function clear_all_site_transients(): void { $this->loop( - fn() => delete_transient( self::ALL_AUCTIONS_TRANSIENT ), + fn () => delete_transient( self::ALL_AUCTIONS_TRANSIENT ), ); } @@ -864,7 +877,7 @@ function () use ( &$item ) { ) ->groupBy( 'auction_id' ) ->map( - fn( Collection $group ) => [ + fn ( Collection $group ) => [ 'site_id' => $group->first()['site_id'], 'auction_id' => $group->first()['auction_id'], 'count' => $group->count(), @@ -888,7 +901,7 @@ function () use ( &$item ) { public function get_user_live_participating_auctions(): array { return collect( $this->get_user_participating_auctions() ) ->filter( - fn( array $item ) => $this->swap( + fn ( array $item ) => $this->swap( function () use ( &$item ) { $auction = goodbids()->auctions->get( $item['auction_id'] ); return Auction::STATUS_LIVE === $auction->get_status(); @@ -1015,7 +1028,7 @@ function () use ( $auction_data ) { ) ) ->sortBy( - fn( array $auction_data ) => goodbids()->sites->swap( + fn ( array $auction_data ) => goodbids()->sites->swap( function () use ( $auction_data ) { $auction = goodbids()->auctions->get( $auction_data['post_id'] ); return $auction->get_end_date_time(); @@ -1079,7 +1092,6 @@ function ( string $column, string $site_id ) { return; } - if ( 'standing' === $column ) { echo esc_html( $nonprofit->get_standing() ); } @@ -1089,23 +1101,6 @@ function ( string $column, string $site_id ) { ); } - /** - * Get Page Path - * - * @since 1.0.0 - * - * @param string $path - * - * @return ?WP_Post - */ - private function get_page_path( string $path ): ?WP_Post { - if ( function_exists( 'wpcom_vip_get_page_by_path' ) ) { - return wpcom_vip_get_page_by_path( $path ); - } - - return get_page_by_path( $path ); // phpcs:ignore - } - /** * Set the nonprofit navigation * @@ -1113,17 +1108,21 @@ private function get_page_path( string $path ): ?WP_Post { * * @since 1.0.0 */ - public function set_nonprofit_navigation(): void { + private function set_nonprofit_navigation(): void { add_action( - 'goodbids_nonprofit_verified', + 'goodbids_initialize_site', function (): void { + if ( get_option( self::NAVIGATION_ID_OPTION ) ) { + return; + } + $nav_links = [ intval( get_option( self::ABOUT_OPTION ) ), // About Page ID. intval( get_option( self::AUCTIONS_OPTION ) ), // Auctions Page ID. ]; if ( 2 !== count( array_filter( $nav_links ) ) ) { - Log::warning( 'Missing one or more Nonprofit Navigation items' ); + Log::warning( 'Missing one or more Nonprofit Navigation items', compact( 'nav_links' ) ); return; } @@ -1135,29 +1134,81 @@ function (): void { ); if ( ! $wp_navigation->have_posts() ) { - Log::error( 'Unable to locate Nonprofit Navigation' ); - return; - } + $nav_id = $this->create_navigation(); - $navigation_id = $wp_navigation->posts[0]->ID; + if ( ! $nav_id ) { + Log::error( 'Unable to update Nonprofit Navigation', compact( 'wp_navigation' ) ); + return; + } + } else { + $nav_id = $wp_navigation->post->ID; + } // Set the navigation content - ob_start(); - goodbids()->load_view( 'parts/nonprofit-navigation.php', compact( 'nav_links' ) ); - - $navigation_content = [ - 'ID' => $navigation_id, - 'post_content' => ob_get_clean(), + $nav_content = [ + 'ID' => $nav_id, + 'post_content' => goodbids()->get_view( 'parts/nonprofit-navigation.php', compact( 'nav_links' ) ), ]; - // Update the navigation into the database - $update = wp_update_post( $navigation_content ); + // Update the navigation content + $update = wp_update_post( $nav_content ); if ( is_wp_error( $update ) ) { Log::error( 'Error updating Nonprofit Navigation: ' . $update->get_error_message() ); + return; } + + update_option( self::NAVIGATION_ID_OPTION, $nav_id ); + Log::debug( 'Nonprofit Navigation updated', [ 'site_id' => get_current_blog_id(), 'nav_id' => $nav_id ] ); }, - 50 + 200 // Higher priority than page creation. + ); + } + + /** + * Create the Default Nonprofit Navigation. + * + * @since 1.0.0 + * + * @return int|null + */ + private function create_navigation(): ?int { + $id = wp_insert_post( + [ + 'post_title' => __( 'Navigation', 'goodbids' ), + 'post_content' => '', + 'post_status' => 'publish', + 'post_type' => 'wp_navigation', + 'post_name' => 'navigation', + 'post_author' => 1, + ] ); + + if ( is_wp_error( $id ) ) { + Log::error( 'Error creating Nonprofit Navigation: ' . $id->get_error_message() ); + return null; + } + + return $id; + } + + /** + * Prevent SVG Support from producing an error on init. + * + * @since 1.0.0 + * + * @return void + */ + private function prevent_svg_support_errors(): void { + $return_array = function( mixed $value ): array { + if ( ! is_array( $value ) || empty( $value ) ) { + return []; + } + + return $value; + }; + + add_filter( 'option_bodhi_svgs_settings', $return_array ); + add_filter( 'default_option_bodhi_svgs_settings', $return_array ); } } diff --git a/client-mu-plugins/goodbids/src/classes/Nonprofits/Verification.php b/client-mu-plugins/goodbids/src/classes/Nonprofits/Verification.php index 10a026afc..817f29683 100644 --- a/client-mu-plugins/goodbids/src/classes/Nonprofits/Verification.php +++ b/client-mu-plugins/goodbids/src/classes/Nonprofits/Verification.php @@ -156,6 +156,10 @@ public function details_page(): void { $prefix = self::OPTION_SLUG; $page_slug = self::PAGE_SLUG; + if ( ! empty( $_POST ) ) { // phpcs:ignore + $data = array_merge( $data, $_POST[ self::OPTION_SLUG ] ); // phpcs:ignore + } + if ( $disabled ) { foreach ( $fields as $key => $field ) { $fields[ $key ]['disabled'] = true; @@ -586,7 +590,7 @@ function () { if ( 'verification' === $key ) { $meta_value = $meta_value ? current_time( 'mysql', true ) : ''; - $verified = true; + $verified = boolval( $meta_value ); } update_site_meta( $site_id, $meta_key, $meta_value ); @@ -653,7 +657,6 @@ function (): void { return; } - if ( ! is_super_admin() && ! $this->is_verified( get_current_blog_id() ) ) { wp_die( esc_html__( 'This site must be verified first.', 'goodbids' ) ); } diff --git a/client-mu-plugins/goodbids/src/classes/Users/Referrals/Shortcodes.php b/client-mu-plugins/goodbids/src/classes/Users/Referrals/Shortcodes.php index 7baf1895b..1c08e1204 100644 --- a/client-mu-plugins/goodbids/src/classes/Users/Referrals/Shortcodes.php +++ b/client-mu-plugins/goodbids/src/classes/Users/Referrals/Shortcodes.php @@ -127,8 +127,6 @@ private function shortcode_action( string $return, Referrer $referrer ): string * @return string */ private function get_view( string $view, array $context = [] ): string { - ob_start(); - goodbids()->load_view( 'admin/referrals/' . $view . '.php', $context ); - return ob_get_clean(); + return goodbids()->get_view( 'admin/referrals/' . $view . '.php', $context ); } }