From 5164d65b7c17ceddeb248c180f5f53ab88e2d06d Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 31 Jan 2024 10:17:50 +1300 Subject: [PATCH] MNT Run module-standardiser --- .github/workflows/dispatch-ci.yml | 4 ++-- composer.json | 6 ++++-- phpstan.neon.dist | 3 +++ 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 phpstan.neon.dist diff --git a/.github/workflows/dispatch-ci.yml b/.github/workflows/dispatch-ci.yml index 40f8e76..23389af 100644 --- a/.github/workflows/dispatch-ci.yml +++ b/.github/workflows/dispatch-ci.yml @@ -1,9 +1,9 @@ name: Dispatch CI on: - # At 2:10 PM UTC, only on Thursday and Friday + # At 1:05 PM UTC, only on Saturday and Sunday schedule: - - cron: '10 14 * * 4,5' + - cron: '5 13 * * 6,0' jobs: dispatch-ci: diff --git a/composer.json b/composer.json index 29bb389..77774dc 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,9 @@ "silverstripe/session-manager": "2.1.x-dev" }, "require-dev": { - "phpunit/phpunit": "^9.6" + "phpunit/phpunit": "^9.6", + "silverstripe/standards": "^1", + "phpstan/extension-installer": "^1.3" }, "extra": { "project-files": [ @@ -33,4 +35,4 @@ }, "prefer-stable": true, "minimum-stability": "dev" -} \ No newline at end of file +} diff --git a/phpstan.neon.dist b/phpstan.neon.dist new file mode 100644 index 0000000..299c86b --- /dev/null +++ b/phpstan.neon.dist @@ -0,0 +1,3 @@ +parameters: + paths: + - app/src