[PSR-12] Space beetween type casting operatorand the variable.

1,724 views
Skip to first unread message

Denis Pigalov

unread,
Oct 28, 2020, 5:49:29 AM10/28/20
to PHP Framework Interoperability Group
Section 6.1. PSR-12 states that "Type casting operators MUST NOT have any space within the parentheses". What about the space between the cast operator and the variable?

Alex Makarov

unread,
Oct 28, 2020, 7:28:00 AM10/28/20
to php...@googlegroups.com
Not specified. Ether variant is acceptable.

On Wed, Oct 28, 2020 at 12:49 PM Denis Pigalov <for...@gmail.com> wrote:
>
> Section 6.1. PSR-12 states that "Type casting operators MUST NOT have any space within the parentheses". What about the space between the cast operator and the variable?
>
> --
> You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/ae23e758-99eb-4471-b765-093d0dd54db1n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages