Skip to content

Commit

Permalink
Merge branch 'release/0.11.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
endelwar committed Feb 28, 2022
2 parents 0941bec + 0d47c1c commit 4134179
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
16 changes: 10 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
The format is based on [Keep a Changelog(https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning(https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## Unreleased

## [0.10.1] - 2021-12-29
## 0.11.0 - 2022-02-28
### Changed
- Bump symfony/process up to ^6.0 and psr/log up to ^3.0

## 0.10.1 - 2021-12-29
### Fixed
- Refactor tests to use `onlyMethods()`

## [0.10.0] - 2021-12-29
## 0.10.0 - 2021-12-29
### Changed
- Unset `--format` option in `Pdf` class which is deprecated in WeasyPrint 53 and removed in WeasyPrint 54

## [0.9.0] - 2021-07-16
## 0.9.0 - 2021-07-16
### Added
- First public release
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
],
"require": {
"php": "7.4.* || 8.0.* || 8.1.*",
"psr/log": "^1.1",
"symfony/process": "^4.4 || ^5.4"
"psr/log": "^1.1 || ^2.0 || ^3.0",
"symfony/process": "^4.4 || ^5.4 || ^6.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.4",
Expand Down
4 changes: 1 addition & 3 deletions src/AbstractGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,9 @@ public function getOutputFromHtml(string $html, array $options = []): string
return $this->getOutput($fileName, $options);
}

public function setLogger(LoggerInterface $logger): self
public function setLogger(LoggerInterface $logger): void
{
$this->logger = $logger;

return $this;
}

/**
Expand Down

0 comments on commit 4134179

Please sign in to comment.