Reformat with phptidy.#63
Conversation
|
At the moment DSOMM is more script based and not Object Oriented. Therefore, we mostly get "unknown" type. How does a documentation help? To have a clean code guideline and test the code against it, is a good idea and it looks like phptidy does a good job. Should we put that in a github action? The comments are useless from my point of view. |
|
It's just for reformatting code, so that we don't need to care about '\n'' in patches. |
This might be a good starting point for further improvement. It looks like phpdoc, but not sure since phptidy doesn't provide documentation on this - in case the formatting is from phptidy. Anyways, phpdoc is a valuable. A good example might be the documentation standard of Drupal: https://www.drupal.org/docs/develop/standards/api-documentation-and-comment-standards Example use: |
This PR
reformats code with phptidy