Hello,
The Interface InjectionAwareInterface has changed between version 1.3.4 and 2.0 :
The method setDi now declare the type of the parameter passed (\Phalcon\DiInterface $dependencyInjector)
So I use a conditionnal class declaration for creating a compatible library with the 2 versions of InjectionAwareInterface :
abstract class _MyLib implements \Phalcon\DI\InjectionAwareInterface {
    protected $_di;
    protected function _setDi($di) {
        $this->_di=$di;
        //Other stuff
    }
    ...
}
if (Version::get()==="1.3.4") {
    class MyLib extends _MyLib {
        public function setDi($di) {
            $this->_setDi($di);
        }
    }
} else {
    class MyLib extends _MyLib {
        public function setDi(DiInterface $di) {
            $this->_setDi($di);
        }
    }
}Is there-a cleaner solution ? without using a conditional declaration of the classes?