From 5a30d73f7ddb4c238344f8d3e3d6295c3f6caa53 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 31 Jan 2024 15:21:45 +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 770ce35..35f1c79 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,9 @@ name: Dispatch CI on: - # At 1:20 PM UTC, only on Friday and Saturday + # At 11:55 AM UTC, only on Saturday and Sunday schedule: - - cron: '20 13 * * 5,6' + - cron: '55 11 * * 6,0' jobs: dispatch-ci: diff --git a/.github/workflows/merge-up.yml b/.github/workflows/merge-up.yml index af7c220..6080d35 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,9 +1,9 @@ name: Merge-up on: - # At 1:20 PM UTC, only on Tuesday + # At 11:55 AM UTC, only on Wednesday schedule: - - cron: '20 13 * * 2' + - cron: '55 11 * * 3' workflow_dispatch: jobs: diff --git a/composer.json b/composer.json index b9e58a2..ec91073 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,9 @@ "require-dev": { "phpunit/phpunit": "^9.6", "squizlabs/php_codesniffer": "^3", - "silverstripe/subsites": "^3" + "silverstripe/subsites": "^3", + "silverstripe/standards": "^1", + "phpstan/extension-installer": "^1.3" }, "extra": [], "autoload": { 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