|
@@ -0,0 +1,22 @@
|
|
|
+<?php
|
|
|
+
|
|
|
+/*
|
|
|
+ * This file is part of the Symfony package.
|
|
|
+ *
|
|
|
+ * (c) Fabien Potencier <fabien@symfony.com>
|
|
|
+ *
|
|
|
+ * For the full copyright and license information, please view the LICENSE
|
|
|
+ * file that was distributed with this source code.
|
|
|
+ */
|
|
|
+
|
|
|
+namespace Symfony\Tests\Component\Validator\Constraints;
|
|
|
+
|
|
|
+abstract class LocalizedTestCase extends \PHPUnit_Framework_TestCase
|
|
|
+{
|
|
|
+ protected function setUp()
|
|
|
+ {
|
|
|
+ if (!extension_loaded('intl')) {
|
|
|
+ $this->markTestSkipped('The "intl" extension is not available');
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|