idea-php-symfony2-plugin icon indicating copy to clipboard operation
idea-php-symfony2-plugin copied to clipboard

The deprecation annotation about colon in unquoted YAML values has false positives

Open stof opened this issue 9 years ago • 5 comments

The only case triggering an issue is having a colon followed by a space. A colon followed by another char does not cause any issue, but your plugin still reports a warning on such values.

stof avatar Aug 23 '16 13:08 stof

Actually, it looks like the remaining false positive is only when the colon is the last char of the string

stof avatar Aug 23 '16 13:08 stof

@stof any example?

Haehnchen avatar Sep 21 '16 17:09 Haehnchen

Here is a case I got, which is really weird, as there is no colon in the ^/join/[\w\-\=]++~[a-z0-9\-]++$ value being reported.

security:
    access_control:
        - { path: ^/join/[\w\-\=]++~[a-z0-9\-]++$ }

stof avatar Jun 15 '18 12:06 stof

I think this happens when the value contains such [] chars

stof avatar Jun 07 '19 15:06 stof

This also happens when the : is the last character of the value

stof avatar Mar 24 '21 16:03 stof