Skip to content

refactor: apply psr-12-extended-coding-style#43

Closed
grandeljay wants to merge 1 commit intospatie:mainfrom
grandeljay:refactor/apply-psr-12-code-style
Closed

refactor: apply psr-12-extended-coding-style#43
grandeljay wants to merge 1 commit intospatie:mainfrom
grandeljay:refactor/apply-psr-12-code-style

Conversation

@grandeljay
Copy link

As described in the PSR-12 Extended Coding Style Guide, I have made the following changes/corrections:

  1. When instantiating a new class, parentheses MUST always be present even when there are no arguments passed to the constructor.

  2. The opening brace for the class MUST go on its own line; the closing brace for the class MUST go on the next line after the body.

The spaces around the concentration operator are not required but I have added for increased readability.

@freekmurze
Copy link
Member

Thanks! I'm going to leave it like it is for now.

@freekmurze freekmurze closed this Oct 28, 2025
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