Skip to content

Commit 7a76300

Browse files
committed
Update dev dependencies and reenable a few tests
1 parent 4134d00 commit 7a76300

File tree

4 files changed

+28
-27
lines changed

4 files changed

+28
-27
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [0.9.4] String Arguments - 2025-03-23
5+
### Fixed
6+
- Parsing single-quoted string arguments. (Fixes https://github.com/zordius/lightncandy/issues/281, https://github.com/zordius/lightncandy/issues/357, https://github.com/zordius/lightncandy/issues/367).
7+
48
## [0.9.3] Raw Block Parsing - 2025-03-20
59
### Fixed
610
- Correctly parse handlebars after raw block (fixes https://github.com/zordius/lightncandy/issues/344).
@@ -48,6 +52,7 @@ Initial release after forking from LightnCandy 1.2.6.
4852
- HTML documentation.
4953
- Dozens of unnecessary feature flags.
5054

55+
[0.9.4]: https://github.com/devtheorem/php-handlebars/compare/v0.9.3...v0.9.4
5156
[0.9.3]: https://github.com/devtheorem/php-handlebars/compare/v0.9.2...v0.9.3
5257
[0.9.2]: https://github.com/devtheorem/php-handlebars/compare/v0.9.1...v0.9.2
5358
[0.9.1]: https://github.com/devtheorem/php-handlebars/compare/v0.9.0...v0.9.1

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"php": ">=8.2"
2424
},
2525
"require-dev": {
26-
"friendsofphp/php-cs-fixer": "^3.71",
26+
"friendsofphp/php-cs-fixer": "^3.73",
2727
"jbboehr/handlebars-spec": "dev-master",
28-
"phpstan/phpstan": "^2.1",
28+
"phpstan/phpstan": "^2.1.10",
2929
"phpunit/phpunit": "^11.5"
3030
},
3131
"autoload": {

composer.lock

Lines changed: 19 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/HandlebarsSpecTest.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ public function testSpecs($spec)
8787
($spec['it'] === 'literal paths') ||
8888
($spec['it'] === 'this keyword nested inside path') ||
8989
($spec['it'] === 'this keyword nested inside helpers param') ||
90-
($spec['it'] === 'should handle invalid paths') ||
9190
($spec['it'] === 'parameter data throws when using complex scope references') ||
9291
($spec['it'] === 'block with complex lookup using nested context')
9392
) {
@@ -122,7 +121,6 @@ public function testSpecs($spec)
122121

123122
// stringParams
124123
$spec['it'] === 'in string params mode,' ||
125-
$spec['it'] === 'as hashes in string params mode' ||
126124

127125
// Decorators are deprecated: https://github.com/wycats/handlebars.js/blob/master/docs/decorators-api.md
128126
($spec['description'] === 'blocks - decorators') ||
@@ -162,11 +160,8 @@ public function testSpecs($spec)
162160
$spec['it'] === 'each with function argument' && !isset($spec['number']) ||
163161
$spec['it'] === 'data can be functions' ||
164162
$spec['it'] === 'data can be functions with params' ||
165-
($spec['it'] === 'provides each nested helper invocation its own options hash') ||
166-
($spec['it'] === 'block functions without context argument') ||
167-
($spec['it'] === 'depthed block functions with context argument') ||
168-
$spec['it'] === 'depthed functions with context argument' ||
169-
($spec['it'] === 'block functions with context argument')
163+
$spec['it'] === 'depthed block functions with context argument' ||
164+
$spec['it'] === 'depthed functions with context argument'
170165
) {
171166
$this->markTestIncomplete('TODO: require fix');
172167
}

0 commit comments

Comments
 (0)