neznaika0
1dc2f7c918
refactor: Add phpDoc for Filters
2025-02-09 23:06:54 +03:00
John Paul E. Balandan, CPA
b5e9715518
refactor: fix rector change on RedirectException ( #9433 )
2025-01-25 00:43:15 +08:00
John Paul E. Balandan, CPA
897980a1c8
chore: update phpstan baseline count of errors
2025-01-24 23:13:59 +08: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
a3704a1df4
refactor: Fix phpstan codeigniter.frameworkExceptionInstance ( #9389 )
2025-01-13 12:49:37 +08:00
neznaika0
4c16324780
refactor: Remove deprecated EVENT_PRIORITY_*
( #9401 )
...
* refactor: Remove deprecated `EVENT_PRIORITY_*`
* docs: Update changelog, userguide
2025-01-13 11:34:13 +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
neznaika0
e3a139db12
refactor: Fix phpstan method.impossibleType ( #9384 )
...
* refactor: Fix phpstan method.impossibleType
* refactor: Fix phpstan method.notFound for EventsTest
* fix: Run fixer
2025-01-10 21:12:42 +08:00
neznaika0
131c5ebeee
refactor: Fix phpstan method.unused ( #9388 )
2025-01-10 21:11:41 +08:00
Abdul Malik Ikhsan
e5f215c1dc
refactor: regenerate baseline
2025-01-10 19:49:41 +07: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
72b7f8a0dd
refactor: Fix phpstan return.type ( #9375 )
...
* refactor: Fix phpstan return.type
* refactor: Fix phpstan return.type
2025-01-09 00:09:58 +08:00
neznaika0
3eb8a09514
refactor: Fix phpstan expr.resultUnused ( #9385 )
2025-01-09 00:04:11 +08:00
Abdul Malik Ikhsan
dd08f953d1
Merge pull request #9374 from neznaika0/refactor/phpstan-nullCoalesce
...
refactor: Fix phpstan nullCoalesce
2025-01-07 19:51:27 -08:00
neznaika0
6d04e1dd71
refactor: Fix phpstan nullCoalesce
2025-01-07 23:23:27 +03:00
John Paul E. Balandan, CPA
e475fd8fa4
Merge branch 'develop' into 4.6
2025-01-08 02:49:47 +08: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
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
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
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
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
d7ce2ba7d3
fix: Forge::dropColumn()
always returns false
on SQLite3 driver ( #9351 )
2024-12-31 18:41:07 +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
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
John Paul E. Balandan, CPA
2114577483
refactor: fix warning on new static usage
2024-12-27 23:24:05 +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
3a90d72e4e
chore: fix errors on merging develop
to 4.6
( #9332 )
...
* re-bump dependencies
* regenerate phpstan baseline
2024-12-20 08:04:29 +08: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
f48aa6f61e
refactor: fix Forge::processIndexes()
for empty $this->fields
( #9330 )
2024-12-19 16:07:05 +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
94e57df8f5
chore: preparation for PHPStan 2: remove CheckUseStatementsAfterLicenseRule
2024-12-13 23:47:37 +07:00
Abdul Malik Ikhsan
3e672fadc6
refactor: enable FlipTypeControlToUseExclusiveTypeRector
2024-11-05 05:03:14 +07:00
kenjis
d12af0a4b4
chore: update php-cs-fixer to ^3.63.2
2024-08-29 09:34:24 +09:00
kenjis
6eaaa60a28
chore: workaround for php-cs-fixer 3.63
2024-08-27 09:37:40 +09:00
John Paul E. Balandan, CPA
90ea5c7cc1
Move phpstan and rector to root composer.json
2024-07-23 20:58:52 +08:00
John Paul E. Balandan, CPA
8609136924
Fix psalm errors
2024-07-23 20:58:52 +08:00