{"action":"created","issue":{"url":"https://api.github.com/repos/Incenteev/ParameterHandler/issues/102","repository_url":"https://api.github.com/repos/Incenteev/ParameterHandler","labels_url":"https://api.github.com/repos/Incenteev/ParameterHandler/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/Incenteev/ParameterHandler/issues/102/comments","events_url":"https://api.github.com/repos/Incenteev/ParameterHandler/issues/102/events","html_url":"https://github.com/Incenteev/ParameterHandler/issues/102","id":158686768,"number":102,"title":"ParameterHandler is adding unnecessary quotes to yaml values making it useless","user":{"login":"phackwer","id":4871786,"avatar_url":"https://avatars.githubusercontent.com/u/4871786?v=3","gravatar_id":"","url":"https://api.github.com/users/phackwer","html_url":"https://github.com/phackwer","followers_url":"https://api.github.com/users/phackwer/followers","following_url":"https://api.github.com/users/phackwer/following{/other_user}","gists_url":"https://api.github.com/users/phackwer/gists{/gist_id}","starred_url":"https://api.github.com/users/phackwer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phackwer/subscriptions","organizations_url":"https://api.github.com/users/phackwer/orgs","repos_url":"https://api.github.com/users/phackwer/repos","events_url":"https://api.github.com/users/phackwer/events{/privacy}","received_events_url":"https://api.github.com/users/phackwer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-06T14:08:02Z","updated_at":"2016-06-06T14:39:57Z","closed_at":null,"body":"Greetings,\r\n\r\nI'm using Phalcon PHP, and decided to use the composer-parameter-handler to update application dist files.\r\n\r\nThe point is, I'm adding speciffically an exclamation point, since this is what the Phalcon Yaml Reader requires me to do, and for some odd reason, yours paramerter handler keeps adding this unwanted quotes.\r\n\r\nHere is how to reproduce the error:\r\n\r\n1 - Create a dist file, and add:\r\ndatabase_path:          !app_path /db.sqlite\r\n2 - Do a composer install\r\n3 - Here is the result:\r\ndatabase_path: '!app_path /db.sqlite'\r\n\r\nUnfortunatelly the YAML reader can't handle the app_path variable that should be replaced and everything goes to waste.\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/Incenteev/ParameterHandler/issues/comments/223979055","html_url":"https://github.com/Incenteev/ParameterHandler/issues/102#issuecomment-223979055","issue_url":"https://api.github.com/repos/Incenteev/ParameterHandler/issues/102","id":223979055,"user":{"login":"phackwer","id":4871786,"avatar_url":"https://avatars.githubusercontent.com/u/4871786?v=3","gravatar_id":"","url":"https://api.github.com/users/phackwer","html_url":"https://github.com/phackwer","followers_url":"https://api.github.com/users/phackwer/followers","following_url":"https://api.github.com/users/phackwer/following{/other_user}","gists_url":"https://api.github.com/users/phackwer/gists{/gist_id}","starred_url":"https://api.github.com/users/phackwer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phackwer/subscriptions","organizations_url":"https://api.github.com/users/phackwer/orgs","repos_url":"https://api.github.com/users/phackwer/repos","events_url":"https://api.github.com/users/phackwer/events{/privacy}","received_events_url":"https://api.github.com/users/phackwer/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T14:39:57Z","updated_at":"2016-06-06T14:39:57Z","body":"So, it's all Symfony Yaml Reader's fault?\r\n\r\nThe Yaml Standard set the following for the ! use:\r\n\r\n\"The “!” (#x21, exclamation) is heavily overloaded for specifying node tags. It is used to denote tag handles used in tag directives and tag properties; to denote local tags; and as the non-specific tag for non-plain scalars.\" - http://yaml.org/spec/1.2/spec.html\r\n\r\nI reinforce this: It is used to denote tag handles.\r\n\r\nIt's a handler to allow the adding of values dinamically.\r\n\r\nSo, I suggest you drop the use of the Symfony Yaml Reader and start use one that fits the standards for PHP.\r\n\r\nI wonder why not doing so since the beginning.\r\n\r\nhttp://php.net/manual/en/book.yaml.php\r\n\r\nAnyway, I will try a different approach and drop the use of your component. Thank you anyway."}}
{"actor":{"display_login":"phackwer"}}