Skip to content

Commit

Permalink
Merge branch 'release/0.12.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
endelwar committed Dec 9, 2022
2 parents 79ff943 + 316607f commit 788cda0
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ jobs:
- "7.4"
- "8.0"
- "8.1"
- "8.2"

name: PHP ${{ matrix.php-version }}

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
Expand All @@ -35,7 +36,7 @@ jobs:
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning(https://semver.org/spec/v2.0.0.

## Unreleased

## 0.12.0 - 2022-12-09
### Changed
- Add support for PHP 8.2

## 0.11.0 - 2022-02-28
### Changed
- Bump symfony/process up to ^6.0 and psr/log up to ^3.0
Expand Down
6 changes: 6 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
parameters:
ignoreErrors:
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: tests/Unit/PdfTest.php
1 change: 1 addition & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
includes:
- phpstan-baseline.neon
- vendor/phpstan/phpstan-phpunit/extension.neon

parameters:
Expand Down
5 changes: 5 additions & 0 deletions tests/Unit/PdfTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@ public function dataOptions(): array
['attachment' => 'https://www.google.com/favicon.ico'],
'/emptyBinary --attachment ' . $q . '.*' . $q . ' ' . $q . '.*\.html' . $q . ' ' . $q . '.*\.pdf' . $q . '/',
],
// save the content of multiple attachments URL to files and pass those filenames
'save the content of multiple attachments URL to files and pass those filenames' => [
['attachment' => ['https://www.google.com/favicon.ico', 'https://github.githubassets.com/favicons/favicon.svg']],
'/emptyBinary --attachment ' . $q . '.*' . $q . ' --attachment ' . $q . '.*' . $q . ' ' . $q . '.*\.html' . $q . ' ' . $q . '.*\.pdf' . $q . '/',
],
];
}

Expand Down

0 comments on commit 788cda0

Please sign in to comment.