Abdul Malik Ikhsan
ac9c1683e4
chore: Bump to Rector 2.0.6
2025-01-06 21:04:21 +07: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
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
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
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
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
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