It sounds wrong, but it's how YAML works. See https://github.com/php-actions/composer/pull/75 Numbers should be quoted for decimals to behave correctly.