You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So it looks like ??= new \Jackalope\RepositoryFactoryDoctrineDBAL()->
Should be: ??= (new \Jackalope\RepositoryFactoryDoctrineDBAL()).
Used PHP version: 8.1.6
How to reproduce
Copy following snippet into your terminal to reproduce it (requires PHP 8.1):
git clone [email protected]:sulu/sulu.git
cd sulu
git remote add alex [email protected]:alexander-schranz/sulu.git
git checkout alex/enhancement/update-from-skeleton
composer config minimum-stability dev
composer update
bin/console cache:clear
Possible Solution
Not sure what does cause the issue yet. It does not appear on 6.1.0 so maybe its also just a current @dev problem. Just thought I already greate an issue so maybe avoiding that it maybe can be target before being tagged.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
alexander-schranz
changed the title
Container builder seems to create Invald PHP Syntax
Container builder seems to create Invalid PHP Syntax
Jun 9, 2022
Symfony version(s) affected
6.2.0@dev (not on 6.1.*)
Description
I'm running into a strange issues with building the container in @sulu: https://github.com/sulu/sulu/runs/6810915566?check_suite_focus=true#logs
The generated code looks like this:
So it looks like
??= new \Jackalope\RepositoryFactoryDoctrineDBAL()->
Should be:
??= (new \Jackalope\RepositoryFactoryDoctrineDBAL())
.Used PHP version: 8.1.6
How to reproduce
Copy following snippet into your terminal to reproduce it (requires PHP 8.1):
Possible Solution
Not sure what does cause the issue yet. It does not appear on 6.1.0 so maybe its also just a current
@dev
problem. Just thought I already greate an issue so maybe avoiding that it maybe can be target before being tagged.Additional Context
No response
The text was updated successfully, but these errors were encountered: