22851 Commits

Author SHA1 Message Date
Michal Sniatala
bb5f925ca4
fix: respect complex language strings when using validation (#9201)
* fix: respect complex language strings when using validation

* cs fix

* changelog update
2024-11-17 10:50:15 +01:00
neznaika0
417cbd2198
refactor: Fix phpstan errors related to Autoloader (#9249)
* refactor: Fix `phpstan` errors related to `Autoloader`

* fix: Update @ignore-line

* fix: Save `realpath()` as variable

* refactor: `phpstan` strict comparison

* fix: Restore check helpers
2024-11-17 10:49:47 +01:00
Ping-yee
42801e7402
docs: allow boolean values in the model for PHPStan (#9276)
* docs: add the type to row_array in model.

* fix: fix the ignore.
2024-11-17 10:44:59 +01:00
Ping-yee
4ca4204e54
fix: curl request crashes with params that give an int once hexed. (#9198)
* fix: handle hex2bin() function input.

* docs: add a comment out.
2024-11-16 00:22:21 +08:00
John Paul E. Balandan, CPA
43a62414b8
Merge pull request #9241 from ddevsr/redesign-exception
feat: design info environment top in `error_exception`
2024-11-16 00:12:01 +08:00
Abdul Malik Ikhsan
fcf37d6ce2
Merge pull request #9251 from neznaika0/fix-fetch-global-request
fix: `fetchGlobal()` with numeric key
2024-11-13 09:17:36 +07:00
Abdul Malik Ikhsan
9b6de62f40
Merge pull request #9264 from samsonasik/refactor-apply-code-quality-level-24-for-rector
refactor: Apply code quality level 24 for Rector
2024-11-12 15:44:46 +07:00
Abdul Malik Ikhsan
1e9483cff6
Merge pull request #9267 from samsonasik/use-compare-empty-array
refactor: use compare empty array on Forge on keys property
2024-11-12 11:01:35 +07:00
Abdul Malik Ikhsan
c8b3804f7d
refactor: use compare empty array on Forge on keys property 2024-11-12 09:12:54 +07:00
Abdul Malik Ikhsan
b64aeef0ea
refactor: Apply code quality level 24 for Rector 2024-11-11 09:00:41 +07:00
neznaika0
2642a9b74c
docs: Clarify the log 2024-11-09 23:31:27 +03:00
neznaika0
342296523e
refactor: Add indexes 2024-11-09 23:31:27 +03:00
neznaika0
8a1ca7b2af
docs: Update changelog 2024-11-09 23:31:27 +03:00
neznaika0
a37136a2f4
fix: Allows get by numeric key 2024-11-09 23:31:26 +03:00
Abdul Malik Ikhsan
a9fa3d0bcf
Merge pull request #9248 from neznaika0/fix-call-as-service
perf: Improve call as `service()`
2024-11-09 13:12:02 +07:00
neznaika0
ea3894755d
fix: Update the typing 2024-11-09 08:44:47 +03:00
neznaika0
583e7b61da
refactor: up performance service() 2024-11-09 08:44:46 +03:00
Abdul Malik Ikhsan
3346b6f8f0
Merge pull request #9261 from codeigniter4/dependabot/composer/rector/rector-1.2.10
chore(deps-dev): update rector/rector requirement from 1.2.9 to 1.2.10
2024-11-09 08:42:47 +07:00
Abdul Malik Ikhsan
862cef65ad
enable skipped NarrowUnusedSetUpDefinedPropertyRector 2024-11-09 07:41:48 +07:00
dependabot[bot]
aad4820f9b
chore(deps-dev): update rector/rector requirement from 1.2.9 to 1.2.10
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/1.2.9...1.2.10)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-08 15:58:26 +00:00
Abdul Malik Ikhsan
91275ed668
Merge pull request #9260 from samsonasik/refactor-flip-assert-actual
refactor: flip assert and actual value position on tests
2024-11-08 12:58:33 +07:00
Abdul Malik Ikhsan
17d5669f45
refactor: flip assert and actuals value on tests 2024-11-08 07:37:49 +07:00
Abdul Malik Ikhsan
c7d012dec7
Merge pull request #9259 from samsonasik/refactor-move-property-to-local-variable
refactor: Move property to local variable on usage only in setUp() method in tests
2024-11-06 10:55:17 +07:00
Abdul Malik Ikhsan
8628f12038
refactor: regenerate phpstan baseline 2024-11-06 05:47:05 +07:00
Abdul Malik Ikhsan
3f5d516a98
refactor: move comment from property to assign 2024-11-06 05:46:22 +07:00
Abdul Malik Ikhsan
17813089a2
refactor: Move property to local variable on usage only in setUp() method in tests 2024-11-06 05:44:07 +07:00
Abdul Malik Ikhsan
52c74b54c5
Merge pull request #9257 from codeigniter4/dependabot/composer/rector/rector-1.2.9
chore(deps-dev): update rector/rector requirement from 1.2.8 to 1.2.9
2024-11-05 22:37:20 +07:00
Abdul Malik Ikhsan
a933bf79bd
run cs fix on rector.php
Signed-off-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
2024-11-05 22:11:19 +07:00
Abdul Malik Ikhsan
e63774d932
skip NarrowUnusedSetUpDefinedPropertyRector as buggy with default value
Signed-off-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
2024-11-05 22:10:16 +07:00
dependabot[bot]
9773ed11ad
chore(deps-dev): update rector/rector requirement from 1.2.8 to 1.2.9
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/1.2.8...1.2.9)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 15:04:03 +00:00
Denny Septian Panggabean
fff0c87664
refactor: bump laminas/laminas-escaper to v2.14 minimum required (#9254)
* refactor: dump laminas/laminas-escaper to v2.14 minimum required

* refactor: dump laminas/laminas-escaper in framework
2024-11-05 08:14:10 +01:00
Abdul Malik Ikhsan
65872e58e9
Merge pull request #9253 from samsonasik/refactor-enable-flip-type-control
refactor: enable FlipTypeControlToUseExclusiveTypeRector
2024-11-05 13:40:10 +07:00
Abdul Malik Ikhsan
3e672fadc6
refactor: enable FlipTypeControlToUseExclusiveTypeRector 2024-11-05 05:03:14 +07:00
michalsn
3e78c58f0b
Merge remote-tracking branch 'upstream/develop' into 4.6 2024-11-03 20:21:21 +01:00
maniaba
34358721a0
fix: TypeError for routes when translateURIDashes is enabled (#9209)
* fix: TypeError for OPTIONS routes when translateURIDashes is enabled

* docs: Update changelog for v4.5.6
2024-11-03 20:14:42 +01:00
Michal Sniatala
fc19b690f8
fix: case-insensitivity in the like() method when in use with accented characters (#9238)
* fix: case-insensitivity in the like() method when in use with accented characters

* Update system/Database/BaseBuilder.php

Co-authored-by: Pooya Parsa <pooya_parsa_dadashi@yahoo.com>

* add more cases for tests

* even more tests

* fix types

* set collation for sqlsrv

---------

Co-authored-by: Pooya Parsa <pooya_parsa_dadashi@yahoo.com>
2024-11-03 19:48:50 +01:00
Jéssica Pereira
3d0f9f2b30
fix: Parser - Equal key name replace conflict (#9246)
* Parse equal key name replace

* fix: parsing equal key name replace for parser

* improved code readability

Co-authored-by: Mostafa Khudair <59371810+mostafakhudair@users.noreply.github.com>

* updated changelog

---------

Co-authored-by: Mostafa Khudair <59371810+mostafakhudair@users.noreply.github.com>
2024-11-03 18:44:55 +01:00
Abdul Malik Ikhsan
caf4d532b9
Merge pull request #9244 from samsonasik/refactor-enable-simplify-bool-identical-true
refactor: enable SimplifyBoolIdenticalTrueRector
2024-10-30 17:05:27 +07: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
Abdul Malik Ikhsan
8522a3797f
Merge pull request #9243 from samsonasik/refactor-apply-code-quality-level-15
refactor: enable rector code quality level 15
2024-10-28 22:46:39 +07:00
Abdul Malik Ikhsan
70816be6c8
refactor: Apply code quality level 15 for Rector 2024-10-28 22:16:15 +07:00
Denny Septian Panggabean
8ee36a541d
refactor: set position fixed 2024-10-28 12:14:30 +07:00
Denny Septian Panggabean
8ab8332fb4
feat: design info environment top in error_exception 2024-10-28 12:01:51 +07:00
michalsn
c830d5fe2f
Merge remote-tracking branch 'upstream/develop' into 4.6 2024-10-23 15:31:59 +02:00
grimpirate
11d97212ed
refactor: cleanup DatabaseHandler::gc() for session (#9230)
* Removal of unneeded operations/variables

* Update system/Session/Handlers/DatabaseHandler.php

---------

Co-authored-by: Michal Sniatala <michal@sniatala.pl>
2024-10-22 08:25:43 +02:00
Denny Septian Panggabean
4a7fbd1229
fix: getValidated() when validation multiple asterisk (#9220)
* fix: validation multiple asterisk

* docs: changelog

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

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

* tests: multiple asterisk for fail

* fix: PHPStan errors appear

---------

Co-authored-by: Michal Sniatala <michal@sniatala.pl>
2024-10-22 08:23:28 +02:00
Abdul Malik Ikhsan
ba62eaea22
Merge pull request #9232 from samsonasik/refactor-enable-rector-code-quality-level-14
refactor: enable rector code quality level 14
2024-10-21 07:52:35 +07:00
Abdul Malik Ikhsan
ff2f756baa
refactor: enable rector code quality level 14 2024-10-21 02:47:51 +07:00
michalsn
b837ab92a5
Merge remote-tracking branch 'upstream/develop' into 4.6 2024-10-20 11:06:55 +02:00