Phpinspectionsea: Incorrect <Short syntax for applied operation>

Created on 26 Jun 2019  路  2Comments  路  Source: kalessil/phpinspectionsea

Applying short syntax notation fix works incorrectly.

        $str1 = 'a';
        $str2 = 'b';

        $str1 = $str1.'='.$str2;

Current behaviour

//I get
$str1 .= $str2.'=';

Expected behaviour

//Should be 
$str1 .= '='.$str2;

Php Inspections (EA Extended) update v3.0.14

bug / false-positive fixed

Most helpful comment

Fixed!

All 2 comments

I confirm. I observed the same on Ultimate and now I have it on Extended since the update.

Fixed!

Was this page helpful?
0 / 5 - 0 ratings