Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0dea24f

Browse filesBrowse files
Merge branch '4.3' into 4.4
* 4.3: Skip deprecations from doctrine/orm Ignore deprecations about doctrine/persistence coming from doctrine/orm skip not applicable tests
2 parents c05245d + b729b5c commit 0dea24f
Copy full SHA for 0dea24f

File tree

Expand file treeCollapse file tree

5 files changed

+29
-2
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+29
-2
lines changed

‎.appveyor.yml

Copy file name to clipboardExpand all lines: .appveyor.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ cache:
99
init:
1010
- SET PATH=c:\php;%PATH%
1111
- SET COMPOSER_NO_INTERACTION=1
12-
- SET SYMFONY_DEPRECATIONS_HELPER=strict
12+
- SET SYMFONY_DEPRECATIONS_HELPER=max[indirect]=7
1313
- SET "SYMFONY_REQUIRE=>=4.2"
1414
- SET ANSICON=121x90 (121x90)
1515
- SET SYMFONY_PHPUNIT_DISABLE_RESULT_CACHE=1

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,8 @@ install:
320320
321321
echo "$COMPONENTS" | parallel --gnu "tfold {} $PHPUNIT_X {}"
322322
323-
tfold src/Symfony/Component/Console.tty $PHPUNIT --group tty
323+
tfold src/Symfony/Component/Console.tty $PHPUNIT src/Symfony/Component/Console --group tty
324+
tfold src/Symfony/Bridge/Twig.tty $PHPUNIT src/Symfony/Bridge/Twig --group tty
324325
325326
if [[ $PHP = ${MIN_PHP%.*} ]]; then
326327
export PHP=$MIN_PHP

‎phpunit

Copy file name to clipboardExpand all lines: phpunit
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,14 @@ if (!getenv('SYMFONY_PATCH_TYPE_DECLARATIONS')) {
2121
putenv('SYMFONY_PATCH_TYPE_DECLARATIONS=deprecations=1');
2222
}
2323
putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');
24+
25+
if (!getenv('SYMFONY_DEPRECATIONS_HELPER')) {
26+
foreach ($_SERVER['argv'] as $v) {
27+
if (false !== strpos($v, 'Bridge/Doctrine')) {
28+
putenv('SYMFONY_DEPRECATIONS_HELPER=max[indirect]=7');
29+
break;
30+
}
31+
}
32+
}
33+
2434
require __DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';

‎src/Symfony/Component/Validator/Tests/Constraints/LessThanOrEqualValidatorWithNegativeOrZeroConstraintTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Constraints/LessThanOrEqualValidatorWithNegativeOrZeroConstraintTest.php
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,14 @@ public function testThrowsOnInvalidStringDates(AbstractComparison $constraint, $
110110
$this->markTestSkipped('The compared value cannot be an invalid string date because it is hardcoded to 0.');
111111
}
112112

113+
/**
114+
* @dataProvider provideComparisonsToNullValueAtPropertyPath
115+
*/
116+
public function testCompareWithNullValueAtPropertyAt($dirtyValue, $dirtyValueAsString, $isValid)
117+
{
118+
$this->markTestSkipped('PropertyPath option is not used in NegativeOrZero constraint');
119+
}
120+
113121
public function testInvalidComparisonToPropertyPathAddsPathAsParameter()
114122
{
115123
$this->markTestSkipped('PropertyPath option is not used in NegativeOrZero constraint');

‎src/Symfony/Component/Validator/Tests/Constraints/LessThanValidatorWithNegativeConstraintTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Constraints/LessThanValidatorWithNegativeConstraintTest.php
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,14 @@ public function testThrowsOnInvalidStringDates(AbstractComparison $constraint, $
110110
$this->markTestSkipped('The compared value cannot be an invalid string date because it is hardcoded to 0.');
111111
}
112112

113+
/**
114+
* @dataProvider provideComparisonsToNullValueAtPropertyPath
115+
*/
116+
public function testCompareWithNullValueAtPropertyAt($dirtyValue, $dirtyValueAsString, $isValid)
117+
{
118+
$this->markTestSkipped('PropertyPath option is not used in Negative constraint');
119+
}
120+
113121
public function testInvalidComparisonToPropertyPathAddsPathAsParameter()
114122
{
115123
$this->markTestSkipped('PropertyPath option is not used in Negative constraint');

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.