We should not install the Neos Ui in ci runs as this leads to strong coupling between Neos.Neos and the Ui which already happened:
phpstan reports:
Error: Property Neos\Neos\Controller\Service\NodesController::$nodePropertyConverterService has unknown class Neos\Neos\Ui\Domain\Service\NodePropertyConverterService as its type.
Error: Call to method getPropertiesArray() on an unknown class Neos\Neos\Ui\Domain\Service\NodePropertyConverterService.
Error: Property Neos\Neos\Service\ContentElementWrappingService::$userLocaleService has unknown class Neos\Neos\Ui\Domain\Service\UserLocaleService as its type.
Error: Property Neos\Neos\Service\ContentElementWrappingService::$nodeInfoHelper has unknown class Neos\Neos\Ui\Fusion\Helper\NodeInfoHelper as its type.
Error: Call to method switchToUILocale() on an unknown class Neos\Neos\Ui\Domain\Service\UserLocaleService.
Error: Call to method renderNodeWithPropertiesAndChildrenInformation() on an unknown class Neos\Neos\Ui\Fusion\Helper\NodeInfoHelper.
Error: Call to method switchToUILocale() on an unknown class Neos\Neos\Ui\Domain\Service\UserLocaleService.
And Neos will not even boot without the Ui installed:
The object "Neos\Neos\Ui\Domain\Service\NodePropertyConverterService" which was specified as a property in the object configuration of object "Neos\Neos\Controller\Service\NodesController" (automatically registered class) does not exist.
As we use the development distribution which includes the ui we could either remove it or use a custom test distribution
We should not install the Neos Ui in ci runs as this leads to strong coupling between Neos.Neos and the Ui which already happened:
phpstan reports:
And Neos will not even boot without the Ui installed:
As we use the development distribution which includes the ui we could either remove it or use a custom test distribution
having the ui installed leads to 🐔 🥚 problems, for example when the api changes.