diff --git a/.github/workflows/dispatch-ci.yml b/.github/workflows/dispatch-ci.yml index 3975a7bd..2dfeeda4 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,15 +1,15 @@ name: Dispatch CI on: - # At 12:30 PM UTC, only on Sunday and Monday + # At 11:55 AM UTC, only on Monday and Tuesday schedule: - - cron: '30 12 * * 0,1' + - cron: '55 11 * * 1,2' jobs: dispatch-ci: name: Dispatch CI - # Only run cron on the silverstripe account - if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule') + # Only run cron on the symbiote account + if: (github.event_name == 'schedule' && github.repository_owner == 'symbiote') || (github.event_name != 'schedule') runs-on: ubuntu-latest steps: - name: Dispatch CI diff --git a/.github/workflows/merge-up.yml b/.github/workflows/merge-up.yml index 029cda9d..a5e5dca8 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,9 +1,9 @@ name: Merge-up on: - # At 12:30 PM UTC, only on Thursday + # At 11:55 AM UTC, only on Friday schedule: - - cron: '30 12 * * 4' + - cron: '55 11 * * 5' workflow_dispatch: jobs: diff --git a/composer.json b/composer.json index f9cbb1e4..72f2ca6e 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,9 @@ }, "require-dev": { "phpunit/phpunit": "^9.6", - "squizlabs/php_codesniffer": "^3.7" + "squizlabs/php_codesniffer": "^3.7", + "silverstripe/standards": "^1", + "phpstan/extension-installer": "^1.3" }, "minimum-stability": "dev", "prefer-stable": true, diff --git a/phpstan.neon.dist b/phpstan.neon.dist new file mode 100644 index 00000000..beb9de3c --- /dev/null +++ b/phpstan.neon.dist @@ -0,0 +1,3 @@ +parameters: + paths: + - src