diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-04 17:50:34 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-04 17:50:34 +0200 |
commit | 46b77928f746a4231d064774b5b67fd892c7ce86 (patch) | |
tree | e3ea690b3f0def1744ddae758923cf92171ef985 /vendor/symfony/intl/Symfony/Component/Intl/Resources/bin/test-compat.php | |
parent | 68abd9c71b1d2f7bb2e9d21819584d1d15005b25 (diff) | |
download | wallabag-46b77928f746a4231d064774b5b67fd892c7ce86.tar.gz wallabag-46b77928f746a4231d064774b5b67fd892c7ce86.tar.zst wallabag-46b77928f746a4231d064774b5b67fd892c7ce86.zip |
rm vendor
Diffstat (limited to 'vendor/symfony/intl/Symfony/Component/Intl/Resources/bin/test-compat.php')
-rw-r--r-- | vendor/symfony/intl/Symfony/Component/Intl/Resources/bin/test-compat.php | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/vendor/symfony/intl/Symfony/Component/Intl/Resources/bin/test-compat.php b/vendor/symfony/intl/Symfony/Component/Intl/Resources/bin/test-compat.php deleted file mode 100644 index c1bf40f7..00000000 --- a/vendor/symfony/intl/Symfony/Component/Intl/Resources/bin/test-compat.php +++ /dev/null | |||
@@ -1,56 +0,0 @@ | |||
1 | <?php | ||
2 | |||
3 | /* | ||
4 | * This file is part of the Symfony package. | ||
5 | * | ||
6 | * (c) Fabien Potencier <fabien@symfony.com> | ||
7 | * | ||
8 | * For the full copyright and license information, please view the LICENSE | ||
9 | * file that was distributed with this source code. | ||
10 | */ | ||
11 | |||
12 | use Symfony\Component\Intl\Intl; | ||
13 | |||
14 | require_once __DIR__ . '/common.php'; | ||
15 | require_once __DIR__ . '/autoload.php'; | ||
16 | |||
17 | if (1 !== $GLOBALS['argc']) { | ||
18 | bailout(<<<MESSAGE | ||
19 | Usage: php test-compat.php | ||
20 | |||
21 | Tests the compatibility of the current ICU version (bundled in ext/intl) with | ||
22 | different versions of symfony/icu. | ||
23 | |||
24 | For running this script, the intl extension must be loaded and all vendors | ||
25 | must have been installed through composer: | ||
26 | |||
27 | composer install --dev | ||
28 | |||
29 | MESSAGE | ||
30 | ); | ||
31 | } | ||
32 | |||
33 | echo LINE; | ||
34 | echo centered("ICU Compatibility Test") . "\n"; | ||
35 | echo LINE; | ||
36 | |||
37 | echo "Your ICU version: " . Intl::getIcuVersion() . "\n"; | ||
38 | |||
39 | echo "Compatibility with symfony/icu:\n"; | ||
40 | |||
41 | $branches = array( | ||
42 | '1.1.x', | ||
43 | '1.2.x', | ||
44 | ); | ||
45 | |||
46 | cd(__DIR__ . '/../../vendor/symfony/icu/Symfony/Component/Icu'); | ||
47 | |||
48 | foreach ($branches as $branch) { | ||
49 | run('git checkout ' . $branch . ' 2>&1'); | ||
50 | |||
51 | exec('php ' . __DIR__ . '/util/test-compat-helper.php > /dev/null 2> /dev/null', $output, $status); | ||
52 | |||
53 | echo "$branch: " . (0 === $status ? "YES" : "NO") . "\n"; | ||
54 | } | ||
55 | |||
56 | echo "Done.\n"; | ||