Skip to content

Added deprecation log for PropertyAccess::getPropertyAccessor. Issue #12... #12661

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

Closed
wants to merge 2 commits into from

Conversation

lenardpalko
Copy link

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? yes
Tests pass? yes
Fixed tickets #12636
License MIT
Doc PR

Added deprecation log for PropertyAccess::getPropertyAccessor.

@@ -48,6 +48,8 @@ public static function createPropertyAccessorBuilder()
*/
public static function getPropertyAccessor()
{
trigger_error('getPropertyAccessor() is deprecated since version 2.3 and will be removed in 3.0. Use createPropertyAccessor() instead.', E_USER_DEPRECATED);
Copy link
Member

Choose a reason for hiding this comment

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

Please prefix by the concerned class name

@nicolas-grekas
Copy link
Member

👍

@fabpot
Copy link
Member

fabpot commented Nov 29, 2014

Thank you @lenardpalko.

@fabpot fabpot closed this in 95b117c Nov 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants