GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Split the Config class into separate classes to reduce complexity and mess.
Maybe the configuration options could be logically grouped into data/style/other or something similar.
Code and tests complete. Needs code documentation and new user documentation for shortcode / theme integration
Should also be put through some user testing :P
Check scrutinizer if complexity/mess was reduced by refactoring
There are now no problems with complexity or mess in the Config class, the only issue from scrutinizer is that IntegerType and MeasurementType shares a couple of lines which is flagged as copy/paste.