From 9bd50a9e218a6f9b3d95a92e479d3a34f57fbc65 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 31 Jan 2024 10:21:47 +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 28fa39bc..000b8ec1 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,9 @@ name: Dispatch CI on: - # At 12:00 PM UTC, only on Sunday and Monday + # At 7:35 PM UTC, only on Sunday and Monday schedule: - - cron: '0 12 * * 0,1' + - cron: '35 19 * * 0,1' jobs: dispatch-ci: diff --git a/.github/workflows/merge-up.yml b/.github/workflows/merge-up.yml index d01d36d8..3c3dbcbe 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,9 +1,9 @@ name: Merge-up on: - # At 12:00 PM UTC, only on Thursday + # At 7:35 PM UTC, only on Thursday schedule: - - cron: '0 12 * * 4' + - cron: '35 19 * * 4' workflow_dispatch: jobs: diff --git a/composer.json b/composer.json index 545fe227..a3b78293 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,9 @@ }, "require-dev": { "phpunit/phpunit": "^9.6", - "squizlabs/php_codesniffer": "^3" + "squizlabs/php_codesniffer": "^3", + "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 00000000..beb9de3c --- /dev/null +++ b/phpstan.neon.dist @@ -0,0 +1,3 @@ +parameters: + paths: + - src