diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 613eff1..09f94a5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,4 +17,4 @@ jobs: with: extra_jobs: | - name_suffix: subsites - composer_require_extra: silverstripe/subsites:^2 + composer_require_extra: silverstripe/subsites:^3 diff --git a/_config.php b/_config.php deleted file mode 100644 index 31684ea..0000000 --- a/_config.php +++ /dev/null @@ -1,5 +0,0 @@ -queuedJob; } - protected function write(array $record) + protected function write(LogRecord $record): void { // Write formatted message $this->getQueuedJob()->addMessage($record['formatted']); diff --git a/tests/SolrReindexTest/SolrReindexTest_Handler.php b/tests/SolrReindexTest/SolrReindexTest_Handler.php index ea29bcd..74babba 100644 --- a/tests/SolrReindexTest/SolrReindexTest_Handler.php +++ b/tests/SolrReindexTest/SolrReindexTest_Handler.php @@ -3,6 +3,7 @@ namespace SilverStripe\FullTextSearch\Tests\SolrReindexTest; use Monolog\Handler\AbstractProcessingHandler; +use Monolog\LogRecord; use SilverStripe\Dev\TestOnly; /** @@ -32,7 +33,7 @@ class SolrReindexTest_Handler extends AbstractProcessingHandler implements TestO $this->messages = array(); } - protected function write(array $record) + protected function write(LogRecord $record): void { $this->messages[] = $record['message']; }