summaryrefslogtreecommitdiff
path: root/ext/intl
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-13 14:16:33 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-13 14:16:33 +0200
commit3362620b5f8716ce480b6f12269596c2d2351a52 (patch)
tree775f03a346d980fda9b2c725349f3c51c06bfaed /ext/intl
parentedefd16fbc96d2ca4600544e5d5902591bf0695d (diff)
downloadphp-git-3362620b5f8716ce480b6f12269596c2d2351a52.tar.gz
Trim trailing whitespace in source code files
Diffstat (limited to 'ext/intl')
-rw-r--r--ext/intl/ERROR.CONVENTIONS2
-rw-r--r--ext/intl/config.w328
-rw-r--r--ext/intl/normalizer/normalizer_normalize.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/ext/intl/ERROR.CONVENTIONS b/ext/intl/ERROR.CONVENTIONS
index a7ef53665e..7b0bbe7286 100644
--- a/ext/intl/ERROR.CONVENTIONS
+++ b/ext/intl/ERROR.CONVENTIONS
@@ -28,7 +28,7 @@ void intl_error_set(intl_error* err, UErrorCode code, char* msg, int copyMsg);
and by passing NULL as the first parameter. The last function is a combination
of the first two. If the message is not a static buffer, copyMsg should be 1.
This makes the message string be copied and freed when no longer needed. There's
-no way to pass ownership of the string without it being copied.
+no way to pass ownership of the string without it being copied.
:: The last is ALSO stored in the object whose method call triggered the error,
diff --git a/ext/intl/config.w32 b/ext/intl/config.w32
index 23673232b2..ce6478f99f 100644
--- a/ext/intl/config.w32
+++ b/ext/intl/config.w32
@@ -97,18 +97,18 @@ if (PHP_INTL != "no") {
transliterator_class.c \
transliterator_methods.c",
"intl");
-
+
ADD_SOURCES(configure_module_dirname + "/timezone", "\
timezone_class.cpp \
timezone_methods.cpp",
"intl");
-
+
ADD_SOURCES(configure_module_dirname + "/calendar", "\
calendar_methods.cpp \
gregoriancalendar_methods.cpp \
calendar_class.cpp",
"intl");
-
+
ADD_SOURCES(configure_module_dirname + "/breakiterator", "\
breakiterator_class.cpp \
breakiterator_methods.cpp \
@@ -117,7 +117,7 @@ if (PHP_INTL != "no") {
codepointiterator_internal.cpp \
codepointiterator_methods.cpp ",
"intl");
-
+
ADD_FLAG("LIBS_INTL", "icudt.lib icuin.lib icuio.lib");
/* Compat for ICU before 58.1.*/
diff --git a/ext/intl/normalizer/normalizer_normalize.c b/ext/intl/normalizer/normalizer_normalize.c
index d5ec912848..72b848e487 100644
--- a/ext/intl/normalizer/normalizer_normalize.c
+++ b/ext/intl/normalizer/normalizer_normalize.c
@@ -380,7 +380,7 @@ PHP_FUNCTION( normalizer_get_raw_decomposition )
intl_error_set_custom_msg(NULL, "Code point out of range", 0);
return;
}
-
+
decomposition_length = unorm2_getRawDecomposition(norm, codepoint, decomposition, 32, &status);
if (decomposition_length == -1) {
RETURN_NULL();