Skip to content

Conversation

@lcherone
Copy link

Fixes #2 + plus many other changes and tidy.

**Changes:**

 - Refactored and renamed many variables.
 - Added argument exceptions.
 - Changed formatting to PSR-2 standards.
 - Switched uppercase booleans to lowercase.
 - Added comments.
 - Added option for spaces with indent length instead of just tabs.
Added code examples to comments.
format.php Outdated
* $format = new Format();
*
* // use spaces at 4 length
* echo $format->process('Unformatted HTML string');
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoops, this needs changing to $format->html(), same with others but doesn't affect functionality.

@lcherone
Copy link
Author

fixes booboo's with comments and readme

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