I'll pull-request.
On Wednesday, January 16, 2019 at 12:56:14 PM UTC+3, Alexander Makarov
wrote:
>
> Agree.
>
> On Tuesday, January 8, 2019 at 3:33:20 PM UTC+3, Alessandro Lai wrote:
>>
>> I agree, spacing before could be required and spacing inside could be
>> forbidden.
>>
>> Il giorno giovedì 3 gennaio 2019 20:35:00 UTC+1, Georgios Mponos ha
>> scritto:
>>>
>>> Elaborating further:
>>>
>>>
>>> case 1:
>>>
>>> if ( (bool) $var === true){
>>>
>>> }
>>>
>>> // although this might be covered from section about if statements
>>>
>>> case 2:
>>>
>>> $var =(bool)$var1;
>>>
>>> // although this might from other section related with assignment of
>>> variable...
>>>
>>> case 3:
>>> ( bool ) $var === true
>>>
>>> // I think this is not covered from any section
>>>
>>> Τη Παρασκευή, 28 Δεκεμβρίου 2018 - 5:07:21 μ.μ. UTC+2, ο χρήστης
>>> Georgios Mponos έγραψε:
>>>>
>>>> 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/e48de38c-8b43-4c79-baeb-990c4691d6f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.