From 2af7ea52887ad60408f2b5f1a88e396304934663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Sat, 21 Sep 2024 12:30:23 +0200 Subject: [PATCH] test --- .forgejo/workflows/phpcs.yml | 6 ++++-- .forgejo/workflows/phpunit.yml | 2 +- activitypub-event-extensions.php | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/phpcs.yml b/.forgejo/workflows/phpcs.yml index 8a1e3bb..f47edd0 100755 --- a/.forgejo/workflows/phpcs.yml +++ b/.forgejo/workflows/phpcs.yml @@ -29,8 +29,10 @@ jobs: id: cache-composer uses: https://code.forgejo.org/actions/cache@v4 with: - path: vendor - key: cache-composer-1 + path: | + ./vendor/ + /root/.cache/composer/ + key: cache-composer-2 - name: Setup PHP uses: https://github.com/shivammathur/setup-php@v2 diff --git a/.forgejo/workflows/phpunit.yml b/.forgejo/workflows/phpunit.yml index d8d97b2..dc4fe8a 100644 --- a/.forgejo/workflows/phpunit.yml +++ b/.forgejo/workflows/phpunit.yml @@ -35,7 +35,7 @@ jobs: path: | WP_TESTS_DIR WP_CORE_DIR - key: wordpress-cache-1 + key: cache-wordpress-1 - name: Setup PHP uses: https://github.com/shivammathur/setup-php@v2 diff --git a/activitypub-event-extensions.php b/activitypub-event-extensions.php index cc0db15..9be6461 100644 --- a/activitypub-event-extensions.php +++ b/activitypub-event-extensions.php @@ -18,7 +18,7 @@ */ // Exit if accessed directly. -defined('ABSPATH' ) || exit; // @codeCoverageIgnore +defined( 'ABSPATH' ) || exit; // @codeCoverageIgnore define( 'ACTIVITYPUB_EVENT_EXTENSIONS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); define( 'ACTIVITYPUB_EVENT_EXTENSIONS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );