You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor symfony#58160 stop using TestCase::iniSet() (xabbuh)
This PR was merged into the 7.2 branch.
Discussion
----------
stop using `TestCase::iniSet()`
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues |
| License | MIT
Commits
-------
eb3db82 stop using TestCase::iniSet()
$this->assertSame('transliterator_transliterate: Neither "start" nor the "end" arguments can exceed the number of UTF-16 code units (in this case, 3): U_ILLEGAL_ARGUMENT_ERROR', intl_get_error_message());
$this->assertSame('transliterator_transliterate: Neither "start" nor the "end" arguments can exceed the number of UTF-16 code units (in this case, 3): U_ILLEGAL_ARGUMENT_ERROR', intl_get_error_message());
159
164
160
-
$this->iniSet('intl.use_exceptions', 1);
165
+
ini_set('intl.use_exceptions', 1);
161
166
162
-
$this->expectException(\IntlException::class);
163
-
$this->expectExceptionMessage('transliterator_transliterate: Neither "start" nor the "end" arguments can exceed the number of UTF-16 code units (in this case, 3)');
167
+
$this->expectException(\IntlException::class);
168
+
$this->expectExceptionMessage('transliterator_transliterate: Neither "start" nor the "end" arguments can exceed the number of UTF-16 code units (in this case, 3)');
0 commit comments