./vendor/bin/phpunit
PHPUnit 4.8.24 by Sebastian Bergmann and contributors.
......EEEEEEE.
Time: 2.93 seconds, Memory: 6.00Mb
There were 7 errors:
1) Stichoza\GoogleTranslate\Tests\LanguageDetectionTest::testSingleWord
ErrorException: Client error: `POST http://translate.google.com/translate_a/t` resulted in a `403 Forbidden` response:
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, w (truncated...)
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:262
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:299
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:175
/home/limon/www/google-translate-php/tests/LanguageDetectionTest.php:16
2) Stichoza\GoogleTranslate\Tests\LanguageDetectionTest::testSingleSentence
ErrorException: Client error: `POST http://translate.google.com/translate_a/t` resulted in a `403 Forbidden` response:
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, w (truncated...)
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:262
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:299
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:175
/home/limon/www/google-translate-php/tests/LanguageDetectionTest.php:25
3) Stichoza\GoogleTranslate\Tests\LanguageDetectionTest::testMultipleSentence
ErrorException: Client error: `POST http://translate.google.com/translate_a/t` resulted in a `403 Forbidden` response:
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, w (truncated...)
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:262
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:299
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:175
/home/limon/www/google-translate-php/tests/LanguageDetectionTest.php:34
4) Stichoza\GoogleTranslate\Tests\LanguageDetectionTest::testStaticAndNonstaticDetection
ErrorException: Client error: `POST http://translate.google.com/translate_a/t` resulted in a `403 Forbidden` response:
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, w (truncated...)
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:262
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:299
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:175
/home/limon/www/google-translate-php/tests/LanguageDetectionTest.php:43
5) Stichoza\GoogleTranslate\Tests\TranslationTest::testTranslationEquality
ErrorException: Client error: `POST http://translate.google.com/translate_a/t` resulted in a `403 Forbidden` response:
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, w (truncated...)
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:262
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:299
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:175
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:395
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:145
/home/limon/www/google-translate-php/tests/TranslationTest.php:16
6) Stichoza\GoogleTranslate\Tests\TranslationTest::testArrayTranslation
ErrorException: Client error: `POST http://translate.google.com/translate_a/t` resulted in a `403 Forbidden` response:
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, w (truncated...)
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:262
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:299
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:175
/home/limon/www/google-translate-php/tests/TranslationTest.php:26
7) Stichoza\GoogleTranslate\Tests\TranslationTest::testRawResponse
ErrorException: Client error: `POST http://translate.google.com/translate_a/t` resulted in a `403 Forbidden` response:
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, w (truncated...)
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:262
/home/limon/www/google-translate-php/src/Stichoza/GoogleTranslate/TranslateClient.php:185
/home/limon/www/google-translate-php/tests/TranslationTest.php:44