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
refactored factories for SM v3 #558
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,24 +35,25 @@ | |
"doctrine/common": "~2.6", | ||
"doctrine/cache": "~1.5", | ||
"symfony/console": "~2.3|~3.0", | ||
"zendframework/zend-authentication": "~2.3", | ||
"zendframework/zend-cache": "~2.3", | ||
"zendframework/zend-paginator": "~2.3", | ||
"zendframework/zend-stdlib": "~2.3", | ||
"zendframework/zend-mvc": "~2.3", | ||
"zendframework/zend-servicemanager": "~2.3", | ||
"zendframework/zend-validator": "~2.3" | ||
"zendframework/zend-authentication": "^2.5.2", | ||
"zendframework/zend-cache": "^2.5.2", | ||
"zendframework/zend-paginator": "^2.6", | ||
"zendframework/zend-stdlib": "^2.7.6", | ||
"zendframework/zend-hydrator": "^1.1", | ||
"zendframework/zend-mvc": "^2.5.2", | ||
"zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3", | ||
"zendframework/zend-validator": "^2.5.2" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "~4.0", | ||
"doctrine/coding-standard": "dev-master", | ||
"zendframework/zend-test": "~2.3", | ||
"zendframework/zend-modulemanager": "~2.3", | ||
"zendframework/zend-serializer": "~2.3", | ||
"zendframework/zend-log": "~2.3", | ||
"zendframework/zend-i18n": "~2.3", | ||
"zendframework/zend-version": "~2.3", | ||
"zendframework/zend-session": "~2.3" | ||
"zendframework/zend-test": "^2.5.2", | ||
"zendframework/zend-modulemanager": "^2.6.1", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. zend-modulemanager had some bugs and with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ya, fine |
||
"zendframework/zend-serializer": "^2.6", | ||
"zendframework/zend-log": "^2.5.2", | ||
"zendframework/zend-i18n": "^2.6", | ||
"zendframework/zend-version": "^2.5", | ||
"zendframework/zend-session": "^2.5.2" | ||
}, | ||
"suggest": { | ||
"doctrine/data-fixtures": "Data Fixtures if you want to generate test data or bootstrap data for your deployments" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TomHAnderson zend-stdlib <2.7.6 versions have BC issues so maybe ^2.7.6 are better? I can change if you want.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zend-stdlib > 2.7 https://github.com/zendframework/zend-stdlib/releases/tag/release-2.7.7 no longer has hydrators so this cannot be merged unless zend-stdlib is limited to <= 2.7
I have said in other posts that 2.6 is the limit. I can be sure it's one of these two and 3.0 is completely out of the question so anything > 2.7 is a no-go. So the only long term solution for ^2.7.6 is to merge #548 with this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zend-stdlib 2.* does have hydrators, yes main code is moved to zend-hydrator but it still exists and they will not remove them in 2.* releases. And this PR isn't long term solution (just best I can do to support SMv3 without making BC break) you can expect long term solution in DoctrineModule 1.0 version when will be possible to remove stdlib-hydrator. with DoctrineModule 1.0 we can drop support for zend-servicemanager 2.* and zend-stdlib 2.* also can bump zend-hydrator 1.* to 2.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also I would vote that hydrators should be moved into separate module this could be done now and also would solve a lot problems for other modules depending on this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought ^2.7.6 would include 3.0 and above too. At 3.0 the hydrators are no longer in zend-stdlib.
I'm fine with moving the hydrators out. @veewee ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I dont mind if they move. Maybe it's time to rethink the hydrator completely in another repo... If we make it better by default, we don't need the phpro hydrator module anymore.