Skip to content

Commit 2b43bac

Browse files
committed
:octocat:
1 parent 17fb3da commit 2b43bac

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

.travis.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,13 @@ addons:
55

66
language: php
77

8-
php:
9-
- 7.2
8+
matrix:
9+
include:
10+
- php: 7.2
11+
- php: 7.3
12+
- php: nightly
13+
allow_failures:
14+
- php: nightly
1015

1116
before_install: printf "\n" | pecl install imagick
1217
install: travis_retry composer install --no-interaction --prefer-source

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ That's it!
8787
### `Imagetiler` public methods
8888
method | return | description
8989
------ | ------ | -----------
90-
`__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.
90+
`__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.
9191
`setOptions(ContainerInterface $options)` | `Imagetiler` | set options on-the-fly, called internally by the constructor
9292
`setOptimizer(Optimizer $optimizer)` | `Imagetiler` | set an optimizer instance on-the-fly, called internally by the constructor
9393
`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
110110
`$tile_ext` | string | null | * | tile image extension - autodetected from format if none given.
111111
`$quality_jpeg` | int | 80 | 0-100 | quality of the saved image in jpeg format
112112
`$imagick_tmp` | string | null | * | ImageMagick tmp folder
113-
`$overwrite_base_image` | bool | false | * |
114-
`$overwrite_tile_image` | bool | false | * |
113+
`$overwrite_base_image` | bool | false | * |
114+
`$overwrite_tile_image` | bool | false | * |
115115
`$clean_up` | bool | true | * | whether or not to delete temp images
116116
`$optimize_output` | bool | false | * | enable image optimization (requires `Optimizer` instance)

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
"require": {
1919
"php": ">=7.2.0",
2020
"ext-imagick": "*",
21-
"chillerlan/php-traits": "^1.1",
21+
"chillerlan/php-settings-container": "^1.0",
2222
"ps/image-optimizer": "^1.2",
2323
"psr/log": "^1.0"
2424
},
2525
"require-dev": {
26-
"phpunit/phpunit": "^7.2",
27-
"chillerlan/php-log": "^1.0"
26+
"phpunit/phpunit": "^7.5",
27+
"chillerlan/php-log": "^3.0"
2828
},
2929
"autoload": {
3030
"psr-4": {

0 commit comments

Comments
 (0)