conjecto / nemrod

Nemrod is a framework providing an abstraction layer for handling (consuming and producing) RDF in a Symfony2 project
http://conjecto.github.io/nemrod
Other
23 stars 6 forks source link

Compile Error: Declaration of Conjecto\Nemrod\Bundle\NemrodBundle\ParamConverter\ResourceParamConverter::apply() must be compatible #11

Closed NadaBen closed 8 years ago

NadaBen commented 8 years ago

Hello, when i updated my composer to add a new bundle, nemrod bundle change version and it gives me this error, how to solve that please? FatalErrorException in ResourceParamConverter.php line 27: Compile Error: Declaration of Conjecto\Nemrod\Bundle\NemrodBundle\ParamConverter\ResourceParamConverter::apply() must be compatible with Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterInterface::apply(Symfony\Component\HttpFoundation\Request $request, Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter $configuration)

conjectwan commented 8 years ago

Hello, I accepted a pull-request that is incomplete and I undo the modification. So you can re-pull it would work again :)

NadaBen commented 8 years ago

How i can i re-pull it ??

conjectwan commented 8 years ago

composer update conjecto/nemrod

NadaBen commented 8 years ago

I did it but same error

conjectwan commented 8 years ago

In your composer.json, which is the Nemrod version ?

NadaBen commented 8 years ago
    "conjecto/nemrod": "@dev",
    "easyrdf/easyrdf": "@dev",
    "conjecto/json-ld": "@dev",
conjectwan commented 8 years ago

Use "conjecto/nemrod": "dev-master" and make a composer update conjecto/nemrod. It would have work previously but sometimes it take times to reports dependency updates with composer.

NadaBen commented 8 years ago

it works, thank you