1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-17 04:08:14 +01:00

14 Commits

Author SHA1 Message Date
Oliver Vogel
2e7ce7b3c7
Add phpstan.neon to .gitignore 2024-02-29 16:06:32 +01:00
Oliver Vogel
037bab867d
Move to phpcs.xml.dist 2024-02-29 16:05:07 +01:00
Oliver Vogel
dcc95b8299
PHPUnit 10 Migration (#1302)
* Bump PHPUnit dependencies

* Set return type of base TestCase methods

From the [PHPUnit 8 release notes][1], the `TestCase` methods below now declare a `void` return type:

- `setUpBeforeClass()`
- `setUp()`
- `assertPreConditions()`
- `assertPostConditions()`
- `tearDown()`
- `tearDownAfterClass()`
- `onNotSuccessfulTest()`

[1]: https://phpunit.de/announcements/phpunit-8.html

* Ignore PHPUnit cache folder

* Adopt PHP attributes in test classes

* Declare data providers as `static`

* Add return types to test methods

* Define test classes as `final`

* Migrate phpunit.xml to phpunit 10

* Correct phpunit attribute class name

* Rename base test class

* Restructure test folders

* Fix test image paths

* Only set rules for php files in .editorconfig

* Remove php unit flag in local test env

---------

Co-authored-by: Shift <shift@laravelshift.com>
2024-02-28 16:16:23 +01:00
Oliver Vogel
125908f6eb
Remove editor settings from .gitignore 2024-01-28 12:34:43 +01:00
Sergey Kudashev
e69b01dfe8 Update .gitignore add .phpunit.result pattern. 2022-03-23 10:45:41 +03:00
Sergey Kudashev
428d98241d Update .gitignore add phpunit.xml pattern. 2022-03-23 10:45:10 +03:00
Sergey Kudashev
30980a24c8 Update .gitignore add build folder pattern. 2022-03-23 10:44:02 +03:00
Oliver Vogel
228189b82e Added progress from last month
Refined ResizeModifier tests

Added AbstracImageTest

AbstracImageTest

AbstracImageTest

Added AbstractColorTest

FitModifierTests

Changed preserve transparency logic in PadModifier

PSR fix

Imagick PadModifier

FillModifier

Added imagesavealpha when decoding new gd images

Added ImageFactory::newCore()

ImageFactory

Imagick PadModifier

FillModifier

Fixed Jpeg Quality paramter

Fixed Encoder Parameters

PHP 8 only

Added PixelateModifiers

Removed dev from gitignore

Added RgbStringColorDecoder for Imagick Driver

Fixed lost transparency on FillModifier

Changed default PadModifier backgroud to white

Size & Resizer Refactoring

Refactored ResizeModifiers

Refactored FitModifiers

Refactored PadModifier

Changed resize & scale signatures

Refactored ResizeModifiers

Refactored ImageManager

Added Constructor property promotion

Added ImageObjectDecoder

Fixed bugs

Added default value for Image::blur()

Added methods to image interface

Renamed Image::loops() to Image::getLoops()

Renamed Image::width() and Image::height() to getWidth(), getHeight()

Changed exception texts and type

RotateModifiers

Added DestroyModifiers

Added SharpenModifier

Added methods

Added InvertModifiers

Added Collection::query

Added default value to Collection::get

Added brightness modifiers

Added contrast modifiers

Added readme.md
2021-12-19 16:22:01 +01:00
Oliver Vogel
8405300cc7 EncodedImage class 2021-10-21 15:07:56 +02:00
Asmodai
09766fca3f add more formats support 2017-10-26 18:39:02 +03:00
Oliver Vogel
eed2b262f0 minor changes 2015-06-28 17:45:46 +02:00
Wolfy-J
ab4f94de42 Response and stream commads added. 2015-06-28 16:36:06 +03:00
Oliver Vogel
02c58a07bd added directory to ignore 2014-05-25 18:31:23 +02:00
Oliver Vogel
130e95d267 gitignore 2013-01-27 12:31:46 +01:00