File tree Expand file tree Collapse file tree 3 files changed +30
-26
lines changed
src/Transformation/Expression/Operand/Variable/Predefined Expand file tree Collapse file tree 3 files changed +30
-26
lines changed Original file line number Diff line number Diff line change 1+ name : Tests
2+ on : [push, pull_request]
3+ jobs :
4+ php :
5+ name : PHP ${{ matrix.php-versions }}
6+ runs-on : ubuntu-latest
7+ strategy :
8+ fail-fast : false
9+ matrix :
10+ php-versions :
11+ - ' 5.6'
12+ - ' 7.4'
13+ - ' 8.0'
14+ - ' 8.1'
15+ - ' 8.2'
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v2
19+ - name : Setup PHP, with composer and extensions
20+ uses : shivammathur/setup-php@v2
21+ with :
22+ php-version : ${{ matrix.php-versions }}
23+ extensions : json
24+ coverage : xdebug
25+ - name : Install Composer dependencies
26+ run : composer update -n
27+ - name : Run Tests
28+ run : |
29+ vendor/bin/simple-phpunit
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ class PVar extends Expression
9696 public function __construct ($ name )
9797 {
9898 if (empty ($ name ) || ! self ::isPredefinedVariable ($ name )) {
99- throw new InvalidArgumentException ("Invalid predefined variable name: ' $ { name}' " );
99+ throw new InvalidArgumentException ("Invalid predefined variable name: ' { $ name }' " );
100100 }
101101
102102 parent ::__construct ($ name );
You can’t perform that action at this time.
0 commit comments