Skip to content

Commit

Permalink
Merge branch 'release/0.7.22'
Browse files Browse the repository at this point in the history
  • Loading branch information
eliashaeussler committed Feb 27, 2023
2 parents d4a9835 + 986b745 commit 8405e4c
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 36 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
id: create-release
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.RELEASE_TOKEN }}
generateReleaseNotes: true

# Job: Publish on TER
Expand Down
3 changes: 3 additions & 0 deletions Classes/Traits/ContentObjectRendererAwareTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ public function setContentObjectRenderer(ContentObjectRenderer $contentObjectRen
$this->contentObjectRenderer = $contentObjectRenderer;
}

/**
* @phpstan-assert ContentObjectRenderer $this->contentObjectRenderer
*/
protected function assertContentObjectRendererIsAvailable(): void
{
if (!($this->contentObjectRenderer instanceof ContentObjectRenderer)) {
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Settings.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[general]
project = Handlebars
release = 0.7.21
release = 0.7.22
copyright = since 2020 by coding. powerful. systems. CPS GmbH
author = Elias Häußler

Expand Down
2 changes: 2 additions & 0 deletions Tests/Unit/Traits/ContentObjectRendererAwareTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,7 @@ public function assertContentObjectRendererIsAvailableSucceedsIfContentObjectRen
$this->subject->setContentObjectRenderer($contentObjectRenderer);

$this->subject->testAssertContentObjectRendererIsAvailable();

self::assertSame($contentObjectRenderer, $this->subject->getContentObjectRenderer());
}
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"jangregor/phpstan-prophecy": "^1.0",
"mikey179/vfsstream": "^1.6",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/phpstan": "^1.5.5",
"phpstan/phpstan": "^1.9",
"phpstan/phpstan-phpunit": "^1.1",
"phpunit/phpunit": "^9.5",
"saschaegerer/phpstan-typo3": "^1.0",
Expand Down
66 changes: 33 additions & 33 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
'title' => 'Handlebars',
'description' => 'A TYPO3 extension that provides an entire rendering environment for Handlebars templates. It is seamlessly integrated into TYPO3 and offers extensive configuration options to get all the power out of your templates.',
'category' => 'fe',
'version' => '0.7.21',
'version' => '0.7.22',
'state' => 'beta',
'clearCacheOnLoad' => true,
'author' => 'Elias Häußler',
Expand Down

0 comments on commit 8405e4c

Please sign in to comment.