From 3c9260b55660d0d3cebec2d035f40f03d8d2c66e Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 31 Jan 2024 15:17:37 +1300 Subject: [PATCH] MNT Run module-standardiser --- .github/workflows/dispatch-ci.yml | 4 ++-- .github/workflows/merge-up.yml | 4 ++-- composer.json | 6 ++++-- phpstan.neon.dist | 3 +++ 4 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 phpstan.neon.dist diff --git a/.github/workflows/dispatch-ci.yml b/.github/workflows/dispatch-ci.yml index 5fd71f7..ec17d59 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,9 @@ name: Dispatch CI on: - # At 1:10 PM UTC, only on Wednesday and Thursday + # At 11:55 AM UTC, only on Thursday and Friday schedule: - - cron: '10 13 * * 3,4' + - cron: '55 11 * * 4,5' jobs: dispatch-ci: diff --git a/.github/workflows/merge-up.yml b/.github/workflows/merge-up.yml index 5824ea7..6999606 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,9 +1,9 @@ name: Merge-up on: - # At 1:10 PM UTC, only on Sunday + # At 11:55 AM UTC, only on Monday schedule: - - cron: '10 13 * * 0' + - cron: '55 11 * * 1' workflow_dispatch: jobs: diff --git a/composer.json b/composer.json index 94805b3..6745c15 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,9 @@ "silverstripe/assets": "^2" }, "require-dev": { - "silverstripe/recipe-testing": "^3" + "silverstripe/recipe-testing": "^3", + "silverstripe/standards": "^1", + "phpstan/extension-installer": "^1.3" }, "autoload": { "psr-4": { @@ -28,4 +30,4 @@ "SilverStripe\\ElementalFileBlock\\Tests\\Behat\\Context\\": "tests/behat/src/" } } -} \ No newline at end of file +} 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