10000 merged branch fabpot/removed-unused-code (PR #8440) · symfony/symfony@4efac29 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4efac29

Browse files
committed
merged branch fabpot/removed-unused-code (PR #8440)
This PR was merged into the 2.3 branch. Discussion ---------- removed unused code | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- c60bdf5 removed unused code
2 parents 92c30b9 + c60bdf5 commit 4efac29

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterMappingsPass.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Bridge\Doctrine\DependencyInjection\CompilerPass;
1313

1414
use Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException;
15-
1615
use Symfony\Component\DependencyInjection\ContainerBuilder;
1716
use Symfony\Component\DependencyInjection\Definition;
1817
use Symfony\Component\DependencyInjection\Reference;

src/Symfony/Component/Intl/Util/IntlTestHelper.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ public static function requireIntl(\PhpUnit_Framework_TestCase $testCase)
3939
// * the intl extension is loaded with version Intl::getIcuStubVersion()
4040
// * the intl extension is not loaded
4141

42-
if (IcuVersion::compare(Intl::getIcuVersion(), Intl::getIcuStubVersion(), '!=', $precision = 1)) {
42+
if (IcuVersion::compare(Intl::getIcuVersion(), Intl::getIcuStubVersion(), '!=', 1)) {
4343
$testCase->markTestSkipped('Please change ICU version to ' . Intl::getIcuStubVersion());
4444
}
4545

46-
if (IcuVersion::compare(Intl::getIcuDataVersion(), Intl::getIcuStubVersion(), '!=', $precision = 1)) {
46+
if (IcuVersion::compare(Intl::getIcuDataVersion(), Intl::getIcuStubVersion(), '!=', 1)) {
4747
$testCase->markTestSkipped('Please change the Icu component to version 1.0.x or 1.' . IcuVersion::normalize(Intl::getIcuStubVersion(), 1) . '.x');
4848
}
4949

@@ -75,12 +75,12 @@ public static function requireFullIntl(\PhpUnit_Framework_TestCase $testCase)
7575
}
7676

7777
// ... and only if the version is *one specific version* ...
78-
if (IcuVersion::compare(Intl::getIcuVersion(), Intl::getIcuStubVersion(), '!=', $precision = 1)) {
78+
if (IcuVersion::compare(Intl::getIcuVersion(), Intl::getIcuStubVersion(), '!=', 1)) {
7979
$testCase->markTestSkipped('Please change ICU version to ' . Intl::getIcuStubVersion());
8080
}
8181

8282
// ... and only if the data in the Icu component matches that version.
83-
if (IcuVersion::compare(Intl::getIcuDataVersion(), Intl::getIcuStubVersion(), '!=', $precision = 1)) {
83+
if (IcuVersion::compare(Intl::getIcuDataVersion(), Intl::getIcuStubVersion(), '!=', 1)) {
8484
$testCase->markTestSkipped('Please change the Icu component to version 1.0.x or 1.' . IcuVersion::normalize(Intl::getIcuStubVersion(), 1) . '.x');
8585
}
8686

0 commit comments

Comments
 (0)
0