Skip to content
This repository was archived by the owner on Feb 10, 2023. It is now read-only.

Commit a802254

Browse files
Don't recommend any specific implementation
1 parent 4d69ecd commit a802254

8 files changed

+8
-8
lines changed

src/WellKnownHttplugClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
if (null !== $vendor = ConcreteImplementation::HTTPLUG_VENDOR) {
1616
class_alias(Internal::class."\\{$vendor}\\{$vendor}HttplugClient", WellKnownHttplugClient::class);
1717
} else {
18-
throw new \LogicException('Supported Httplug implementation not found, try running "composer require symfony/http-client".');
18+
throw new \LogicException('Cannot find any of the well-known HTTPlug implementations; please "composer require" one of them.');
1919
}
2020

2121
if (false) {

src/WellKnownPsr18Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
if (null !== $vendor = ConcreteImplementation::PSR18_VENDOR) {
1515
class_alias(Internal::class."\\{$vendor}\\{$vendor}Psr18Client", WellKnownPsr18Client::class);
1616
} else {
17-
throw new \LogicException('Supported PSR-18 implementation not found, try running "composer require symfony/http-client".');
17+
throw new \LogicException('Cannot find any of the well-known PSR-18 implementations; please "composer require" one of them.');
1818
}
1919

2020
if (false) {

src/WellKnownPsr7Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
if (null !== $vendor = ConcreteImplementation::PSR7_VENDOR) {
1616
class_alias(Internal::class."\\{$vendor}\\{$vendor}Psr7Request", WellKnownPsr7Request::class);
1717
} else {
18-
throw new \LogicException('Supported PSR-7 implementation not found, try running "composer require nyholm/psr7".');
18+
throw new \LogicException('Cannot find any of the well-known PSR-7 implementations; please "composer require" one of them.');
1919
}
2020

2121
if (false) {

src/WellKnownPsr7Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
if (null !== $vendor = ConcreteImplementation::PSR7_VENDOR) {
1515
class_alias(Internal::class."\\{$vendor}\\{$vendor}Psr7Response", WellKnownPsr7Response::class);
1616
} else {
17-
throw new \LogicException('Supported PSR-7 implementation not found, try running "composer require nyholm/psr7".');
17+
throw new \LogicException('Cannot find any of the well-known PSR-7 implementations; please "composer require" one of them.');
1818
}
1919

2020
if (false) {

src/WellKnownPsr7ServerRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
if (null !== $vendor = ConcreteImplementation::PSR7_VENDOR) {
1616
class_alias(Internal::class."\\{$vendor}\\{$vendor}Psr7ServerRequest", WellKnownPsr7ServerRequest::class);
1717
} else {
18-
throw new \LogicException('Supported PSR-7 implementation not found, try running "composer require nyholm/psr7".');
18+
throw new \LogicException('Cannot find any of the well-known PSR-7 implementations; please "composer require" one of them.');
1919
}
2020

2121
if (false) {

src/WellKnownPsr7Stream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
if (null !== $vendor = ConcreteImplementation::PSR7_VENDOR) {
1515
class_alias(Internal::class."\\{$vendor}\\{$vendor}Psr7Stream", WellKnownPsr7Stream::class);
1616
} else {
17-
throw new \LogicException('Supported PSR-7 implementation not found, try running "composer require nyholm/psr7".');
17+
throw new \LogicException('Cannot find any of the well-known PSR-7 implementations; please "composer require" one of them.');
1818
}
1919

2020
if (false) {

src/WellKnownPsr7UploadedFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
if (null !== $vendor = ConcreteImplementation::PSR7_VENDOR) {
1616
class_alias(Internal::class."\\{$vendor}\\{$vendor}Psr7UploadedFile", WellKnownPsr7UploadedFile::class);
1717
} else {
18-
throw new \LogicException('Supported PSR-7 implementation not found, try running "composer require nyholm/psr7".');
18+
throw new \LogicException('Cannot find any of the well-known PSR-7 implementations; please "composer require" one of them.');
1919
}
2020

2121
if (false) {

src/WellKnownPsr7Uri.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
if (null !== $vendor = ConcreteImplementation::PSR7_VENDOR) {
1515
class_alias(Internal::class."\\{$vendor}\\{$vendor}Psr7Uri", WellKnownPsr7Uri::class);
1616
} else {
17-
throw new \LogicException('Supported PSR-7 implementation not found, try running "composer require nyholm/psr7".');
17+
throw new \LogicException('Cannot find any of the well-known PSR-7 implementations; please "composer require" one of them.');
1818
}
1919

2020
if (false) {

0 commit comments

Comments
 (0)