Fix pipeline errors

- Use MySQL for running tests as the SQLite version is not new enough.
- Fix phpcs error.
This commit is contained in:
Oliver Davies 2024-08-04 16:12:57 +01:00
parent d076a6fb78
commit f545502947
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@
<env name="MINK_DRIVER_ARGS_WEBDRIVER" value=''/> <env name="MINK_DRIVER_ARGS_WEBDRIVER" value=''/>
<env name="MINK_DRIVER_CLASS" value=''/> <env name="MINK_DRIVER_CLASS" value=''/>
<env name="SIMPLETEST_BASE_URL" value="http://web"/> <env name="SIMPLETEST_BASE_URL" value="http://web"/>
<env name="SIMPLETEST_DB" value="sqlite://localhost//dev/shm/test.sqlite"/> <env name="SIMPLETEST_DB" value="mysql://app:app@database/app#test"/>
<ini name="error_reporting" value="32767"/> <ini name="error_reporting" value="32767"/>
<ini name="memory_limit" value="-1"/> <ini name="memory_limit" value="-1"/>

View file

@ -12,7 +12,7 @@ final class ExamplePageController {
use StringTranslationTrait; use StringTranslationTrait;
public function __construct( public function __construct(
private LoggerChannelFactoryInterface $logger private LoggerChannelFactoryInterface $logger,
) {} ) {}
/** /**