Skip to content

Conversation

@jasonbahl
Copy link
Contributor

The test environment frowns on static methods/static class variables.

This PR changes the Registry class to no longer use statics.

This will mean that when needing the methods from the class in the Admin UIs, we'll need to instantiate the Registry class then call $registry->name_of_method() instead of static Registry::name_of_method() but now the test environment isn't sad.


I also added phpcs.xml.dist and ran composer fix-cs

- add .coveralls.yml
- add .distignore
- add .editorconfig
- add .gitattributes
- add codeception.dist.yml
- add phpcs.ruleset.xml
- remove bootstrap from being activated as a plugin
- run composer run fix-cs
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