phpcs
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Has been cancelled

This commit is contained in:
André Menrath 2024-11-30 11:22:30 +01:00
parent e981827e0a
commit adfa25d148
3 changed files with 1 additions and 7 deletions

View file

@ -27,7 +27,7 @@ final class Event_Organiser extends Event {
* also contains attributes specific to the Event organiser plugin like the * also contains attributes specific to the Event organiser plugin like the
* occurrence id. * occurrence id.
* *
* @param WP_Post $wp_object The WordPress object. * @param WP_Post $wp_object The WordPress object.
* @param string $wp_taxonomy The taxonomy slug of the event post type. * @param string $wp_taxonomy The taxonomy slug of the event post type.
*/ */
public function __construct( $wp_object, $wp_taxonomy ) { public function __construct( $wp_object, $wp_taxonomy ) {

View file

@ -103,11 +103,6 @@ function _manually_load_plugin() {
$mec_factory->install(); $mec_factory->install();
} }
if ( 'event_organiser' === $activitypub_event_bridge_integration_filter ) {
require_once $plugin_dir . 'event-organiser/includes/event-organiser-install.php';
// eventorganiser_install();
}
// At last manually load our WordPress plugin. // At last manually load our WordPress plugin.
require dirname( __DIR__ ) . '/activitypub-event-bridge.php'; require dirname( __DIR__ ) . '/activitypub-event-bridge.php';
} }

View file

@ -60,7 +60,6 @@ class Test_Event_Organiser extends WP_UnitTestCase {
// Check that we got the right transformer. // Check that we got the right transformer.
$this->assertInstanceOf( \ActivityPub_Event_Bridge\Activitypub\Transformer\Event_Organiser::class, $transformer ); $this->assertInstanceOf( \ActivityPub_Event_Bridge\Activitypub\Transformer\Event_Organiser::class, $transformer );
} }
/** /**