Skip to content

Commit

Permalink
Merge pull request #5 from tarfin-labs/php8-1-support
Browse files Browse the repository at this point in the history
PHP 8.1 support added.
  • Loading branch information
frkcn authored Feb 15, 2022
2 parents c9f69b6 + dc8b83e commit 8f21de9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.2, 7.3, 7.4, 8.0]
php: [7.2, 7.3, 7.4, 8.0, 8.1]
dependency-version: [prefer-lowest, prefer-stable]

name: P${{ matrix.php }} - ${{ matrix.dependency-version }}
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
}
],
"require": {
"php": "^7.2 || ^8.0",
"php": "^7.2|^7.3|^7.4|^8.0|^8.1",
"ext-imagick": "*",
"symfony/process": "^4.4|^5.0"
"symfony/process": "^4.4|^5.0|^6.0"
},
"require-dev": {
"phpunit/phpunit": "^8.5|^9.0"
Expand Down
2 changes: 2 additions & 0 deletions src/Zbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class Zbar
* Zbar constructor.
*
* @param $image
*
* @throws InvalidFormat
* @throws UnableToOpen
*/
Expand All @@ -53,6 +54,7 @@ public function __construct($image)
* Scan bar-code and return value.
*
* @return string
*
* @throws ZbarError
*/
public function scan()
Expand Down

0 comments on commit 8f21de9

Please sign in to comment.