Improve compatibility with PHP 7.4 by johanmeiring · Pull Request #161 · cakephp/acl · GitHub
Skip to content

Improve compatibility with PHP 7.4#161

Merged
dakota merged 4 commits into
cakephp:masterfrom
johanmeiring:patch-1
Jan 7, 2020
Merged

Improve compatibility with PHP 7.4#161
dakota merged 4 commits into
cakephp:masterfrom
johanmeiring:patch-1

Conversation

@johanmeiring

Copy link
Copy Markdown
Contributor

This PR makes ACL more compatible with PHP 7.4 by removing usage of syntax that has been deprecated in PHP 7.4, namely the usage of curly braces for array element access. This change includes changing the minimum version of CakePHP to 3.8.2 in order to incorporate a similar change that was made to CakePHP's TestCase.php class.

CakePHP 3.8.2 introduced a change to TestCase.php which replaced the
use of curly braces for array access with square brackets, which is now
required by PHP 7.4.
@codecov

codecov Bot commented Jan 7, 2020

Copy link
Copy Markdown

@dakota

dakota commented Jan 7, 2020

Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants