oliverklee / ext-phpunit

PHPUnit extension for TYPO3
https://github.com/oliverklee/tdd-reader
GNU General Public License v2.0
1 stars 8 forks source link

Fix the unit tests with PHP 8.2 #481

Closed oliverklee closed 1 year ago

oliverklee commented 1 year ago

This is related to a change between TYPO3 12.4.5 and 12.4.6.

Run .Build/vendor/bin/typo3 setup --no-interaction --create-site="https://example.com/" --username="${DATABASE_USER}" --host="${DATABASE_HOST}" --port="32768" --dbname="${DATABASE_NAME}" --admin-email="admin@example.com" --driver="sqlite" --password="" --admin-username="admin" --admin-user-*** --project-name="";

Uncaught TYPO3 Exception TYPO3\CMS\Install\Command\SetupCommand::TYPO3\CMS\Install\Command\{closure}(): Argument #1 ($serverType) must be of type string, bool given, called in /home/runner/work/ext-phpunit/ext-phpunit/.Build/vendor/typo3/cms-install/Classes/Command/SetupCommand.php on line 516
thrown in file /home/runner/work/ext-phpunit/ext-phpunit/.Build/vendor/typo3/cms-install/Classes/Command/SetupCommand.php
in line 499