From bb80622a1c46dc2eeabbc2c76653c7d6959aa2a0 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 31 Jan 2024 10:14:28 +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 43839f3..2252436 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,9 @@ name: Dispatch CI on: - # At 2:00 PM UTC, only on Tuesday and Wednesday + # At 10:50 PM UTC, only on Friday and Saturday schedule: - - cron: '0 14 * * 2,3' + - cron: '50 22 * * 5,6' jobs: dispatch-ci: diff --git a/.github/workflows/merge-up.yml b/.github/workflows/merge-up.yml index 6e9833f..0cb9096 100644 --- a/.github/workflows/merge-up.yml +++ b/.github/workflows/merge-up.yml @@ -1,9 +1,9 @@ name: Merge-up on: - # At 2:00 PM UTC, only on Saturday + # At 10:50 PM UTC, only on Tuesday schedule: - - cron: '0 14 * * 6' + - cron: '50 22 * * 2' workflow_dispatch: jobs: diff --git a/composer.json b/composer.json index 3692a4a..e2e716c 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,9 @@ "require-dev": { "phpunit/phpunit": "^9.6", "mikey179/vfsstream": "^1.6", - "squizlabs/php_codesniffer": "^3.7" + "squizlabs/php_codesniffer": "^3.7", + "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