Lowercase and short forms for keywords are covered. Spaces aren't addressed 
because it is quite controversial. Both space after casting and no-space 
after casting styles are used widely.

On Friday, December 28, 2018 at 6:07:21 PM UTC+3, Georgios Mponos wrote:

> Hello,
>
> I am writing this thread in order to notify you about casting issues that 
> got into my attention. I think that PSR-12 is not dealing with how the 
> casting should be styled
>
> https://github.com/squizlabs/PHP_CodeSniffer/pull/2331
>
> Also one more thing that could be useful is this:
>
> https://github.com/doctrine/coding-standard/pull/100
>
> I believe that PSR-12 should deal with spaces inside of cast and spaces 
> before the cast.
>
> Regards,
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/779832be-9459-4d5f-b77a-53b844e2d18b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [PSR-12] Cast... Georgios Mponos
    • Re: [PSR... 'Alexander Makarov' via PHP Framework Interoperability Group
    • Re: [PSR... Georgios Mponos
    • Re: [PSR... Georgios Mponos
      • Re: ... Alessandro Lai
        • ... 'Alexander Makarov' via PHP Framework Interoperability Group
          • ... 'Alexander Makarov' via PHP Framework Interoperability Group
    • Re: [PSR... Georgios Mponos
      • Re: ... 'Alexander Makarov' via PHP Framework Interoperability Group
        • ... 'Alexander Makarov' via PHP Framework Interoperability Group

Reply via email to