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

Do not emit deprecation notices for 405 errors #420

Merged
merged 5 commits into from
Jan 9, 2017

Conversation

weierophinney
Copy link
Member

As reported in #419, when using zend-stratigility 1.3 with Expressive 1.0, 405 errors are also now accompanied by deprecation notices. Since this is default functionality, we need to swallow those deprecation notices for now.

As reported in zendframework#419, when using zend-stratigility 1.3 with Expressive
1.0, 405 errors are also now accompanied by deprecation notices. Since
this is default functionality, we need to swallow those deprecation
notices for now.
@weierophinney weierophinney added this to the 1.0.6 milestone Jan 9, 2017
- Updated .docheader to no longer require `%date%`
- Updated date range for updated files
A new method introduced in a maintenance release, and called by the
whoops runner when invoked leads to breaking tests. We now test if that
method exists, and, if so, mock it.
…tigility

These versions have `Next` require stratigility request/response
decorators internally; as such, the new test now creates those to pass
to the route middleware.
@@ -1,7 +1,7 @@
<?php
/**
* @see https://github.com/zendframework/zend-expressive for the canonical source repository
* @copyright Copyright (c) 2016 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2016-2017 Zend Technologies USA Inc. (http://www.zend.com)
Copy link
Member

Choose a reason for hiding this comment

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

File is not changed, year shouldn't be then changed here. I hope we can do some auto checks on it, or at least some scripts to update it automatically - maybe on merge?

Copy link
Member Author

Choose a reason for hiding this comment

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

For some reason, this one kept getting flagged until I changed the date range. I have no idea why, and I didn't want to waste more time on it.

@@ -15,6 +15,7 @@
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Message\StreamInterface;
use ReflectionClass;
Copy link
Member

Choose a reason for hiding this comment

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

As this file is changed, year in header license notes should be updated to 2017.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, updating now.

@weierophinney weierophinney merged commit 6ec996f into zendframework:master Jan 9, 2017
weierophinney added a commit that referenced this pull request Jan 9, 2017
weierophinney added a commit that referenced this pull request Jan 9, 2017
weierophinney added a commit that referenced this pull request Jan 9, 2017
Forward port #420

Conflicts:
	CHANGELOG.md
	src/Application.php
@weierophinney weierophinney deleted the hotfix/419 branch January 9, 2017 16:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants