friendly-snippets icon indicating copy to clipboard operation
friendly-snippets copied to clipboard

Update php snippet due to PSR-12

Open oldy777 opened this issue 10 months ago • 0 comments

Definition for classes

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.

Definition for methods

Method and function names MUST NOT be declared with space after the method name. The opening brace MUST go on its own line, and the closing brace MUST go on the next line following the body. There MUST NOT be a space after the opening parenthesis, and there MUST NOT be a space before the closing parenthesis.

oldy777 avatar Feb 03 '25 14:02 oldy777