Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Class ZfSimpleMigrations\Library\MigrationAbstractFactory contains 2 abstract methods #16

Open
luyandasiko opened this issue Nov 11, 2016 · 2 comments

Comments

@luyandasiko
Copy link

I have just installed this library and I am getting this issue. Please check below full details:

 Fatal error: Class ZfSimpleMigrations\Library\MigrationAbstractFactory contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (Zend\ServiceManager\Factory\AbstractFactoryInterface::canCreate, Zend\ServiceManager\Factory\FactoryInterface::__invoke) in /var/www/clients/vendor/vgarvardt/zf-simple-migrations/src/ZfSimpleMigrations/Library/MigrationAbstractFactory.php on line 12

Any I deas on how I can fix it?

@zored
Copy link

zored commented Nov 21, 2017

@luyandasiko I suppose that you are using ZF3 service manager which has compatability issues with this library. Here are abstract factories affected by it:

\ZfSimpleMigrations\Model\MigrationVersionTableGatewayAbstractFactory
\ZfSimpleMigrations\Library\MigrationSkeletonGeneratorAbstractFactory
\ZfSimpleMigrations\Model\MigrationVersionTableAbstractFactory
\ZfSimpleMigrations\Library\MigrationAbstractFactory

Anyone not busy enough for adding ZF3 support here? 😄

@luyandasiko
Copy link
Author

@zored Thanks for your response and giving those file listing pointers. Maybe it is high time for me to pull up my sleeves as well and see if I can fix this by attempting to resolve those compatibility issues.

Thanks I will see if I can spare some time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants