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

Fix per-level functions to not throw undefined constant warnings #12

Merged
merged 1 commit into from
Mar 1, 2013
Merged

Conversation

lord2800
Copy link
Contributor

@lord2800 lord2800 commented Mar 1, 2013

The class constants need to be prefixed with self:: (or the class name, but self:: makes it always do the right thing if Analog gets subclassed), otherwise PHP doesn't recognize DEBUG et. al. as class constants and throws a fit.

@jbroadway
Copy link
Owner

Thanks!

jbroadway added a commit that referenced this pull request Mar 1, 2013
Fix per-level functions to not throw undefined constant warnings
@jbroadway jbroadway merged commit 3a21482 into jbroadway:master Mar 1, 2013
@lord2800
Copy link
Contributor Author

lord2800 commented Mar 2, 2013

No problem! Just glad to help.

@chadkouse
Copy link

Can you make a version in packagist for this?

@jbroadway
Copy link
Owner

Ah yes! Should be up as 1.0.2-stable now :)

@chadkouse
Copy link

muchas graçias

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