MageTest / BehatMage

Behat for Magento
MIT License
85 stars 31 forks source link

Packagist is complaining about composer.json #85

Open MarcelloDuarte opened 9 years ago

MarcelloDuarte commented 9 years ago

I've got this email from packagist:

Disclaimer: These email notifications are in experimental stage, if you find that they look strange or contain false or misleading information please reply to this email to let us know.

The magetest/magento-behat-extension package of which you are a maintainer has failed to update due to invalid data contained in your composer.json. Please address this as soon as possible since the package stopped updating.

It is recommended that you use composer validate to check for errors when you change your composer.json.

Below is the full update log which should highlight errors as "Skipped branch ...":

[Composer\Repository\InvalidRepositoryException]: Some branches contained invalid data and were discarded, it is advised to review the log and fix any issues present in branches

Reading composer.json of magetest/magento-behat-extension (0.0.3) Importing tag 0.0.3 (0.0.3.0) Reading composer.json of magetest/magento-behat-extension (0.0.2) Importing tag 0.0.2 (0.0.2.0)

Skipped tag 0.0.2, Invalid package information: require-dev.phpspec/phpspec2 : invalid version constraint (Could not parse version constraint magento-demo: Invalid version string "magento-demo")

Reading composer.json of magetest/magento-behat-extension (0.0.1) Importing tag 0.0.1 (0.0.1.0)

Skipped tag 0.0.1, Invalid package information: require-dev.phpspec/phpspec2 : invalid version constraint (Could not parse version constraint magento-demo: Invalid version string "magento-demo")

Reading composer.json of magetest/magento-behat-extension (cleanup) Importing branch cleanup (dev-cleanup) Reading composer.json of magetest/magento-behat-extension (develop) Importing branch develop (dev-develop) Reading composer.json of magetest/magento-behat-extension (feature/Behat3) Skipped branch feature/Behat3, "https://api.github.com/repos/MageTest/BehatMage/contents/composer.json?ref=f6488fddf91e68b4bc6c31e91eef928d2ee9fbcc" does not contain valid JSON Parse error on line 14: ...2-driver": "*", }, "require-dev" ---------------------^ Expected: 'STRING' - It appears you have an extra trailing comma

Reading composer.json of magetest/magento-behat-extension (feature/Product-image-fixture) Importing branch feature/Product-image-fixture (dev-feature/Product-image-fixture) Reading composer.json of magetest/magento-behat-extension (feature/created-at-fix) Importing branch feature/created-at-fix (dev-feature/created-at-fix) Reading composer.json of magetest/magento-behat-extension (feature/direct-magento-driver-proof-of-concept) Importing branch feature/direct-magento-driver-proof-of-concept (dev-feature/direct-magento-driver-proof-of-concept) Reading composer.json of magetest/magento-behat-extension (feature/enhanced-route-excpetion) Importing branch feature/enhanced-route-excpetion (dev-feature/enhanced-route-excpetion) Reading composer.json of magetest/magento-behat-extension (feature/exception-thrown-if-sku-is-missing) Importing branch feature/exception-thrown-if-sku-is-missing (dev-feature/exception-thrown-if-sku-is-missing) Reading composer.json of magetest/magento-behat-extension (feature/exceptions-thrown-from-fixtures) Importing branch feature/exceptions-thrown-from-fixtures (dev-feature/exceptions-thrown-from-fixtures) Reading composer.json of magetest/magento-behat-extension (feature/fix-date-issue-for-product-fixture) Importing branch feature/fix-date-issue-for-product-fixture (dev-feature/fix-date-issue-for-product-fixture) Reading composer.json of magetest/magento-behat-extension (feature/licensing) Importing branch feature/licensing (dev-feature/licensing) Reading composer.json of magetest/magento-behat-extension (feature/refactor) Importing branch feature/refactor (dev-feature/refactor) Reading composer.json of magetest/magento-behat-extension (feature/spec-magento-context-use-of-fixture-factory) Importing branch feature/spec-magento-context-use-of-fixture-factory (dev-feature/spec-magento-context-use-of-fixture-factory) Reading composer.json of magetest/magento-behat-extension (feature/travis) Importing branch feature/travis (dev-feature/travis) Reading composer.json of magetest/magento-behat-extension (master) Importing branch master (dev-master)

aftabnaveed commented 8 years ago

I get the same error complaining about feature/Behat3 here is it

[UnexpectedValueException]
Could not parse version constraint feature/Behat3: Invalid version string "feature/Behat3"

aftabnaveed commented 8 years ago

I think to have figured it out the correct value seems to be dev-feature/Behat3 not sure if that is latest updated version, but that worked for me.