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

1518 Commits

Author SHA1 Message Date
Oliver Vogel
18295de721
Rename xml file for proper extension 2024-02-29 16:10:58 +01:00
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
6abba0b552
Add exception in SliceAnimationModifier
Added again to avoid cryptic error messages.
2024-02-29 15:32:54 +01:00
Oliver Vogel
2ddcc2ceec
Merge branch 'develop' into VincentLanglet-thrownException 2024-02-29 15:27:26 +01:00
Oliver Vogel
2cf08016bd
Correct indent size in .editorconfig 2024-02-29 15:26:37 +01:00
Oliver Vogel
76dec97a46
Include exception with use statement 2024-02-29 15:20:25 +01:00
Oliver Vogel
3256874eba
Remove redundant code 2024-02-29 15:16:29 +01:00
Oliver Vogel
f83f37e551
Fix merge conflicts 2024-02-29 15:16:14 +01:00
Oliver Vogel
18741c6b44
Merge branch 'develop' into VincentLanglet-thrownException 2024-02-29 15:12:39 +01:00
Vincent Langlet
1ed31f3cdf Fix missing phpdoc and configure phpstan 2024-02-29 10:19:45 +01:00
Vincent Langlet
ba39c13d2b Rework 2024-02-29 10:10:52 +01:00
Vincent Langlet
3e87be6a63 Add decoder and encoder thrown exception 2024-02-28 17:30:25 +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
fe1b0e2e64
Remove redundant code 3.4.0 2024-02-14 16:11:21 +01:00
Oliver Vogel
a86a94762e
Add doc blocks 2024-02-06 15:30:56 +01:00
Oliver Vogel
0d2c3e7d01
Correct typo 2024-02-03 17:59:28 +01:00
Oliver Vogel
adf3764667
Refactor & optimize line splitting 2024-02-03 16:23:04 +01:00
Oliver Vogel
795b794ee8
Reduce the differences in text rendering with drivers
Reduce the differences in text rendering with drivers
2024-02-03 16:13:44 +01:00
Oliver Vogel
684f5e6eb6
Implement text wrapping 2024-02-03 14:51:17 +01:00
Oliver Vogel
ac7389fa96
Refactor font processing 2024-02-03 13:15:52 +01:00
Oliver Vogel
7b24205370
Refactor/remove AbstractTextModifier::lineWidth() 2024-02-03 10:26:21 +01:00
Oliver Vogel
ad8058f5be
Merge pull request #1291 from miguilimzero/patch-1
Remove redundant DrawableInterface for Rectangle class
3.3.3
2024-02-02 16:08:10 +01:00
Miguilim
5573a15371
Update Rectangle.php 2024-02-02 00:53:59 -03:00
Oliver Vogel
b7c14aaafc
Adjust code to meet standard rules 2024-02-01 16:41:14 +01:00
Oliver Vogel
f313087160
Add rules to coding standard set 2024-02-01 16:39:34 +01:00
Oliver Vogel
10330288c9
Merge pull request #1290 from Intervention/feature/standard-rules
Feature/standard rules
2024-01-31 17:22:53 +01:00
Oliver Vogel
7056d143b0
Setup phpcs ruleset 2024-01-31 17:17:40 +01:00
Oliver Vogel
5f35369b13
Merge branch 'develop' into feature/standard-rules 2024-01-31 17:14:29 +01:00
Oliver Vogel
ca73572e44
Refactor get_class() to class constant 2024-01-31 16:56:12 +01:00
Oliver Vogel
6a9165e814
Merge branch 'develop' into feature/standard-rules 2024-01-31 16:51:48 +01:00
Oliver Vogel
b091516b09
Remove unused code 2024-01-31 16:45:44 +01:00
Oliver Vogel
4a00db011b
Setup code standard rules 2024-01-31 16:42:14 +01:00
Oliver Vogel
edeac2c6aa
Merge branch 'develop' into feature/standard-rules 2024-01-31 16:36:50 +01:00
Oliver Vogel
cfebf59334
Refactor group use 2024-01-31 16:36:14 +01:00
Oliver Vogel
e99b12dc55
Merge branch 'develop' into feature/standard-rules 2024-01-31 16:34:27 +01:00
Oliver Vogel
02b2b5ae19
Switch to "self" as local reference 2024-01-31 16:33:34 +01:00
Oliver Vogel
4d32e2cab0
Merge branch 'develop' into feature/standard-rules 2024-01-31 16:25:56 +01:00
Oliver Vogel
948e9fdb4f
Add doc blocks 2024-01-31 16:25:34 +01:00
Oliver Vogel
c94701212f
Setup phpcs rules 2024-01-31 16:24:59 +01:00
Oliver Vogel
5444c6682c
Merge branch 'develop' into feature/standard-rules 2024-01-31 16:14:02 +01:00
Oliver Vogel
54fd50bcd9
Remove spaces after not operators 2024-01-31 16:13:25 +01:00
Oliver Vogel
875b2690cd
Remove unused aliases 2024-01-30 19:46:47 +01:00
Oliver Vogel
7d8a860c18
Merge branch 'develop' into feature/standard-rules 2024-01-30 19:45:15 +01:00
Oliver Vogel
c16cc360aa
Switch to short typehints 2024-01-30 19:44:37 +01:00
Oliver Vogel
f6f0e24958
Remove not necessary parentheses 2024-01-30 19:42:03 +01:00
Oliver Vogel
9af62d9814
Merge branch 'develop' into feature/standard-rules 2024-01-30 19:37:39 +01:00
Oliver Vogel
4ffce71364
Remove unnecessary whitespace 2024-01-30 19:35:19 +01:00
Oliver Vogel
1357b61993
Remove unused variables 2024-01-30 19:24:42 +01:00
Oliver Vogel
31042331e3
Setup rules 2024-01-30 17:26:28 +01:00