Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
"5.6",
"7.4",
"8.0",
"8.1",
"8.2",
]
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
Expand All @@ -41,7 +41,7 @@ jobs:
matrix:
php-version: [
"7.4",
"8.1",
"8.2",
]
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
Expand Down
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.6.1
Fixed string interpolation for php 8.2: https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation

## 1.6.0
* Support to run the unittests on newer versions of PHP (5.5 +)
* Add API methods for converting/transcoding and transformation
Expand Down
2 changes: 1 addition & 1 deletion lib/Tinify.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Tinify;

const VERSION = "1.6.0";
const VERSION = "1.6.1";

class Tinify {
private static $key = NULL;
Expand Down
2 changes: 1 addition & 1 deletion lib/Tinify/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function __construct($key, $app_identifier = NULL, $proxy = NULL) {

if ($curl["version_number"] < 0x071201) {
$version = $curl["version"];
throw new ClientException("Your curl version ${version} is outdated; please upgrade to 7.18.1 or higher");
throw new ClientException("Your curl version {$version} is outdated; please upgrade to 7.18.1 or higher");
}

$this->options = array(
Expand Down