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
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
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
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
Abdul Malik Ikhsan
e363f4748a
Merge pull request #9342 from paulbalandan/new-static
...
refactor: fix warning on new static usage
2024-12-28 13:15:39 +07:00
John Paul E. Balandan, CPA
2114577483
refactor: fix warning on new static usage
2024-12-27 23:24:05 +08:00
Michal Sniatala
6cbbf601b0
fix: handling binary data for prepared statement ( #9337 )
...
* fix prepare statement sqlite
* fix prepare statement postgre
* fix prepare statement sqlsrv
* fix prepare statement oci8
* tests
* abstract isBinary() method
* fix prepare statement mysqli
* fix prepare statement oci8
* sqlsrv blob support
* fix tests
* add changelog
* fix rector
* make sqlsrv happy
* make oci8 happy - hopefully
* add a note about options for prepared statement
* ignore PreparedQueryTest.php file
* apply code suggestion for oci8
2024-12-27 08:14:06 +01:00
John Paul E. Balandan, CPA
cc1b8f2856
refactor: add @throws RedirectException
in Controller::initController ( #9327 )
2024-12-19 16:33:56 +08:00
John Paul E. Balandan, CPA
8fa419fdad
refactor: Reflection*::setAccessible()
is now no-op in PHP 8.1 ( #9331 )
2024-12-19 16:29:59 +08:00
neznaika0
ab5536f92b
fix: Remove DB files after tests ( #9192 )
2024-12-19 16:29:35 +08:00
John Paul E. Balandan, CPA
f48aa6f61e
refactor: fix Forge::processIndexes()
for empty $this->fields
( #9330 )
2024-12-19 16:07:05 +08:00
Andi Fahruddin Akas
cc2dcee4ed
docs: variable naming adjustments ( #9324 )
...
* Update 006.php
* Update 008.php
* Update 046.php
2024-12-16 19:31:13 +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
Abdul Malik Ikhsan
61881bd3fa
refactor: upgrade to use phpstan 2 and rector 2 ( #9322 )
2024-12-16 02:03:01 +08:00
John Paul E. Balandan, CPA
242745c661
refactor: split phpstan-baseline into smaller files ( #9299 )
...
* refactor: split phpstan-baseline into smaller files
* Checkout base branch to resolve codeigniter4/framework
* Fix rector changes
2024-12-15 08:38:40 +08:00
Abdul Malik Ikhsan
f0536a1b55
Merge pull request #9321 from samsonasik/chore-prepare-phpstan-2
...
chore: preparation for PHPStan 2: remove CheckUseStatementsAfterLicenseRule
2024-12-14 01:09:02 +07:00
Abdul Malik Ikhsan
6644b79927
chore: fix ci run
2024-12-13 23:50:15 +07:00
Abdul Malik Ikhsan
94e57df8f5
chore: preparation for PHPStan 2: remove CheckUseStatementsAfterLicenseRule
2024-12-13 23:47:37 +07:00
Denny Septian Panggabean
0f5de2782f
refactor: followup style variable array ( #9319 )
2024-12-12 20:54:59 +08:00
Michal Sniatala
9bc61b3b2f
fix: check if defined WRITEPATH
exists ( #9317 )
...
* fix: check if defined WRITEPATH exists
* cs fix
* Update system/Boot.php
Co-authored-by: Pooya Parsa <pooya_parsa_dadashi@yahoo.com>
* cs fix
---------
Co-authored-by: Pooya Parsa <pooya_parsa_dadashi@yahoo.com>
2024-12-12 08:26:35 +01:00
Abdul Malik Ikhsan
e9bb603940
Merge pull request #9316 from paulbalandan/implicit-array-creation
...
refactor: fix implicit array creation
2024-12-12 02:25:17 +07:00
John Paul E. Balandan, CPA
c06d9281d9
refactor: fix implicit array creation
2024-12-12 01:05:08 +08:00
Abdul Malik Ikhsan
0b0126cf8d
Merge pull request #9314 from paulbalandan/rename-controller-to-Controller
...
refactor: rename `controller` to `Controller`
2024-12-11 23:49:09 +07:00
Abdul Malik Ikhsan
f5200b54cc
Merge pull request #9315 from paulbalandan/method-namecase
...
refactor: fix `method.nameCase` errors
2024-12-11 23:48:39 +07:00
John Paul E. Balandan, CPA
64c8fcefb7
refactor: fix method.nameCase
errors
2024-12-12 00:29:57 +08:00
John Paul E. Balandan, CPA
562ddf2e89
refactor: rename controller
to Controller
2024-12-12 00:21:45 +08:00
Abdul Malik Ikhsan
8fc60e755d
Merge pull request #9313 from paulbalandan/fix-phpdoc-parse-error
...
refactor: fix `phpDoc.parseError` errors
2024-12-11 21:12:07 +07:00
Abdul Malik Ikhsan
be824e398c
Merge pull request #9312 from paulbalandan/rename-stdclass-to-stdClass
...
refactor: rename `stdclass` to `stdClass`
2024-12-11 21:11:05 +07:00
John Paul E. Balandan, CPA
2927788803
refactor: fix phpdoc.parseError
errors
2024-12-11 18:58:28 +08:00
John Paul E. Balandan, CPA
107e2b3ff9
refactor: rename stdclass
to stdClass
2024-12-11 18:43:24 +08:00
Michal Sniatala
539436f58d
fix: primary key mapping in the model for the entity ( #9307 )
...
* fix primary key mapping for the entity in the model
* fix phpstan
* update comment in the code
2024-12-11 08:35:20 +01:00
neznaika0
dae379fad2
refactor: fix phpstan
signature for Closure ( #9304 )
2024-12-10 22:11:08 +08:00
Abdul Malik Ikhsan
124a7e6443
Merge pull request #9303 from samsonasik/refactor-apply-code-quality-level-27
...
refactor: Apply code quality level 31 for rector
2024-12-07 18:18:33 +07:00
Abdul Malik Ikhsan
608b869a20
refactor: enable level 31: ThrowWithPreviousExceptionRector
2024-12-07 17:46:25 +07:00