symfony-cmf / routing-auto-bundle

Adding automatic route generating on top of the symfony cmf routing
https://cmf.symfony.com
14 stars 29 forks source link

createAutoRoute third argument incompatible with interface #212

Closed jrmyio closed 7 years ago

jrmyio commented 7 years ago

I am getting an error on https://github.com/symfony-cmf/routing-auto-bundle/blob/master/src/Adapter/PhpcrOdmAdapter.php#L112 because the interface https://github.com/symfony-cmf/routing-auto/blob/master/src/AdapterInterface.php#L51 does not have a $locale variable.

Setting the third argument $locale = null fixes the problem.

Is this related to / since PHP 7.1.5 ?

ElectricMaxxx commented 7 years ago

@ConneXNL exactly. We try to use the latest RC of routing-auto here in the bundle, but are failing see #211 So the the RC's are not in sync anymore. Please use exaclty RC1/2 of routing-auto for now.