10363 Commits

Author SHA1 Message Date
John Paul E. Balandan, CPA
190f720253
Prep for 4.6.0 release (#9419) 2025-01-20 02:08:57 +08:00
John Paul E. Balandan, CPA
1221b85e0b
Merge branch 'develop' into 4.6 2025-01-20 00:18:29 +08:00
John Paul E. Balandan, CPA
3abaf4bc23
Prep for 4.5.8 release (#9415) 2025-01-19 23:30:07 +08:00
John Paul E. Balandan, CPA
6414090ebe
Merge branch 'develop' into 4.6 2025-01-19 22:21:16 +08:00
Ngô Quốc Đạt
97a6d66640
fix: ensure csrf token is string (#9365)
* fix: ensure csrf token is string

* fix: ensure csrf token is string

* handle request php://input

* handle request php://input

* wip

* wip

* wip

* wip

Co-authored-by: Michal Sniatala <michal@sniatala.pl>

* wip

Co-authored-by: Michal Sniatala <michal@sniatala.pl>

* Update user_guide_src/source/changelogs/v4.5.8.rst

* Use data providers

---------

Co-authored-by: Michal Sniatala <michal@sniatala.pl>
Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com>
2025-01-18 22:33:37 +08:00
Michal Sniatala
5f8aa24280
Merge commit from fork
Co-authored-by: neznaika0 <ozornick.ks@gmail.com>
Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com>
2025-01-18 11:54:38 +01:00
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
neznaika0
17d6adeee4
refactor: Remove deprecation related to cookies (#9406)
* refactor: Remove deprecated `Config\Security::$samesite`

* refactor: Remove deprecated methods in `CookieStore`

* docs: Update changelog

* refactor: Update phpstan baseline

* docs: Update userguide

* refactor: Remove deprecated  `Cookie::withNeverExpiring()`

* docs: Update changelog, userguide
2025-01-14 13:50:28 +08:00
neznaika0
c6bb6e9552
refactor: Remove deprecated Cache::$storePath 2025-01-13 07:54:39 +03:00
neznaika0
b635a1790f
refactor: Remove deprecated View::$currentSection (#9403)
* refactor: Remove deprecated `View::$currentSection`

* docs: Update changelog
2025-01-13 12:51:25 +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
155f1c14de
refactor: Fix phpstan codeigniter.configArgumentInstanceof (#9390) 2025-01-13 10:52:54 +08:00
neznaika0
f67bc687d5
refactor: Remove deprecated RedirectException (#9399)
* refacror: Remove CodeIgniter\Router\Exceptions\RedirectException

* docs: Update changelog, userguide
2025-01-12 03:12:59 +08:00
Denny Septian Panggabean
468e84b89e
feat: additional opcache setting in check php.ini (#9032)
* feat: additional opcache setting in check PHP.ini

* fix: PHPUnit fails

* fix: remark memory_consumption

* fix: adjust remark

* fix: add argument for opcache only

* tests: add argument for opcache only

* fix: typo

* fix: errors on GA

* Update system/Commands/Utilities/PhpIniCheck.php

Co-authored-by: kenjis <kenji.uui@gmail.com>

* Update system/Security/CheckPhpIni.php

Co-authored-by: kenjis <kenji.uui@gmail.com>

* fix: typo

* refactor: remark certain provisions

* tests: fix remark save_comments

* fix: typo

---------

Co-authored-by: kenjis <kenji.uui@gmail.com>
2025-01-11 17:30:46 +01:00
neznaika0
1eae83473d
refactor: Accurate command finishing 2025-01-11 12:56:54 +03:00
neznaika0
47a6f8af18
refactor: Rework exit codes, skip dots 2025-01-10 10:17:38 +03:00
neznaika0
cd84a6e02c
fix: Typo 2025-01-10 08:35:16 +03:00
neznaika0
5b90b6f89c
refactor: Check type translated value 2025-01-10 08:33:17 +03:00
neznaika0
d23c879cc2
Remove array helper intersectKeyRecursive 2025-01-10 08:33:16 +03:00
neznaika0
b29462bc0c
fix: key sorting 2025-01-10 08:33:16 +03:00
neznaika0
8933d3fdef
fix: Remove sorting lang keys 2025-01-10 08:33:16 +03:00
neznaika0
7867ecb77f
fix: Improve condition 2025-01-10 08:33:15 +03:00
neznaika0
49d7a8730d
feat: Add array helper intersectKeyRecursive 2025-01-10 08:33:15 +03:00
neznaika0
3fa7394f82
feat: Add lang:sync command 2025-01-10 08:33:14 +03:00
neznaika0
708fb6d70a
refactor: Fix phpstan always true (#9367) 2025-01-10 11:29:32 +08:00
neznaika0
42a00ff9d2
refactor: Fix phpstan return.missing (#9382) 2025-01-09 07:55:29 +08:00
neznaika0
9de985651a
refactor: Fix phpstan isset.offset (#9383) 2025-01-09 00:10:43 +08:00
neznaika0
6d04e1dd71
refactor: Fix phpstan nullCoalesce 2025-01-07 23:23:27 +03:00
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
neznaika0
24a5ae0d30
chore: Update Kint to 6.0.1 (#9373) 2025-01-06 21:24:04 +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
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
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
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
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
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
Abdul Malik Ikhsan
f551dbd0ad
fix: handle namespaced helper found on Common helper 2024-12-30 21:11:28 +07: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
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
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