You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a recent composer update, my Propel2 validation behaviors began failing.
Error message given include:
In Inline.php line 450:
Colons must be followed by a space or an indication character (i.e. " ", ",", "[", "]", "{", "}") at line 1 (near "{column: per_firstname, validator: Length
, options: {min:2, max: 50}}").
In Inline.php line 450:
Colons must be followed by a space or an indication character (i.e. " ", ",", "[", "]", "{", "}") at line 1 (near "{column: linkname, validator: Length, opt
ions: {min:2, max: 50}}").
It looks like symfony/yaml updated (since it's not specified in Propel2's composer.json file) from 3.4.35 to 4.3.8, which introduced a breaking change to Propel2's reliance on it for the validate behavior.
I resolved it by specifying "symfony/yaml":"^3.4" in my project's composer.json.
The text was updated successfully, but these errors were encountered:
I've seen some issues with yaml 3.0->3.3, I'll check deeper into it.
Do you have an example of the smallest amount of code I can use to reproduce this? It would help if you shared your composer.json and php version also.
After a recent
composer update
, my Propel2 validation behaviors began failing.Error message given include:
It looks like
symfony/yaml
updated (since it's not specified in Propel2'scomposer.json
file) from3.4.35
to4.3.8
, which introduced a breaking change to Propel2's reliance on it for the validate behavior.I resolved it by specifying
"symfony/yaml":"^3.4"
in my project's composer.json.The text was updated successfully, but these errors were encountered: