Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Ensure proper PHPDoc #234

Merged
merged 4 commits into from
May 1, 2017
Merged

Ensure proper PHPDoc #234

merged 4 commits into from
May 1, 2017

Conversation

boesing
Copy link
Member

@boesing boesing commented Apr 27, 2017

Since always(?), the AbstractActionController::notFoundAction and the AbstractActionController::indexAction return ViewModel/ConsoleModel instead of array.

Aswell, I've removed deprecated methods which are already replaced by controller plugins aswell.

boesing added 3 commits April 27, 2017 17:19
…ller`

Since those methods got already replaced by controller plugins, we can safely remove the method declaration and let the `AbstractController::__call` method handle the plugin calls.
- Fixed `return` for `AbstractActionController::indexAction`
- Added exception description to `AbstractActionController::onDispatch`
*
* {@inheritDoc}
*/
protected function createHttpNotFoundModel(HttpResponse $response)
Copy link
Member

Choose a reason for hiding this comment

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

While these methods should have been removed for the 3.0 release, they were not, and, as such, doing so now is a backwards compatibility break. Please create a separate PR for these removals which we can tag for the 4.0 release (which will target PHP 7.1).

Thanks!

Copy link
Member Author

Choose a reason for hiding this comment

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

Actually they were removed in #99
I will revert the commit on this for release-2.7 tho.

@weierophinney weierophinney added this to the 2.7.13 milestone May 1, 2017
@weierophinney weierophinney changed the title Ensure proper PHPDoc and remove deprecated methods Ensure proper PHPDoc May 1, 2017
@weierophinney weierophinney merged commit 15d766f into zendframework:release-2.7 May 1, 2017
weierophinney added a commit that referenced this pull request May 1, 2017
Ensure proper PHPDoc and remove deprecated methods
weierophinney added a commit that referenced this pull request May 1, 2017
weierophinney added a commit that referenced this pull request May 1, 2017
@weierophinney
Copy link
Member

Thanks, @boesing

@boesing boesing deleted the enhancement/fix-docblock branch May 2, 2017 21:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants