Skip to content

Commit

Permalink
Fix #159: Fixed string interpolation format for php 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty199369 authored Sep 12, 2024
1 parent 163cd02 commit 2fb0d4d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: ['7.2', '7.3', '7.4', '8.0','8.1']
php: ['7.2', '7.3', '7.4', '8.0','8.1','8.2','8.3']

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Yii Framework 2 twig extension Change Log
2.5.1 under development
-----------------------

- no changes in this release.
- Bug #159: Fixed string interpolation format for php 8.2 (qwerty199369)


2.5.0 May 09, 2024
Expand Down
2 changes: 1 addition & 1 deletion tests/data/StaticAndConsts.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ class StaticAndConsts

public static function sticFunction($var)
{
return "I am a static function with param ${var}!";
return "I am a static function with param {$var}!";
}
}

0 comments on commit 2fb0d4d

Please sign in to comment.