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

1795 Commits

Author SHA1 Message Date
Oliver Vogel
2a13a797a5 Revert "Add PHP 8.5 to testing workflow (#1439)"
This reverts commit 8cd01e932a.
2025-08-15 15:47:24 +02:00
Oliver Vogel
328e83a927 Rename test provider method 2025-08-15 15:40:13 +02:00
Oliver Vogel
8cd01e932a Add PHP 8.5 to testing workflow (#1439) 2025-08-15 15:29:08 +02:00
Oliver Vogel
05ffd8d16b Fix bug in Hsv\StringColorDecoder::class 2025-08-03 16:47:24 +02:00
Oliver Vogel
c6bb518ede Fix bug in Hsl\StringColorDecoder::class 2025-08-03 10:52:38 +02:00
Oliver Vogel
8c49eb21a6 Allow all driver namespaces 3.11.4 2025-07-30 15:13:19 +02:00
Oliver Vogel
a1e382ec49 Externalize contribution guide 2025-06-15 08:52:29 +02:00
Oliver Vogel
9c77d8f2a4 Remove constant type hint rule 2025-06-01 08:35:02 +02:00
Oliver Vogel
fd0fbd1150 Add to phpcs rules 2025-06-01 08:05:03 +02:00
Oliver Vogel
5f3cc8a7a4 Add type hints in tests 2025-06-01 07:57:46 +02:00
Oliver Vogel
2af1ea158f Add mixed type hints 2025-06-01 07:57:27 +02:00
Oliver Vogel
3838f28903 Correct type hints 2025-05-31 17:27:52 +02:00
Oliver Vogel
d3c3b6422a Update imagemagick/imagick test workflow dependencies (#1447) 2025-05-31 11:07:47 +02:00
Oliver Vogel
e332f24229 Fix class name references 2025-05-31 10:00:37 +02:00
Oliver Vogel
2ca57b1e92 Add type hints 2025-05-31 09:59:31 +02:00
Oliver Vogel
7b79c3b1de Fix bug 2025-05-31 09:59:19 +02:00
Oliver Vogel
7d37998d7e Remove variable cast 2025-05-31 09:49:48 +02:00
Oliver Vogel
6f418db2c4 Remove unnecessary doc blocks 2025-05-31 09:49:13 +02:00
Oliver Vogel
3f5e29989b Refactor code 2025-05-31 09:40:25 +02:00
Oliver Vogel
9d19b255fe Use original function instead of aliases 2025-05-31 09:27:34 +02:00
Oliver Vogel
99093e9e23 Rename alias 2025-05-29 08:17:13 +02:00
Oliver Vogel
8baac46d50 Optimize GIF detection 2025-05-27 15:53:31 +02:00
vlakoff
88466c6a49 Simplify GIF magic number detection (#1446)
Removed unnecessary bin2hex() conversion.
2025-05-27 07:58:35 +02:00
Oliver Vogel
f98f4d8aae Add placeholder comments in empty class bodies & constructors 2025-05-26 09:31:25 +02:00
Oliver Vogel
389c395c2f Refactor test code 2025-05-26 09:31:16 +02:00
Oliver Vogel
748cfc4939 Add to standards set 2025-05-26 09:11:46 +02:00
Oliver Vogel
d0f097b8a3 Enable wrapping for non western text (#1444) 3.11.3 2025-05-22 19:26:23 +02:00
Nicos Panayides
9659e761ca GIF detection: Only check the first 6 bytes of the input (#1441)
* Only check the first 6 bytes of the input to reduce memory usage and speed up the detection

* Update src/Drivers/AbstractDecoder.php

Co-authored-by: Oliver Vogel <oliver@olivervogel.com>

---------

Co-authored-by: Oliver Vogel <oliver@olivervogel.com>
2025-05-14 16:21:20 +02:00
Oliver Vogel
ae61c580ae Fix testing workflow
* Add libraqm-dev as dependency for testing
* Reformat code
2025-05-01 09:29:48 +02:00
Oliver Vogel
4116933f48 Update github workflow 2025-04-28 17:09:01 +02:00
Oliver Vogel
b9f9c3abda Fix documentation links 2025-04-28 16:58:02 +02:00
Oliver Vogel
d08f8c0e88 Add to phpcs ruleset 2025-03-31 15:51:29 +02:00
Oliver Vogel
774fd9dfbd Add to phpcs ruleset 2025-03-31 15:32:07 +02:00
Oliver Vogel
b63b0f26b2 Enforce doc block style 2025-03-30 11:19:39 +02:00
Oliver Vogel
06dacf4aa1 Replace deprecated coding standard rule 2025-03-22 10:01:13 +01:00
Oliver Vogel
52d8d506a6 Modernize docker files 2025-03-22 09:57:39 +01:00
Oliver Vogel
0bf044f37e Fix phpstan issues 2025-03-05 17:04:58 +01:00
Oliver Vogel
cbca8468f1 Ignore phpstan error unset.possiblyHookedProperty
To be compatible with older PHP versions.
2025-03-05 16:57:48 +01:00
Oliver Vogel
00bc65e491 Implement IteratorAggregate for Resolution::class 2025-03-05 16:35:04 +01:00
Oliver Vogel
78e290ae97 Implement IteratorAggregate for Point::class 2025-03-05 16:29:51 +01:00
Oliver Vogel
ebbb711871 Fix bug in File::class
The missing call to rewind() resulted in the file being saved with empty
content if File::save() was called twice in succession.
3.11.2
2025-02-27 14:08:55 +01:00
Oliver Vogel
4592f17b5c Optimize method description 2025-02-13 19:50:34 +01:00
Oliver Vogel
fda7a6d3a3 Add option for PHPUnit 12 dependency 2025-02-07 17:15:46 +01:00
Oliver Vogel
e90798bd5d Add tests 2025-02-04 19:42:30 +01:00
Oliver Vogel
42b8d2c781 Switch to self reference 2025-02-04 19:41:05 +01:00
Oliver Vogel
d73ccf5271 Implement create() & tryCreate() for FileExtension & MediaType 2025-02-04 19:35:42 +01:00
Oliver Vogel
5e4f263825 Add libvips to issue template 2025-02-02 07:52:06 +01:00
Oliver Vogel
7eb9d55bfc Add test data 2025-02-01 10:14:35 +01:00
Oliver Vogel
1614ce4b84 Refactor RectangleResizerTest::class 2025-02-01 10:06:15 +01:00
Oliver Vogel
0f87254688 Fix bug in CropModifier of Imagick driver (#1428)
The CropModifier produced strange artifacts if another resize step was performed after the modification.

This patch removes the copying of the alpha channel in the CropModifier and implements a different method.

See: https://github.com/Intervention/image/issues/1426
3.11.1
2025-02-01 08:28:26 +01:00