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 new rules for global functions and constants #10

Merged
merged 3 commits into from
Oct 13, 2020

Conversation

rieschl
Copy link
Member

@rieschl rieschl commented Oct 13, 2020

I'd like to introduce two new rules:

  • all global constants must be imported (fully qualified notation is not allowed)
  • all global functions must be imported (fully qualified notation is not allowed)

That means that all global functions and constants have to be imported. Using the fully qualified name (i.e. \strlen) is not allowed.
That also means requiring a new dependency (webimpress/coding-standard).

* all global constants must be imported (fully qualified notation is not allowed)
* all global functions must be imported (fully qualified notation is not allowed)

* add LICENSE file
* apply formatting of XML
@rieschl rieschl merged commit acd5988 into master Oct 13, 2020
@rieschl rieschl deleted the import-global-function branch October 13, 2020 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants