summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--REFLECTION6
-rw-r--r--package.xml5
-rw-r--r--php_rpminfo.h2
3 files changed, 7 insertions, 6 deletions
diff --git a/REFLECTION b/REFLECTION
index 9f3b4c6..c5d9c2c 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #94 rpminfo version 0.4.1 ] {
+Extension [ <persistent> extension #15 rpminfo version 0.4.2 ] {
- Constants [271] {
Constant [ string RPMVERSION ] { 4.15.1 }
@@ -278,7 +278,7 @@ Extension [ <persistent> extension #94 rpminfo version 0.4.1 ] {
Function [ <internal:rpminfo> function rpmdbinfo ] {
- Parameters [2] {
- Parameter #0 [ <required> string $name ]
+ Parameter #0 [ <required> string $nevr ]
Parameter #1 [ <optional> bool $full ]
}
- Return [ array or NULL ]
@@ -296,7 +296,7 @@ Extension [ <persistent> extension #94 rpminfo version 0.4.1 ] {
Function [ <internal:rpminfo> function rpminfo ] {
- Parameters [3] {
- Parameter #0 [ <required> string $name ]
+ Parameter #0 [ <required> string $path ]
Parameter #1 [ <optional> bool $full ]
Parameter #2 [ <optional> string or NULL &$error ]
}
diff --git a/package.xml b/package.xml
index 4b2ba5c..9dccd48 100644
--- a/package.xml
+++ b/package.xml
@@ -16,9 +16,9 @@ Available functions:
<email>remi@php.net</email>
<active>yes</active>
</lead>
- <date>2020-03-18</date>
+ <date>2020-03-25</date>
<version>
- <release>0.4.2dev</release>
+ <release>0.4.2</release>
<api>0.4.0</api>
</version>
<stability>
@@ -27,6 +27,7 @@ Available functions:
</stability>
<license>PHP 3.01</license>
<notes>
+- improve reflection with better parameter names
- speed optimization: open DB only once per request
</notes>
<contents>
diff --git a/php_rpminfo.h b/php_rpminfo.h
index 19add24..49415c2 100644
--- a/php_rpminfo.h
+++ b/php_rpminfo.h
@@ -22,7 +22,7 @@
extern zend_module_entry rpminfo_module_entry;
#define phpext_rpminfo_ptr &rpminfo_module_entry
-#define PHP_RPMINFO_VERSION "0.4.2-dev"
+#define PHP_RPMINFO_VERSION "0.4.2"
#ifdef PHP_WIN32
# define PHP_RPMINFO_API __declspec(dllexport)