Skip to content

Commit

Permalink
Drop support for XP < 9
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Oct 21, 2021
1 parent ff1cb35 commit c7129cb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ HandleBars change log

## ?.?.? / ????-??-??

## 7.0.0 / 2021-10-21

* Implemented xp-framework/rfc#341, dropping compatibility with XP 9
(@thekid)

## 6.2.0 / 2021-05-13

* Merged PR #20: Make it possible to exchange the parser - @thekid
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
"description" : "Handlebars for XP Framework",
"keywords": ["module", "xp"],
"require" : {
"xp-framework/core": "^10.0 | ^9.0 | ^8.0 | ^7.0 | ^6.5",
"xp-forge/mustache": "^7.0 | ^6.0 | ^5.3",
"xp-framework/logging": "^10.0 | ^9.0 | ^8.0 | ^7.0 | ^6.5",
"xp-framework/core": "^11.0 | ^10.0",
"xp-forge/mustache": "^8.0 | ^7.0 | ^6.0 | ^5.3",
"xp-framework/logging": "^11.0 | ^10.0 | ^9.1",
"php" : ">=7.0.0"
},
"require-dev" : {
"xp-framework/unittest": "^11.0 | ^10.0 | ^9.0 | ^8.0 | ^7.0 | ^6.5"
"xp-framework/unittest": "^11.0 | ^10.0"
},
"autoload" : {
"files" : ["src/main/php/autoload.php"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function write() {
$out= new MemoryOutputStream();
$engine->write($engine->compile('Hello {{name}}'), ['name' => 'World'], $out);

Assert::equals('Hello World', $out->getBytes());
Assert::equals('Hello World', $out->bytes());
}

#[Test]
Expand Down

0 comments on commit c7129cb

Please sign in to comment.