Yesterday our server (ubuntu 16.04) was updated by “dist-upgrade” which installed php7.3. After manually installation of missing php-modules we got exceptions
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ...
two core files are involved:
In our flow application based on flow 5.2 I could fix that by using “break” (line 164 in DataMapper) and “continue 2” (line 205 in DataMapper and line 311 in Compiler).
In another application bases on flow 4.2 additional exceptions are thrown in
Doctrine\ORM\UnitOfWork.php. Here any tries of fixing it end up in
“could not find driver” in Doctrine/DBAL/Driver/AbstractMySQLDriver.php
Unfortunately “composer update” fails with same error.
Two questions about this:
- how can I check which php version uses the flow application und
- how I get the exact flow version on command line or is the only way to look into “composer.json”?
Very annoying: the flow 4 bases application is heavly used by our company…