diff --git a/.github/workflows/dispatch-ci.yml b/.github/workflows/dispatch-ci.yml index 56caf43..61c422d 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,9 @@ name: Dispatch CI on: - # At 11:30 AM UTC, only on Wednesday and Thursday + # At 8:40 PM UTC, only on Monday and Tuesday schedule: - - cron: '30 11 * * 3,4' + - cron: '40 20 * * 1,2' jobs: dispatch-ci: diff --git a/.github/workflows/merge-up.yml b/.github/workflows/merge-up.yml index 3c95623..b91fec8 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,9 +1,9 @@ name: Merge-up on: - # At 11:30 AM UTC, only on Sunday + # At 8:40 PM UTC, only on Friday schedule: - - cron: '30 11 * * 0' + - cron: '40 20 * * 5' workflow_dispatch: jobs: diff --git a/composer.json b/composer.json index 8cf022f..6d41d1c 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,9 @@ "require-dev": { "silverstripe/recipe-testing": "^3", "squizlabs/php_codesniffer": "^3", - "symbiote/silverstripe-queuedjobs": "^5" + "symbiote/silverstripe-queuedjobs": "^5", + "silverstripe/standards": "^1", + "phpstan/extension-installer": "^1.3" }, "suggest": { "symbiote/silverstripe-queuedjobs": "Automatically schedules content review emails to be sent, only requiring one crontask to be created" @@ -52,4 +54,4 @@ }, "minimum-stability": "dev", "prefer-stable": true -} \ 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