Skip to content
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

protected property PHP_Depend_Code_Method::$parent #97

Closed
manuelpichler opened this issue Jul 3, 2012 · 0 comments
Closed

protected property PHP_Depend_Code_Method::$parent #97

manuelpichler opened this issue Jul 3, 2012 · 0 comments
Assignees
Milestone

Comments

@manuelpichler
Copy link
Contributor

All of a sudden my (by Sonar initiated) PHP_Depend exited with the subject as error. The pointer accompanied with it led to line 554 in ASTNode.php. Setting this to $node->setParent($this); did not result in the expected behavior, since the function setParent expects an ASTNodeI (Interface) as parameter instead of an ASTNode object. Not sure if the parameter of setParent should be the non-interface or if something else should be done to fix this problem.

[Synced from PivotalTracker: 'http://www.pivotaltracker.com/story/show/32189493']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant