All my services and parameters from services.yml are striked and I get the message "Not quoting a scalar starting with the "%" indicator character is deprecated since Symfony 3.1". But I am using Symfony 2.6 and I don't want to put the values in quotes since it is not needed for this version. This happened only after I updated my Symfony Plugin for PhpStorm 2016.1
What can I do to avoid this? (using PhpStorm 10 or using an older plugin is not an option)
The inspection you mention is not provided by PhpStorm 2016.1 but by the
Symfony Pluginplugin.As with any other inspection, it can be easily disabled if you press Alt-Enter* or click on the yellow bulb that appears at the start of the offending line then select
Disable inspectionfrom the submenu ofInspection 'Yaml escaped \ in quoted inspection' options.You can also find this inspection in the
Settings/Preferencewindow, underEditor->Inspections->Symfony->Twig.* I am using PhpStorm on OSX and this is the key combination on the default keymap.