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

User::load() calls should be avoided in classes #546

Closed
3 tasks done
pfrenssen opened this issue Jul 23, 2019 · 1 comment
Closed
3 tasks done

User::load() calls should be avoided in classes #546

pfrenssen opened this issue Jul 23, 2019 · 1 comment

Comments

@pfrenssen
Copy link
Contributor

pfrenssen commented Jul 23, 2019

  • Remove the following line from phpcs-ruleset.xml.dist:
    <exclude name="DrupalPractice.Objects.GlobalClass.GlobalClass" />
  • Run ./vendor/bin/phpcs
  • Fix all reported warnings.
@MPParsley
Copy link
Collaborator

Solved in #601

@pfrenssen pfrenssen added this to the 8.x-1.0-alpha5 milestone Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants