From c654311d54cc3fd50675aa61d552b9bb751dea6c Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 31 Jan 2024 10:16:11 +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 76e88a69..561f4cfd 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,9 @@ name: Dispatch CI on: - # At 11:00 AM UTC, only on Wednesday and Thursday + # At 2:10 AM UTC, only on Wednesday and Thursday schedule: - - cron: '0 11 * * 3,4' + - cron: '10 2 * * 3,4' jobs: dispatch-ci: diff --git a/.github/workflows/merge-up.yml b/.github/workflows/merge-up.yml index 19e9d648..2e284d79 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,9 +1,9 @@ name: Merge-up on: - # At 11:00 AM UTC, only on Sunday + # At 2:10 AM UTC, only on Sunday schedule: - - cron: '0 11 * * 0' + - cron: '10 2 * * 0' workflow_dispatch: jobs: diff --git a/composer.json b/composer.json index 3352de9a..18b95146 100755 --- a/composer.json +++ b/composer.json @@ -19,7 +19,9 @@ "silverstripe/asset-admin": "^2", "silverstripe/versioned-admin": "^2", "dnadesign/silverstripe-elemental": "^5", - "silverstripe/frameworktest": "^1" + "silverstripe/frameworktest": "^1", + "silverstripe/standards": "^1", + "phpstan/extension-installer": "^1.3" }, "autoload": { "psr-4": { diff --git a/phpstan.neon.dist b/phpstan.neon.dist new file mode 100644 index 00000000..beb9de3c --- /dev/null +++ b/phpstan.neon.dist @@ -0,0 +1,3 @@ +parameters: + paths: + - src