From a9c405986e2fdfde3ee5bb22f22929cf244f4f07 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Mon, 17 Feb 2020 08:39:24 +1100 Subject: [PATCH] Update patch URL and remove patch content as per standard now --- composer.json | 2 +- composer.lock | 15 ++++++++++----- .../scripts/composer/patches/net-smtp-patch.patch | 13 ------------- 3 files changed, 11 insertions(+), 19 deletions(-) delete mode 100644 tools/scripts/composer/patches/net-smtp-patch.patch diff --git a/composer.json b/composer.json index 8bb5d61f13..22db3a1639 100644 --- a/composer.json +++ b/composer.json @@ -243,7 +243,7 @@ "Add tests for binary data round trip": "https://github.com/php-cache/integration-tests/commit/89cd7068e83aa776774bfc44f6bcba858c085616.patch" }, "pear/net_smtp": { - "Add in CiviCRM custom error message for CRM-8744": "tools/scripts/composer/patches/net-smtp-patch.patch" + "Add in CiviCRM custom error message for CRM-8744": "https://raw.githubusercontent.com/civicrm/civicrm-core/a6a0ff13d2a155ad962529595dceaef728116f96/tools/scripts/composer/patches/net-smtp-patch.patch" }, "phpoffice/common": { "Fix handling of libxml_disable_entity_loader": "https://raw.githubusercontent.com/civicrm/civicrm-core/9d93748a36c7c5d44422911db1c98fb2f7067b34/tools/scripts/composer/patches/phpoffice-common-xml-entity-fix.patch" diff --git a/composer.lock b/composer.lock index a82aa24850..1443ab2324 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f545c6e46af52039ade0c29ca8fe41e5", + "content-hash": "705221f636824b774ef9fb35f3bfc987", "packages": [ { "name": "cache/integration-tests", @@ -34,6 +34,13 @@ "tedivm/stash": "dev-master" }, "type": "library", + "extra": { + "patches_applied": { + "Allow adding tests": "https://github.com/php-cache/integration-tests/commit/05f97174c09364dc10c084a38ba0cfd5124f4cec.patch", + "Support PHPUnit 6+": "https://github.com/php-cache/integration-tests/commit/1ec7362962185df91d3d749bc3fa7e7b99cb9fc7.patch", + "Add tests for binary data round trip": "https://github.com/php-cache/integration-tests/commit/89cd7068e83aa776774bfc44f6bcba858c085616.patch" + } + }, "autoload": { "psr-4": { "Cache\\IntegrationTests\\": "src/" @@ -1011,7 +1018,7 @@ "type": "library", "extra": { "patches_applied": { - "Add in CiviCRM custom error message for CRM-8744": "tools/scripts/composer/patches/net-smtp-patch.patch" + "Add in CiviCRM custom error message for CRM-8744": "https://raw.githubusercontent.com/civicrm/civicrm-core/a6a0ff13d2a155ad962529595dceaef728116f96/tools/scripts/composer/patches/net-smtp-patch.patch" } }, "autoload": { @@ -2410,9 +2417,7 @@ "version": "3.0.0+php53", "dist": { "type": "zip", - "url": "https://github.com/tplaner/When/archive/c1ec099f421bff354cc5c929f83b94031423fc80.zip", - "reference": null, - "shasum": null + "url": "https://github.com/tplaner/When/archive/c1ec099f421bff354cc5c929f83b94031423fc80.zip" }, "require": { "php": ">=5.3.0" diff --git a/tools/scripts/composer/patches/net-smtp-patch.patch b/tools/scripts/composer/patches/net-smtp-patch.patch deleted file mode 100644 index 3a77c36792..0000000000 --- a/tools/scripts/composer/patches/net-smtp-patch.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- Net/SMTP.php 2019-12-01 10:40:31.000000000 +1100 -+++ Net/SMTP.php 2020-02-08 14:36:53.758318869 +1100 -@@ -376,7 +376,9 @@ - return true; - } - -- return PEAR::raiseError('Invalid response code received from server', $this->code); -+ // CRM-8744 -+ $errorMessage = 'Invalid response code received from SMTP server while sending email. This is often caused by a misconfiguration in Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP).'; -+ return PEAR::raiseError($errorMessage, $this->code, PEAR_ERROR_RETURN); - } - - /** -- 2.25.1