aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/pear/text_languagedetect/data/build-unicode_blocks.php
diff options
context:
space:
mode:
authorKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2017-10-25 01:57:18 +0200
committerKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2017-10-29 22:00:06 +0100
commit8e4c5db766ce23d05b8507991b04fece743147de (patch)
tree55c89f2c145f47245e7d32380c92256051d6a8f2 /vendor/pear/text_languagedetect/data/build-unicode_blocks.php
parentfe5f1e4d67d999ed3c6ef78dc4d49f5dd1a93056 (diff)
downloadvolse-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 'vendor/pear/text_languagedetect/data/build-unicode_blocks.php')
-rw-r--r--vendor/pear/text_languagedetect/data/build-unicode_blocks.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/pear/text_languagedetect/data/build-unicode_blocks.php b/vendor/pear/text_languagedetect/data/build-unicode_blocks.php
new file mode 100644
index 000000000..afa75a501
--- /dev/null
+++ b/vendor/pear/text_languagedetect/data/build-unicode_blocks.php
@@ -0,0 +1,7 @@
+<?php
+/**
+ * Generate the serialized unicode_blocks.dat file shipped with the package
+ */
+$unicode_blocks = include __DIR__ . '/unicode_blocks.php';
+file_put_contents(__DIR__ . '/unicode_blocks.dat', serialize($unicode_blocks));
+?> \ No newline at end of file