Skip to content

Move symfony/yaml to require from require-dev #13

@lasselehtinen

Description

@lasselehtinen

Hi,

Seems like symfony/yaml is in require-dev when it is actually a required library even for basic usage. This comes up when I am doing a composer update with --no-dev, which is kind of standard for production deployments. I would have made a PR, but I am not sure of other libraries are actually required as well.

  [Symfony\Component\Debug\Exception\FatalThrowableError]
  Fatal error: Class 'Symfony\Component\Yaml\Parser' not found


Exception trace:
 () at /var/www/deployment/releases/20160531112827/vendor/giftcards/fixed-width/                                                                                                                                                          src/Giftcards/FixedWidth/Spec/Loader/YamlSpecLoader.php:28
 Giftcards\FixedWidth\Spec\Loader\YamlSpecLoader->loadSpecFile() at /var/www/dep                                                                                                                                                             loyment/releases/20160531112827/vendor/giftcards/fixed-width/src/Giftcards/Fixed                                                                                                                                                             Width/Spec/Loader/AbstractSpecFileLoader.php:32
 Giftcards\FixedWidth\Spec\Loader\AbstractSpecFileLoader->initializeSpec() at /v                                                                                                                                                             ar/www/deployment/releases/20160531112827/vendor/giftcards/fixed-width/src/Giftc                                                                                                                                                             ards/FixedWidth/Spec/Loader/ArraySpecLoader.php:33
 Giftcards\FixedWidth\Spec\Loader\ArraySpecLoader->loadSpec() at /var/www/deploy                                                                                                                                                             ment/releases/20160531112827/vendor/giftcards/fixed-width/src/Giftcards/FixedWid                                                                                                                                                             th/Spec/FileFactory.php:56

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions