Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants