From 8ba2dec89d17ab23e91f7917ca0ce670dedc6713 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 31 Jan 2024 10:20:05 +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 a0588f1..3105cbf 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,9 @@ name: Dispatch CI on: - # At 11:10 AM UTC, only on Saturday and Sunday + # At 8:40 AM UTC, only on Monday and Tuesday schedule: - - cron: '10 11 * * 6,0' + - cron: '40 8 * * 1,2' jobs: dispatch-ci: diff --git a/.github/workflows/merge-up.yml b/.github/workflows/merge-up.yml index 4df433a..95383e9 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,9 +1,9 @@ name: Merge-up on: - # At 11:10 AM UTC, only on Wednesday + # At 8:40 AM UTC, only on Friday schedule: - - cron: '10 11 * * 3' + - cron: '40 8 * * 5' workflow_dispatch: jobs: diff --git a/composer.json b/composer.json index 13d1072..f2c0989 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,9 @@ "phpunit/phpunit": "^9.6", "silverstripe/versioned": "^2", "squizlabs/php_codesniffer": "^3", - "silverstripe/userforms": "^6" + "silverstripe/userforms": "^6", + "silverstripe/standards": "^1", + "phpstan/extension-installer": "^1.3" }, "extra": { "expose": [ diff --git a/phpstan.neon.dist b/phpstan.neon.dist new file mode 100644 index 0000000..d10aea0 --- /dev/null +++ b/phpstan.neon.dist @@ -0,0 +1,3 @@ +parameters: + paths: + - code