From e5b010a3190730d50015e0cff5b81a3ba1048a4b Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 31 Jan 2024 15:24:18 +1300 Subject: [PATCH] MNT Run module-standardiser --- .github/workflows/dispatch-ci.yml | 4 ++-- .github/workflows/merge-up.yml | 4 ++-- composer.json | 4 +++- phpstan.neon.dist | 3 +++ 4 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 phpstan.neon.dist diff --git a/.github/workflows/dispatch-ci.yml b/.github/workflows/dispatch-ci.yml index c2c21fe..95a3a3b 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,9 @@ name: Dispatch CI on: - # At 12:10 PM UTC, only on Sunday and Monday + # At 1:05 PM UTC, only on Sunday and Monday schedule: - - cron: '10 12 * * 0,1' + - cron: '5 13 * * 0,1' jobs: dispatch-ci: diff --git a/.github/workflows/merge-up.yml b/.github/workflows/merge-up.yml index 89098bd..61ec36b 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,9 +1,9 @@ name: Merge-up on: - # At 12:10 PM UTC, only on Thursday + # At 1:05 PM UTC, only on Thursday schedule: - - cron: '10 12 * * 4' + - cron: '5 13 * * 4' workflow_dispatch: jobs: diff --git a/composer.json b/composer.json index fe409d9..3c1f6af 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,9 @@ "require-dev": { "phpunit/phpunit": "^9.6", "squizlabs/php_codesniffer": "^3.7", - "silverstripe/versioned": "^2" + "silverstripe/versioned": "^2", + "silverstripe/standards": "^1", + "phpstan/extension-installer": "^1.3" }, "extra": { "screenshots": [ diff --git a/phpstan.neon.dist b/phpstan.neon.dist new file mode 100644 index 0000000..beb9de3 --- /dev/null +++ b/phpstan.neon.dist @@ -0,0 +1,3 @@ +parameters: + paths: + - src