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

Add getStringProperty($name) to AbstractRule.php #11

Merged
merged 3 commits into from Sep 7, 2012
Merged

Add getStringProperty($name) to AbstractRule.php #11

merged 3 commits into from Sep 7, 2012

Conversation

ghost
Copy link

@ghost ghost commented Mar 30, 2012

Allows you to get at all properties, not just ints and bools. Is useful to create highly configurable rules -- in my case, to list disallowed functions in the rules file.

@ghost
Copy link
Author

ghost commented Mar 31, 2012

Forgot to commit the testcase -- added now.

Also added a quick fix to prevent tests from failing in environments where no default timezone is set.

manuelpichler added a commit that referenced this pull request Sep 7, 2012
Add getStringProperty($name) to AbstractRule.php
@manuelpichler manuelpichler merged commit b7d659f into phpmd:master Sep 7, 2012
@ravage84 ravage84 added this to the 1.4.0 milestone Jul 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants