From f8109374035e7ef85992abb89b83a5e7e1184595 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 26 Sep 2015 09:45:58 +0200 Subject: php-phalcon2: 2.0.8 --- REFLECTION | 206 ++++++++++++++++++++++++++++++++++++++++++++++-------- php-phalcon2.spec | 27 +++++-- 2 files changed, 195 insertions(+), 38 deletions(-) diff --git a/REFLECTION b/REFLECTION index 1934535..9cb4158 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #191 phalcon version 2.0.7 ] { +Extension [ extension #194 phalcon version 2.0.8 ] { - INI { Entry [ phalcon.db.escape_identifiers ] @@ -39,7 +39,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { } } - - Classes [357] { + - Classes [358] { Interface [ interface Phalcon\Di\InjectionAwareInterface ] { - Constants [0] { @@ -1805,7 +1805,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { - Properties [0] { } - - Methods [11] { + - Methods [13] { Method [ abstract public method start ] { } @@ -1868,6 +1868,16 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Parameter #0 [ $deleteOldSession ] } } + + Method [ abstract public method setName ] { + + - Parameters [1] { + Parameter #0 [ $name ] + } + } + + Method [ abstract public method getName ] { + } } } @@ -3045,7 +3055,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { - Properties [0] { } - - Methods [17] { + - Methods [18] { Method [ abstract public method __construct ] { - Parameters [2] { @@ -3101,6 +3111,9 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Method [ abstract public method getDefault ] { } + + Method [ abstract public method hasDefault ] { + } } } @@ -8904,7 +8917,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Property [ protected $_logLevel ] } - - Methods [15] { + - Methods [16] { Method [ public method setLogLevel ] { - Parameters [1] { @@ -8931,6 +8944,9 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Method [ public method rollback ] { } + Method [ public method isTransaction ] { + } + Method [ public method critical ] { - Parameters [2] { @@ -9058,7 +9074,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Property [ protected $_options ] } - - Methods [20] { + - Methods [21] { Method [ public method __construct ] { - Parameters [1] { @@ -9178,6 +9194,9 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Parameter #0 [ $index ] } } + + Method [ public method __destruct ] { + } } } @@ -18265,7 +18284,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Class [ class Phalcon\Db\Column implements Phalcon\Db\ColumnInterface ] { - - Constants [24] { + - Constants [25] { Constant [ integer TYPE_INTEGER ] { 0 } Constant [ integer TYPE_DATE ] { 1 } Constant [ integer TYPE_VARCHAR ] { 2 } @@ -18283,6 +18302,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Constant [ integer TYPE_BIGINTEGER ] { 14 } Constant [ integer TYPE_JSON ] { 15 } Constant [ integer TYPE_JSONB ] { 16 } + Constant [ integer TYPE_TIMESTAMP ] { 17 } Constant [ integer BIND_PARAM_NULL ] { 0 } Constant [ integer BIND_PARAM_INT ] { 1 } Constant [ integer BIND_PARAM_STR ] { 2 } @@ -18323,7 +18343,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Property [ protected $_bindType ] } - - Methods [17] { + - Methods [18] { Method [ public method getName ] { } @@ -18379,6 +18399,9 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Method [ public method getBindType ] { } + + Method [ public method hasDefault ] { + } } } @@ -20592,7 +20615,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Method [ public method setSqlVariables ] { - Parameters [1] { - Parameter #0 [ array $sqlVariables ] + Parameter #0 [ $sqlVariables ] } } @@ -20602,7 +20625,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Method [ public method setSqlBindTypes ] { - Parameters [1] { - Parameter #0 [ array $sqlBindTypes ] + Parameter #0 [ $sqlBindTypes ] } } @@ -27130,7 +27153,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Property [ protected $_options ] } - - Methods [21] { + - Methods [22] { Method [ public method getPath ] { } @@ -27187,6 +27210,9 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Method [ public method rollback ] { } + Method [ public method isTransaction ] { + } + Method [ public method critical ] { - Parameters [2] { @@ -27282,7 +27308,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Property [ protected $_logLevel ] } - - Methods [18] { + - Methods [19] { Method [ public method getFormatter ] { } @@ -27325,6 +27351,9 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Method [ public method rollback ] { } + Method [ public method isTransaction ] { + } + Method [ public method critical ] { - Parameters [2] { @@ -27419,7 +27448,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Property [ protected $_stream ] } - - Methods [19] { + - Methods [20] { Method [ public method __construct ] { - Parameters [2] { @@ -27470,6 +27499,9 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Method [ public method rollback ] { } + Method [ public method isTransaction ] { + } + Method [ public method critical ] { - Parameters [2] { @@ -27564,7 +27596,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Property [ protected $_opened ] } - - Methods [19] { + - Methods [20] { Method [ public method __construct ] { - Parameters [2] { @@ -27615,6 +27647,9 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Method [ public method rollback ] { } + Method [ public method isTransaction ] { + } + Method [ public method critical ] { - Parameters [2] { @@ -29772,7 +29807,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { - Static properties [0] { } - - Static methods [14] { + - Static methods [15] { Method [ static public method cloneResultMap ] { - Parameters [5] { @@ -29867,6 +29902,14 @@ Extension [ extension #191 phalcon version 2.0.7 ] { } } + Method [ final static protected method _invokeFinder ] { + + - Parameters [2] { + Parameter #0 [ $method ] + Parameter #1 [ $arguments ] + } + } + Method [ static public method __callStatic ] { - Parameters [2] { @@ -38444,7 +38487,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { - Properties [0] { } - - Methods [6] { + - Methods [7] { Method [ public method bytes ] { - Parameters [1] { @@ -38459,6 +38502,13 @@ Extension [ extension #191 phalcon version 2.0.7 ] { } } + Method [ public method base58 ] { + + - Parameters [1] { + Parameter #0 [ $n ] + } + } + Method [ public method base64 ] { - Parameters [1] { @@ -38524,7 +38574,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Property [ protected $_options ] } - - Methods [20] { + - Methods [21] { Method [ public method __construct ] { - Parameters [1] { @@ -38545,14 +38595,14 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Method [ public method getOptions ] { } - Method [ public method setName ] { + Method [ public method setName ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method getName ] { + Method [ public method getName ] { } Method [ public method regenerateId ] { @@ -38644,6 +38694,9 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Parameter #0 [ $index ] } } + + Method [ public method __destruct ] { + } } } @@ -38669,7 +38722,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Property [ protected $_lifetime ] } - - Methods [27] { + - Methods [28] { Method [ public method getLibmemcached ] { } @@ -38727,14 +38780,14 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Method [ public method getOptions ] { } - Method [ public method setName ] { + Method [ public method setName ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method getName ] { + Method [ public method getName ] { } Method [ public method regenerateId ] { @@ -38819,6 +38872,9 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Parameter #0 [ $index ] } } + + Method [ public method __destruct ] { + } } } @@ -38844,7 +38900,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Property [ protected $_lifetime ] } - - Methods [27] { + - Methods [28] { Method [ public method getMemcache ] { } @@ -38902,14 +38958,14 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Method [ public method getOptions ] { } - Method [ public method setName ] { + Method [ public method setName ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method getName ] { + Method [ public method getName ] { } Method [ public method regenerateId ] { @@ -38994,6 +39050,9 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Parameter #0 [ $index ] } } + + Method [ public method __destruct ] { + } } } @@ -39019,7 +39078,7 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Property [ protected $_lifetime ] } - - Methods [27] { + - Methods [28] { Method [ public method getRedis ] { } @@ -39077,14 +39136,14 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Method [ public method getOptions ] { } - Method [ public method setName ] { + Method [ public method setName ] { - Parameters [1] { Parameter #0 [ $name ] } } - Method [ public method getName ] { + Method [ public method getName ] { } Method [ public method regenerateId ] { @@ -39169,6 +39228,9 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Parameter #0 [ $index ] } } + + Method [ public method __destruct ] { + } } } @@ -40757,19 +40819,21 @@ Extension [ extension #191 phalcon version 2.0.7 ] { } } - - Properties [3] { + - Properties [4] { Property [ protected $_type ] Property [ protected $_message ] Property [ protected $_field ] + Property [ protected $_code ] } - - Methods [8] { + - Methods [10] { Method [ public method __construct ] { - - Parameters [3] { + - Parameters [4] { Parameter #0 [ $message ] Parameter #1 [ $field ] Parameter #2 [ $type ] + Parameter #3 [ $code ] } } @@ -40803,6 +40867,16 @@ Extension [ extension #191 phalcon version 2.0.7 ] { Method [ public method getField ] { } + Method [ public method setCode ] { + + - Parameters [1] { + Parameter #0 [ $code ] + } + } + + Method [ public method getCode ] { + } + Method [ public method __toString ] { } } @@ -41168,6 +41242,76 @@ Extension [ extension #191 phalcon version 2.0.7 ] { } } + Class [ class Phalcon\Validation\Validator\CreditCard extends Phalcon\Validation\Validator implements Phalcon\Validation\ValidatorInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [1] { + Property [ protected $_options ] + } + + - Methods [7] { + Method [ public method validate ] { + + - Parameters [2] { + Parameter #0 [ Phalcon\Validation $validation ] + Parameter #1 [ $field ] + } + } + + Method [ private method verifyByLuhnAlgorithm ] { + + - Parameters [1] { + Parameter #0 [ $number ] + } + } + + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $options ] + } + } + + Method [ public method isSetOption ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method hasOption ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ public method getOption ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $defaultValue ] + } + } + + Method [ public method setOption ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $value ] + } + } + } + } + Class [ class Phalcon\Validation\Validator\Digit extends Phalcon\Validation\Validator implements Phalcon\Validation\ValidatorInterface ] { - Constants [0] { diff --git a/php-phalcon2.spec b/php-phalcon2.spec index 5a79a8c..8ba4164 100644 --- a/php-phalcon2.spec +++ b/php-phalcon2.spec @@ -6,10 +6,19 @@ # # Please, preserve the changelog entries # -%{?scl: %scl_package php-phalcon} +%if 0%{?scl:1} +%if "%{scl}" == "rh-php56" +%global sub_prefix more-php56- +%else +%global sub_prefix %{scl_prefix} +%endif +%endif + +%{?scl: %scl_package php-phalcon2} %{!?scl: %global pkg_name %{name}} %{!?__php: %global __php %{_bindir}/php} -%global gh_commit 880b4fde422c1e7a112d5546e274d12f6784442a + +%global gh_commit c8d4916bbfd0cb18395fe25d8c5a663fc5077d8f %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner phalcon %global gh_project cphalcon @@ -24,9 +33,9 @@ %global ini_name 50-%{ext_name}.ini %endif -Name: %{?scl_prefix}php-phalcon2 -Version: 2.0.7 -Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Name: %{?sub_prefix}php-phalcon2 +Version: 2.0.8 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Summary: Phalcon Framework Group: Development/Libraries @@ -49,7 +58,7 @@ BuildRequires: %{?scl_prefix}php-json BuildRequires: %{?scl_prefix}php-pdo BuildRequires: %{?scl_prefix}php-session BuildRequires: %{?scl_prefix}php-spl -BuildRequires: %{?scl_prefix}php-pecl-igbinary-devel +BuildRequires: %{?sub_prefix}php-pecl-igbinary-devel Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} @@ -88,7 +97,7 @@ Notice: non-free JS and CSS minifiers are disabled. Documentation: http://docs.phalconphp.com -Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection}. +Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}. %prep @@ -230,6 +239,10 @@ rm -rf %{buildroot} %changelog +* Sat Sep 26 2015 Remi Collet - 2.0.8-1 +- update to 2.0.8 +- allow build against rh-php56 (as more-php56) + * Fri Aug 21 2015 Remi Collet - 2.0.7-1 - update to 2.0.7 -- cgit