summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO3
-rw-r--r--REFLECTION113
-rw-r--r--php-pecl-mailparse.spec9
3 files changed, 118 insertions, 7 deletions
diff --git a/PHPINFO b/PHPINFO
index 87ebcd2..6f37623 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,8 +2,7 @@
mailparse
mailparse support => enabled
-Extension Version => 3.0.4
-Revision => $Revision$
+Extension Version => 3.1.0
Directive => Local Value => Master Value
mailparse.def_charset => us-ascii => us-ascii
diff --git a/REFLECTION b/REFLECTION
index 37222e0..5221e9d 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #80 mailparse version 3.0.4 ] {
+Extension [ <persistent> extension #83 mailparse version 3.1.0 ] {
- Dependencies {
Dependency [ mbstring (Required) ]
@@ -18,34 +18,103 @@ Extension [ <persistent> extension #80 mailparse version 3.0.4 ] {
- Functions {
Function [ <internal:mailparse> function mailparse_msg_parse_file ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $filename ]
+ }
}
Function [ <internal:mailparse> function mailparse_msg_get_part ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $fp ]
+ Parameter #1 [ <required> $data ]
+ }
}
Function [ <internal:mailparse> function mailparse_msg_get_structure ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $fp ]
+ }
}
Function [ <internal:mailparse> function mailparse_msg_get_part_data ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $fp ]
+ }
}
Function [ <internal:mailparse> function mailparse_msg_extract_part ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $fp ]
+ Parameter #1 [ <required> $msgbody ]
+ Parameter #2 [ <optional> $callback ]
+ }
}
Function [ <internal:mailparse> function mailparse_msg_extract_part_file ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $fp ]
+ Parameter #1 [ <required> $filename ]
+ Parameter #2 [ <optional> $callback ]
+ }
}
Function [ <internal:mailparse> function mailparse_msg_extract_whole_part_file ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $fp ]
+ Parameter #1 [ <required> $filename ]
+ Parameter #2 [ <optional> $callback ]
+ }
}
Function [ <internal:mailparse> function mailparse_msg_create ] {
+
+ - Parameters [0] {
+ }
}
Function [ <internal:mailparse> function mailparse_msg_free ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $fp ]
+ }
}
Function [ <internal:mailparse> function mailparse_msg_parse ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $fp ]
+ Parameter #1 [ <required> $data ]
+ }
}
Function [ <internal:mailparse> function mailparse_rfc822_parse_addresses ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $addresses ]
+ }
}
Function [ <internal:mailparse> function mailparse_determine_best_xfer_encoding ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $fp ]
+ }
}
Function [ <internal:mailparse> function mailparse_stream_encode ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $source_fp ]
+ Parameter #1 [ <required> $dest_fp ]
+ Parameter #2 [ <required> $encoding ]
+ }
}
Function [ <internal:mailparse> function mailparse_uudecode_all ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $fp ]
+ }
}
Function [ <internal:mailparse> function mailparse_test ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $header ]
+ }
}
}
@@ -65,34 +134,74 @@ Extension [ <persistent> extension #80 mailparse version 3.0.4 ] {
}
- Methods [10] {
- Method [ <internal:mailparse, ctor> public method mimemessage ] {
+ Method [ <internal:mailparse, ctor> public method __construct ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $mode ]
+ Parameter #1 [ <required> $source ]
+ }
}
Method [ <internal:mailparse> public method get_child ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $item_to_find ]
+ }
}
Method [ <internal:mailparse> public method get_child_count ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:mailparse> public method get_parent ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:mailparse> public method extract_headers ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> $mode ]
+ Parameter #1 [ <optional> $arg ]
+ }
}
Method [ <internal:mailparse> public method extract_body ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> $mode ]
+ Parameter #1 [ <optional> $arg ]
+ }
}
Method [ <internal:mailparse> public method enum_uue ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:mailparse> public method extract_uue ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $index ]
+ Parameter #1 [ <optional> $mode ]
+ Parameter #2 [ <optional> $arg ]
+ }
}
Method [ <internal:mailparse> public method remove ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:mailparse> public method add_child ] {
+
+ - Parameters [0] {
+ }
}
}
}
diff --git a/php-pecl-mailparse.spec b/php-pecl-mailparse.spec
index 18743c4..6973f28 100644
--- a/php-pecl-mailparse.spec
+++ b/php-pecl-mailparse.spec
@@ -3,7 +3,7 @@
#
# Fedora spec file for php-pecl-mailparse
#
-# Copyright (c) 2008-2019 Remi Collet
+# Copyright (c) 2008-2020 Remi Collet
# Copyright (c) 2004-2007 Matthias Saou
#
# License: MIT
@@ -26,7 +26,7 @@
Summary: PHP PECL package for parsing and working with email messages
Name: %{?sub_prefix}php-pecl-mailparse
-Version: 3.0.4
+Version: 3.1.0
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
URL: https://pecl.php.net/package/mailparse
@@ -56,7 +56,7 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{rele
Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
%endif
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
+%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
%if "%{php_version}" > "7.2"
Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
@@ -222,6 +222,9 @@ fi
%changelog
+* Wed Apr 22 2020 Remi Collet <remi@remirepo.net> - 3.1.0-1
+- update to 3.1.0
+
* Thu Dec 19 2019 Remi Collet <remi@remirepo.net> - 3.0.4-1
- update to 3.0.4