Skip to content

Commit 4dfcfc8

Browse files
minor #61103 Fix various bool-type coercions (Girgias)
This PR was squashed before being merged into the 6.4 branch. Discussion ---------- Fix various bool-type coercions | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no <!-- if yes, also update UPGRADE-*.md and src/**/CHANGELOG.md --> | Issues | | License | MIT This is cherry-picking some of the commits from #60890 which are basically bugs. Not sure what the commit naming policy is so do let me know if you want me to manually rebase and rename commits following some guidelines. Commits ------- b3d30e3b60e Fix various bool-type coercions
2 parents 9c17469 + 5b9aa18 commit 4dfcfc8

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

Tests/Extension/Core/Type/CountryTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class CountryTypeTest extends BaseTypeTestCase
2020

2121
protected function setUp(): void
2222
{
23-
IntlTestHelper::requireIntl($this, false);
23+
IntlTestHelper::requireIntl($this);
2424

2525
parent::setUp();
2626
}

Tests/Extension/Core/Type/CurrencyTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class CurrencyTypeTest extends BaseTypeTestCase
2020

2121
protected function setUp(): void
2222
{
23-
IntlTestHelper::requireIntl($this, false);
23+
IntlTestHelper::requireIntl($this);
2424

2525
parent::setUp();
2626
}

Tests/Extension/Core/Type/IntegerTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class IntegerTypeTest extends BaseTypeTestCase
2121

2222
protected function setUp(): void
2323
{
24-
IntlTestHelper::requireIntl($this, false);
24+
IntlTestHelper::requireIntl($this);
2525
$this->previousLocale = \Locale::getDefault();
2626
parent::setUp();
2727
}

Tests/Extension/Core/Type/LanguageTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class LanguageTypeTest extends BaseTypeTestCase
2121

2222
protected function setUp(): void
2323
{
24-
IntlTestHelper::requireIntl($this, false);
24+
IntlTestHelper::requireIntl($this);
2525

2626
parent::setUp();
2727
}

Tests/Extension/Core/Type/LocaleTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class LocaleTypeTest extends BaseTypeTestCase
2020

2121
protected function setUp(): void
2222
{
23-
IntlTestHelper::requireIntl($this, false);
23+
IntlTestHelper::requireIntl($this);
2424

2525
parent::setUp();
2626
}

Tests/Extension/Core/Type/TimezoneTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function testIntlTimeZoneInputWithBcAndIntl()
143143

144144
public function testTimezonesAreSelectableWithIntl()
145145
{
146-
IntlTestHelper::requireIntl($this, false);
146+
IntlTestHelper::requireIntl($this);
147147

148148
$choices = $this->factory->create(static::TESTED_TYPE, null, ['intl' => true])
149149
->createView()->vars['choices'];

0 commit comments

Comments
 (0)