Browse Source
Merge pull request #651 from teckids/fix-emoji-testsuite
fix running the testsuite for Emoji
pull/652/head
Jaussoin Timothée
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
1 deletions
-
src/Movim/Emoji/replace-test.php
-
src/Movim/Emoji/test-all-images.sh
|
|
@ -1,5 +1,7 @@ |
|
|
|
<?php |
|
|
|
|
|
|
|
namespace App; |
|
|
|
|
|
|
|
define('BASE_URI', '(base)'); |
|
|
|
mb_internal_encoding("UTF-8"); |
|
|
|
|
|
|
@ -16,4 +18,4 @@ class Configuration |
|
|
|
require_once '../Emoji.php'; |
|
|
|
|
|
|
|
$text = file_get_contents('php://stdin'); |
|
|
|
echo Emoji::getInstance()->replace($text); |
|
|
|
echo \Movim\Emoji::getInstance()->replace($text); |