Skip to content

Commit cdaeec5

Browse files
authored
Merge pull request #1369 from meyerbaptiste/fix_travis_deps_low
Fix Travis when deps are low
2 parents 90197bd + 8631272 commit cdaeec5

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"symfony/finder": "^3.3 || ^4.0",
5757
"symfony/form": "^3.3 || ^4.0",
5858
"symfony/framework-bundle": "^3.3 || ^4.0",
59-
"symfony/phpunit-bridge": "^2.7 || ^3.0 || ^4.0",
59+
"symfony/phpunit-bridge": "^3.3 || ^4.0",
6060
"symfony/routing": "^3.3 || ^4.0",
6161
"symfony/security": "^3.0 || ^4.0",
6262
"symfony/security-bundle": "^3.0 || ^4.0",

phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
colors="true"
99
>
1010
<php>
11+
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak_vendors" />
1112
<ini name="error_reporting" value="-1" />
1213
<ini name="memory_limit" value="-1" />
1314
<server name="KERNEL_DIR" value="tests/Fixtures/app/" />

src/Serializer/AbstractItemNormalizer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,8 @@ protected function getFactoryOptions(array $context): array
357357
* @param array $context
358358
*
359359
* @return array
360+
*
361+
* @deprecated since version 2.1, to be removed in 3.0.
360362
*/
361363
protected function createRelationSerializationContext(string $resourceClass, array $context): array
362364
{

0 commit comments

Comments
 (0)