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

Move global const into class #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

h3xx
Copy link

@h3xx h3xx commented Feb 7, 2023

Stop adding to the global const table.

The class constant construct has been available since PHP 5. See https://www.php.net/manual/en/language.oop5.constants.php

@mikespub
Copy link

Included in seblucas/cops#522 and release 1.3.4 at https://github.com/mikespub-org/seblucas-cops

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.

2 participants