Skip to content

Follow PSR, cleanup. Add array handling into addClass/removeClass #21

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mastacontrola
Copy link

Just things I saw that might help out.

Feel free to cleanup and use as you see fit.

Just wanted to follow more in line with PSR standards, in particular PSR-2 as far as commenting and line lengths go.

Improved upon the void elements to show and work for a more robust list.

Adds many more comments.
Structures to follow more of 'PSR' style of information and layout.
Enables the addClass and removeClass to operate on arrays.
Enables usage of separating and operating on arrays when string for
class elements contains spaces.
PHPUnit tests pass successfully.
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.

1 participant