Skip to content

Commit

Permalink
Merge pull request #16526 from niden/5.0.x
Browse files Browse the repository at this point in the history
5.6.1 Prep
  • Loading branch information
niden authored Feb 8, 2024
2 parents 51e2d32 + 5e4d7dc commit 1f2239e
Show file tree
Hide file tree
Showing 21 changed files with 698 additions and 615 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

env:
# All versions should be declared here
PHALCON_VERSION: 5.6.0
PHALCON_VERSION: 5.6.1
ZEPHIR_PARSER_VERSION: 1.6.0

# For tests
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG-5.0.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## [5.6.1](https://github.com/phalcon/cphalcon/releases/tag/v5.6.0) (xxxx-xx-xx)
## [5.6.1](https://github.com/phalcon/cphalcon/releases/tag/v5.6.1) (2024-02-08)

### Changed

Expand Down
627 changes: 334 additions & 293 deletions build/phalcon/phalcon.zep.c

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions build/phalcon/phalcon.zep.h

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

2 changes: 1 addition & 1 deletion build/phalcon/php_phalcon.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ typedef zend_function zephir_fcall_cache_entry;


#define PHP_PHALCON_NAME "phalcon"
#define PHP_PHALCON_VERSION "5.6.0"
#define PHP_PHALCON_VERSION "5.6.1"
#define PHP_PHALCON_EXTNAME "phalcon"
#define PHP_PHALCON_AUTHOR "Phalcon Team and contributors"
#define PHP_PHALCON_ZEPVERSION "0.18.0-$Id$"
Expand Down
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "phalcon",
"description": "Phalcon is a full stack PHP framework, delivered as a PHP extension, offering lower resource consumption and high performance.",
"author": "Phalcon Team and contributors",
"version": "5.6.0",
"version": "5.6.1",
"verbose": false,
"stubs": {
"path": "ide\/%version%\/%namespace%\/",
Expand Down
8 changes: 8 additions & 0 deletions ext/kernel/fcall.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,11 @@ int zephir_call_user_function(

char *is_callable_error = NULL;
zend_execute_data *frame = EG(current_execute_data);
#if PHP_VERSION_ID >= 80200
if (obj_ce || !zend_is_callable_at_frame(&callable, fci.object, frame, IS_CALLABLE_SUPPRESS_DEPRECATIONS, &fcic, &is_callable_error)) {
#else
if (obj_ce || !zend_is_callable_at_frame(&callable, fci.object, frame, 0, &fcic, &is_callable_error)) {
#endif
if (is_callable_error) {
zend_error(E_WARNING, "%s", is_callable_error);
efree(is_callable_error);
Expand Down Expand Up @@ -591,7 +595,11 @@ int zephir_call_user_func_array_noex(zval *return_value, zval *handler, zval *pa
}

zend_execute_data *frame = EG(current_execute_data);
#if PHP_VERSION_ID >= 80200
if (!zend_is_callable_at_frame(handler, NULL, frame, IS_CALLABLE_SUPPRESS_DEPRECATIONS, &fci_cache, &is_callable_error)) {
#else
if (!zend_is_callable_at_frame(handler, NULL, frame, 0, &fci_cache, &is_callable_error)) {
#endif
if (is_callable_error) {
zend_error(E_WARNING, "%s", is_callable_error);
efree(is_callable_error);
Expand Down
2 changes: 1 addition & 1 deletion ext/phalcon/cache/abstractcache.zep.h

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

4 changes: 2 additions & 2 deletions ext/phalcon/cli/router.zep.c

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

4 changes: 2 additions & 2 deletions ext/phalcon/cli/router.zep.h

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

4 changes: 2 additions & 2 deletions ext/phalcon/db/adapter/pdo/postgresql.zep.c

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

46 changes: 24 additions & 22 deletions ext/phalcon/filter/validation.zep.c

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

2 changes: 1 addition & 1 deletion ext/phalcon/filter/validation.zep.h

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

2 changes: 2 additions & 0 deletions ext/phalcon/filter/validation/validationinterface.zep.c

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

2 changes: 1 addition & 1 deletion ext/phalcon/filter/validation/validationinterface.zep.h

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

Loading

0 comments on commit 1f2239e

Please sign in to comment.