From ae446cbd8f557318eddcf239e7d084d0492340f6 Mon Sep 17 00:00:00 2001 From: Tim Carr Date: Wed, 4 Mar 2026 10:30:32 +0800 Subject: [PATCH 1/3] Fix Composer Commands --- composer.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index c7ba501..9c027a3 100644 --- a/composer.json +++ b/composer.json @@ -46,15 +46,15 @@ "prefer-stable": true, "scripts": { "create-docs": "phpDocumentor --directory=src --target=docs --template='vendor/saggre/phpdocumentor-markdown/themes/markdown'", - "phpcs": "vendor/bin/phpcs ./ -s -v", - "phpcbf": "vendor/bin/phpcbf ./ -s -v", - "phpcs-tests": "vendor/bin/phpcs ./tests --standard=phpcs.tests.xml -s -v", - "phpcbf-tests": "vendor/bin/phpcbf ./tests --standard=phpcs.tests.xml -s -v", + "phpcs": "vendor/bin/phpcs -s -v", + "phpcbf": "vendor/bin/phpcbf -s -v", + "phpcs-tests": "vendor/bin/phpcs --standard=phpcs.tests.xml -s -v", + "phpcbf-tests": "vendor/bin/phpcbf --standard=phpcs.tests.xml -s -v", "phpstan": "vendor/bin/phpstan analyse --memory-limit=1250M", - "php-coding-standards": "vendor/bin/phpcs ./ -s -v", - "fix-php-coding-standards": "vendor/bin/phpcbf ./ -s -v", - "php-coding-standards-on-tests": "vendor/bin/phpcs ./tests --standard=phpcs.tests.xml -s -v", - "fix-php-coding-standards-on-tests": "vendor/bin/phpcbf ./tests --standard=phpcs.tests.xml -s -v", + "php-coding-standards": "vendor/bin/phpcs -s -v", + "fix-php-coding-standards": "vendor/bin/phpcbf -s -v", + "php-coding-standards-on-tests": "vendor/bin/phpcs --standard=phpcs.tests.xml -s -v", + "fix-php-coding-standards-on-tests": "vendor/bin/phpcbf --standard=phpcs.tests.xml -s -v", "php-static-analysis": "vendor/bin/phpstan analyse --memory-limit=1250M", "test": "vendor/bin/phpunit --verbose --stop-on-failure @additional_args" } From 4f87a3efd453a125a7057751baebc09b15e1560a Mon Sep 17 00:00:00 2001 From: Tim Carr Date: Fri, 13 Mar 2026 08:26:36 +0800 Subject: [PATCH 2/3] Fix composer commands --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 9c027a3..bd6ee38 100644 --- a/composer.json +++ b/composer.json @@ -46,13 +46,13 @@ "prefer-stable": true, "scripts": { "create-docs": "phpDocumentor --directory=src --target=docs --template='vendor/saggre/phpdocumentor-markdown/themes/markdown'", - "phpcs": "vendor/bin/phpcs -s -v", - "phpcbf": "vendor/bin/phpcbf -s -v", - "phpcs-tests": "vendor/bin/phpcs --standard=phpcs.tests.xml -s -v", + "phpcs": "vendor/bin/phpcs --standard=phpcs.xml -s -v", + "phpcbf": "vendor/bin/phpcbf --standard=phpcs.tests.xml -s -v", + "phpcs-tests": "vendor/bin/phpcs --standard=phpcs.xml -s -v", "phpcbf-tests": "vendor/bin/phpcbf --standard=phpcs.tests.xml -s -v", "phpstan": "vendor/bin/phpstan analyse --memory-limit=1250M", - "php-coding-standards": "vendor/bin/phpcs -s -v", - "fix-php-coding-standards": "vendor/bin/phpcbf -s -v", + "php-coding-standards": "vendor/bin/phpcs --standard=phpcs.xml -s -v", + "fix-php-coding-standards": "vendor/bin/phpcbf --standard=phpcs.xml -s -v", "php-coding-standards-on-tests": "vendor/bin/phpcs --standard=phpcs.tests.xml -s -v", "fix-php-coding-standards-on-tests": "vendor/bin/phpcbf --standard=phpcs.tests.xml -s -v", "php-static-analysis": "vendor/bin/phpstan analyse --memory-limit=1250M", From 99cfda841874906bcfe32b58cf8c7c1f606b11bf Mon Sep 17 00:00:00 2001 From: Tim Carr Date: Fri, 20 Mar 2026 17:39:30 +0800 Subject: [PATCH 3/3] Skip Actions on Dependabot PR --- .github/workflows/tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5496ba0..6fb38e2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,6 +19,11 @@ jobs: # @see: https://github.com/actions/virtual-environments runs-on: ubuntu-latest + # Don't run if the PR is from Dependabot, as it doesn't have access to the repository's secrets. + # Dependabot also only checks for GitHub action dependencies, so it's not necessary to run + # Plugin tests. + if: github.actor != 'dependabot[bot]' + # Defines PHP Versions matrix to run tests on strategy: fail-fast: false