Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to ZF3 #57

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Upgrade to ZF3 #57

wants to merge 3 commits into from

Conversation

juizmill
Copy link

@juizmill juizmill commented Aug 3, 2017

Update to work on ZF3.

Updates have been made on all packages and on the version of PHP 5.6 or 7.0

I have not yet tested the configuration file, if there is anyone who can help I'll be grateful.

@dkern
Copy link

dkern commented Aug 4, 2017

What is the reason that you require php 7 and test only php 7.1 too? ZF3 has a minimal requirement of php 5.6, so you should create all extensions based on this requirement of 5.6, to keep the environment on an even level.

- 5.5
- 5.6
- 7.0
- 7.1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add 5.6 and 7.0 back to tests too

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried adding PHP version 5.6 but this one giving error because of a doctrine dependency, could help solve?

"zendframework/zend-http": "^2.1.6",
"zendframework/zend-console": "^2.1.6",
"dompdf/dompdf": "^0.6.0"
"php": "^7.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change back to 5.6


class PdfStrategy implements ListenerAggregateInterface
class PdfStrategy extends AbstractListenerAggregate
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should still implement \Zend\EventManager\ListenerAggregateInterface

Copy link
Author

@juizmill juizmill Aug 4, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The AbstractListenerAggregate class already implements the ListenerAggregateInterface interface and it contains the implementation of the detach method in which it was implemented by the ZF community, I do not think it has the need to write the method again knowing that it already exists, I think we should reuse it.

https://github.com/zendframework/zend-eventmanager/blob/master/src/AbstractListenerAggregate.php

@raykolbe raykolbe self-assigned this Sep 23, 2017
@raykolbe raykolbe added this to the 0.6.0 milestone Sep 23, 2017
@raykolbe
Copy link
Owner

@juizmill @eisbehr- I took an initial stab at moving to ZF3 #73

Can you give this a try? It would be most helpful!

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

Successfully merging this pull request may close these issues.

3 participants