Skip to content

Commit

Permalink
Merge pull request #15942 from niden/T15927-psr-cache
Browse files Browse the repository at this point in the history
T15927 psr cache
  • Loading branch information
niden committed Apr 17, 2022
2 parents 3943951 + c7c724e commit bd425dd
Show file tree
Hide file tree
Showing 207 changed files with 3,171 additions and 2,093 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG-5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Changed
- Changed `Phalcon\Session\Bag::__construct()` to accept a `Phalcon\Session\Manager` as the first parameter and `name` as the second one [#15904](https://github.com/phalcon/cphalcon/issues/15904)
- Changed `Phalcon\Logger\Logger` to no longer depend on PSR interfaces [#15925](https://github.com/phalcon/cphalcon/issues/15925)
- Changed `Phalcon\Cache\Cache` to no longer depend on PSR interfaces [#15927](https://github.com/phalcon/cphalcon/issues/15927)

## Fixed
- Fixed `Phalcon\Html\Helper\Input\Numeric` to produce correct elements [#15896](https://github.com/phalcon/cphalcon/issues/15896)
Expand All @@ -23,6 +24,9 @@
- Added
- `Phalcon\Logger\LoggerInterface`
- `Phalcon\Logger\AbstractLogger` to be used in the logger class but also the proxy-psr3 repo [#15925](https://github.com/phalcon/cphalcon/issues/15925)
- Added
- `Phalcon\Cache\CacheInterface`
- `Phalcon\Cache\AbstractCache` to be used in the cache class but also the proxy-psr16 repo [#15927](https://github.com/phalcon/cphalcon/issues/15927)

# [5.0.0beta3](https://github.com/phalcon/cphalcon/releases/tag/v5.0.0beta3) (2022-02-06)

Expand Down
2 changes: 2 additions & 0 deletions ext/config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ if test "$PHP_PHALCON" = "yes"; then
phalcon/application/exception.zep.c
phalcon/assets/asset.zep.c
phalcon/assets/inline.zep.c
phalcon/cache/cacheinterface.zep.c
phalcon/datamapper/pdo/connection/abstractconnection.zep.c
phalcon/datamapper/pdo/exception/exception.zep.c
phalcon/di/di.zep.c
Expand Down Expand Up @@ -108,6 +109,7 @@ if test "$PHP_PHALCON" = "yes"; then
phalcon/acl/componentinterface.zep.c
phalcon/acl/roleinterface.zep.c
phalcon/annotations/readerinterface.zep.c
phalcon/cache/abstractcache.zep.c
phalcon/cli/dispatcherinterface.zep.c
phalcon/cli/router/routeinterface.zep.c
phalcon/cli/taskinterface.zep.c
Expand Down
2 changes: 1 addition & 1 deletion ext/config.w32
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ if (PHP_PHALCON != "no") {
ADD_SOURCES(configure_module_dirname + "/phalcon/mvc", "viewbaseinterface.zep.c entityinterface.zep.c routerinterface.zep.c controllerinterface.zep.c dispatcherinterface.zep.c modelinterface.zep.c router.zep.c viewinterface.zep.c application.zep.c controller.zep.c dispatcher.zep.c micro.zep.c model.zep.c moduledefinitioninterface.zep.c url.zep.c view.zep.c", "phalcon");
ADD_SOURCES(configure_module_dirname + "/phalcon/acl/adapter", "adapterinterface.zep.c abstractadapter.zep.c memory.zep.c", "phalcon");
ADD_SOURCES(configure_module_dirname + "/phalcon/application", "abstractapplication.zep.c exception.zep.c", "phalcon");
ADD_SOURCES(configure_module_dirname + "/phalcon/cache", "cacheinterface.zep.c abstractcache.zep.c adapterfactory.zep.c cache.zep.c cachefactory.zep.c", "phalcon");
ADD_SOURCES(configure_module_dirname + "/phalcon/datamapper/pdo/exception", "exception.zep.c cannotdisconnect.zep.c connectionnotfound.zep.c", "phalcon");
ADD_SOURCES(configure_module_dirname + "/phalcon/domain/payload", "readableinterface.zep.c writeableinterface.zep.c payloadinterface.zep.c payload.zep.c payloadfactory.zep.c status.zep.c", "phalcon");
ADD_SOURCES(configure_module_dirname + "/phalcon/encryption/security/jwt/token", "abstractitem.zep.c enum.zep.c item.zep.c parser.zep.c signature.zep.c token.zep.c", "phalcon");
Expand Down Expand Up @@ -89,7 +90,6 @@ if (PHP_PHALCON != "no") {
ADD_SOURCES(configure_module_dirname + "/phalcon/assets/filters", "cssmin.zep.c jsmin.zep.c none.zep.c", "phalcon");
ADD_SOURCES(configure_module_dirname + "/phalcon/assets/inline", "css.zep.c js.zep.c", "phalcon");
ADD_SOURCES(configure_module_dirname + "/phalcon/autoload", "exception.zep.c loader.zep.c", "phalcon");
ADD_SOURCES(configure_module_dirname + "/phalcon/cache", "adapterfactory.zep.c cache.zep.c cachefactory.zep.c", "phalcon");
ADD_SOURCES(configure_module_dirname + "/phalcon/cache/exception", "exception.zep.c invalidargumentexception.zep.c", "phalcon");
ADD_SOURCES(configure_module_dirname + "/phalcon/cli/console", "exception.zep.c", "phalcon");
ADD_SOURCES(configure_module_dirname + "/phalcon/cli/dispatcher", "exception.zep.c", "phalcon");
Expand Down
4 changes: 4 additions & 0 deletions ext/phalcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ zend_class_entry *phalcon_mvc_model_behaviorinterface_ce;
zend_class_entry *phalcon_mvc_view_engine_engineinterface_ce;
zend_class_entry *phalcon_mvc_viewbaseinterface_ce;
zend_class_entry *phalcon_acl_adapter_adapterinterface_ce;
zend_class_entry *phalcon_cache_cacheinterface_ce;
zend_class_entry *phalcon_domain_payload_readableinterface_ce;
zend_class_entry *phalcon_domain_payload_writeableinterface_ce;
zend_class_entry *phalcon_http_message_responsestatuscodeinterface_ce;
Expand Down Expand Up @@ -179,6 +180,7 @@ zend_class_entry *phalcon_mvc_model_resultset_ce;
zend_class_entry *phalcon_mvc_view_engine_abstractengine_ce;
zend_class_entry *phalcon_session_adapter_abstractadapter_ce;
zend_class_entry *phalcon_acl_adapter_abstractadapter_ce;
zend_class_entry *phalcon_cache_abstractcache_ce;
zend_class_entry *phalcon_di_exception_ce;
zend_class_entry *phalcon_di_factorydefault_ce;
zend_class_entry *phalcon_encryption_crypt_exception_exception_ce;
Expand Down Expand Up @@ -720,6 +722,7 @@ static PHP_MINIT_FUNCTION(phalcon)
ZEPHIR_INIT(Phalcon_Mvc_ViewBaseInterface);
ZEPHIR_INIT(Phalcon_Mvc_View_Engine_EngineInterface);
ZEPHIR_INIT(Phalcon_Acl_Adapter_AdapterInterface);
ZEPHIR_INIT(Phalcon_Cache_CacheInterface);
ZEPHIR_INIT(Phalcon_Domain_Payload_ReadableInterface);
ZEPHIR_INIT(Phalcon_Domain_Payload_WriteableInterface);
ZEPHIR_INIT(Phalcon_Http_Message_ResponseStatusCodeInterface);
Expand Down Expand Up @@ -841,6 +844,7 @@ static PHP_MINIT_FUNCTION(phalcon)
ZEPHIR_INIT(Phalcon_Mvc_View_Engine_AbstractEngine);
ZEPHIR_INIT(Phalcon_Session_Adapter_AbstractAdapter);
ZEPHIR_INIT(Phalcon_Acl_Adapter_AbstractAdapter);
ZEPHIR_INIT(Phalcon_Cache_AbstractCache);
ZEPHIR_INIT(Phalcon_Di_Exception);
ZEPHIR_INIT(Phalcon_Di_FactoryDefault);
ZEPHIR_INIT(Phalcon_Encryption_Crypt_Exception_Exception);
Expand Down
2 changes: 2 additions & 0 deletions ext/phalcon.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
#include "phalcon/application/exception.zep.h"
#include "phalcon/assets/asset.zep.h"
#include "phalcon/assets/inline.zep.h"
#include "phalcon/cache/cacheinterface.zep.h"
#include "phalcon/datamapper/pdo/connection/abstractconnection.zep.h"
#include "phalcon/datamapper/pdo/exception/exception.zep.h"
#include "phalcon/di/di.zep.h"
Expand Down Expand Up @@ -103,6 +104,7 @@
#include "phalcon/acl/componentinterface.zep.h"
#include "phalcon/acl/roleinterface.zep.h"
#include "phalcon/annotations/readerinterface.zep.h"
#include "phalcon/cache/abstractcache.zep.h"
#include "phalcon/cli/dispatcherinterface.zep.h"
#include "phalcon/cli/router/routeinterface.zep.h"
#include "phalcon/cli/taskinterface.zep.h"
Expand Down
2 changes: 1 addition & 1 deletion ext/phalcon/acl/adapter/abstractadapter.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bd425dd

Please sign in to comment.