Murilo Henrique Pucci
d9aca420f4
feat: add page start end total to PagerRenderer
( #9371 )
...
* Add some methods to the page renderer to make easier to
get the first item, the last item and the total of items.
* Add type hint to the new per page variable on the page renderer.
* Create more tests for the page start and end, and improve the comment of the variables from the PagerRenderer class.
* Add a documentation and also improve some comments.
* Use version added instead of warning on the documentation
* Add changelog.
* Fix CR issues.
* Add null as the default value for perPageStart and End
2025-01-08 02:46:05 +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
Abdul Malik Ikhsan
e5a60f31d5
Merge pull request #9380 from samsonasik/chore-bump-rector-206
...
chore: Bump to Rector 2.0.6
2025-01-06 21:13:03 +07:00
Abdul Malik Ikhsan
ac9c1683e4
chore: Bump to Rector 2.0.6
2025-01-06 21:04:21 +07:00
neznaika0
24a5ae0d30
chore: Update Kint to 6.0.1 ( #9373 )
2025-01-06 21:24:04 +08:00
neznaika0
cd27b6aa7f
refactor: Fix phpstan class.notFound ( #9376 )
2025-01-06 21:22:55 +08:00
neznaika0
08540f7688
refactor: Fix phpstan function.inner ( #9377 )
2025-01-06 21:22:36 +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
61741c5405
Merge pull request #9379 from samsonasik/chore-bump-phpstan205
...
chore: Bump to PHPStan 2.0.5
2025-01-06 01:16:25 +07:00
Abdul Malik Ikhsan
2fc2314946
chore: Bump to PHPStan 2.0.5
2025-01-06 01:10:21 +07:00
Abdul Malik Ikhsan
d809c3c5a7
Merge pull request #9378 from neznaika0/refactor/phpstan-generator-return-type
...
refactor: Fix phpstan generator.returnType
2025-01-06 01:03:09 +07:00
neznaika0
f61361d4db
refactor: Fix phpstan generator.returnType
2025-01-05 20:40:55 +03:00
neznaika0
cc96fe3639
feat: Strict locale negotiation ( #9360 )
...
* feat: Add parameter for locale comparison
* feat: Update language negotiator
* tests: Update `NegotiateTest`
* docs: Update userguide
* fix: Rename feature option
* feat: Add `getBestLocaleMatch()`
* tests: Update `Negotiate` tests
* docs: Update docs
* fix: Rename feature option to back
* docs: Update the description for Negotiation
* fix: Update with the renamed option
* fix: Delete checking *.*
* fix: Move code to file
2025-01-05 12:40:35 +08:00
neznaika0
33110c5829
refactor: Fix phpstan greaterOrEqual.invalid ( #9370 )
2025-01-04 22:39:08 +08:00
Abdul Malik Ikhsan
536570bf32
Merge pull request #9369 from neznaika0/refactor/phpstan-unset-offset
...
refactor: Fix phpstan when delete string key
2025-01-04 18:44:03 +07:00
neznaika0
a6d9716341
refactor: Fix phpstan unset string key
2025-01-04 14:17:39 +03:00
neznaika0
db12ec3cbf
refactor: Fix phpstan condNotBoolean ( #9368 )
2025-01-04 17:54:40 +08:00
neznaika0
91e788a79c
refactor: phpstan function.notFound ( #9366 )
2025-01-04 17:54:04 +08:00
Michal Sniatala
046967af08
fix: gather affected rows after query call failed ( #9363 )
...
* fix: gather affected rows after query call failed
* update user guide
* fix test
* fix test
* fix failing tests for mysqli - enable strict mode
* cs fix
2025-01-03 06:57:55 +01:00
Abdul Malik Ikhsan
3c851f16aa
Merge pull request #9361 from samsonasik/refactor-more-strict
...
refactor: use more strict result check on preg_match_all() result
2025-01-02 08:15:04 +07:00
John Paul E. Balandan, CPA
4764fe3b7f
Merge branch 'develop' into 4.6
2025-01-01 21:33:45 +08: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
8e0bb04262
docs: add changelog and upgrade for v4.5.8 ( #9359 )
2024-12-31 22:49:18 +08:00
John Paul E. Balandan, CPA
eec3739823
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-12-31 20:22:12 +08:00
John Paul E. Balandan, CPA
daf65f9519
Merge pull request #9358 from codeigniter4/develop
...
4.5.7 Ready code
v4.5.7
2024-12-31 20:09:58 +08:00
John Paul E. Balandan, CPA
e8cd894fdf
Prep for 4.5.7 release ( #9357 )
2024-12-31 19:56:33 +08:00
John Paul E. Balandan, CPA
d7ce2ba7d3
fix: Forge::dropColumn()
always returns false
on SQLite3 driver ( #9351 )
2024-12-31 18:41:07 +08:00
John Paul E. Balandan, CPA
0fe4bd0ca2
chore: clean up issue templates ( #9355 )
2024-12-31 16:49:06 +08:00
Abdul Malik Ikhsan
e26327b8d2
Merge pull request #9356 from samsonasik/chore-add-changelog
...
chore: add changelog for bug fix helper() throw FileNotFoundException on valid namespaced helper
2024-12-30 21:36:21 +07:00
Abdul Malik Ikhsan
c942fd9e0b
Update user_guide_src/source/changelogs/v4.5.7.rst
...
Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com>
2024-12-30 21:33:16 +07:00
Abdul Malik Ikhsan
c61cb4a839
chore: add changelog for bug fix helper() throw FileNotFoundException on valid namespaced helper
2024-12-30 21:29:32 +07:00
Abdul Malik Ikhsan
4cd4918734
Merge pull request #9354 from samsonasik/fix-namespaced-helper
...
fix: handle namespaced helper found on Common helper
2024-12-30 21:24:46 +07:00
Abdul Malik Ikhsan
f551dbd0ad
fix: handle namespaced helper found on Common helper
2024-12-30 21:11:28 +07:00
Abdul Malik Ikhsan
c0c3e02e8a
Merge pull request #9352 from paulbalandan/cs-v366
...
style: bump to php-cs-fixer v3.66
2024-12-30 20:37:49 +07:00
Abdul Malik Ikhsan
64989eb05a
Merge pull request #9353 from paulbalandan/issue-template-84
...
chore: add PHP 8.4 to issue template
2024-12-30 20:16:45 +07:00
John Paul E. Balandan, CPA
1833933dc7
chore: add PHP 8.4 to issue template
2024-12-30 21:13:59 +08:00
John Paul E. Balandan, CPA
65219d74d0
style: bump to php-cs-fixer v3.66
2024-12-30 21:06:37 +08:00
John Paul E. Balandan, CPA
0bc67dbb21
docs: add changelog and upgrade for v4.5.7 ( #9347 )
2024-12-29 15:53:24 +08:00
Abdul Malik Ikhsan
51e6f6aa03
Merge pull request #9343 from samsonasik/refactor-add-arrow-function-return
...
refactor: enable AddArrowFunctionReturnTypeRector
2024-12-29 03:59:02 +07:00
John Paul E. Balandan, CPA
4a0d845fd7
Merge branch 'develop' into 4.6
2024-12-29 02:35:17 +08:00
John Paul E. Balandan, CPA
51cdd7de22
Merge pull request #9345 from codeigniter4/develop
...
4.5.6 Ready code
v4.5.6
2024-12-29 02:21:40 +08:00
Abdul Malik Ikhsan
47d69b6080
refactor: update var_export() return
2024-12-29 01:15:51 +07: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
ebb5bd7149
chore: add branch-alias for master
branch ( #9346 )
2024-12-29 02:08:37 +08:00
John Paul E. Balandan, CPA
6785d8f56d
Prep for 4.5.6 release ( #9344 )
2024-12-29 01:19:15 +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
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
19ad2b99cc
refactor: fix used void return type ( #9341 )
2024-12-28 14:31:01 +08:00