From baf144e14fb92fde8b23e5c699e2e9e8ddcf502b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 5 Apr 2026 08:09:21 +0200 Subject: update to 5.11.1 drop patch merged upstream --- 0001-Fix-16874-missing-include.patch | 24 - PHPINFO | 4 +- REFLECTION | 1314 ++++++++++++++++++++++++---------- php-phalcon5.spec | 14 +- 4 files changed, 928 insertions(+), 428 deletions(-) delete mode 100644 0001-Fix-16874-missing-include.patch diff --git a/0001-Fix-16874-missing-include.patch b/0001-Fix-16874-missing-include.patch deleted file mode 100644 index 4b42c78..0000000 --- a/0001-Fix-16874-missing-include.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 646b02c3351ee209c335a9409cd0effd7b7a0e5a Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Sat, 4 Apr 2026 09:09:22 +0200 -Subject: [PATCH] Fix #16874 missing include - ---- - ext/kernel/backtrace.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/ext/kernel/backtrace.c b/ext/kernel/backtrace.c -index 702686038e..ccc148684d 100644 ---- a/ext/kernel/backtrace.c -+++ b/ext/kernel/backtrace.c -@@ -12,6 +12,7 @@ - #ifndef ZEPHIR_RELEASE - #if defined(linux) && !defined(ALPINE_LINUX) || defined(DARWIN) || defined(__APPLE__) - -+#include - #include - #include - #if PHP_VERSION_ID < 80500 --- -2.53.0 - diff --git a/PHPINFO b/PHPINFO index 8c3538a..ed84b4f 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.11.0 -Build Date => Apr 4 2026 00:00:00 +Version => 5.11.1 +Build Date => Apr 5 2026 00:00:00 Powered by Zephir => Version 0.19.0-$Id$ Directive => Local Value => Master Value diff --git a/REFLECTION b/REFLECTION index 418dec5..dc701d2 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #147 phalcon version 5.11.0 ] { +Extension [ extension #146 phalcon version 5.11.1 ] { - Dependencies { Dependency [ pdo (Required) ] @@ -74,7 +74,7 @@ Extension [ extension #147 phalcon version 5.11.0 ] { } } - - Classes [619] { + - Classes [622] { Interface [ interface Phalcon\Di\InjectionAwareInterface ] { - Constants [0] { @@ -732,6 +732,110 @@ Extension [ extension #147 phalcon version 5.11.0 ] { } } + 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 = 1 ] + } + } + + 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 = 1 ] + } + } + + 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\Dispatcher\DispatcherInterface ] { - Constants [0] { @@ -1011,110 +1115,6 @@ Extension [ extension #147 phalcon version 5.11.0 ] { } } - 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 = 1 ] - } - } - - 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 = 1 ] - } - } - - 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] { @@ -12106,6 +12106,244 @@ Extension [ extension #147 phalcon version 5.11.0 ] { } } + Class [ abstract class Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Events\EventsAwareInterface ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - 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 $eventsManager = NULL ] + Property [ protected $eventType = 'storage' ] + } + + - Methods [27] { + 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 = 1 ] + } + } + + 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 getLifetime ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method getPrefix ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method getSerializer ] { + + - Parameters [0] { + } + - Return [ Phalcon\Storage\Serializer\SerializerInterface ] + } + + 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 = 1 ] + } + } + + 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 = null ] + } + } + + Method [ public method setEventsManager ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] + } + - Return [ void ] + } + + Method [ public method getEventsManager ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Events\ManagerInterface ] + } + + Method [ protected method fire ] { + + - Parameters [2] { + Parameter #0 [ string $eventName ] + Parameter #1 [ $keys ] + } + - Return [ void ] + } + + Method [ abstract public method setForever ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $value ] + } + - Return [ bool ] + } + } + } + Class [ abstract class Phalcon\Storage\Serializer\AbstractSerializer implements Phalcon\Storage\Serializer\SerializerInterface, Serializable ] { - Constants [0] { @@ -12531,244 +12769,6 @@ Extension [ extension #147 phalcon version 5.11.0 ] { } } - Class [ abstract class Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Events\EventsAwareInterface ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - 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 $eventsManager = NULL ] - Property [ protected $eventType = 'storage' ] - } - - - Methods [27] { - 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 = 1 ] - } - } - - 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 getLifetime ] { - - - Parameters [0] { - } - - Return [ int ] - } - - Method [ public method getPrefix ] { - - - Parameters [0] { - } - - Return [ string ] - } - - Method [ public method getSerializer ] { - - - Parameters [0] { - } - - Return [ Phalcon\Storage\Serializer\SerializerInterface ] - } - - 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 = 1 ] - } - } - - 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 = null ] - } - } - - Method [ public method setEventsManager ] { - - - Parameters [1] { - Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] - } - - Return [ void ] - } - - Method [ public method getEventsManager ] { - - - Parameters [0] { - } - - Return [ ?Phalcon\Events\ManagerInterface ] - } - - Method [ protected method fire ] { - - - Parameters [2] { - Parameter #0 [ string $eventName ] - Parameter #1 [ $keys ] - } - - Return [ void ] - } - - 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] { @@ -17244,6 +17244,276 @@ Extension [ extension #147 phalcon version 5.11.0 ] { } } + Class [ class Phalcon\Storage\Adapter\Redis extends Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Events\EventsAwareInterface, 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 $options = NULL ] + Property [ protected $serializer = NULL ] + Property [ protected $serializerFactory = NULL ] + Property [ protected $eventsManager = NULL ] + Property [ protected $eventType = 'storage' ] + Property [ protected $prefix = 'ph-reds-' ] + } + + - Methods [31] { + 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 = 1 ] + } + } + + 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 = 1 ] + } + } + + 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 [ private method checkAuth ] { + + - Parameters [1] { + Parameter #0 [ Redis $connection ] + } + - Return [ Phalcon\Storage\Adapter\Redis ] + } + + Method [ private method checkConnect ] { + + - Parameters [1] { + Parameter #0 [ Redis $connection ] + } + - Return [ Phalcon\Storage\Adapter\Redis ] + } + + Method [ private method checkIndex ] { + + - Parameters [1] { + Parameter #0 [ Redis $connection ] + } + - Return [ Phalcon\Storage\Adapter\Redis ] + } + + Method [ private method setSerializer ] { + + - Parameters [1] { + Parameter #0 [ Redis $connection ] + } + - Return [ void ] + } + + Method [ public method get ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $defaultValue = ] + } + } + + Method [ public method getDefaultSerializer ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method getLifetime ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method getPrefix ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method getSerializer ] { + + - Parameters [0] { + } + - Return [ Phalcon\Storage\Serializer\SerializerInterface ] + } + + 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 = null ] + } + } + + Method [ public method setEventsManager ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] + } + - Return [ void ] + } + + Method [ public method getEventsManager ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Events\ManagerInterface ] + } + + Method [ protected method fire ] { + + - Parameters [2] { + Parameter #0 [ string $eventName ] + Parameter #1 [ $keys ] + } + - Return [ void ] + } + } + } + Class [ class Phalcon\Support\Helper\Str\PascalCase ] { - Constants [0] { @@ -24037,7 +24307,7 @@ Extension [ extension #147 phalcon version 5.11.0 ] { } } - Class [ class Phalcon\Storage\Adapter\Redis extends Phalcon\Storage\Adapter\AbstractAdapter implements Phalcon\Events\EventsAwareInterface, Phalcon\Storage\Adapter\AdapterInterface ] { + Class [ class Phalcon\Storage\Adapter\RedisCluster extends Phalcon\Storage\Adapter\Redis implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Events\EventsAwareInterface ] { - Constants [0] { } @@ -24057,11 +24327,11 @@ Extension [ extension #147 phalcon version 5.11.0 ] { Property [ protected $serializerFactory = NULL ] Property [ protected $eventsManager = NULL ] Property [ protected $eventType = 'storage' ] - Property [ protected $prefix = 'ph-reds-' ] + Property [ protected $prefix = 'ph-redc-' ] } - - Methods [31] { - Method [ public method __construct ] { + - Methods [28] { + Method [ public method __construct ] { - Parameters [2] { Parameter #0 [ Phalcon\Storage\SerializerFactory $factory ] @@ -24069,36 +24339,44 @@ Extension [ extension #147 phalcon version 5.11.0 ] { } } - Method [ public method clear ] { + Method [ public method clear ] { - Parameters [0] { } - Return [ bool ] } - Method [ public method decrement ] { + Method [ public method getAdapter ] { - - Parameters [2] { - Parameter #0 [ string $key ] - Parameter #1 [ int $value = 1 ] + - Parameters [0] { } } - Method [ public method delete ] { + Method [ private method setSerializer ] { - Parameters [1] { + Parameter #0 [ RedisCluster $connection ] + } + - Return [ void ] + } + + Method [ public method decrement ] { + + - Parameters [2] { Parameter #0 [ string $key ] + Parameter #1 [ int $value = 1 ] } - - Return [ bool ] } - Method [ public method getAdapter ] { + Method [ public method delete ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ string $key ] } + - Return [ bool ] } - Method [ public method getKeys ] { + Method [ public method getKeys ] { - Parameters [1] { Parameter #0 [ string $prefix = '' ] @@ -24106,7 +24384,7 @@ Extension [ extension #147 phalcon version 5.11.0 ] { - Return [ array ] } - Method [ public method has ] { + Method [ public method has ] { - Parameters [1] { Parameter #0 [ string $key ] @@ -24114,7 +24392,7 @@ Extension [ extension #147 phalcon version 5.11.0 ] { - Return [ bool ] } - Method [ public method increment ] { + Method [ public method increment ] { - Parameters [2] { Parameter #0 [ string $key ] @@ -24122,7 +24400,7 @@ Extension [ extension #147 phalcon version 5.11.0 ] { } } - Method [ public method set ] { + Method [ public method set ] { - Parameters [3] { Parameter #0 [ string $key ] @@ -24132,7 +24410,7 @@ Extension [ extension #147 phalcon version 5.11.0 ] { - Return [ bool ] } - Method [ public method setForever ] { + Method [ public method setForever ] { - Parameters [2] { Parameter #0 [ string $key ] @@ -24141,38 +24419,6 @@ Extension [ extension #147 phalcon version 5.11.0 ] { - Return [ bool ] } - Method [ private method checkAuth ] { - - - Parameters [1] { - Parameter #0 [ Redis $connection ] - } - - Return [ Phalcon\Storage\Adapter\Redis ] - } - - Method [ private method checkConnect ] { - - - Parameters [1] { - Parameter #0 [ Redis $connection ] - } - - Return [ Phalcon\Storage\Adapter\Redis ] - } - - Method [ private method checkIndex ] { - - - Parameters [1] { - Parameter #0 [ Redis $connection ] - } - - Return [ Phalcon\Storage\Adapter\Redis ] - } - - Method [ private method setSerializer ] { - - - Parameters [1] { - Parameter #0 [ Redis $connection ] - } - - Return [ void ] - } - Method [ public method get ] { - Parameters [2] { @@ -29423,6 +29669,244 @@ Extension [ extension #147 phalcon version 5.11.0 ] { } } + Class [ class Phalcon\Cache\Adapter\RedisCluster extends Phalcon\Storage\Adapter\RedisCluster implements Phalcon\Events\EventsAwareInterface, Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Cache\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 $options = NULL ] + Property [ protected $serializer = NULL ] + Property [ protected $serializerFactory = NULL ] + Property [ protected $eventsManager = NULL ] + Property [ protected $prefix = 'ph-redc-' ] + Property [ protected $eventType = 'cache' ] + } + + - Methods [27] { + 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 getAdapter ] { + + - Parameters [0] { + } + } + + Method [ public method decrement ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ int $value = 1 ] + } + } + + 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 has ] { + + - Parameters [1] { + Parameter #0 [ string $key ] + } + - Return [ bool ] + } + + Method [ public method increment ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ int $value = 1 ] + } + } + + 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 getLifetime ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method getPrefix ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method getSerializer ] { + + - Parameters [0] { + } + - Return [ Phalcon\Storage\Serializer\SerializerInterface ] + } + + 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 = null ] + } + } + + Method [ public method setEventsManager ] { + + - Parameters [1] { + Parameter #0 [ Phalcon\Events\ManagerInterface $eventsManager ] + } + - Return [ void ] + } + + Method [ public method getEventsManager ] { + + - Parameters [0] { + } + - Return [ ?Phalcon\Events\ManagerInterface ] + } + + Method [ protected method fire ] { + + - Parameters [2] { + Parameter #0 [ string $eventName ] + Parameter #1 [ $keys ] + } + - Return [ void ] + } + } + } + Class [ class Phalcon\Cache\Adapter\Stream extends Phalcon\Storage\Adapter\Stream implements Phalcon\Storage\Adapter\AdapterInterface, Phalcon\Events\EventsAwareInterface, Phalcon\Cache\Adapter\AdapterInterface ] { - Constants [0] { @@ -82755,6 +83239,48 @@ Extension [ extension #147 phalcon version 5.11.0 ] { } } + Class [ class Phalcon\Support\Settings ] { + + - Constants [0] { + } + + - Static properties [1] { + Property [ protected static $overrides = NULL ] + } + + - Static methods [3] { + Method [ static public method get ] { + + - Parameters [1] { + Parameter #0 [ string $key ] + } + - Return [ mixed ] + } + + Method [ static public method set ] { + + - Parameters [2] { + Parameter #0 [ string $key ] + Parameter #1 [ $value ] + } + - Return [ void ] + } + + Method [ static public method reset ] { + + - Parameters [0] { + } + - Return [ void ] + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + Class [ class Phalcon\Support\Version ] { - Constants [5] { diff --git a/php-phalcon5.spec b/php-phalcon5.spec index a43d8b2..12bf191 100644 --- a/php-phalcon5.spec +++ b/php-phalcon5.spec @@ -25,7 +25,7 @@ %global pie_vend %{pecl_name} %global pie_proj cphalcon -%global upstream_version 5.11.0 +%global upstream_version 5.11.1 #global upstream_prever RC4 #global upstream_low %%(echo %%{upstream_prever} | tr '[:upper:]' '[:lower:]') %if %{with single} @@ -52,8 +52,6 @@ Release: 1%{?dist} URL: https://phalcon.io/ Source0: %{forgesource} -Patch0: 0001-Fix-16874-missing-include.patch - BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 8.1 BuildRequires: %{?scl_prefix}php-pear @@ -102,16 +100,12 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %prep %setup -qc -pushd %{archivename} -%patch -P0 -p1 -popd - pushd %{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_version}%{?upstream_prever:%{upstream_prever}}"; then - : Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever:%{upstream_prever}}. + : Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever:%{upstream_prever}} exit 1 fi popd @@ -237,6 +231,10 @@ done %changelog +* Sun Apr 5 2026 Remi Collet - 5.11.1-1 +- update to 5.11.1 +- drop patch merged upstream + * Sat Apr 4 2026 Remi Collet - 5.11.0-1 - update to 5.11.0 - drop pear/pecl dependency -- cgit