Skip to content

Commit

Permalink
Merge branch '4.4' into 5.3
Browse files Browse the repository at this point in the history
* 4.4:
  [HttpClient] mark test transient
  [Mime] Fix test
  Allow package-versions-deprecated plugin
  Update security.lb.xlf
  • Loading branch information
nicolas-grekas committed Dec 25, 2021
2 parents 758c07f + 4d95be0 commit 83e138f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
6 changes: 6 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,12 @@
"ocramius/proxy-manager": "<2.1",
"phpunit/phpunit": "<5.4.3"
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"symfony/runtime": true
}
},
"autoload": {
"psr-4": {
"Symfony\\Bridge\\Doctrine\\": "src/Symfony/Bridge/Doctrine/",
Expand Down
3 changes: 3 additions & 0 deletions src/Symfony/Component/HttpClient/Tests/HttpClientTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ abstract class HttpClientTestCase extends BaseHttpClientTestCase
{
private static $vulcainStarted = false;

/**
* @group transient-on-macos
*/
public function testTimeoutOnDestruct()
{
if (!method_exists(parent::class, 'testTimeoutOnDestruct')) {
Expand Down
4 changes: 2 additions & 2 deletions src/Symfony/Component/Mime/Tests/Header/HeadersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,14 +283,14 @@ public function testToArray()
public function testInReplyToAcceptsNonIdentifierValues()
{
$headers = new Headers();
$headers->addHeader('In-Reply-To', 'foobar');
$headers->addTextHeader('In-Reply-To', 'foobar');
$this->assertEquals('foobar', $headers->get('In-Reply-To')->getBody());
}

public function testReferencesAcceptsNonIdentifierValues()
{
$headers = new Headers();
$headers->addHeader('References' , 'foobar');
$headers->addTextHeader('References' , 'foobar');
$this->assertEquals('foobar', $headers->get('References')->getBody());
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="lb" datatype="plaintext" original="security.en.xlf">
<file source-language="en" datatype="plaintext" original="file.ext">
<body>
<trans-unit id="1">
<source>An authentication exception occurred.</source>
Expand Down

0 comments on commit 83e138f

Please sign in to comment.