From cfbbb23ffffd7c36707d0bef66298fbd57c7fe3b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 27 Jul 2023 09:57:09 +0200 Subject: update to 5.2.3 build out of sources tree --- PHPINFO | 4 +- REFLECTION | 1552 +++++++++++++++++++++++++++++++++-------------------- php-phalcon5.spec | 62 +-- 3 files changed, 988 insertions(+), 630 deletions(-) diff --git a/PHPINFO b/PHPINFO index 5ca51f0..ca61254 100644 --- a/PHPINFO +++ b/PHPINFO @@ -5,8 +5,8 @@ phalcon Phalcon is a full stack PHP framework, delivered as a PHP extension, offering lower resource consumption and high performance. phalcon => enabled Author => Phalcon Team and contributors -Version => 5.2.2 -Build Date => Jun 19 2023 00:00:00 +Version => 5.2.3 +Build Date => Jul 27 2023 00:00:00 Powered by Zephir => Version 0.17.0-$Id$ Directive => Local Value => Master Value diff --git a/REFLECTION b/REFLECTION index 16c933c..20f6ccf 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #118 phalcon version 5.2.2 ] { +Extension [ extension #119 phalcon version 5.2.3 ] { - Dependencies { Dependency [ pdo (Required) ] @@ -68,7 +68,7 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } } - - Classes [616] { + - Classes [618] { Interface [ interface Phalcon\Di\InjectionAwareInterface ] { - Constants [0] { @@ -206,7 +206,7 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } } - Interface [ interface Phalcon\Support\Collection\CollectionInterface ] { + Interface [ interface Phalcon\Storage\Adapter\AdapterInterface ] { - Constants [0] { } @@ -220,121 +220,97 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Properties [0] { } - - Methods [14] { - Method [ abstract public method __get ] { - - - Parameters [1] { - Parameter #0 [ string $element ] - } - } - - Method [ abstract public method __isset ] { + - Methods [11] { + Method [ abstract public method clear ] { - - Parameters [1] { - Parameter #0 [ string $element ] + - Parameters [0] { } - Return [ bool ] } - Method [ abstract public method __set ] { + Method [ abstract public method decrement ] { - Parameters [2] { - Parameter #0 [ string $element ] - Parameter #1 [ $value ] + Parameter #0 [ string $key ] + Parameter #1 [ int $value = ] } - - Return [ void ] } - Method [ abstract public method __unset ] { + Method [ abstract public method delete ] { - Parameters [1] { - Parameter #0 [ string $element ] + Parameter #0 [ string $key ] } - - Return [ void ] + - Return [ bool ] } - Method [ abstract public method clear ] { + Method [ abstract public method get ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $defaultValue = ] } - - Return [ void ] } - Method [ abstract public method get ] { + Method [ abstract public method getAdapter ] { - - Parameters [3] { - Parameter #0 [ string $element ] - Parameter #1 [ $defaultValue = ] - Parameter #2 [ ?string $cast = ] + - Parameters [0] { } } Method [ abstract public method getKeys ] { - Parameters [1] { - Parameter #0 [ bool $insensitive = ] + Parameter #0 [ string $prefix = ] } - Return [ array ] } - Method [ abstract public method getValues ] { + Method [ abstract public method getPrefix ] { - Parameters [0] { } - - Return [ array ] + - Return [ string ] } Method [ abstract public method has ] { - Parameters [1] { - Parameter #0 [ string $element ] + Parameter #0 [ string $key ] } - Return [ bool ] } - Method [ abstract public method init ] { - - - Parameters [1] { - Parameter #0 [ array $data = [] ] - } - - Return [ void ] - } - - Method [ abstract public method remove ] { + Method [ abstract public method increment ] { - - Parameters [1] { - Parameter #0 [ string $element ] + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ int $value = ] } - - Return [ void ] } Method [ abstract public method set ] { - - Parameters [2] { - Parameter #0 [ string $element ] + - Parameters [3] { + Parameter #0 [ string $key ] Parameter #1 [ $value ] + Parameter #2 [ $ttl = ] } - - Return [ void ] - } - - Method [ abstract public method toArray ] { - - - Parameters [0] { - } - - Return [ array ] + - Return [ bool ] } - Method [ abstract public method toJson ] { + Method [ abstract public method setForever ] { - - Parameters [1] { - Parameter #0 [ int $options = ] + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $value ] } - - Return [ string ] + - Return [ bool ] } } } - Interface [ interface Phalcon\Storage\Adapter\AdapterInterface ] { + Interface [ interface Phalcon\Support\Collection\CollectionInterface ] { - Constants [0] { } @@ -348,92 +324,116 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Properties [0] { } - - Methods [11] { - Method [ abstract public method clear ] { + - Methods [14] { + Method [ abstract public method __get ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ string $element ] + } + } + + Method [ abstract public method __isset ] { + + - Parameters [1] { + Parameter #0 [ string $element ] } - Return [ bool ] } - Method [ abstract public method decrement ] { + Method [ abstract public method __set ] { - Parameters [2] { - Parameter #0 [ string $key ] - Parameter #1 [ int $value = ] + Parameter #0 [ string $element ] + Parameter #1 [ $value ] } + - Return [ void ] } - Method [ abstract public method delete ] { + Method [ abstract public method __unset ] { - Parameters [1] { - Parameter #0 [ string $key ] + Parameter #0 [ string $element ] } - - Return [ bool ] + - Return [ void ] } - Method [ abstract public method get ] { + Method [ abstract public method clear ] { - - Parameters [2] { - Parameter #0 [ string $key ] - Parameter #1 [ $defaultValue = ] + - Parameters [0] { } + - Return [ void ] } - Method [ abstract public method getAdapter ] { + Method [ abstract public method get ] { - - Parameters [0] { + - Parameters [3] { + Parameter #0 [ string $element ] + Parameter #1 [ $defaultValue = ] + Parameter #2 [ ?string $cast = ] } } Method [ abstract public method getKeys ] { - Parameters [1] { - Parameter #0 [ string $prefix = ] + Parameter #0 [ bool $insensitive = ] } - Return [ array ] } - Method [ abstract public method getPrefix ] { + Method [ abstract public method getValues ] { - Parameters [0] { } - - Return [ string ] + - Return [ array ] } Method [ abstract public method has ] { - Parameters [1] { - Parameter #0 [ string $key ] + Parameter #0 [ string $element ] } - Return [ bool ] } - Method [ abstract public method increment ] { + Method [ abstract public method init ] { - - Parameters [2] { - Parameter #0 [ string $key ] - Parameter #1 [ int $value = ] + - Parameters [1] { + Parameter #0 [ array $data = [] ] } + - Return [ void ] } - Method [ abstract public method set ] { + Method [ abstract public method remove ] { - - Parameters [3] { - Parameter #0 [ string $key ] - Parameter #1 [ $value ] - Parameter #2 [ $ttl = ] + - Parameters [1] { + Parameter #0 [ string $element ] } - - Return [ bool ] + - Return [ void ] } - Method [ abstract public method setForever ] { + Method [ abstract public method set ] { - Parameters [2] { - Parameter #0 [ string $key ] + Parameter #0 [ string $element ] Parameter #1 [ $value ] } - - Return [ bool ] + - Return [ void ] + } + + Method [ abstract public method toArray ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ abstract public method toJson ] { + + - Parameters [1] { + Parameter #0 [ int $options = ] + } + - Return [ string ] } } } @@ -1005,6 +1005,110 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } } + Interface [ interface Phalcon\Cache\Adapter\AdapterInterface extends Phalcon\Storage\Adapter\AdapterInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [11] { + Method [ abstract public method clear ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ abstract public method decrement ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ int $value = ] + } + } + + Method [ abstract public method delete ] { + + - Parameters [1] { + Parameter #0 [ string $key ] + } + - Return [ bool ] + } + + Method [ abstract public method get ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $defaultValue = ] + } + } + + Method [ abstract public method getAdapter ] { + + - Parameters [0] { + } + } + + Method [ abstract public method getKeys ] { + + - Parameters [1] { + Parameter #0 [ string $prefix = ] + } + - Return [ array ] + } + + Method [ abstract public method getPrefix ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ abstract public method has ] { + + - Parameters [1] { + Parameter #0 [ string $key ] + } + - Return [ bool ] + } + + Method [ abstract public method increment ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ int $value = ] + } + } + + Method [ abstract public method set ] { + + - Parameters [3] { + Parameter #0 [ string $key ] + Parameter #1 [ $value ] + Parameter #2 [ $ttl = ] + } + - Return [ bool ] + } + + Method [ abstract public method setForever ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $value ] + } + - Return [ bool ] + } + } + } + Interface [ interface Phalcon\Config\ConfigInterface extends Phalcon\Support\Collection\CollectionInterface ] { - Constants [0] { @@ -1413,110 +1517,6 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } } - Interface [ interface Phalcon\Cache\Adapter\AdapterInterface extends Phalcon\Storage\Adapter\AdapterInterface ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [11] { - Method [ abstract public method clear ] { - - - Parameters [0] { - } - - Return [ bool ] - } - - Method [ abstract public method decrement ] { - - - Parameters [2] { - Parameter #0 [ string $key ] - Parameter #1 [ int $value = ] - } - } - - Method [ abstract public method delete ] { - - - Parameters [1] { - Parameter #0 [ string $key ] - } - - Return [ bool ] - } - - Method [ abstract public method get ] { - - - Parameters [2] { - Parameter #0 [ string $key ] - Parameter #1 [ $defaultValue = ] - } - } - - Method [ abstract public method getAdapter ] { - - - Parameters [0] { - } - } - - Method [ abstract public method getKeys ] { - - - Parameters [1] { - Parameter #0 [ string $prefix = ] - } - - Return [ array ] - } - - Method [ abstract public method getPrefix ] { - - - Parameters [0] { - } - - Return [ string ] - } - - Method [ abstract public method has ] { - - - Parameters [1] { - Parameter #0 [ string $key ] - } - - Return [ bool ] - } - - Method [ abstract public method increment ] { - - - Parameters [2] { - Parameter #0 [ string $key ] - Parameter #1 [ int $value = ] - } - } - - Method [ abstract public method set ] { - - - Parameters [3] { - Parameter #0 [ string $key ] - Parameter #1 [ $value ] - Parameter #2 [ $ttl = ] - } - - Return [ bool ] - } - - Method [ abstract public method setForever ] { - - - Parameters [2] { - Parameter #0 [ string $key ] - Parameter #1 [ $value ] - } - - Return [ bool ] - } - } - } - Interface [ interface Phalcon\Db\Adapter\AdapterInterface ] { - Constants [0] { @@ -12167,7 +12167,7 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } } - Class [ abstract class Phalcon\Di\Injectable implements Phalcon\Di\InjectionAwareInterface ] { + Class [ abstract class Phalcon\Di\Injectable extends stdClass implements Phalcon\Di\InjectionAwareInterface ] { - Constants [0] { } @@ -12508,6 +12508,204 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } } + Class [ abstract class Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Storage\Adapter\AdapterInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [7] { + Property [ protected $adapter = NULL ] + Property [ protected $defaultSerializer = 'php' ] + Property [ protected $lifetime = 3600 ] + Property [ protected $options = NULL ] + Property [ protected $prefix = 'ph-memo-' ] + Property [ protected $serializer = NULL ] + Property [ protected $serializerFactory = NULL ] + } + + - Methods [22] { + Method [ protected method __construct ] { + + - Parameters [2] { + Parameter #0 [ Phalcon\Storage\SerializerFactory $factory ] + Parameter #1 [ array $options = [] ] + } + } + + Method [ abstract public method clear ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ abstract public method decrement ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ int $value = ] + } + } + + Method [ abstract public method delete ] { + + - Parameters [1] { + Parameter #0 [ string $key ] + } + - Return [ bool ] + } + + Method [ public method get ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $defaultValue = ] + } + } + + Method [ public method getAdapter ] { + + - Parameters [0] { + } + } + + Method [ public method getDefaultSerializer ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ abstract public method getKeys ] { + + - Parameters [1] { + Parameter #0 [ string $prefix = ] + } + - Return [ array ] + } + + Method [ public method getPrefix ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ abstract public method has ] { + + - Parameters [1] { + Parameter #0 [ string $key ] + } + - Return [ bool ] + } + + Method [ abstract public method increment ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ int $value = ] + } + } + + Method [ abstract public method set ] { + + - Parameters [3] { + Parameter #0 [ string $key ] + Parameter #1 [ $value ] + Parameter #2 [ $ttl = ] + } + - Return [ bool ] + } + + Method [ public method setDefaultSerializer ] { + + - Parameters [1] { + Parameter #0 [ string $serializer ] + } + - Return [ void ] + } + + Method [ protected method doGet ] { + + - Parameters [1] { + Parameter #0 [ string $key ] + } + } + + Method [ protected method getFilteredKeys ] { + + - Parameters [2] { + Parameter #0 [ $keys ] + Parameter #1 [ string $prefix ] + } + - Return [ array ] + } + + Method [ protected method getPrefixedKey ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + - Return [ string ] + } + + Method [ protected method getSerializedData ] { + + - Parameters [1] { + Parameter #0 [ $content ] + } + } + + Method [ protected method getTtl ] { + + - Parameters [1] { + Parameter #0 [ $ttl ] + } + - Return [ int ] + } + + Method [ protected method getUnserializedData ] { + + - Parameters [2] { + Parameter #0 [ $content ] + Parameter #1 [ $defaultValue = ] + } + } + + Method [ protected method initSerializer ] { + + - Parameters [0] { + } + - Return [ void ] + } + + Method [ protected method getArrVal ] { + + - Parameters [4] { + Parameter #0 [ array $collection ] + Parameter #1 [ $index ] + Parameter #2 [ $defaultValue = ] + Parameter #3 [ ?string $cast = ] + } + } + + Method [ abstract public method setForever ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $value ] + } + - Return [ bool ] + } + } + } + Class [ abstract class Phalcon\Support\Helper\Str\AbstractStr ] { - Constants [0] { @@ -12574,204 +12772,6 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } } - Class [ abstract class Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Storage\Adapter\AdapterInterface ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [7] { - Property [ protected $adapter = NULL ] - Property [ protected $defaultSerializer = 'php' ] - Property [ protected $lifetime = 3600 ] - Property [ protected $options = NULL ] - Property [ protected $prefix = 'ph-memo-' ] - Property [ protected $serializer = NULL ] - Property [ protected $serializerFactory = NULL ] - } - - - Methods [22] { - Method [ protected method __construct ] { - - - Parameters [2] { - Parameter #0 [ Phalcon\Storage\SerializerFactory $factory ] - Parameter #1 [ array $options = [] ] - } - } - - Method [ abstract public method clear ] { - - - Parameters [0] { - } - - Return [ bool ] - } - - Method [ abstract public method decrement ] { - - - Parameters [2] { - Parameter #0 [ string $key ] - Parameter #1 [ int $value = ] - } - } - - Method [ abstract public method delete ] { - - - Parameters [1] { - Parameter #0 [ string $key ] - } - - Return [ bool ] - } - - Method [ public method get ] { - - - Parameters [2] { - Parameter #0 [ string $key ] - Parameter #1 [ $defaultValue = ] - } - } - - Method [ public method getAdapter ] { - - - Parameters [0] { - } - } - - Method [ public method getDefaultSerializer ] { - - - Parameters [0] { - } - - Return [ string ] - } - - Method [ abstract public method getKeys ] { - - - Parameters [1] { - Parameter #0 [ string $prefix = ] - } - - Return [ array ] - } - - Method [ public method getPrefix ] { - - - Parameters [0] { - } - - Return [ string ] - } - - Method [ abstract public method has ] { - - - Parameters [1] { - Parameter #0 [ string $key ] - } - - Return [ bool ] - } - - Method [ abstract public method increment ] { - - - Parameters [2] { - Parameter #0 [ string $key ] - Parameter #1 [ int $value = ] - } - } - - Method [ abstract public method set ] { - - - Parameters [3] { - Parameter #0 [ string $key ] - Parameter #1 [ $value ] - Parameter #2 [ $ttl = ] - } - - Return [ bool ] - } - - Method [ public method setDefaultSerializer ] { - - - Parameters [1] { - Parameter #0 [ string $serializer ] - } - - Return [ void ] - } - - Method [ protected method doGet ] { - - - Parameters [1] { - Parameter #0 [ string $key ] - } - } - - Method [ protected method getFilteredKeys ] { - - - Parameters [2] { - Parameter #0 [ $keys ] - Parameter #1 [ string $prefix ] - } - - Return [ array ] - } - - Method [ protected method getPrefixedKey ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - - Return [ string ] - } - - Method [ protected method getSerializedData ] { - - - Parameters [1] { - Parameter #0 [ $content ] - } - } - - Method [ protected method getTtl ] { - - - Parameters [1] { - Parameter #0 [ $ttl ] - } - - Return [ int ] - } - - Method [ protected method getUnserializedData ] { - - - Parameters [2] { - Parameter #0 [ $content ] - Parameter #1 [ $defaultValue = ] - } - } - - Method [ protected method initSerializer ] { - - - Parameters [0] { - } - - Return [ void ] - } - - Method [ protected method getArrVal ] { - - - Parameters [4] { - Parameter #0 [ array $collection ] - Parameter #1 [ $index ] - Parameter #2 [ $defaultValue = ] - Parameter #3 [ ?string $cast = ] - } - } - - Method [ abstract public method setForever ] { - - - Parameters [2] { - Parameter #0 [ string $key ] - Parameter #1 [ $value ] - } - - Return [ bool ] - } - } - } - Class [ class Phalcon\Support\Collection implements ArrayAccess, Phalcon\Support\Collection\CollectionInterface, Countable, IteratorAggregate, Traversable, JsonSerializable, Serializable ] { - Constants [0] { @@ -13816,7 +13816,14 @@ Extension [ extension #118 phalcon version 5.2.2 ] { Property [ protected $strategy = NULL ] } - - Methods [34] { + - Methods [35] { + Method [ public method getAdapter ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Cache\Adapter\AdapterInterface ] + } + Method [ public method getAttributes ] { - Parameters [1] { @@ -23791,6 +23798,206 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } } + Class [ class Phalcon\Storage\Adapter\Weak extends Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Storage\Adapter\AdapterInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [9] { + Property [ protected $adapter = NULL ] + Property [ protected $defaultSerializer = 'php' ] + Property [ protected $lifetime = 3600 ] + Property [ protected $prefix = 'ph-memo-' ] + Property [ protected $serializer = NULL ] + Property [ protected $serializerFactory = NULL ] + Property [ protected $fetching = NULL ] + Property [ protected $weakList = NULL ] + Property [ protected $options = NULL ] + } + + - Methods [22] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ Phalcon\Storage\SerializerFactory $factory ] + Parameter #1 [ array $options = [] ] + } + } + + Method [ public method clear ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ public method decrement ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ int $value = ] + } + } + + Method [ public method delete ] { + + - Parameters [1] { + Parameter #0 [ string $key ] + } + - Return [ bool ] + } + + Method [ public method getKeys ] { + + - Parameters [1] { + Parameter #0 [ string $prefix = ] + } + - Return [ array ] + } + + Method [ public method increment ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ int $value = ] + } + } + + Method [ public method get ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $defaultValue = ] + } + } + + Method [ public method has ] { + + - Parameters [1] { + Parameter #0 [ string $key ] + } + - Return [ bool ] + } + + Method [ public method set ] { + + - Parameters [3] { + Parameter #0 [ string $key ] + Parameter #1 [ $value ] + Parameter #2 [ $ttl = ] + } + - Return [ bool ] + } + + Method [ public method setForever ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $value ] + } + - Return [ bool ] + } + + Method [ public method setDefaultSerializer ] { + + - Parameters [1] { + Parameter #0 [ string $serializer ] + } + - Return [ void ] + } + + Method [ public method getAdapter ] { + + - Parameters [0] { + } + } + + Method [ public method getDefaultSerializer ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method getPrefix ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ protected method doGet ] { + + - Parameters [1] { + Parameter #0 [ string $key ] + } + } + + Method [ protected method getFilteredKeys ] { + + - Parameters [2] { + Parameter #0 [ $keys ] + Parameter #1 [ string $prefix ] + } + - Return [ array ] + } + + Method [ protected method getPrefixedKey ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + - Return [ string ] + } + + Method [ protected method getSerializedData ] { + + - Parameters [1] { + Parameter #0 [ $content ] + } + } + + Method [ protected method getTtl ] { + + - Parameters [1] { + Parameter #0 [ $ttl ] + } + - Return [ int ] + } + + Method [ protected method getUnserializedData ] { + + - Parameters [2] { + Parameter #0 [ $content ] + Parameter #1 [ $defaultValue = ] + } + } + + Method [ protected method initSerializer ] { + + - Parameters [0] { + } + - Return [ void ] + } + + Method [ protected method getArrVal ] { + + - Parameters [4] { + Parameter #0 [ array $collection ] + Parameter #1 [ $index ] + Parameter #2 [ $defaultValue = ] + Parameter #3 [ ?string $cast = ] + } + } + } + } + Class [ class Phalcon\Storage\Serializer\Igbinary extends Phalcon\Storage\Serializer\AbstractSerializer implements Serializable, Phalcon\Storage\Serializer\SerializerInterface ] { - Constants [0] { @@ -27854,7 +28061,205 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } } - Class [ class Phalcon\Cache\Adapter\Redis extends Phalcon\Storage\Adapter\Redis implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Cache\Adapter\AdapterInterface ] { + Class [ class Phalcon\Cache\Adapter\Redis extends Phalcon\Storage\Adapter\Redis implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Cache\Adapter\AdapterInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [7] { + Property [ protected $adapter = NULL ] + Property [ protected $defaultSerializer = 'php' ] + Property [ protected $lifetime = 3600 ] + Property [ protected $options = NULL ] + Property [ protected $serializer = NULL ] + Property [ protected $serializerFactory = NULL ] + Property [ protected $prefix = 'ph-reds-' ] + } + + - Methods [22] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ Phalcon\Storage\SerializerFactory $factory ] + Parameter #1 [ array $options = [] ] + } + } + + Method [ public method clear ] { + + - Parameters [0] { + } + - Return [ bool ] + } + + Method [ public method decrement ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ int $value = ] + } + } + + Method [ public method delete ] { + + - Parameters [1] { + Parameter #0 [ string $key ] + } + - Return [ bool ] + } + + Method [ public method getAdapter ] { + + - Parameters [0] { + } + } + + Method [ public method getKeys ] { + + - Parameters [1] { + Parameter #0 [ string $prefix = ] + } + - Return [ array ] + } + + Method [ public method has ] { + + - Parameters [1] { + Parameter #0 [ string $key ] + } + - Return [ bool ] + } + + Method [ public method increment ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ int $value = ] + } + } + + Method [ public method set ] { + + - Parameters [3] { + Parameter #0 [ string $key ] + Parameter #1 [ $value ] + Parameter #2 [ $ttl = ] + } + - Return [ bool ] + } + + Method [ public method setForever ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $value ] + } + - Return [ bool ] + } + + Method [ public method get ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $defaultValue = ] + } + } + + Method [ public method getDefaultSerializer ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method getPrefix ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method setDefaultSerializer ] { + + - Parameters [1] { + Parameter #0 [ string $serializer ] + } + - Return [ void ] + } + + Method [ protected method doGet ] { + + - Parameters [1] { + Parameter #0 [ string $key ] + } + } + + Method [ protected method getFilteredKeys ] { + + - Parameters [2] { + Parameter #0 [ $keys ] + Parameter #1 [ string $prefix ] + } + - Return [ array ] + } + + Method [ protected method getPrefixedKey ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + - Return [ string ] + } + + Method [ protected method getSerializedData ] { + + - Parameters [1] { + Parameter #0 [ $content ] + } + } + + Method [ protected method getTtl ] { + + - Parameters [1] { + Parameter #0 [ $ttl ] + } + - Return [ int ] + } + + Method [ protected method getUnserializedData ] { + + - Parameters [2] { + Parameter #0 [ $content ] + Parameter #1 [ $defaultValue = ] + } + } + + Method [ protected method initSerializer ] { + + - Parameters [0] { + } + - Return [ void ] + } + + Method [ protected method getArrVal ] { + + - Parameters [4] { + Parameter #0 [ array $collection ] + Parameter #1 [ $index ] + Parameter #2 [ $defaultValue = ] + Parameter #3 [ ?string $cast = ] + } + } + } + } + + Class [ class Phalcon\Cache\Adapter\Stream extends Phalcon\Storage\Adapter\Stream implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Cache\Adapter\AdapterInterface ] { - Constants [0] { } @@ -27865,18 +28270,19 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Static methods [0] { } - - Properties [7] { + - Properties [8] { Property [ protected $adapter = NULL ] Property [ protected $defaultSerializer = 'php' ] Property [ protected $lifetime = 3600 ] Property [ protected $options = NULL ] Property [ protected $serializer = NULL ] Property [ protected $serializerFactory = NULL ] - Property [ protected $prefix = 'ph-reds-' ] + Property [ protected $prefix = 'ph-strm' ] + Property [ protected $storageDir = '' ] } - - Methods [22] { - Method [ public method __construct ] { + - Methods [27] { + Method [ public method __construct ] { - Parameters [2] { Parameter #0 [ Phalcon\Storage\SerializerFactory $factory ] @@ -27884,14 +28290,14 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } } - Method [ public method clear ] { + Method [ public method clear ] { - Parameters [0] { } - Return [ bool ] } - Method [ public method decrement ] { + Method [ public method decrement ] { - Parameters [2] { Parameter #0 [ string $key ] @@ -27899,7 +28305,7 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } } - Method [ public method delete ] { + Method [ public method delete ] { - Parameters [1] { Parameter #0 [ string $key ] @@ -27907,13 +28313,15 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Return [ bool ] } - Method [ public method getAdapter ] { + Method [ public method get ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $defaultValue = ] } } - Method [ public method getKeys ] { + Method [ public method getKeys ] { - Parameters [1] { Parameter #0 [ string $prefix = ] @@ -27921,7 +28329,7 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Return [ array ] } - Method [ public method has ] { + Method [ public method has ] { - Parameters [1] { Parameter #0 [ string $key ] @@ -27929,7 +28337,7 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Return [ bool ] } - Method [ public method increment ] { + Method [ public method increment ] { - Parameters [2] { Parameter #0 [ string $key ] @@ -27937,7 +28345,7 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } } - Method [ public method set ] { + Method [ public method set ] { - Parameters [3] { Parameter #0 [ string $key ] @@ -27947,7 +28355,7 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Return [ bool ] } - Method [ public method setForever ] { + Method [ public method setForever ] { - Parameters [2] { Parameter #0 [ string $key ] @@ -27956,11 +28364,50 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Return [ bool ] } - Method [ public method get ] { + Method [ protected method phpFileExists ] { + + - Parameters [1] { + Parameter #0 [ string $filename ] + } + - Return [ bool ] + } + + Method [ protected method phpFileGetContents ] { + + - Parameters [1] { + Parameter #0 [ string $filename ] + } + } + + Method [ protected method phpFilePutContents ] { + + - Parameters [4] { + Parameter #0 [ string $filename ] + Parameter #1 [ $data ] + Parameter #2 [ int $flags = ] + Parameter #3 [ $context = ] + } + } + + Method [ protected method phpFopen ] { - Parameters [2] { - Parameter #0 [ string $key ] - Parameter #1 [ $defaultValue = ] + Parameter #0 [ string $filename ] + Parameter #1 [ string $mode ] + } + } + + Method [ protected method phpUnlink ] { + + - Parameters [1] { + Parameter #0 [ string $filename ] + } + - Return [ bool ] + } + + Method [ public method getAdapter ] { + + - Parameters [0] { } } @@ -28052,7 +28499,7 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } } - Class [ class Phalcon\Cache\Adapter\Stream extends Phalcon\Storage\Adapter\Stream implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Cache\Adapter\AdapterInterface ] { + Class [ class Phalcon\Cache\Adapter\Weak extends Phalcon\Storage\Adapter\Weak implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Cache\Adapter\AdapterInterface ] { - Constants [0] { } @@ -28063,19 +28510,20 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Static methods [0] { } - - Properties [8] { + - Properties [9] { Property [ protected $adapter = NULL ] Property [ protected $defaultSerializer = 'php' ] Property [ protected $lifetime = 3600 ] - Property [ protected $options = NULL ] + Property [ protected $prefix = 'ph-memo-' ] Property [ protected $serializer = NULL ] Property [ protected $serializerFactory = NULL ] - Property [ protected $prefix = 'ph-strm' ] - Property [ protected $storageDir = '' ] + Property [ protected $fetching = NULL ] + Property [ protected $weakList = NULL ] + Property [ protected $options = NULL ] } - - Methods [27] { - Method [ public method __construct ] { + - Methods [22] { + Method [ public method __construct ] { - Parameters [2] { Parameter #0 [ Phalcon\Storage\SerializerFactory $factory ] @@ -28083,14 +28531,14 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } } - Method [ public method clear ] { + Method [ public method clear ] { - Parameters [0] { } - Return [ bool ] } - Method [ public method decrement ] { + Method [ public method decrement ] { - Parameters [2] { Parameter #0 [ string $key ] @@ -28098,7 +28546,7 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } } - Method [ public method delete ] { + Method [ public method delete ] { - Parameters [1] { Parameter #0 [ string $key ] @@ -28106,15 +28554,7 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Return [ bool ] } - Method [ public method get ] { - - - Parameters [2] { - Parameter #0 [ string $key ] - Parameter #1 [ $defaultValue = ] - } - } - - Method [ public method getKeys ] { + Method [ public method getKeys ] { - Parameters [1] { Parameter #0 [ string $prefix = ] @@ -28122,80 +28562,55 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Return [ array ] } - Method [ public method has ] { + Method [ public method increment ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ string $key ] + Parameter #1 [ int $value = ] } - - Return [ bool ] } - Method [ public method increment ] { + Method [ public method get ] { - Parameters [2] { Parameter #0 [ string $key ] - Parameter #1 [ int $value = ] + Parameter #1 [ $defaultValue = ] } } - Method [ public method set ] { + Method [ public method has ] { - - Parameters [3] { + - Parameters [1] { Parameter #0 [ string $key ] - Parameter #1 [ $value ] - Parameter #2 [ $ttl = ] } - Return [ bool ] } - Method [ public method setForever ] { + Method [ public method set ] { - - Parameters [2] { + - Parameters [3] { Parameter #0 [ string $key ] Parameter #1 [ $value ] + Parameter #2 [ $ttl = ] } - Return [ bool ] } - Method [ protected method phpFileExists ] { - - - Parameters [1] { - Parameter #0 [ string $filename ] - } - - Return [ bool ] - } - - Method [ protected method phpFileGetContents ] { - - - Parameters [1] { - Parameter #0 [ string $filename ] - } - } - - Method [ protected method phpFilePutContents ] { - - - Parameters [4] { - Parameter #0 [ string $filename ] - Parameter #1 [ $data ] - Parameter #2 [ int $flags = ] - Parameter #3 [ $context = ] - } - } - - Method [ protected method phpFopen ] { + Method [ public method setForever ] { - Parameters [2] { - Parameter #0 [ string $filename ] - Parameter #1 [ string $mode ] + Parameter #0 [ string $key ] + Parameter #1 [ $value ] } + - Return [ bool ] } - Method [ protected method phpUnlink ] { + Method [ public method setDefaultSerializer ] { - Parameters [1] { - Parameter #0 [ string $filename ] + Parameter #0 [ string $serializer ] } - - Return [ bool ] + - Return [ void ] } Method [ public method getAdapter ] { @@ -28218,14 +28633,6 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Return [ string ] } - Method [ public method setDefaultSerializer ] { - - - Parameters [1] { - Parameter #0 [ string $serializer ] - } - - Return [ void ] - } - Method [ protected method doGet ] { - Parameters [1] { @@ -30663,7 +31070,7 @@ Extension [ extension #118 phalcon version 5.2.2 ] { Property [ protected $pathDelimiter = '.' ] } - - Methods [35] { + - Methods [34] { Method [ public method __construct ] { - Parameters [1] { @@ -30671,16 +31078,6 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } } - Method [ private method decode ] { - - - Parameters [4] { - Parameter #0 [ string $data ] - Parameter #1 [ bool $associative = ] - Parameter #2 [ int $depth = ] - Parameter #3 [ int $options = ] - } - } - Method [ public method getPathDelimiter ] { - Parameters [0] { @@ -32825,15 +33222,16 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Static methods [0] { } - - Properties [5] { + - Properties [6] { Property [ protected $active = false ] Property [ protected $context = NULL ] Property [ protected $logFormat = '' ] Property [ protected $logLevel = 0 ] Property [ protected $logger = NULL ] + Property [ private $encode = NULL ] } - - Methods [11] { + - Methods [10] { Method [ public method __construct ] { - Parameters [1] { @@ -32909,16 +33307,6 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } - Return [ void ] } - - Method [ private method encode ] { - - - Parameters [3] { - Parameter #0 [ $data ] - Parameter #1 [ int $options = ] - Parameter #2 [ int $depth = ] - } - - Return [ string ] - } } } @@ -40997,14 +41385,15 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Static methods [0] { } - - Properties [4] { + - Properties [5] { Property [ private $claims = NULL ] + Property [ private $encode = NULL ] Property [ private $jose = NULL ] Property [ private $passphrase = NULL ] Property [ private $signer = NULL ] } - - Methods [27] { + - Methods [26] { Method [ public method __construct ] { - Parameters [1] { @@ -41199,16 +41588,6 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } - Return [ string ] } - - Method [ private method encode ] { - - - Parameters [3] { - Parameter #0 [ $data ] - Parameter #1 [ int $options = ] - Parameter #2 [ int $depth = ] - } - - Return [ string ] - } } } @@ -41608,10 +41987,18 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Static methods [0] { } - - Properties [0] { + - Properties [1] { + Property [ private $decode = NULL ] } - Methods [7] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ ?Phalcon\Support\Helper\Json\Decode $decode = ] + } + } + Method [ public method parse ] { - Parameters [1] { @@ -41653,16 +42040,6 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Return [ array ] } - Method [ private method decode ] { - - - Parameters [4] { - Parameter #0 [ string $data ] - Parameter #1 [ bool $associative = ] - Parameter #2 [ int $depth = ] - Parameter #3 [ int $options = ] - } - } - Method [ private method decodeUrl ] { - Parameters [1] { @@ -60428,7 +60805,7 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Static methods [0] { } - - Properties [8] { + - Properties [9] { Property [ protected $container = NULL ] Property [ protected $content = NULL ] Property [ protected $cookies = NULL ] @@ -60437,9 +60814,10 @@ Extension [ extension #118 phalcon version 5.2.2 ] { Property [ protected $headers = NULL ] Property [ protected $sent = false ] Property [ protected $statusCodes = NULL ] + Property [ private $encode = NULL ] } - - Methods [36] { + - Methods [35] { Method [ public method __construct ] { - Parameters [3] { @@ -60716,16 +61094,6 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } - Return [ string ] } - - Method [ private method encode ] { - - - Parameters [3] { - Parameter #0 [ $data ] - Parameter #1 [ int $options = ] - Parameter #2 [ int $depth = ] - } - - Return [ string ] - } } } @@ -67217,7 +67585,7 @@ Extension [ extension #118 phalcon version 5.2.2 ] { Property [ protected $strategy = NULL ] } - - Methods [34] { + - Methods [35] { Method [ public method __construct ] { - Parameters [2] { @@ -67226,6 +67594,13 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } } + Method [ public method getAdapter ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Cache\Adapter\AdapterInterface ] + } + Method [ public method getAttributes ] { - Parameters [1] { @@ -67533,7 +67908,7 @@ Extension [ extension #118 phalcon version 5.2.2 ] { Property [ protected $strategy = NULL ] } - - Methods [34] { + - Methods [35] { Method [ public method __construct ] { - Parameters [2] { @@ -67549,6 +67924,13 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Return [ void ] } + Method [ public method getAdapter ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Cache\Adapter\AdapterInterface ] + } + Method [ public method getAttributes ] { - Parameters [1] { @@ -67849,7 +68231,7 @@ Extension [ extension #118 phalcon version 5.2.2 ] { Property [ protected $strategy = NULL ] } - - Methods [34] { + - Methods [35] { Method [ public method __construct ] { - Parameters [1] { @@ -67874,6 +68256,13 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Return [ void ] } + Method [ public method getAdapter ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Cache\Adapter\AdapterInterface ] + } + Method [ public method getAttributes ] { - Parameters [1] { @@ -68164,7 +68553,7 @@ Extension [ extension #118 phalcon version 5.2.2 ] { Property [ protected $strategy = NULL ] } - - Methods [34] { + - Methods [35] { Method [ public method __construct ] { - Parameters [2] { @@ -68180,6 +68569,13 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Return [ void ] } + Method [ public method getAdapter ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Cache\Adapter\AdapterInterface ] + } + Method [ public method getAttributes ] { - Parameters [1] { @@ -68551,7 +68947,7 @@ Extension [ extension #118 phalcon version 5.2.2 ] { Property [ protected $metaDataDir = './' ] } - - Methods [35] { + - Methods [36] { Method [ public method __construct ] { - Parameters [1] { @@ -68584,6 +68980,13 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Return [ void ] } + Method [ public method getAdapter ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Cache\Adapter\AdapterInterface ] + } + Method [ public method getAttributes ] { - Parameters [1] { @@ -70528,7 +70931,7 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } } - Class [ class Phalcon\Mvc\Model\Row implements Phalcon\Mvc\EntityInterface, Phalcon\Mvc\Model\ResultInterface, ArrayAccess, JsonSerializable ] { + Class [ class Phalcon\Mvc\Model\Row extends stdClass implements Phalcon\Mvc\EntityInterface, Phalcon\Mvc\Model\ResultInterface, ArrayAccess, JsonSerializable ] { - Constants [0] { } @@ -75694,51 +76097,33 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Static methods [0] { } - - Properties [2] { + - Properties [4] { Property [ protected $data = NULL ] Property [ protected $isSuccess = true ] + Property [ private $decode = NULL ] + Property [ private $encode = NULL ] } - - Methods [11] { - Method [ public method serialize ] { - - - Parameters [0] { - } - } - - Method [ public method unserialize ] { + - Methods [9] { + Method [ public method __construct ] { - Parameters [1] { - Parameter #0 [ string $serialized ] + Parameter #0 [ $data = ] } - - Return [ void ] } - Method [ private method getDecode ] { + Method [ public method serialize ] { - - Parameters [4] { - Parameter #0 [ string $data ] - Parameter #1 [ bool $associative = ] - Parameter #2 [ int $depth = ] - Parameter #3 [ int $options = ] + - Parameters [0] { } } - Method [ private method getEncode ] { - - - Parameters [3] { - Parameter #0 [ $data ] - Parameter #1 [ int $options = ] - Parameter #2 [ int $depth = ] - } - - Return [ string ] - } - - Method [ public method __construct ] { + Method [ public method unserialize ] { - Parameters [1] { - Parameter #0 [ $data = ] + Parameter #0 [ string $serialized ] } + - Return [ void ] } Method [ public method __serialize ] { @@ -77229,13 +77614,14 @@ Extension [ extension #118 phalcon version 5.2.2 ] { - Static methods [0] { } - - Properties [3] { + - Properties [4] { Property [ protected $detailed = false ] Property [ protected $methods = NULL ] Property [ protected $styles = NULL ] + Property [ private $encode = NULL ] } - - Methods [12] { + - Methods [11] { Method [ public method __construct ] { - Parameters [2] { @@ -77324,16 +77710,6 @@ Extension [ extension #118 phalcon version 5.2.2 ] { } - Return [ string ] } - - Method [ private method encode ] { - - - Parameters [3] { - Parameter #0 [ $data ] - Parameter #1 [ int $options = ] - Parameter #2 [ int $depth = ] - } - - Return [ string ] - } } } diff --git a/php-phalcon5.spec b/php-phalcon5.spec index 9b238fd..e962940 100644 --- a/php-phalcon5.spec +++ b/php-phalcon5.spec @@ -7,24 +7,17 @@ # Please, preserve the changelog entries # -# we don't want -z defs linker flag -%undefine _strict_symbol_defs_build - -%if 0%{?scl:1} -%scl_package php-phalcon5 -%else -%global pkg_name %{name} -%endif - -%bcond_with tests +%{?scl:%scl_package php-phalcon5} %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global pecl_name phalcon # after 40-json.ini, 20-pdo.ini %global ini_name 50-%{pecl_name}.ini -%global upstream_ver 5.2.2 +%global upstream_ver 5.2.3 #global upstream_pre RC4 #global upstream_low %%(echo %%{upstream_pre} | tr '[:upper:]' '[:lower:]') +%global sources %{pecl_name}-%{upstream_ver}%{?upstream_pre} +%global _configure ../%{sources}/configure Name: %{?scl_prefix}php-phalcon5 Version: %{upstream_ver}%{?upstream_pre:~%{upstream_low}} @@ -32,12 +25,12 @@ Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_ Summary: Phalcon Framework License: BSD-3-Clause -URL: https://pecl.php.net/package/phalcon +URL: https://phalcon.io/ # when missing on pecl, generated from git # git checkout v#.#.# # ln -s build/phalcon/* . # pecl package -Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_ver}%{?upstream_pre}.tgz +Source0: https://pecl.php.net/get/%{sources}.tgz BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.4.1 @@ -52,7 +45,6 @@ Requires: %{?scl_prefix}php(api) = %{php_core_api} Requires: %{?scl_prefix}php-hash%{?_isa} Requires: %{?scl_prefix}php-json%{?_isa} Requires: %{?scl_prefix}php-pdo%{?_isa} -%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} Provides: %{?scl_prefix}php-phalcon = %{version}-%{release} Provides: %{?scl_prefix}php-phalcon%{?_isa} = %{version}-%{release} @@ -72,14 +64,12 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} -# Don't provides php-composer(phalcon/cphalcon), not registered on packagist - %description Phalcon is a web framework implemented as a C extension offering high performance and lower resource consumption. -Documentation: http://docs.phalconphp.com +Documentation: https://docs.phalcon.io/ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}. @@ -89,9 +79,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml} -mv %{pecl_name}-%{upstream_ver}%{?upstream_pre} NTS - -cd NTS +cd %{sources} # Sanity check, really often broken extver=$(sed -n '/#define PHP_PHALCON_VERSION/{s/.* "//;s/".*$//;p}' php_phalcon.h) if test "x${extver}" != "x%{upstream_ver}%{?upstream_pre:%{upstream_pre}}"; then @@ -100,9 +88,9 @@ if test "x${extver}" != "x%{upstream_ver}%{?upstream_pre:%{upstream_pre}}"; then fi cd .. +mkdir NTS %if %{with_zts} -# duplicate for ZTS build -cp -pr NTS ZTS +mkdir ZTS %endif # Create configuration file @@ -143,17 +131,18 @@ peclconf() { --with-php-config=$1 } +cd %{sources} +%{__phpize} + : Build NTS extension -cd NTS -%{_bindir}/phpize -peclconf %{_bindir}/php-config +cd ../NTS +peclconf %{__phpconfig} make %{?_smp_mflags} %if %{with_zts} : Build ZTS extension cd ../ZTS -%{_bindir}/zts-phpize -peclconf %{_bindir}/zts-php-config +peclconf %{__ztsphpconfig} make %{?_smp_mflags} %endif @@ -176,7 +165,7 @@ install -Dpm644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name} # Documentation for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//') -do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i +do install -Dpm 644 %{sources}/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i done @@ -195,17 +184,6 @@ done --define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ --modules | grep -i '^%{pecl_name}$' -%if %{with tests} -: Upstream test suite NTS extension -cd build/NTS -SKIP_ONLINE_TESTS=1 \ -TEST_PHP_EXECUTABLE=%{__php} \ -TEST_PHP_ARGS="-n $modules -d extension=$PWD/modules/%{pecl_name}.so" \ -NO_INTERACTION=1 \ -REPORT_EXIT_STATUS=1 \ -%{__php} -n run-tests.php --show-diff -%endif - %if %{with_zts} : Minimal load test for ZTS extension %{__ztsphp} --no-php-ini \ @@ -236,7 +214,7 @@ fi %files -%{?_licensedir:%license NTS/LICENSE.txt} +%{?_licensedir:%license %{sources}/LICENSE.txt} %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -252,6 +230,10 @@ fi %changelog +* Thu Jul 27 2023 Remi Collet - 5.2.3-1 +- update to 5.2.3 +- build out of sources tree + * Mon Jun 19 2023 Remi Collet - 5.2.2-1 - update to 5.2.2 -- cgit