In RootPackageLoader.php line 160:
require-dev.phpunit/PHPUnit is invalid, it should not contain uppercase characters. Please use phpunit/phpunit instead.
I tested this working locally by running composer update on a new project containing only the composer.json below.
Can anyone confirm this and update the github repository?
I don't think I can update the project I inherited until this is available due to the autoload and lock features as it seems likely that manually uploading the vendor directory created with the JSON below would cause a critical conflict?
{
"name": "markguinn/silverstripe-email-helpers",
"description": "Silverstripe extension containing SMTP mailer class and some other classes for HTML emails",
"type": "silverstripe-module",
"keywords": ["silverstripe", "email", "smtp", "emogrifier"],
"authors": [
{
"name": "Mark Guinn",
"homepage": "http://github.com/markguinn",
"role": "Developer"
}
],
"require": {
"silverstripe/framework": "~3.0",
"pelago/emogrifier": "^2.0",
"phpmailer/phpmailer": "^5.2.20"
},
"require-dev": {
"phpunit/phpunit": "3.7.*@stable"
},
"extra": {
"installer-name": "email-helpers"
}
}
I attempted to install
silverstripe-email-helpers
to a project I inherited using therequire
command fromreadme.md
.This fails with error
This is due to a typo in the current
composer.json
file in the remotesilverstripe-email-helpers
repository at https://github.com/markguinn/silverstripe-email-helpers/blob/master/composer.jsonLine 19 is
but should be lowercase
I tested this working locally by running
composer update
on a new project containing only thecomposer.json
below.Can anyone confirm this and update the github repository?
I don't think I can update the project I inherited until this is available due to the autoload and lock features as it seems likely that manually uploading the
vendor
directory created with theJSON
below would cause a critical conflict?