From 5453f3f01d7d5c41b7f4444b94bc71a54b00f20a Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 31 Jan 2024 10:14:00 +1300 Subject: [PATCH] MNT Run module-standardiser --- .github/workflows/dispatch-ci.yml | 4 ++-- .github/workflows/merge-up.yml | 4 ++-- composer.json | 6 ++++-- phpstan.neon.dist | 3 +++ 4 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 phpstan.neon.dist diff --git a/.github/workflows/dispatch-ci.yml b/.github/workflows/dispatch-ci.yml index 2c2cd9c..561f4cf 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,9 @@ name: Dispatch CI on: - # At 12:20 PM UTC, only on Tuesday and Wednesday + # At 2:10 AM UTC, only on Wednesday and Thursday schedule: - - cron: '20 12 * * 2,3' + - cron: '10 2 * * 3,4' jobs: dispatch-ci: diff --git a/.github/workflows/merge-up.yml b/.github/workflows/merge-up.yml index edf290a..2e284d7 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,9 +1,9 @@ name: Merge-up on: - # At 12:20 PM UTC, only on Saturday + # At 2:10 AM UTC, only on Sunday schedule: - - cron: '20 12 * * 6' + - cron: '10 2 * * 0' workflow_dispatch: jobs: diff --git a/composer.json b/composer.json index 4f4e85c..fcc7e6f 100755 --- a/composer.json +++ b/composer.json @@ -20,7 +20,9 @@ "squizlabs/php_codesniffer": "^3", "silverstripe/widgets": "^3", "silverstripe/comments": "^4", - "silverstripe/content-widget": "^3" + "silverstripe/content-widget": "^3", + "silverstripe/standards": "^1", + "phpstan/extension-installer": "^1.3" }, "extra": { "expose": [ @@ -55,4 +57,4 @@ }, "minimum-stability": "dev", "prefer-stable": true -} \ No newline at end of file +} 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