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
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
42a00ff9d2
refactor: Fix phpstan return.missing ( #9382 )
2025-01-09 07:55:29 +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
a6d9716341
refactor: Fix phpstan unset string key
2025-01-04 14:17:39 +03: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
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
Abdul Malik Ikhsan
345e1c3b9c
refactor: enable code quality level 34 for rector ( #9311 )
...
* refactor: enable code quality level 34 for rector
* refactor: run cs fix
* refactor: fix phpstan and regenerate baseline
* refactor: cs fix
* refactor: Cors: before never returns string
* refactor: return EXIT_ERROR on check verify command
* refactor: returns null on DebugToolbar and HoneyPot
2024-12-21 19:40:05 +08:00
John Paul E. Balandan, CPA
bd5945df9b
Merge branch 'develop' into 4.6
2024-12-19 16:39:09 +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
John Paul E. Balandan, CPA
64c8fcefb7
refactor: fix method.nameCase
errors
2024-12-12 00:29:57 +08:00
neznaika0
dae379fad2
refactor: fix phpstan
signature for Closure ( #9304 )
2024-12-10 22:11:08 +08:00
John Paul E. Balandan, CPA
cdf78ab046
Merge branch 'develop' into 4.6
2024-11-30 21:15:11 +08:00
John Paul E. Balandan, CPA
74d3b2819e
refactor: use Superglobals
in setting 'REQUEST_METHOD' in FeatureTestTrait
2024-11-30 01:23:07 +08:00
michalsn
c32dcd4329
Merge remote-tracking branch 'upstream/develop' into 4.6
...
# Conflicts:
# system/Autoloader/Autoloader.php
# system/BaseModel.php
# system/CLI/CLI.php
# system/Database/MigrationRunner.php
# system/Exceptions/PageNotFoundException.php
# system/Router/RouteCollection.php
# system/Validation/FileRules.php
# tests/system/Autoloader/AutoloaderTest.php
# tests/system/Filters/FiltersTest.php
# tests/system/Test/ControllerTestTraitTest.php
# tests/system/Test/FeatureTestTraitTest.php
# tests/system/Validation/CreditCardRulesTest.php
# tests/system/Validation/FileRulesTest.php
# tests/system/Validation/StrictRules/DatabaseRelatedRulesTest.php
# tests/system/Validation/StrictRules/FileRulesTest.php
# tests/system/View/ViewTest.php
2024-11-17 12:21:31 +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
neznaika0
583e7b61da
refactor: up performance service()
2024-11-09 08:44:46 +03:00
kenjis
0cb31bbb1e
fix!: spark db:table causes errors w/z table name including speciali chars
2024-07-31 11:16:56 +09:00
kenjis
457a1e751b
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-07-02 07:38:08 +09:00
Abdul Malik Ikhsan
8ab9e40f04
cs fix
2024-06-30 18:19:13 +07:00
Abdul Malik Ikhsan
fb7e4f1fed
refactor: Enable phpunit 10 attribute Rector rules
2024-06-30 18:17:12 +07:00
kenjis
193a0079ae
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-06-22 19:43:21 +09:00
John Paul E. Balandan, CPA
abfcba7f4d
fix: return and param types of BaseConnection
2024-06-22 00:14:14 +08:00
kenjis
ef00c1125a
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-06-02 08:52:25 +09:00
Abdul Malik Ikhsan
56ba3df382
chore: remove unused path parameter on PhpStreamWrapper::stream_open()
2024-05-30 22:48:09 +07:00
kenjis
798d055404
style: remove unneeded x permissions
2024-05-28 21:37:32 +09:00
kenjis
60fddfe7c3
refactor: use CodeIgniter\Exceptions\InvalidArgumentException
2024-05-06 19:19:30 +09:00
kenjis
13106b84c1
refactor: use CodeIgniter\Exceptions\BadMethodCallException
2024-05-06 19:19:22 +09:00
kenjis
4b8a50e693
refactor: use CodeIgniter\Exceptions\LogicException
2024-05-06 19:19:21 +09:00
kenjis
049fb2be4d
refactor: use CodeIgniter\Exceptions\InvalidArgumentException
2024-05-06 19:19:21 +09:00
kenjis
3540f97e9e
refactor: use CodeIgniter\Exceptions\RuntimeException
2024-05-06 19:19:21 +09:00
kenjis
1a8a1f135e
Merge remote-tracking branch 'upstream/develop' into 4.6
2024-05-06 08:56:59 +09:00
kenjis
1ff88899e8
fix: remove unused undefined param $raw
...
It is not defined in the interface and other classes, and not used at all.
2024-05-02 10:53:57 +09:00
kenjis
1ca470f9ea
refactor!: remove deprecated Logger::cleanFilenames() and TestLogger::cleanup()
2024-05-01 09:04:40 +09:00
kenjis
55e0a3a350
docs: fix/add @return types
2024-04-17 09:05:10 +09:00
kenjis
c02ce684fb
docs: make array type more precise
2024-04-12 16:15:15 +09:00
kenjis
9ae7f43a81
refactor: update param name
2024-04-12 16:13:13 +09:00
kenjis
5bf6de9416
fix: update toString() params
...
1) CodeIgniter\Database\DatabaseTestCase\DatabaseTestCaseMigrationOnce1Test::testMigrationDone
TypeError: json_encode(): Argument #2 ($flags) must be of type int, bool given
/home/runner/work/CodeIgniter4/CodeIgniter4/system/Test/Constraints/SeeInDatabase.php:118
/home/runner/work/CodeIgniter4/CodeIgniter4/system/Test/DatabaseTestTrait.php:282
/home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Database/DatabaseTestCase/DatabaseTestCaseMigrationOnce1Test.php:86
2024-04-07 12:38:10 +09:00
kenjis
e25bc7e7a7
refactor: run rector
2024-04-06 09:24:47 +09:00
John Paul E. Balandan, CPA
0dd758cc42
Add support for Faker modifiers
2024-03-30 17:17:32 +08:00
kenjis
fe26efeb0e
fix: add missing $sql
2024-03-28 11:10:43 +09:00
kenjis
7c2b4e25d7
docs: add PHPDoc types
2024-03-28 11:10:42 +09:00
kenjis
39210beb13
Merge pull request #8604 from kenjis/feat-add-Boot-class
...
feat: add Boot class
2024-03-27 06:17:43 +09:00
kenjis
fb4a1f5f30
Merge remote-tracking branch 'upstream/develop' into 4.5
...
Conflicts:
phpstan-baseline.php
2024-03-25 07:52:41 +09:00
kenjis
a0600be7fd
docs: update/add PHPDoc types
2024-03-21 12:54:40 +09:00