GREAT ! Removing composer.lock IS the solution !
Travis build is OK : https://travis-ci.org/ZF-Commons/ZfcRbac/builds/4441703 I can continue to play with PHPUnit and ZF2. Thank you Marco. Le 29/01/2013 00:45, Marco Pivetta [via Zend Framework Community] a écrit : > A class was probably removed, and the mock wasn't valid anymore. > > Consider removing composer.lock from ZfcRbac. That file should not be > there > > Marco Pivetta > > http://twitter.com/Ocramius > > http://ocramius.github.com/ > > > On 29 January 2013 00:26, jmleroux <[hidden email] > </user/SendEmail.jtp?type=node&node=4658871&i=0>> wrote: > > > Thanks to Marco, I found that my version of ZF-dev is more up to > date than > > that of ZfcRbac. > > > > We should run a composer update in Travis. > > > > Another thing : it works, but I don't know why. > > How a ZF2 update could solve a type hinting error ? Autoloading ? > > > > > > > > -- > > View this message in context: > > > http://zend-framework-community.634137.n4.nabble.com/ZF2-PHPUnit-mocks-Zend-Db-Adapter-and-Travis-CI-type-hinting-tp4658864p4658870.html > > Sent from the Zend Framework mailing list archive at Nabble.com. > > > > -- > > List: [hidden email] </user/SendEmail.jtp?type=node&node=4658871&i=1> > > Info: http://framework.zend.com/archives > > Unsubscribe: [hidden email] > </user/SendEmail.jtp?type=node&node=4658871&i=2> > > > > > > > > > ------------------------------------------------------------------------ > If you reply to this email, your message will be added to the > discussion below: > http://zend-framework-community.634137.n4.nabble.com/ZF2-PHPUnit-mocks-Zend-Db-Adapter-and-Travis-CI-type-hinting-tp4658864p4658871.html > > > To start a new topic under Zend Framework, email > [email protected] > To unsubscribe from [ZF2] PHPUnit mocks Zend\Db\Adapter and Travis-CI > : type hinting, click here > <http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4658864&code=am1sZXJvdXgucHJvQGdtYWlsLmNvbXw0NjU4ODY0fC0xOTkxNzk2MTc2>. > NAML > <http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > -- JM Leroux https://github.com/jmleroux -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/ZF2-PHPUnit-mocks-Zend-Db-Adapter-and-Travis-CI-type-hinting-tp4658864p4658872.html Sent from the Zend Framework mailing list archive at Nabble.com.
