From cb47bf12f2f00404e74b69fcb6ece37014dd63dc Mon Sep 17 00:00:00 2001 From: Renato Alves <19148962+renatonascalves@users.noreply.github.com> Date: Tue, 7 May 2024 13:29:13 -0300 Subject: [PATCH 1/5] Misc updates --- .deployignore | 1 - .github/workflows/code-quality.yml | 2 +- .github/workflows/unit-tests.yml | 4 +- .phpcs.xml | 4 +- composer.json | 28 +++++++----- elasticsearch-buddypress.php | 43 ++++++++++++++++--- phpstan.neon.dist | 2 +- phpunit.xml.dist | 24 +++++------ readme.txt | 6 +-- src/{class-controller.php => Controller.php} | 8 ++-- src/{class-factory.php => Factory.php} | 2 +- src/{class-registry.php => Registry.php} | 2 +- src/adapters/Adapter.php | 2 +- src/adapters/FormatArgs.php | 2 +- src/adapters/elasticpress/Elasticpress.php | 2 +- .../Groups/{Feature.php => Group.php} | 2 +- .../Features/Groups/GroupFormatArgs.php | 2 +- .../Features/Groups/Indexable.php | 5 ++- .../Features/Groups/QueryIntegration.php | 2 +- .../Features/Groups/SyncManager.php | 2 +- .../elasticpress/Features/Groups/mapping.php | 2 +- src/interfaces/Formatter.php | 2 +- src/interfaces/Hookable.php | 2 +- tests/adapters/elasticpress/ApiTest.php | 2 +- tests/adapters/elasticpress/GroupTest.php | 2 +- tests/bootstrap.php | 16 +++---- tests/includes/bootstrap-functions.php | 2 +- tests/multisite.xml | 16 ++++--- tests/testcases/AdapterUnitTestCase.php | 15 +++++-- tests/testcases/ElasticPressTestCase.php | 4 +- 30 files changed, 122 insertions(+), 86 deletions(-) rename src/{class-controller.php => Controller.php} (91%) rename src/{class-factory.php => Factory.php} (97%) rename src/{class-registry.php => Registry.php} (96%) rename src/adapters/elasticpress/Features/Groups/{Feature.php => Group.php} (98%) diff --git a/.deployignore b/.deployignore index c2de64f..34dd08a 100644 --- a/.deployignore +++ b/.deployignore @@ -19,7 +19,6 @@ package-lock.json phpunit.xml phpunit.xml.dist .phpunit.result.cache -multisite.xml multisite.xml.dist .phpcs.xml phpcs.xml diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 02b7dad..b0f81a5 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -10,7 +10,7 @@ jobs: composer-phpcs-phpstan: uses: alleyinteractive/.github/.github/workflows/php-composer-command.yml@main with: - php: 8.2 + php: 8.3 command: | phpcs phpstan diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index b1f1575..06889c2 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false # do not fail fast, let all the failing tests fail. matrix: - php: [8.2] + php: [8.3] es_version: [7.17.5] multisite: [0, 1] wp_version: ["latest"] @@ -51,7 +51,7 @@ jobs: security-enabled: false - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up PHP uses: shivammathur/setup-php@v2 diff --git a/.phpcs.xml b/.phpcs.xml index 52c276f..cd7b67f 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -28,10 +28,10 @@ */**/tests/ - + - + diff --git a/composer.json b/composer.json index 5959444..0f99545 100644 --- a/composer.json +++ b/composer.json @@ -44,19 +44,18 @@ } ], "require": { - "php": "^8.2", + "php": "^8.3", "spatie/elasticsearch-query-builder": "^1.0" }, "require-dev": { - "alleyinteractive/alley-coding-standards": "^2.0.1", - "alleyinteractive/pest-plugin-wordpress": "^0.1.0", + "alleyinteractive/alley-coding-standards": "^2.0", + "alleyinteractive/pest-plugin-wordpress": "^0.5", "buddypress/buddypress": "dev-master", - "mantle-framework/testkit": "^0.12", + "mantle-framework/testkit": "^1.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan": "^1.10", - "szepeviktor/phpstan-wordpress": "^1.1.6", - "wp-phpunit/wp-phpunit": "^6.3", - "wpackagist-plugin/elasticpress": "^4.6.1" + "szepeviktor/phpstan-wordpress": "^1.3", + "wpackagist-plugin/elasticpress": "^4.6" }, "scripts": { "phpcs": "phpcs . --basepath=.", @@ -64,20 +63,27 @@ "phpstan": [ "phpstan analyze --ansi --memory-limit=1G" ], - "phpunit": "pest" + "phpunit": "pest", + "test_multi": "WP_MULTISITE=1 pest" }, "config": { "platform": { - "php": "8.2" + "php": "8.3" }, "optimize-autoloader": true, "sort-packages": true, "allow-plugins": { "dealerdirect/phpcodesniffer-composer-installer": true, "phpstan/extension-installer": true, - "composer/installers": true, "alleyinteractive/composer-wordpress-autoloader": true, - "pestphp/pest-plugin": true + "pestphp/pest-plugin": true, + "composer/installers": true + } + }, + "autoload-dev": { + "psr-4": { + "Elasticsearch\\BuddyPress\\": "src/", + "Elasticsearch\\BuddyPress\\Tests\\": "tests" } }, "extra": { diff --git a/elasticsearch-buddypress.php b/elasticsearch-buddypress.php index 07136d3..086cb5e 100755 --- a/elasticsearch-buddypress.php +++ b/elasticsearch-buddypress.php @@ -16,20 +16,49 @@ * Author: Renato Alves * Author URI: https://ralv.es * Text Domain: elasticsearch-buddypress - * Domain Path: /languages/ - * Requires PHP: 8.2 - * Requires WP: 5.9 - * Tested up to: 6.3 + * Requires PHP: 8.3 + * Requires WP: 6.1 + * Tested up to: 6.5.2 + * Requires Plugins: buddypress * License: GPL-3.0-or-later * License URI: https://www.gnu.org/licenses/gpl-3.0.html */ -declare(strict_types=1); +declare( strict_types=1 ); namespace Elasticsearch\BuddyPress; -// Plugin autoloader. -require_once __DIR__ . '/vendor/wordpress-autoload.php'; +/* Start Composer Loader */ + +// Check if Composer is installed. +if ( ! file_exists( __DIR__ . '/vendor/wordpress-autoload.php' ) ) { + if ( ! class_exists( \Composer\InstalledVersions::class ) ) { + \add_action( + 'admin_notices', + function () { + ?> +
+

+ +

+
+ + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd" + displayDetailsOnTestsThatTriggerDeprecations="true" + displayDetailsOnTestsThatTriggerWarnings="true" + failOnNotice="true" + failOnDeprecation="true" +> - - ./tests/ + + ./tests/ - - - ./ - - ./tests/ - - - diff --git a/readme.txt b/readme.txt index ab25a99..87216ce 100644 --- a/readme.txt +++ b/readme.txt @@ -3,9 +3,9 @@ Contributors: espellcaste Tags: buddypress, elasticsearch, elasticpress License: GPL-3.0-or-later License URI: https://www.gnu.org/licenses/gpl-3.0.html -Requires PHP: 8.2 -Requires at least: 5.9 -Tested up to: 6.3 +Requires PHP: 8.3 +Requires at least: 6.1 +Tested up to: 6.5.2 Stable tag: 0.1.0-alpha == Description == diff --git a/src/class-controller.php b/src/Controller.php similarity index 91% rename from src/class-controller.php rename to src/Controller.php index b541a84..1ae4886 100644 --- a/src/class-controller.php +++ b/src/Controller.php @@ -5,13 +5,13 @@ * @package Elasticsearch\BuddyPress */ -declare(strict_types=1); +declare( strict_types=1 ); namespace Elasticsearch\BuddyPress; +use Elasticsearch\BuddyPress\Interfaces\Hookable; use Elasticsearch\BuddyPress\Adapters\Adapter; use Elasticsearch\BuddyPress\Adapters\ElasticPress\ElasticPress; -use Elasticsearch\BuddyPress\Interfaces\Hookable; /** * The controller class, which is responsible for loading adapters and @@ -28,8 +28,6 @@ class Controller implements Hookable { /** * A callback for the init action hook. - * - * @todo Confirm if this is still needed. */ public function action__init(): void { /** @@ -90,7 +88,7 @@ public function missing_notice(): void {

- +

name ); - if ( ! $object_terms || is_wp_error( $object_terms ) ) { + if ( ! $object_terms || $object_terms instanceof WP_Error ) { continue; } diff --git a/src/adapters/elasticpress/Features/Groups/QueryIntegration.php b/src/adapters/elasticpress/Features/Groups/QueryIntegration.php index 29296d3..a042da6 100644 --- a/src/adapters/elasticpress/Features/Groups/QueryIntegration.php +++ b/src/adapters/elasticpress/Features/Groups/QueryIntegration.php @@ -5,7 +5,7 @@ * @package Elasticsearch\BuddyPress */ -declare(strict_types=1); +declare( strict_types=1 ); namespace Elasticsearch\BuddyPress\Adapters\ElasticPress\Features\Groups; diff --git a/src/adapters/elasticpress/Features/Groups/SyncManager.php b/src/adapters/elasticpress/Features/Groups/SyncManager.php index 7e5facd..900579d 100644 --- a/src/adapters/elasticpress/Features/Groups/SyncManager.php +++ b/src/adapters/elasticpress/Features/Groups/SyncManager.php @@ -7,7 +7,7 @@ * @package Elasticsearch\BuddyPress */ -declare(strict_types=1); +declare( strict_types=1 ); namespace Elasticsearch\BuddyPress\Adapters\ElasticPress\Features\Groups; diff --git a/src/adapters/elasticpress/Features/Groups/mapping.php b/src/adapters/elasticpress/Features/Groups/mapping.php index 1edd1a0..4ab42cf 100644 --- a/src/adapters/elasticpress/Features/Groups/mapping.php +++ b/src/adapters/elasticpress/Features/Groups/mapping.php @@ -5,7 +5,7 @@ * @package Elasticsearch\BuddyPress */ -declare(strict_types=1); +declare( strict_types=1 ); return [ 'settings' => [ diff --git a/src/interfaces/Formatter.php b/src/interfaces/Formatter.php index 2c69b92..c07da02 100644 --- a/src/interfaces/Formatter.php +++ b/src/interfaces/Formatter.php @@ -5,7 +5,7 @@ * @package Elasticsearch\BuddyPress */ -declare(strict_types=1); +declare( strict_types=1 ); namespace Elasticsearch\BuddyPress\Interfaces; diff --git a/src/interfaces/Hookable.php b/src/interfaces/Hookable.php index 17264b0..21447db 100644 --- a/src/interfaces/Hookable.php +++ b/src/interfaces/Hookable.php @@ -5,7 +5,7 @@ * @package Elasticsearch\BuddyPress */ -declare(strict_types=1); +declare( strict_types=1 ); namespace Elasticsearch\BuddyPress\Interfaces; diff --git a/tests/adapters/elasticpress/ApiTest.php b/tests/adapters/elasticpress/ApiTest.php index 7bdeb97..02f93f7 100644 --- a/tests/adapters/elasticpress/ApiTest.php +++ b/tests/adapters/elasticpress/ApiTest.php @@ -6,7 +6,7 @@ * @package Elasticsearch\BuddyPress\Tests */ -declare(strict_types=1); +declare( strict_types=1 ); namespace Elasticsearch\BuddyPress\Tests; diff --git a/tests/adapters/elasticpress/GroupTest.php b/tests/adapters/elasticpress/GroupTest.php index 9aeae8c..90d2c56 100644 --- a/tests/adapters/elasticpress/GroupTest.php +++ b/tests/adapters/elasticpress/GroupTest.php @@ -5,7 +5,7 @@ * @package Elasticsearch\BuddyPress\Tests */ -declare(strict_types=1); +declare( strict_types=1 ); namespace Elasticsearch\BuddyPress\Tests; diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 8a58213..84b1393 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -6,23 +6,22 @@ * @package Elasticsearch\BuddyPress\Tests */ -declare(strict_types=1); +declare( strict_types=1 ); namespace Elasticsearch\BuddyPress\Tests; +use Elasticsearch\BuddyPress\Tests\TestCases\ElasticPressTestCase; use function Mantle\Testing\tests_add_filter; \Mantle\Testing\manager() + ->maybe_rsync_plugin() ->before( function () { - // TODO: remove it after Mantle shims factories. - require_once dirname( __FILE__, 2 ) . '/vendor/wp-phpunit/wp-phpunit/includes/factory.php'; - // Define constants. - require_once dirname( __FILE__ ) . '/includes/define-constants.php'; + require_once dirname( __FILE__ ) . '/Includes/define-constants.php'; // Define bootstrap helper functions. - require_once dirname( __FILE__ ) . '/includes/bootstrap-functions.php'; + require_once dirname( __FILE__ ) . '/Includes/bootstrap-functions.php'; if ( ! file_exists( BP_TESTS_DIR . '/includes/loader.php' ) ) { die( "The BuddyPress plugin could not be found.\n" ); @@ -55,10 +54,7 @@ function () { // require_once BP_TESTS_DIR . '/includes/testcase.php'; // Loading testcases. - require_once dirname( __FILE__ ) . '/testcases/AdapterUnitTestCase.php'; - require_once dirname( __FILE__ ) . '/testcases/ElasticPressTestCase.php'; - - uses( ElasticPressTestCase::class )->in( 'adapters/elasticpress' ); + uses( ElasticPressTestCase::class )->in( 'Adapters/ElasticPress' ); } ) ->install(); diff --git a/tests/includes/bootstrap-functions.php b/tests/includes/bootstrap-functions.php index f9f9479..c323347 100644 --- a/tests/includes/bootstrap-functions.php +++ b/tests/includes/bootstrap-functions.php @@ -5,7 +5,7 @@ * @package Elasticsearch\BuddyPress\Tests */ -declare(strict_types=1); +declare( strict_types=1 ); namespace Elasticsearch\BuddyPress\Tests; diff --git a/tests/multisite.xml b/tests/multisite.xml index 69112f5..9ecf3d7 100644 --- a/tests/multisite.xml +++ b/tests/multisite.xml @@ -1,17 +1,21 @@ + + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd" + displayDetailsOnTestsThatTriggerDeprecations="true" + displayDetailsOnTestsThatTriggerWarnings="true" + failOnNotice="true" + failOnDeprecation="true" +> - - ./ + + .// diff --git a/tests/testcases/AdapterUnitTestCase.php b/tests/testcases/AdapterUnitTestCase.php index 0173e70..0d8f0da 100644 --- a/tests/testcases/AdapterUnitTestCase.php +++ b/tests/testcases/AdapterUnitTestCase.php @@ -5,16 +5,16 @@ * @package Elasticsearch\BuddyPress\Tests */ -declare(strict_types=1); +declare( strict_types=1 ); -namespace Elasticsearch\BuddyPress\Tests; +namespace Elasticsearch\BuddyPress\Tests\TestCases; -use Pest\PestPluginWordPress\FrameworkTestCase; +use Mantle\Testkit\Test_Case; /** * AdapterUnitTestCase class. */ -abstract class AdapterUnitTestCase extends FrameworkTestCase { +abstract class AdapterUnitTestCase extends Test_Case { /** * Set up the test case. @@ -22,4 +22,11 @@ abstract class AdapterUnitTestCase extends FrameworkTestCase { public function set_up(): void { parent::set_up(); } + + /** + * Tear down the test case. + */ + public function tear_down(): void { + parent::tear_down(); + } } diff --git a/tests/testcases/ElasticPressTestCase.php b/tests/testcases/ElasticPressTestCase.php index 3502571..bfb13d5 100644 --- a/tests/testcases/ElasticPressTestCase.php +++ b/tests/testcases/ElasticPressTestCase.php @@ -5,9 +5,9 @@ * @package Elasticsearch\BuddyPress\Tests */ -declare(strict_types=1); +declare( strict_types=1 ); -namespace Elasticsearch\BuddyPress\Tests; +namespace Elasticsearch\BuddyPress\Tests\TestCases; /** * ElasticPressTestCase class. From 0bf479371bbb9e6e9f12dc50789f731c95dfad53 Mon Sep 17 00:00:00 2001 From: Renato Alves <19148962+renatonascalves@users.noreply.github.com> Date: Tue, 7 May 2024 13:33:08 -0300 Subject: [PATCH 2/5] Rename Formatter.php to Formatter.php --- src/{interfaces => Interfaces}/Formatter.php | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/{interfaces => Interfaces}/Formatter.php (100%) diff --git a/src/interfaces/Formatter.php b/src/Interfaces/Formatter.php similarity index 100% rename from src/interfaces/Formatter.php rename to src/Interfaces/Formatter.php From 45ad769a672aae0aead1983ffc9c886dfd67bc36 Mon Sep 17 00:00:00 2001 From: Renato Alves <19148962+renatonascalves@users.noreply.github.com> Date: Tue, 7 May 2024 13:33:31 -0300 Subject: [PATCH 3/5] Rename Hookable.php to Hookable.php --- src/{interfaces => Interfaces}/Hookable.php | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/{interfaces => Interfaces}/Hookable.php (100%) diff --git a/src/interfaces/Hookable.php b/src/Interfaces/Hookable.php similarity index 100% rename from src/interfaces/Hookable.php rename to src/Interfaces/Hookable.php From 0457b0055ce69f204f799bfcc4059617c6ba1245 Mon Sep 17 00:00:00 2001 From: Renato Alves <19148962+renatonascalves@users.noreply.github.com> Date: Tue, 7 May 2024 13:37:32 -0300 Subject: [PATCH 4/5] Renaming folders --- src/{adapters => Adapters}/Adapter.php | 0 .../elasticpress => Adapters/ElasticPress}/Elasticpress.php | 0 .../ElasticPress}/Features/Groups/Group.php | 0 .../ElasticPress}/Features/Groups/GroupFormatArgs.php | 0 .../ElasticPress}/Features/Groups/Indexable.php | 0 .../ElasticPress}/Features/Groups/QueryIntegration.php | 0 .../ElasticPress}/Features/Groups/SyncManager.php | 0 .../ElasticPress}/Features/Groups/mapping.php | 0 src/{adapters => Adapters}/FormatArgs.php | 0 .../{adapters/elasticpress => Adapters/ElasticPress}/ApiTest.php | 0 .../elasticpress => Adapters/ElasticPress}/GroupTest.php | 0 tests/{includes => Includes}/bootstrap-functions.php | 0 tests/{includes => Includes}/define-constants.php | 0 tests/{testcases => TestCases}/AdapterUnitTestCase.php | 0 tests/{testcases => TestCases}/ElasticPressTestCase.php | 0 15 files changed, 0 insertions(+), 0 deletions(-) rename src/{adapters => Adapters}/Adapter.php (100%) rename src/{adapters/elasticpress => Adapters/ElasticPress}/Elasticpress.php (100%) rename src/{adapters/elasticpress => Adapters/ElasticPress}/Features/Groups/Group.php (100%) rename src/{adapters/elasticpress => Adapters/ElasticPress}/Features/Groups/GroupFormatArgs.php (100%) rename src/{adapters/elasticpress => Adapters/ElasticPress}/Features/Groups/Indexable.php (100%) rename src/{adapters/elasticpress => Adapters/ElasticPress}/Features/Groups/QueryIntegration.php (100%) rename src/{adapters/elasticpress => Adapters/ElasticPress}/Features/Groups/SyncManager.php (100%) rename src/{adapters/elasticpress => Adapters/ElasticPress}/Features/Groups/mapping.php (100%) rename src/{adapters => Adapters}/FormatArgs.php (100%) rename tests/{adapters/elasticpress => Adapters/ElasticPress}/ApiTest.php (100%) rename tests/{adapters/elasticpress => Adapters/ElasticPress}/GroupTest.php (100%) rename tests/{includes => Includes}/bootstrap-functions.php (100%) rename tests/{includes => Includes}/define-constants.php (100%) rename tests/{testcases => TestCases}/AdapterUnitTestCase.php (100%) rename tests/{testcases => TestCases}/ElasticPressTestCase.php (100%) diff --git a/src/adapters/Adapter.php b/src/Adapters/Adapter.php similarity index 100% rename from src/adapters/Adapter.php rename to src/Adapters/Adapter.php diff --git a/src/adapters/elasticpress/Elasticpress.php b/src/Adapters/ElasticPress/Elasticpress.php similarity index 100% rename from src/adapters/elasticpress/Elasticpress.php rename to src/Adapters/ElasticPress/Elasticpress.php diff --git a/src/adapters/elasticpress/Features/Groups/Group.php b/src/Adapters/ElasticPress/Features/Groups/Group.php similarity index 100% rename from src/adapters/elasticpress/Features/Groups/Group.php rename to src/Adapters/ElasticPress/Features/Groups/Group.php diff --git a/src/adapters/elasticpress/Features/Groups/GroupFormatArgs.php b/src/Adapters/ElasticPress/Features/Groups/GroupFormatArgs.php similarity index 100% rename from src/adapters/elasticpress/Features/Groups/GroupFormatArgs.php rename to src/Adapters/ElasticPress/Features/Groups/GroupFormatArgs.php diff --git a/src/adapters/elasticpress/Features/Groups/Indexable.php b/src/Adapters/ElasticPress/Features/Groups/Indexable.php similarity index 100% rename from src/adapters/elasticpress/Features/Groups/Indexable.php rename to src/Adapters/ElasticPress/Features/Groups/Indexable.php diff --git a/src/adapters/elasticpress/Features/Groups/QueryIntegration.php b/src/Adapters/ElasticPress/Features/Groups/QueryIntegration.php similarity index 100% rename from src/adapters/elasticpress/Features/Groups/QueryIntegration.php rename to src/Adapters/ElasticPress/Features/Groups/QueryIntegration.php diff --git a/src/adapters/elasticpress/Features/Groups/SyncManager.php b/src/Adapters/ElasticPress/Features/Groups/SyncManager.php similarity index 100% rename from src/adapters/elasticpress/Features/Groups/SyncManager.php rename to src/Adapters/ElasticPress/Features/Groups/SyncManager.php diff --git a/src/adapters/elasticpress/Features/Groups/mapping.php b/src/Adapters/ElasticPress/Features/Groups/mapping.php similarity index 100% rename from src/adapters/elasticpress/Features/Groups/mapping.php rename to src/Adapters/ElasticPress/Features/Groups/mapping.php diff --git a/src/adapters/FormatArgs.php b/src/Adapters/FormatArgs.php similarity index 100% rename from src/adapters/FormatArgs.php rename to src/Adapters/FormatArgs.php diff --git a/tests/adapters/elasticpress/ApiTest.php b/tests/Adapters/ElasticPress/ApiTest.php similarity index 100% rename from tests/adapters/elasticpress/ApiTest.php rename to tests/Adapters/ElasticPress/ApiTest.php diff --git a/tests/adapters/elasticpress/GroupTest.php b/tests/Adapters/ElasticPress/GroupTest.php similarity index 100% rename from tests/adapters/elasticpress/GroupTest.php rename to tests/Adapters/ElasticPress/GroupTest.php diff --git a/tests/includes/bootstrap-functions.php b/tests/Includes/bootstrap-functions.php similarity index 100% rename from tests/includes/bootstrap-functions.php rename to tests/Includes/bootstrap-functions.php diff --git a/tests/includes/define-constants.php b/tests/Includes/define-constants.php similarity index 100% rename from tests/includes/define-constants.php rename to tests/Includes/define-constants.php diff --git a/tests/testcases/AdapterUnitTestCase.php b/tests/TestCases/AdapterUnitTestCase.php similarity index 100% rename from tests/testcases/AdapterUnitTestCase.php rename to tests/TestCases/AdapterUnitTestCase.php diff --git a/tests/testcases/ElasticPressTestCase.php b/tests/TestCases/ElasticPressTestCase.php similarity index 100% rename from tests/testcases/ElasticPressTestCase.php rename to tests/TestCases/ElasticPressTestCase.php From 24e80b2a4cc316ee05f1eae375c86513bedb8172 Mon Sep 17 00:00:00 2001 From: Renato Alves <19148962+renatonascalves@users.noreply.github.com> Date: Tue, 7 May 2024 13:38:24 -0300 Subject: [PATCH 5/5] Rename file --- src/Adapters/ElasticPress/{Elasticpress.php => ElasticPress.php} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/Adapters/ElasticPress/{Elasticpress.php => ElasticPress.php} (100%) diff --git a/src/Adapters/ElasticPress/Elasticpress.php b/src/Adapters/ElasticPress/ElasticPress.php similarity index 100% rename from src/Adapters/ElasticPress/Elasticpress.php rename to src/Adapters/ElasticPress/ElasticPress.php