187 Commits

Author SHA1 Message Date
John Paul E. Balandan, CPA
797d37751a
Merge branch 'develop' into 4.6 2025-01-13 11:15:24 +08:00
John Paul E. Balandan, CPA
c3ac0f9483
chore: add more trailing commas in more places (#9395)
* Apply to parameters

* Apply to array destructuring

* Apply to match

* Apply for arguments
2025-01-13 11:03:02 +08:00
michalsn
c3bfac5261
Merge remote-tracking branch 'upstream/develop' into 4.6
# Conflicts:
#	composer.json
#	utils/phpstan-baseline/missingType.iterableValue.neon
2025-01-06 09:51:34 +01:00
neznaika0
33110c5829
refactor: Fix phpstan greaterOrEqual.invalid (#9370) 2025-01-04 22:39:08 +08:00
John Paul E. Balandan, CPA
c7548a3771
Merge branch 'develop' into 4.6 2024-12-29 00:21:53 +08:00
Abdul Malik Ikhsan
ee4ee987b1
refactor: enable instanceof and strictBooleans rector set (#9339)
* refactor: enable instanceof and strictBooleans rector set

* refactor: bump to rector 2.0.4

* refactor: clean condition check

* refactor: revert ThirdParty change

* refactor: re-run phpstan baseline

* refactor: fix never empty array on Image

* refactor: avoid repetitive call pg_last_error()

* refactor: pg_last_error() always returns string

* refactor: use return empty string on pg_last_error() got empty "0"

* refactor: various compare !== 1 on preg_match()

* refactor: use falsy check on getenv()

* refactor: more !== 1 compare on preg_match()

* refactor: use empty string check on guessExtension

* refactor: run cs fix

* refactor: more !== 1 compare on preg_match()

* use direct result of pg_last_error()

* refactor: use str_contains() over strpos on Forge

* refactor: fix unused variable

* refactor: check empty string on ResponseTrait

* refactor: more preg_match() and empty string only check

* refactor: compare to 0 on preg_match_all()

* refactor: re-run rector

* refactor: preg_match_all() likely less to return false
2024-12-28 23:16:32 +08:00
Abdul Malik Ikhsan
345e1c3b9c
refactor: enable code quality level 34 for rector (#9311)
* refactor: enable code quality level 34 for rector

* refactor: run cs fix

* refactor: fix phpstan and regenerate baseline

* refactor: cs fix

* refactor: Cors: before never returns string

* refactor: return EXIT_ERROR on check verify command

* refactor: returns null on DebugToolbar and HoneyPot
2024-12-21 19:40:05 +08:00
michalsn
3e78c58f0b
Merge remote-tracking branch 'upstream/develop' into 4.6 2024-11-03 20:21:21 +01:00
Abdul Malik Ikhsan
dede747236
refactor: enable SimplifyBoolIdenticalTrueRector 2024-10-30 16:37:37 +07:00
michalsn
c830d5fe2f
Merge remote-tracking branch 'upstream/develop' into 4.6 2024-10-23 15:31:59 +02:00
Abdul Malik Ikhsan
ff2f756baa
refactor: enable rector code quality level 14 2024-10-21 02:47:51 +07:00
kenjis
dc9adb1334
Merge remote-tracking branch 'upstream/develop' into 4.6
Conflicts:
	system/Filters/Filters.php
2024-06-30 11:36:56 +09:00
Abdul Malik Ikhsan
073306c0dc
refactor: use first class callable on function call 2024-06-26 11:59:01 +07:00
kenjis
049fb2be4d
refactor: use CodeIgniter\Exceptions\InvalidArgumentException 2024-05-06 19:19:21 +09:00
kenjis
8e5e2078f5
refactor: remove unneeded implements ExceptionInterface 2024-05-06 19:19:20 +09:00
kenjis
e25bc7e7a7
refactor: run rector 2024-04-06 09:24:47 +09:00
kenjis
aea419791b
Merge remote-tracking branch 'upstream/develop' into 4.5
Conflicts:
	phpstan-baseline.php
	user_guide_src/source/changelogs/index.rst
	user_guide_src/source/installation/upgrading.rst
2024-03-31 09:03:06 +09:00
John Paul E. Balandan, CPA
7ca24b2380
Merge pull request #8681 from paulbalandan/imagemagick-getversion
refactor: simplify ImageMagickHandler::getVersion()
2024-03-30 16:58:28 +08:00
John Paul E. Balandan, CPA
2c7d445fff
fix: early terminate processing of invalid library path 2024-03-30 15:42:45 +08:00
John Paul E. Balandan, CPA
d272bfe1e4
refactor: simplify ImageMagickHandler::getVersion() 2024-03-29 23:37:47 +08:00
kenjis
c965d70573
Merge remote-tracking branch 'origin/develop' into 4.5 2024-02-24 11:58:48 +09:00
kenjis
bf39b5dce7
style: fix by php-cs-fixer v3.50.0 2024-02-24 09:35:54 +09:00
kenjis
ed4fce13ab
Merge remote-tracking branch 'upstream/develop' into 4.5
Conflicts:
	phpstan-baseline.php
	rector.php
	system/Database/BaseBuilder.php
	system/Honeypot/Honeypot.php
	system/Router/RouteCollection.php
	system/Test/FeatureTestCase.php
	system/Test/FeatureTestTrait.php
	system/Validation/FormatRules.php
2023-12-22 07:07:52 +09:00
kenjis
2718024906
fix: remove unneeded conditions 2023-12-21 09:46:51 +09:00
kenjis
d258659947
refactor: apply DisallowedEmptyRuleFixerRector 2023-12-21 09:46:49 +09:00
kenjis
25ec3df976
refactor: add declare(strict_types=1) to system files 2023-11-30 16:14:48 +09:00
kenjis
5de7742b21
Merge remote-tracking branch 'upstream/develop' into 4.5 2023-11-19 08:55:51 +09:00
kenjis
e113ff1360
fix: Image::save() causes error with webp
imagewebp(): Palette image not supported by webp
2023-11-14 16:47:16 +09:00
kenjis
597101b98b
refactor: fix parameter types 2023-10-28 06:39:58 +09:00
Denny Septian Panggabean
188b1857f1
run cs-fix after rules shorthand operator 2023-09-19 11:34:15 +07:00
kenjis
6329255a8b
docs: add "see test" annotations 2023-09-08 17:35:23 +09:00
kenjis
f34580d02b
docs: fix or remove @param
php-cs-fixer has been modified to remove these tags.
2023-08-30 09:48:17 +09:00
kenjis
f6bf3d2329
Merge remote-tracking branch 'upstream/develop' into 4.4 2023-08-07 05:53:43 +09:00
ping-yee
7ecc7087c9
Dev: Define the image exception. 2023-08-04 21:08:26 +08:00
ping-yee
eac79d83b4
Dev: change the return type for the exception. 2023-08-04 13:23:19 +08:00
ping-yee
773ee48447
Dev: modify the return type to the comments. 2023-08-03 23:31:47 +08:00
ping-yee
8e42ddf0f0
Dev: Add the return type of image exception. 2023-08-02 18:55:18 +08:00
ping-yee
5435ea3c4a
Dev: Remove the image error in phpstan-baseline.php 2023-08-02 18:49:10 +08:00
kenjis
12f3867964
Merge remote-tracking branch 'origin/develop' into 4.4 2023-06-18 08:16:13 +09:00
ping-yee
5b0c405e03
fix: fix the image handler. 2023-06-13 22:45:22 +08:00
Denny Septian Panggabean
f48e408be1
refactor: GDHandler make WebP with option quality 2023-05-17 22:57:13 +07:00
Abdul Malik Ikhsan
ee9abc7408
[Rector] Enable AddDefaultValueForUndefinedVariableRector 2023-01-12 17:25:16 +07:00
ddevsr
2b4861e21e
refactor: changes time() to Time class 2022-11-16 15:28:11 +07:00
John Paul E. Balandan, CPA
f709b08387
Simplify @codeCoverageIgnore* tags 2022-10-25 18:08:46 +08:00
John Paul E. Balandan, CPA
0d08a92d83
Add order option to phpdoc_order 2022-09-08 14:40:53 +08:00
kenjis
ae78932852
docs: update docs on imagick extentsion 2022-07-29 18:54:10 +09:00
kenjis
45e8278106
Merge pull request #5971 from kenjis/fix-GDHandler-save-transparency
fix: GDHandler::save() removes transparency
2022-05-07 14:02:34 +09:00
kenjis
d177fd63a5
fix: GDHandler::save() remove transparency 2022-05-07 08:17:31 +09:00
kenjis
94fd4cc84a
Merge pull request #5965 from kenjis/fix-GDHandler-php81-error
fix: Images\Handlers\GDHandler Implicit conversion from float to int loses precision
2022-05-06 21:23:22 +09:00
kenjis
19f401c9fc
fix: GDHandler::convert() does not work 2022-05-06 15:46:11 +09:00