Skip to content

Commit

Permalink
Merge pull request #15425 from phalcon/4.1.1-release
Browse files Browse the repository at this point in the history
4.1.1 release
  • Loading branch information
niden authored Apr 21, 2021
2 parents db38cbb + b5dd2d2 commit dcb2be7
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Environment Variables
run: |
echo "ZEPHIR_PARSER_VERSION=v1.3.6" >> $GITHUB_ENV
echo "ZEPHIR_VERSION=0.12.19" >> $GITHUB_ENV
echo "ZEPHIR_VERSION=0.12.21" >> $GITHUB_ENV
- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codecoverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Setup Environment Variables
run: |
echo "ZEPHIR_PARSER_VERSION=v1.3.6" >> $GITHUB_ENV
echo "ZEPHIR_VERSION=0.12.19" >> $GITHUB_ENV
echo "ZEPHIR_VERSION=0.12.21" >> $GITHUB_ENV
- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ services:
env:
global:
- CC="gcc"
- ZEPHIR_VERSION="0.12.19"
- ZEPHIR_VERSION="0.12.21"
- ZEPHIR_PARSER_VERSION="v1.3.6"
- REPORT_COVERAGE=0
- PATH="${HOME}/.composer/vendor/bin:${PATH}"
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ environment:
PHP_SDK_VERSION: 2.1.9
ZEPHIR_PARSER_VERSION: 1.3.4
ZEPHIR_PARSER_RELEASE: 526
ZEPHIR_VERSION: 0.12.19
ZEPHIR_VERSION: 0.12.21

TEST_PHP_EXECUTABLE: C:\php\php.exe
NO_INTERACTION: 1
Expand Down
2 changes: 1 addition & 1 deletion boxfile.7.4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ run.config:
- echo -e 'apc.enable_cli=1' >> "/data/etc/php/dev_php.ini"
#===========================================================================
# Get the Zephir phar
- wget --no-clobber -O /data/bin/zephir https://github.com/phalcon/zephir/releases/download/0.12.19/zephir.phar
- wget --no-clobber -O /data/bin/zephir https://github.com/phalcon/zephir/releases/download/0.12.21/zephir.phar
- chmod +x /data/bin/zephir

data.memcached:
Expand Down
2 changes: 1 addition & 1 deletion build/php7/32bits/php_phalcon.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ typedef zend_function zephir_fcall_cache_entry;
#define PHP_PHALCON_VERSION "4.1.1"
#define PHP_PHALCON_EXTNAME "phalcon"
#define PHP_PHALCON_AUTHOR "Phalcon Team and contributors"
#define PHP_PHALCON_ZEPVERSION "0.12.19-4345593"
#define PHP_PHALCON_ZEPVERSION "0.12.21-8a412a1"
#define PHP_PHALCON_DESCRIPTION "Phalcon is a full stack PHP framework, delivered as a PHP extension, offering lower resource consumption and high performance."

typedef struct _zephir_struct_db {
Expand Down
2 changes: 1 addition & 1 deletion build/php7/64bits/php_phalcon.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ typedef zend_function zephir_fcall_cache_entry;
#define PHP_PHALCON_VERSION "4.1.1"
#define PHP_PHALCON_EXTNAME "phalcon"
#define PHP_PHALCON_AUTHOR "Phalcon Team and contributors"
#define PHP_PHALCON_ZEPVERSION "0.12.19-4345593"
#define PHP_PHALCON_ZEPVERSION "0.12.21-8a412a1"
#define PHP_PHALCON_DESCRIPTION "Phalcon is a full stack PHP framework, delivered as a PHP extension, offering lower resource consumption and high performance."

typedef struct _zephir_struct_db {
Expand Down
2 changes: 1 addition & 1 deletion build/php7/safe/php_phalcon.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ typedef zend_function zephir_fcall_cache_entry;
#define PHP_PHALCON_VERSION "4.1.1"
#define PHP_PHALCON_EXTNAME "phalcon"
#define PHP_PHALCON_AUTHOR "Phalcon Team and contributors"
#define PHP_PHALCON_ZEPVERSION "0.12.19-4345593"
#define PHP_PHALCON_ZEPVERSION "0.12.21-8a412a1"
#define PHP_PHALCON_DESCRIPTION "Phalcon is a full stack PHP framework, delivered as a PHP extension, offering lower resource consumption and high performance."

typedef struct _zephir_struct_db {
Expand Down
2 changes: 2 additions & 0 deletions ext/config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,8 @@ if test "$PHP_PHALCON" = "yes"; then
phalcon/mvc/view/engine/volt/scanner.c
phalcon/url/utils.c"
PHP_NEW_EXTENSION(phalcon, $phalcon_sources, $ext_shared,, )
PHP_ADD_BUILD_DIR([$ext_builddir/kernel/])
PHP_ADD_BUILD_DIR([$ext_builddir/phalcon/])
PHP_SUBST(PHALCON_SHARED_LIBADD)

old_CPPFLAGS=$CPPFLAGS
Expand Down
2 changes: 1 addition & 1 deletion ext/php_phalcon.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#define PHP_PHALCON_VERSION "4.1.1"
#define PHP_PHALCON_EXTNAME "phalcon"
#define PHP_PHALCON_AUTHOR "Phalcon Team and contributors"
#define PHP_PHALCON_ZEPVERSION "0.12.19-4345593"
#define PHP_PHALCON_ZEPVERSION "0.12.21-8a412a1"
#define PHP_PHALCON_DESCRIPTION "Phalcon is a full stack PHP framework, delivered as a PHP extension, offering lower resource consumption and high performance."

typedef struct _zephir_struct_db {
Expand Down
2 changes: 1 addition & 1 deletion tests/_ci/nanobox/boxfile.7.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ run.config:
- echo -e 'apc.enable_cli=1' >> "/data/etc/php/dev_php.ini"
#===========================================================================
# Get the Zephir phar
- wget --no-clobber -O /data/bin/zephir https://github.com/phalcon/zephir/releases/download/0.12.19/zephir.phar
- wget --no-clobber -O /data/bin/zephir https://github.com/phalcon/zephir/releases/download/0.12.21/zephir.phar
- chmod +x /data/bin/zephir

data.memcached:
Expand Down
2 changes: 1 addition & 1 deletion tests/_ci/nanobox/boxfile.7.3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ run.config:
- echo -e 'apc.enable_cli=1' >> "/data/etc/php/dev_php.ini"
#===========================================================================
# Get the Zephir phar
- wget --no-clobber -O /data/bin/zephir https://github.com/phalcon/zephir/releases/download/0.12.19/zephir.phar
- wget --no-clobber -O /data/bin/zephir https://github.com/phalcon/zephir/releases/download/0.12.21/zephir.phar
- chmod +x /data/bin/zephir

data.memcached:
Expand Down
2 changes: 1 addition & 1 deletion tests/_ci/nanobox/boxfile.7.4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ run.config:
- echo -e 'apc.enable_cli=1' >> "/data/etc/php/dev_php.ini"
#===========================================================================
# Get the Zephir phar
- wget --no-clobber -O /data/bin/zephir https://github.com/phalcon/zephir/releases/download/0.12.19/zephir.phar
- wget --no-clobber -O /data/bin/zephir https://github.com/phalcon/zephir/releases/download/0.12.21/zephir.phar
- chmod +x /data/bin/zephir

data.memcached:
Expand Down
3 changes: 2 additions & 1 deletion tests/unit/Acl/Adapter/Memory/AllowCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
use Phalcon\Test\Fixtures\Acl\TestComponentAware;
use Phalcon\Test\Fixtures\Acl\TestRoleAware;
use UnitTester;

use function str_replace;

class AllowCest
Expand Down Expand Up @@ -279,7 +280,7 @@ public function aclAdapterMemoryAllowFunctionException(UnitTester $I)
{
$errorMessage = "You did not provide any parameters when 'Guests' can " .
"'update' 'Post'. We will use default action when no arguments. " .
"at tests/unit/Acl/Adapter/Memory/AllowCest.php:332";
"at tests/unit/Acl/Adapter/Memory/AllowCest.php:334";

if (PHP_OS_FAMILY === 'Windows') {
$errorMessage = str_replace('/', '\\', $errorMessage);
Expand Down
3 changes: 2 additions & 1 deletion tests/unit/Acl/Adapter/Memory/IsAllowedCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
use Phalcon\Test\Fixtures\Acl\TestRoleComponentAware;
use stdClass;
use UnitTester;

use function str_replace;

class IsAllowedCest
Expand Down Expand Up @@ -206,7 +207,7 @@ public function aclAdapterMemoryIsAllowedFunctionMoreParameters(UnitTester $I)
$errorMessage = 'Number of parameters in array is higher than the ' .
'number of parameters in defined function when checking if ' .
"'Members' can 'update' 'Post'. Extra parameters will be ignored. " .
"at tests/unit/Acl/Adapter/Memory/IsAllowedCest.php:242";
"at tests/unit/Acl/Adapter/Memory/IsAllowedCest.php:244";

if (PHP_OS_FAMILY === 'Windows') {
$errorMessage = str_replace('/', '\\', $errorMessage);
Expand Down

0 comments on commit dcb2be7

Please sign in to comment.