From 2b43baceef1a0f59755a122437ce9463a84da4e3 Mon Sep 17 00:00:00 2001 From: codemasher Date: Wed, 30 Jan 2019 14:08:30 +0100 Subject: [PATCH] :octocat: --- .travis.yml | 9 +++++++-- README.md | 6 +++--- composer.json | 6 +++--- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6a814f9..a538525 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,13 @@ addons: language: php -php: - - 7.2 +matrix: + include: + - php: 7.2 + - php: 7.3 + - php: nightly + allow_failures: + - php: nightly before_install: printf "\n" | pecl install imagick install: travis_retry composer install --no-interaction --prefer-source diff --git a/README.md b/README.md index 7e720ff..f55ab2f 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ That's it! ### `Imagetiler` public methods method | return | description ------ | ------ | ----------- -`__construct(ContainerInterface $options = null, LoggerInterface $logger = null)` | - | see [`ContainerInterface`](https://github.com/chillerlan/php-traits/blob/master/src/ContainerInterface.php) and [`LoggerInterface`](https://github.com/php-fig/log). Invokes an empty `ImagetilerOptions` object and a `Psr\NullLogger` if the respective parameters aren't set. +`__construct(ContainerInterface $options = null, LoggerInterface $logger = null)` | - | see [`SettingsContainerInterface`](https://github.com/chillerlan/php-settings-container/blob/master/src/SettingsContainerInterface.php) and [`LoggerInterface`](https://github.com/php-fig/log). Invokes an empty `ImagetilerOptions` object and a `Psr\NullLogger` if the respective parameters aren't set. `setOptions(ContainerInterface $options)` | `Imagetiler` | set options on-the-fly, called internally by the constructor `setOptimizer(Optimizer $optimizer)` | `Imagetiler` | set an optimizer instance on-the-fly, called internally by the constructor `process(string $image_path, string $out_path)` | `Imagetiler` | processes the given image from `$image_path` and dumps the output to `$out_path` @@ -110,7 +110,7 @@ property | type | default | allowed | description `$tile_ext` | string | null | * | tile image extension - autodetected from format if none given. `$quality_jpeg` | int | 80 | 0-100 | quality of the saved image in jpeg format `$imagick_tmp` | string | null | * | ImageMagick tmp folder -`$overwrite_base_image` | bool | false | * | -`$overwrite_tile_image` | bool | false | * | +`$overwrite_base_image` | bool | false | * | +`$overwrite_tile_image` | bool | false | * | `$clean_up` | bool | true | * | whether or not to delete temp images `$optimize_output` | bool | false | * | enable image optimization (requires `Optimizer` instance) diff --git a/composer.json b/composer.json index a31e0fb..f2b026f 100644 --- a/composer.json +++ b/composer.json @@ -18,13 +18,13 @@ "require": { "php": ">=7.2.0", "ext-imagick": "*", - "chillerlan/php-traits": "^1.1", + "chillerlan/php-settings-container": "^1.0", "ps/image-optimizer": "^1.2", "psr/log": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^7.2", - "chillerlan/php-log": "^1.0" + "phpunit/phpunit": "^7.5", + "chillerlan/php-log": "^3.0" }, "autoload": { "psr-4": {