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

remove PHP_VERSION_ID check before 50323 #6785

Closed
wants to merge 8 commits into from

Conversation

samsonasik
Copy link
Contributor

since our minimum php version is 5.3.23

* @param bool $value
* @return Bcrypt
*/
public function setBackwardCompatibility($value)
Copy link
Member

Choose a reason for hiding this comment

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

Removing the methods is quite a BC break. Deprecate them and make them no-op (always return the same value, do nothing) instead

@samsonasik
Copy link
Contributor Author

@Ocramius done ;). I've re-add the setBackwardCompatibility\getBacwardCompatibility functions.

@@ -896,14 +896,6 @@ protected static function isSubclassOf($className, $type)
if (is_subclass_of($className, $type)) {

Choose a reason for hiding this comment

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

return is_subclass_of($className, $type);

@@ -208,13 +207,6 @@ protected static function isSubclassOf($className, $type)
if (is_subclass_of($className, $type)) {

Choose a reason for hiding this comment

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

Another candidate for returning is_subclass_of() directly.

Ocramius added a commit that referenced this pull request Nov 27, 2014
…sage

See bug https://bugs.php.net/bug.php?id=53727
See bug #1807

Deprecating protected static polyfill method `isSubclassOf`
Ocramius added a commit that referenced this pull request Nov 27, 2014
…sage

See bug https://bugs.php.net/bug.php?id=53727
See bug #1807

Deprecating protected static polyfill method `isSubclassOf`
Ocramius added a commit that referenced this pull request Nov 27, 2014
…sage

See bug https://bugs.php.net/bug.php?id=53727
See bug #1807

Deprecating protected static polyfill method `isSubclassOf`
Ocramius added a commit that referenced this pull request Nov 27, 2014
…sage

See bug https://bugs.php.net/bug.php?id=53727
See bug #1807

Deprecating protected static polyfill method `isSubclassOf`
Ocramius added a commit that referenced this pull request Nov 27, 2014
…sage

See bug https://bugs.php.net/bug.php?id=53727
See bug #1807

Deprecating protected static polyfill method `isSubclassOf`
Ocramius added a commit that referenced this pull request Nov 27, 2014
@Ocramius Ocramius closed this in 3eb24ff Nov 27, 2014
@Ocramius
Copy link
Member

@samsonasik merged manually, thanks!

master: 3eb24ff
develop: 8c8b913

gianarb pushed a commit to zendframework/zend-servicemanager that referenced this pull request May 15, 2015
…f protected static method usage

See bug https://bugs.php.net/bug.php?id=53727
See bug zendframework/zendframework#1807

Deprecating protected static polyfill method `isSubclassOf`
gianarb pushed a commit to zendframework/zend-servicemanager that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-servicemanager that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-math that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-math that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-loader that referenced this pull request May 15, 2015
…f protected static method usage

See bug https://bugs.php.net/bug.php?id=53727
See bug zendframework/zendframework#1807

Deprecating protected static polyfill method `isSubclassOf`
gianarb pushed a commit to zendframework/zend-loader that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-loader that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-crypt that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-crypt that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-crypt that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-xmlrpc that referenced this pull request May 15, 2015
…f protected static method usage

See bug https://bugs.php.net/bug.php?id=53727
See bug zendframework/zendframework#1807

Deprecating protected static polyfill method `isSubclassOf`
gianarb pushed a commit to zendframework/zend-xmlrpc that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-xmlrpc that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-di that referenced this pull request May 15, 2015
…f protected static method usage

See bug https://bugs.php.net/bug.php?id=53727
See bug zendframework/zendframework#1807

Deprecating protected static polyfill method `isSubclassOf`
gianarb pushed a commit to zendframework/zend-di that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-di that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-log that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-log that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants