John Paul E. Balandan, CPA
80719d473b
Merge branch 'develop' into 4.6
2025-01-18 01:42:58 +08:00
John Paul E. Balandan, CPA
119330c56f
refactor: Use strtolower
with str_contains
/str_**_with
as replacement for stripos
( #9414 )
...
* Use `modernize_stripos` option
* Fix impossible conditional in test
2025-01-17 22:51:06 +08:00
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
neznaika0
708fb6d70a
refactor: Fix phpstan always true ( #9367 )
2025-01-10 11:29:32 +08:00
neznaika0
c79d3a9758
fix: Add support for multibyte strings ( #9372 )
...
* fix: Truncate multibyte namespaces in command
* fix: Add support multibyte to `View->excerpt()`
* fix: Add support multibyte to `excerpt()` helper
* docs: Update changelog
* fix: Improve readability `excerpt()`
* refactor: Rework `character_limiter()`
* refactor: Rework test `TextHelper`
* docs: Move to 4.6 branch
2025-01-08 02:37:23 +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
Abdul Malik Ikhsan
82340aa1c7
refactor: use more strict result on preg_match_all() result
2025-01-01 20:16:32 +07:00
John Paul E. Balandan, CPA
eec3739823
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-12-31 20:22:12 +08:00
Abdul Malik Ikhsan
f29210c0f0
refactor: use compare equals 1 for preg_match() return on array_filter
2024-12-29 01:13:34 +07:00
John Paul E. Balandan, CPA
c7548a3771
Merge branch 'develop' into 4.6
2024-12-29 00:21:53 +08:00
Abdul Malik Ikhsan
a2ec5054d7
refactor: enable AddArrowFunctionReturnTypeRector
2024-12-28 23:00:15 +07: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
neznaika0
8cff0995de
refactor: fix phpstan
only boolean allowed ( #9302 )
...
* refactor: Fix `phpstan` boolean errors
* fix: Check predis response
* refactor: Improve comparison with an empty string
* dev: Update phpstan-baseline
* fix: Revert comparison with null
2024-12-28 20:21:06 +08:00
John Paul E. Balandan, CPA
bd5945df9b
Merge branch 'develop' into 4.6
2024-12-19 16:39:09 +08:00
Andi Fahruddin Akas
17f7a9d8b9
docs: phpdoc incorrect explanation regarding variable naming ( #9326 )
...
* Update FileHandler.php
* Update BaseConnection.php
* Update Connection.php
* Update filesystem_helper.php
* Update Security.php
* Update SecurityInterface.php
2024-12-16 19:30:37 +08:00
John Paul E. Balandan, CPA
c06d9281d9
refactor: fix implicit array creation
2024-12-12 01:05:08 +08:00
michalsn
3e78c58f0b
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-11-03 20:21:21 +01:00
Abdul Malik Ikhsan
3f8feaa589
refactor: clean up parentheses on assign and ternary
2024-10-30 16:43:51 +07:00
Abdul Malik Ikhsan
dede747236
refactor: enable SimplifyBoolIdenticalTrueRector
2024-10-30 16:37:37 +07:00
kenjis
904e4f2a6b
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-09-13 17:24:56 +09:00
kenjis
d49d7004bc
Merge pull request #9180 from kenjis/fix-auto_link-bug
...
fix: auto_link() converts invalid strings like `://codeigniter.com`
2024-09-13 17:22:34 +09:00
Abdul Malik Ikhsan
3f29f2883a
refactor: enable ClosureReturnTypeRector
2024-09-10 16:18:25 +07:00
kenjis
94fe31fc64
refactor: break long lines
2024-09-08 18:18:50 +09:00
kenjis
791fe2feb1
fix: auto_link() converts invalid string like "://codeigniter.com"
...
The scheme is missing, so it is not a valid URL.
2024-09-08 18:15:51 +09:00
kenjis
050a76a419
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-09-07 08:05:16 +09:00
kenjis
d7da0b8cef
fix: auto_link() regexp
...
From CI3.
See 2042929bab/system/helpers/url_helper.php (L397)
2024-09-06 10:27:16 +09:00
kenjis
4a4a6489b5
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-09-06 09:15:59 +09:00
kenjis
1daaa579d9
docs: fix typos
2024-09-05 12:09:53 +09:00
kenjis
31abe0b198
docs: add missing @param
2024-09-05 12:09:23 +09:00
kenjis
715f716b33
Merge remote-tracking branch 'upstream/develop' into 4.6
...
Conflicts:
tests/system/Helpers/TextHelperTest.php
2024-08-02 15:59:04 +09:00
kenjis
c1687fa333
refactor: remove unneeded ()
2024-08-02 11:07:30 +09:00
kenjis
d40b3e7de2
refactor: reduce_multiples()
...
To suppress PHPStan false positive error.
2024-08-02 10:33:20 +09:00
kenjis
b4c7879df1
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-07-18 05:26:18 +09:00
Abdul Malik Ikhsan
d7a9c95ebb
re-run rector
2024-07-16 23:14:02 +07:00
kenjis
457a1e751b
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-07-02 07:38:08 +09:00
Abdul Malik Ikhsan
acefa3c214
cs fix
2024-06-30 14:41:31 +07:00
Abdul Malik Ikhsan
e792d438cf
refactor: enable AddFunctionVoidReturnTypeWhereNoReturnRector to add void to functions
2024-06-30 14:39:29 +07:00
kenjis
d883f86089
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-06-06 08:39:31 +09:00
kenjis
3d6436ed46
fix: TypeError in number_to_amount()
...
TypeError: str_replace(): Argument #3 ($subject) must be of type array|string, int given
2024-06-02 18:07:51 +09:00
kenjis
ef00c1125a
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-06-02 08:52:25 +09:00
kenjis
798d055404
style: remove unneeded x permissions
2024-05-28 21:37:32 +09:00
kenjis
afe99687a8
refactor: use CodeIgniter\Exceptions\InvalidArgumentException
2024-05-06 19:19:27 +09:00
kenjis
fa0fea5610
refactor: use CodeIgniter\Exceptions\InvalidArgumentException
2024-05-06 19:19:25 +09:00
kenjis
82eaa32d65
refactor: use CodeIgniter\Exceptions\BadFunctionCallException
2024-05-06 19:19:22 +09:00
kenjis
049fb2be4d
refactor: use CodeIgniter\Exceptions\InvalidArgumentException
2024-05-06 19:19:21 +09:00
kenjis
e1cf987bb8
fix: TypeError in form()
2024-04-09 15:54:12 +09:00
kenjis
e843fec493
refactor: run rector (2nd time)
2024-04-06 09:24:48 +09:00
kenjis
e78c92994f
Merge remote-tracking branch 'upstream/develop' into 4.5
2024-04-05 16:59:18 +09:00
Abdul Malik Ikhsan
1455e8dac6
remove !== "0" check
2024-04-04 15:38:56 +07:00