From 8b8b1e5fe4bbe7ed4f5b8fec57aa01a62eb72646 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 31 Jan 2024 10:18:53 +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 dfd6715..628ead3 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,9 @@ name: Dispatch CI on: - # At 1:00 PM UTC, only on Friday and Saturday + # At 10:50 PM UTC, only on Monday and Tuesday schedule: - - cron: '0 13 * * 5,6' + - cron: '50 22 * * 1,2' jobs: dispatch-ci: diff --git a/.github/workflows/merge-up.yml b/.github/workflows/merge-up.yml index b95e07b..f37d17f 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,9 +1,9 @@ name: Merge-up on: - # At 1:00 PM UTC, only on Tuesday + # At 10:50 PM UTC, only on Friday schedule: - - cron: '0 13 * * 2' + - cron: '50 22 * * 5' workflow_dispatch: jobs: diff --git a/composer.json b/composer.json index cea7dc6..7bc4a79 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,9 @@ "require-dev": { "phpunit/phpunit": "^9.6", "squizlabs/php_codesniffer": "^3.0", - "silverstripe/versioned": "^2" + "silverstripe/versioned": "^2", + "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 0000000..beb9de3 --- /dev/null +++ b/phpstan.neon.dist @@ -0,0 +1,3 @@ +parameters: + paths: + - src