diff --git a/.github/workflows/dispatch-ci.yml b/.github/workflows/dispatch-ci.yml index 3faa031..0d84905 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 Monday and Tuesday + # At 10:50 PM UTC, only on Sunday and Monday schedule: - - cron: '30 11 * * 1,2' + - cron: '50 22 * * 0,1' jobs: dispatch-ci: diff --git a/.github/workflows/merge-up.yml b/.github/workflows/merge-up.yml index 1dc1648..b0a7ad4 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 Friday + # At 10:50 PM UTC, only on Thursday schedule: - - cron: '30 11 * * 5' + - cron: '50 22 * * 4' workflow_dispatch: jobs: diff --git a/composer.json b/composer.json index 8e35615..16e4c99 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,9 @@ "phpunit/phpunit": "^9.6", "squizlabs/php_codesniffer": "^3.7", "silverstripe/cms": "^5", - "silverstripe/frameworktest": "^1" + "silverstripe/frameworktest": "^1", + "silverstripe/standards": "^1", + "phpstan/extension-installer": "^1.3" }, "scripts": { "lint": "phpcs src/ tests/", 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