From 3c492b5a99f1f3f7a75f3215a4ff95c5e7002bec Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 31 Jan 2024 10:15:38 +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 ad58d2c..4e694e1 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,9 @@ name: Dispatch CI on: - # At 2:00 PM UTC, only on Wednesday and Thursday + # At 11:55 PM UTC, only on Sunday and Monday schedule: - - cron: '0 14 * * 3,4' + - cron: '55 23 * * 0,1' jobs: dispatch-ci: diff --git a/.github/workflows/merge-up.yml b/.github/workflows/merge-up.yml index 53656f7..2889a56 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,9 +1,9 @@ name: Merge-up on: - # At 2:00 PM UTC, only on Sunday + # At 11:55 PM UTC, only on Thursday schedule: - - cron: '0 14 * * 0' + - cron: '55 23 * * 4' workflow_dispatch: jobs: diff --git a/composer.json b/composer.json index 6279b3d..7c0c113 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,9 @@ "require-dev": { "phpunit/phpunit": "^9.6", "squizlabs/php_codesniffer": "^3", - "symbiote/silverstripe-queuedjobs": "^5" + "symbiote/silverstripe-queuedjobs": "^5", + "silverstripe/standards": "^1", + "phpstan/extension-installer": "^1.3" }, "suggest": { "symbiote/silverstripe-queuedjobs": "Provides a more efficient method of generating/updating the report" 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