Skip to content

Commit

Permalink
Merge pull request PHPMailer#2583 from jrfnl/feature/composer-update-…
Browse files Browse the repository at this point in the history
…version-constraints

Composer: update version constraints
  • Loading branch information
Synchro authored Dec 18, 2021
2 parents a127e25 + d5a5ad1 commit ff796f2
Show file tree
Hide file tree
Showing 41 changed files with 2 additions and 42 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"doctrine/annotations": "^1.2",
"php-parallel-lint/php-console-highlighter": "^0.5.0",
"php-parallel-lint/php-parallel-lint": "^1.3",
"php-parallel-lint/php-parallel-lint": "^1.3.1",
"phpcompatibility/php-compatibility": "^9.3.5",
"roave/security-advisories": "dev-latest",
"squizlabs/php_codesniffer": "^3.6.0",
"squizlabs/php_codesniffer": "^3.6.2",
"yoast/phpunit-polyfills": "^1.0.0"
},
"suggest": {
Expand Down
1 change: 0 additions & 1 deletion test/OAuth/OAuthTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
*/
final class OAuthTest extends TestCase
{

/**
* Test OAuth method.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/AddEmbeddedImageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
*/
final class AddEmbeddedImageTest extends PreSendTestCase
{

/**
* Test successfully adding an embedded image.
*/
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/AddStringAttachmentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
*/
final class AddStringAttachmentTest extends PreSendTestCase
{

/**
* Test successfully adding a simple plain string attachment.
*/
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/AddStringEmbeddedImageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
*/
final class AddStringEmbeddedImageTest extends PreSendTestCase
{

/**
* Test successfully adding a stingified embedded image without a name.
*/
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/AuthCRAMMD5Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
*/
final class AuthCRAMMD5Test extends SendTestCase
{

/**
* Test CRAM-MD5 authentication.
* Needs a connection to a server that supports this auth mechanism, so commented out by default.
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/CustomHeaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
*/
final class CustomHeaderTest extends TestCase
{

/**
* Tests setting and getting custom headers.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/DKIMTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/
final class DKIMTest extends SendTestCase
{

/**
* Whether or not to initialize the PHPMailer object to throw exceptions.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/EncodeQTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/
final class EncodeQTest extends TestCase
{

/**
* Test encoding a string using Q encoding.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/EncodeStringTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
*/
final class EncodeStringTest extends TestCase
{

/**
* Encoding and charset tests.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/FileIsAccessibleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
*/
final class FileIsAccessibleTest extends TestCase
{

/**
* Verify whether the "is a file accessible" check works correctly.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/FilenameToTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/
final class FilenameToTypeTest extends TestCase
{

/**
* Verify mapping a file name to a MIME type.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/GenerateIdTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/
final class GenerateIdTest extends PreSendTestCase
{

/**
* Test generating a unique ID.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/GetLastMessageIDTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/
final class GetLastMessageIDTest extends PreSendTestCase
{

/**
* Test setting and retrieving an invalid message ID.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/HasLineLongerThanMaxTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
*/
final class HasLineLongerThanMaxTest extends PreSendTestCase
{

/**
* Test constructing a multipart message that contains lines that are too long for RFC compliance.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/Html2TextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/
final class Html2TextTest extends TestCase
{

/**
* Test converting an arbitrary HTML string into plain text.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/ICalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
*/
final class ICalTest extends PreSendTestCase
{

/**
* Test ICal method.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/IsPermittedPathTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/
final class IsPermittedPathTest extends TestCase
{

/**
* Test whether the validation of whether a path is of a permitted type works correctly.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/IsValidHostTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/
final class IsValidHostTest extends TestCase
{

/**
* Test host validation when a valid host is passed.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/LocalizationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
*/
final class LocalizationTest extends TestCase
{

/**
* Test setting the preferred language for error messages.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/MailTransportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
*/
final class MailTransportTest extends SendTestCase
{

/**
* Test sending using SendMail.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/MbPathinfoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/
final class MbPathinfoTest extends TestCase
{

/**
* Verify retrieving information about a file path when the $options parameter has been passed.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/MimeTypesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/
final class MimeTypesTest extends TestCase
{

/**
* Test mime type mapping.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/NormalizeBreaksTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/
final class NormalizeBreaksTest extends TestCase
{

/**
* Test line break normalization.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/ParseAddressesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
*/
final class ParseAddressesTest extends TestCase
{

/**
* Test RFC822 address splitting using the PHPMailer native implementation
* with the Mbstring extension available.
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/PunyencodeAddressTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/
final class PunyencodeAddressTest extends TestCase
{

/**
* Test IDN to ASCII form/punycode conversion for an email address.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/QuotedStringTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/
final class QuotedStringTest extends TestCase
{

/**
* Test quoting of a string depending on the content of the string.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/ReplyToGetSetClearTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
*/
final class ReplyToGetSetClearTest extends PreSendTestCase
{

/**
* Test adding a non-IDN reply-to address.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/SetErrorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/
final class SetErrorTest extends TestCase
{

/**
* Test simple, non-STMP, error registration.
*/
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/SetFromTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/
final class SetFromTest extends TestCase
{

/**
* Test succesfully setting the From, FromName and Sender properties.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/SetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
*/
final class SetTest extends TestCase
{

/**
* Test setting the value of a class property.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/SetWordWrapTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/
final class SetWordWrapTest extends PreSendTestCase
{

/**
* Test word-wrapping a message.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/Utf8CharBoundaryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/
final class Utf8CharBoundaryTest extends TestCase
{

/**
* Verify that the utf8CharBoundary() returns the correct last character boundary for encoded text.
*
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/ValidateAddressCustomValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/
final class ValidateAddressCustomValidatorTest extends TestCase
{

/**
* Test injecting a one-off custom validator.
*/
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/ValidateAddressTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
*/
final class ValidateAddressTest extends TestCase
{

/**
* Run before this test class.
*/
Expand Down
1 change: 0 additions & 1 deletion test/PHPMailer/WrapTextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/
final class WrapTextTest extends TestCase
{

/**
* Test wrapping text.
*
Expand Down
1 change: 0 additions & 1 deletion test/POP3/PopBeforeSmtpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
*/
final class PopBeforeSmtpTest extends TestCase
{

/**
* PIDs of any processes we need to kill.
*
Expand Down
1 change: 0 additions & 1 deletion test/PreSendTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
*/
abstract class PreSendTestCase extends TestCase
{

/**
* Property names and their values for the test instance of the PHPMailer class.
*
Expand Down
1 change: 0 additions & 1 deletion test/Security/DenialOfServiceVectorsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
*/
final class DenialOfServiceVectorsTest extends SendTestCase
{

/**
* Test this denial of service attack.
*
Expand Down
1 change: 0 additions & 1 deletion test/SendTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
*/
abstract class SendTestCase extends PreSendTestCase
{

/**
* Translation map for supported $REQUEST keys to the property name in the PHPMailer class.
*
Expand Down
1 change: 0 additions & 1 deletion test/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/
abstract class TestCase extends PolyfillTestCase
{

/**
* Whether or not to initialize the PHPMailer object to throw exceptions.
*
Expand Down

0 comments on commit ff796f2

Please sign in to comment.