diff options
author | Klaus Weidenbach <Klaus.Weidenbach@gmx.net> | 2017-10-25 01:57:18 +0200 |
---|---|---|
committer | Klaus Weidenbach <Klaus.Weidenbach@gmx.net> | 2017-10-29 22:00:06 +0100 |
commit | 8e4c5db766ce23d05b8507991b04fece743147de (patch) | |
tree | 55c89f2c145f47245e7d32380c92256051d6a8f2 /library/langdet/Text/LanguageDetect/Exception.php | |
parent | fe5f1e4d67d999ed3c6ef78dc4d49f5dd1a93056 (diff) | |
download | volse-hubzilla-8e4c5db766ce23d05b8507991b04fece743147de.tar.gz volse-hubzilla-8e4c5db766ce23d05b8507991b04fece743147de.tar.bz2 volse-hubzilla-8e4c5db766ce23d05b8507991b04fece743147de.zip |
:arrow_up: Update Text_LanguageDetect.
Update from v0.3.0 (2012) to v1.0.0 (2017) which should remove some
warnings and improve PHP7 support.
Using composer to handle this PEAR library now.
Fix a problem in FeedutilsTest.
Diffstat (limited to 'library/langdet/Text/LanguageDetect/Exception.php')
-rw-r--r-- | library/langdet/Text/LanguageDetect/Exception.php | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/library/langdet/Text/LanguageDetect/Exception.php b/library/langdet/Text/LanguageDetect/Exception.php deleted file mode 100644 index 196d994f5..000000000 --- a/library/langdet/Text/LanguageDetect/Exception.php +++ /dev/null @@ -1,57 +0,0 @@ -<?php -class Text_LanguageDetect_Exception extends Exception -{ - /** - * Database file could not be found - */ - const DB_NOT_FOUND = 10; - - /** - * Database file found, but not readable - */ - const DB_NOT_READABLE = 11; - - /** - * Database file is empty - */ - const DB_EMPTY = 12; - - /** - * Database contents is not a PHP array - */ - const DB_NOT_ARRAY = 13; - - /** - * Magic quotes are activated - */ - const MAGIC_QUOTES = 14; - - - /** - * Parameter of invalid type passed to method - */ - const PARAM_TYPE = 20; - - /** - * Character in parameter is invalid - */ - const INVALID_CHAR = 21; - - - /** - * Language is not in the database - */ - const UNKNOWN_LANGUAGE = 30; - - - /** - * Error during block detection - */ - const BLOCK_DETECTION = 40; - - - /** - * Error while clustering languages - */ - const NO_HIGHEST_KEY = 50; -} |