Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.6.0 Merge code #9417

Merged
merged 409 commits into from
Jan 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
409 commits
Select commit Hold shift + click to select a range
2e3bf1d
docs: rewrite "Auto Routing (Improved)" contents
kenjis Jun 21, 2024
af227b8
test: update test code for config changes
kenjis Jun 21, 2024
dd33f98
docs: add note
kenjis Jun 23, 2024
580a59b
docs: add "Examples of Controller/Methods and URIs"
kenjis Jun 23, 2024
fd00dfa
docs: update :ref: ids
kenjis Jun 23, 2024
ecfbc2f
docs: add notes
kenjis Jun 23, 2024
23ae69c
docs: add upgrade_460
kenjis Jun 24, 2024
9efac84
test: Skip running tests if DB is not MySQLi
ducng99 Jun 24, 2024
50baedd
docs: change note
kenjis Jun 24, 2024
c481d2e
docs: improved descriptions
kenjis Jun 24, 2024
c953a68
docs: remove `index.php` in sample URLs
kenjis Jun 24, 2024
c267bc0
docs: improve explanation
kenjis Jun 24, 2024
02e645c
docs: add sub section titles and explanations
kenjis Jun 24, 2024
75861b0
docs: add section "Check the Routes"
kenjis Jun 24, 2024
939766e
docs: add `http://` to example URLs
kenjis Jun 24, 2024
990e89e
docs: fix FQCN
kenjis Jun 24, 2024
70ebb33
docs: improve section titles
kenjis Jun 24, 2024
9708c08
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Jun 25, 2024
9494c40
docs: replace "This is"
kenjis Jun 25, 2024
0ad823c
docs: fix description
kenjis Jun 25, 2024
24544d6
Merge remote-tracking branch 'origin/develop' into 4.6
kenjis Jun 25, 2024
f0db26f
docs: add section "Applying Filters"
kenjis Jun 25, 2024
ab71e4f
Merge pull request #8979 from ducng99/feat/add_foundrows_mysqli_config
kenjis Jun 25, 2024
4722157
Merge pull request #8981 from kenjis/change-auto-routing-improved-config
kenjis Jun 25, 2024
b102b3e
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Jun 25, 2024
ddf52ff
feat: add resetTransStatus()
kenjis Apr 12, 2024
fe0f3e7
docs: add empty lines
kenjis Apr 12, 2024
df90b23
docs: add "Resetting Transaction Status"
kenjis Apr 12, 2024
723d9e7
docs: add changelog
kenjis Apr 26, 2024
adc6598
Merge pull request #8985 from kenjis/feat-spark-filter-check-show-fil…
kenjis Jun 27, 2024
c200638
test: add test Filters filter argments
kenjis Jun 24, 2024
c6518fe
feat: normailze Filters filter arguments
kenjis Jun 24, 2024
0237a11
refactor: rename variable names
kenjis Jun 24, 2024
f3e5504
refactor: shorten block of if
kenjis Jun 24, 2024
85434df
Merge pull request #8994 from kenjis/normalizer-filters-filter-args
kenjis Jun 29, 2024
3dffbc9
Merge pull request #8767 from kenjis/feat-resetTransStatus
kenjis Jun 30, 2024
dc9adb1
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Jun 30, 2024
e7f7ec5
refactor: add `: void`
kenjis Jun 30, 2024
1bffa3c
Merge pull request #9013 from kenjis/refactor-Filters
kenjis Jun 30, 2024
652264e
feat: Adding BaseService::updateServicesCache refreshes and looks for…
pyromanci May 15, 2024
f89a700
chore: added comments to the test classes for BaseService::updateServ…
pyromanci May 15, 2024
b077db5
fix: Added missing class to codeigniter.additionalServices for testing.
pyromanci May 15, 2024
0070a7b
fix: Forgot to update the exlude list from the fork rest.
pyromanci May 15, 2024
97cb84a
feat: replace updateServicesCache() with resetServicesCache()
kenjis Jun 30, 2024
8a2b115
docs: update docs
kenjis Jun 30, 2024
bae26f0
test: rename varible names
kenjis Jun 30, 2024
94e43fd
test: update comments
kenjis Jun 30, 2024
0edfd6f
test: move class files for testing
kenjis Jun 30, 2024
a4563e5
docs: fix description
kenjis Jun 30, 2024
457a1e7
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Jul 1, 2024
cb39e7e
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Jul 4, 2024
aef9e37
Merge pull request #9012 from kenjis/feat-Services-resetServicesCache
kenjis Jul 6, 2024
7b235d0
feat: add page for 400 request
kenjis Jul 11, 2024
d758faf
docs: add user guide
kenjis Jul 12, 2024
1e06ee5
docs: fix by proofreading
kenjis Jul 17, 2024
b4c7879
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Jul 17, 2024
e469021
Merge pull request #9044 from kenjis/feat-add-400-page
kenjis Jul 19, 2024
fd4648f
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Jul 24, 2024
c9e3fa5
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Jul 25, 2024
bddbb3b
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Jul 25, 2024
b469f0c
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Jul 26, 2024
16e7a6c
test: add @psalm-suppress
kenjis Jul 26, 2024
1b5108e
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Jul 27, 2024
97f1142
Merge remote-tracking branch 'origin/develop' into 4.6
kenjis Jul 27, 2024
3293def
Merge pull request #9078 from kenjis/docs-suppress-psalm-error
kenjis Jul 28, 2024
191028f
fix: add check for duplicate registrar auto-discovery runs
kenjis Jul 25, 2024
eb53f86
docs: add docs
kenjis Jul 26, 2024
60341c3
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Jul 28, 2024
10ba2eb
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Jul 29, 2024
2d8b3bd
Merge pull request #9073 from kenjis/check-for-duplicate-registrar-di…
kenjis Jul 29, 2024
72b8d96
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Jul 31, 2024
f0fd56a
test: remove incorrect comments
kenjis Jul 26, 2024
8d40134
test: fix typo in test method name
kenjis Jul 27, 2024
a37f845
test: add test for Time::createFromFormat() with microseconds
kenjis Jul 26, 2024
a302f83
test: add test for Time::equals() with microseconds
kenjis Jul 27, 2024
5c3b74c
test: add tests for Time::isBefore() and isAfter()
kenjis Jul 27, 2024
d4cf9bc
test: add tests for Time::isBefore() and isAfter() with same time
kenjis Jul 27, 2024
6b32d58
fix: Time loses microseconds
kenjis Jul 26, 2024
b193a62
fix: Time::toDateTime() loses microseconds
kenjis Jul 27, 2024
f3b15c0
fix: Time::isBefore() and isAfter() loses microseconds
kenjis Jul 27, 2024
4932e44
docs: add docs
kenjis Jul 26, 2024
7b0d8c3
test: add test for DataConverter to convert datetime to db with micro…
kenjis Jul 29, 2024
3c69a61
fix: DatetimeCast::set() loses microseconds
kenjis Jul 29, 2024
94adfc5
test: update test code
kenjis Jul 29, 2024
9ad1748
refactor: extract getDateTimeFormat() method
kenjis Jul 29, 2024
ed29b50
docs: add notes for datetime ms/us in model and query builder
kenjis Jul 29, 2024
dc5c001
refactor: rename variable names
kenjis Apr 1, 2024
0572f98
feat: escapeIdentifier() handles empty string
kenjis Apr 2, 2024
583a080
feat: add TableName class
kenjis Apr 1, 2024
0cb31bb
fix!: spark db:table causes errors w/z table name including speciali …
kenjis Apr 1, 2024
62ef13f
docs: add changelog and upgrade
kenjis May 2, 2024
023bae4
test: replace @group with Group attribute
kenjis May 6, 2024
58197a4
docs: add @internal to TableName class
kenjis Jul 31, 2024
b3d957d
Merge pull request #9081 from kenjis/fix-Time-loses-microseconds
kenjis Jul 31, 2024
6a9aedf
Merge pull request #8748 from kenjis/feat-db-tablename-object-4.6
kenjis Aug 1, 2024
4801c8e
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Aug 1, 2024
715f716
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Aug 2, 2024
7c0a539
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Aug 2, 2024
640de45
refactor: change 1st param type
kenjis Aug 5, 2024
bc61694
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Aug 6, 2024
e83b3bd
Merge pull request #9104 from kenjis/refactor-TableName
kenjis Aug 8, 2024
32a11f9
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Aug 11, 2024
5f7c543
test: add test for Entity Casts datetime with timestamp
kenjis Aug 7, 2024
1f081ec
test: add timezone for DataCaster TimestampCast
kenjis Aug 7, 2024
da76c86
fix!: now Time::createFromTimestamp() returns Time with UTC by default
kenjis Aug 6, 2024
cc6a54d
docs: add docs
kenjis Aug 6, 2024
d9ad9bc
docs: break long line
kenjis Aug 6, 2024
e1413fd
docs: add note for timezone
kenjis Aug 6, 2024
75a9230
fix!: signature of createFromTimestamp() for PHP 8.4
kenjis Aug 6, 2024
1e90ad5
fix: Time::createFromTimestamp() loses microseconds
kenjis Aug 6, 2024
613aba2
docs: add changelog
kenjis Aug 6, 2024
8992ac0
refactor: replace self with static
kenjis Aug 6, 2024
57b5112
fix: keep the behavior of Entity casts datetime with timestamp
kenjis Aug 7, 2024
f38d4a3
fix: keep the behavior of Model casts datetime with timestamp
kenjis Aug 7, 2024
97148ef
docs: add description for timestamp cast timezone
kenjis Aug 7, 2024
3e63b67
feat: add important directives
kenjis Aug 11, 2024
aa6df4e
feat: improve description
kenjis Aug 11, 2024
510bf8b
Merge pull request #9117 from kenjis/add-directives-to-phpini-check
kenjis Aug 19, 2024
a13c588
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Aug 19, 2024
f42b1a0
test: fix test code for Time::createFromTimestamp()
kenjis Aug 20, 2024
06b02bb
fix: microseconds are not kept to full precision
kenjis Aug 20, 2024
0a15e7b
Merge pull request #9105 from kenjis/fix-Time-createFromTimestamp
kenjis Aug 20, 2024
f3a9ebb
fix!: Time::setTimestamp()'s different behavior than DateTime
kenjis Aug 6, 2024
b20df7c
fix: keep TimeLegacy::setTimestamp() behavior
kenjis Aug 6, 2024
9395543
refactor: remove setTimestamp() because it only returns parent method
kenjis Aug 6, 2024
3884480
docs: update user guide
kenjis Aug 20, 2024
7e58971
Merge pull request #9106 from kenjis/fix-Time-setTimestamp
kenjis Aug 21, 2024
f08c103
docs: remove unneeded "`"
kenjis Aug 21, 2024
6cf5c78
chore: add PHP 8.4 to test-phpunit.yml
kenjis Aug 21, 2024
01ddd2c
chore: add continue-on-error
kenjis Aug 21, 2024
452b792
chore: remove duplicated 8.4
kenjis Aug 21, 2024
296c5a5
chore: add "--ignore-platform-req=php" temporarily
kenjis Aug 21, 2024
312ffa0
chore: move continue-on-error to reusable-phpunit-test.yml
kenjis Aug 21, 2024
10d10b6
docs: add note for PHP and CI4 versions
kenjis Aug 21, 2024
de1f913
docs: make line bold
kenjis Aug 21, 2024
9b6636a
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Aug 22, 2024
f7c471d
Merge pull request #9136 from kenjis/docs-fix-typo-in-changelog-460
kenjis Aug 22, 2024
5437a4f
refactor: extract isDisplayErrorsEnabled()
kenjis Aug 23, 2024
0e2800e
fix!: change conditions to show error details for non-HTML request
kenjis Aug 23, 2024
fd21659
docs: update docs
kenjis Aug 23, 2024
8e1271e
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Aug 27, 2024
e79028a
feat: multiple hostname routing
ddevsr Aug 26, 2024
fb22d2d
fix: docblock error
ddevsr Aug 27, 2024
d7c7db8
docs: user guide
ddevsr Aug 27, 2024
ab1d845
Update user_guide_src/source/incoming/routing.rst
ddevsr Aug 27, 2024
94e1214
Update user_guide_src/source/changelogs/v4.6.0.rst
ddevsr Aug 27, 2024
a997553
Update system/Router/RouteCollection.php
ddevsr Aug 27, 2024
ab5dd6c
Update tests/system/Router/RouteCollectionTest.php
ddevsr Aug 27, 2024
dea605b
Update tests/system/Router/RouteCollectionTest.php
ddevsr Aug 27, 2024
105c1f8
refactor: rename variable
ddevsr Aug 27, 2024
b352e31
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Aug 27, 2024
f5102cb
Merge pull request #9138 from kenjis/docs-php-version-and-ci4-version
kenjis Aug 29, 2024
388fed8
Merge pull request #9137 from kenjis/add-php84-GA-phpunit-4.6
kenjis Aug 29, 2024
1938a7c
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Aug 29, 2024
675c819
Merge pull request #9144 from kenjis/fix-inconsistency-in-detailed-er…
kenjis Aug 30, 2024
b45f151
Merge pull request #9150 from ddevsr/router-multiple-hostname
kenjis Aug 30, 2024
dc45e42
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Aug 30, 2024
973e148
feat: add deprecation error handling for session.sid_length and sessi…
kenjis Aug 21, 2024
12385ed
fix!: we force PHP defaults of session.sid_bits_per_character/session…
kenjis Aug 22, 2024
703c273
docs: add changelog and upgrade
kenjis Aug 27, 2024
8442cb1
Merge pull request #9139 from kenjis/session-sid-change
kenjis Sep 5, 2024
31e8f9f
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Sep 5, 2024
ba1702f
feat: add workround for implicit nullable deprecation errors in PHP 8.4
kenjis Aug 22, 2024
2eeb971
fix: only Faker/Kint errors are skipped
kenjis Sep 5, 2024
4a4a648
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Sep 6, 2024
e570f46
Merge pull request #9140 from kenjis/workaround-for-implicit-nullable…
kenjis Sep 6, 2024
050a76a
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Sep 6, 2024
d9902df
Merge remote-tracking branch 'origin/develop' into 4.6
kenjis Sep 7, 2024
d005c44
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Sep 10, 2024
052520f
feat: support CURL HTTP3
ddevsr Aug 23, 2024
484c311
test: dynamiclly constant
ddevsr Sep 10, 2024
c05260c
Merge pull request #9145 from ddevsr/CURL-CONSTANT
kenjis Sep 12, 2024
904e4f2
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Sep 13, 2024
255a867
fix: rector notify
neznaika0 Sep 14, 2024
0735e19
Merge pull request #9190 from neznaika0/fix-rector-return-type
kenjis Sep 15, 2024
a6374de
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Sep 17, 2024
f5b2100
Merge remote-tracking branch 'upstream/develop' into 4.6
kenjis Oct 3, 2024
b068de9
Merge remote-tracking branch 'upstream/develop' into 4.6
michalsn Oct 17, 2024
b837ab9
Merge remote-tracking branch 'upstream/develop' into 4.6
michalsn Oct 20, 2024
c830d5f
Merge remote-tracking branch 'upstream/develop' into 4.6
michalsn Oct 23, 2024
8ab8332
feat: design info environment top in error_exception
ddevsr Oct 28, 2024
8ee36a5
refactor: set position fixed
ddevsr Oct 28, 2024
3e78c58
Merge remote-tracking branch 'upstream/develop' into 4.6
michalsn Nov 3, 2024
fff0c87
refactor: bump `laminas/laminas-escaper` to `v2.14` minimum required …
ddevsr Nov 5, 2024
43a6241
Merge pull request #9241 from ddevsr/redesign-exception
paulbalandan Nov 15, 2024
c32dcd4
Merge remote-tracking branch 'upstream/develop' into 4.6
michalsn Nov 17, 2024
857673b
fix: code issues after merging develop (#9284)
michalsn Nov 17, 2024
cdf78ab
Merge branch 'develop' into 4.6
paulbalandan Nov 30, 2024
9fba8c7
Merge branch 'develop' into 4.6
paulbalandan Dec 1, 2024
86278d9
feat: Add optional dbGroup support in validation rules for multiple d…
maniaba Oct 6, 2024
d6d30c0
Merge pull request #9216 from maniaba/dev.9215
paulbalandan Dec 1, 2024
bcedf1c
feat: added the `namespace` option to the `publish` command (#9278)
dimtrovich Dec 1, 2024
c46cea4
chore: update `Kint` to v6.0 (#9289)
ddevsr Dec 2, 2024
c76a68f
feat: CURL option `force_ip_resolve` (#9194)
ddevsr Dec 2, 2024
35c5784
feat: add SQLite3 config synchronous (#9202)
michalsn Dec 2, 2024
455a559
feat: Differentiate between kilobyte/kibibyte and megabyte/mebibyte (…
ThomasMeschke Dec 4, 2024
8ba6f2a
Merge branch 'develop' into 4.6
paulbalandan Dec 6, 2024
1b530cd
docs: add info about handling exceptions for non-HTML responses (#9310)
michalsn Dec 11, 2024
cd5dda1
feat: full support on `PHP8.4` (#9255)
ddevsr Dec 17, 2024
bd5945d
Merge branch 'develop' into 4.6
paulbalandan Dec 19, 2024
3a90d72
chore: fix errors on merging `develop` to `4.6` (#9332)
paulbalandan Dec 20, 2024
cd8ba91
chore: bump to laminas-escaper v2.15 (#9333)
paulbalandan Dec 21, 2024
345e1c3
refactor: enable code quality level 34 for rector (#9311)
samsonasik Dec 21, 2024
22b8e9e
fix: prioritize headers set by the `Response` class (#9235)
michalsn Dec 27, 2024
c7548a3
Merge branch 'develop' into 4.6
paulbalandan Dec 28, 2024
4a0d845
Merge branch 'develop' into 4.6
paulbalandan Dec 28, 2024
1833933
chore: add PHP 8.4 to issue template
paulbalandan Dec 30, 2024
64989eb
Merge pull request #9353 from paulbalandan/issue-template-84
samsonasik Dec 30, 2024
eec3739
Merge remote-tracking branch 'upstream/develop' into 4.6
paulbalandan Dec 31, 2024
4764fe3
Merge branch 'develop' into 4.6
paulbalandan Jan 1, 2025
cc96fe3
feat: Strict locale negotiation (#9360)
neznaika0 Jan 5, 2025
c3bfac5
Merge remote-tracking branch 'upstream/develop' into 4.6
michalsn Jan 6, 2025
24a5ae0
chore: Update Kint to 6.0.1 (#9373)
neznaika0 Jan 6, 2025
c79d3a9
fix: Add support for multibyte strings (#9372)
neznaika0 Jan 7, 2025
d9aca42
feat: add page start end total to `PagerRenderer` (#9371)
murilohpucci Jan 7, 2025
e475fd8
Merge branch 'develop' into 4.6
paulbalandan Jan 7, 2025
3fa7394
feat: Add `lang:sync` command
neznaika0 Jul 5, 2024
872434a
test: Add tests for `lang:sync` command
neznaika0 Jul 5, 2024
49d7a87
feat: Add array helper `intersectKeyRecursive`
neznaika0 Jul 5, 2024
4ffb69c
docs: Add changelog
neznaika0 Jul 5, 2024
96d640d
docs: Add description for command
neznaika0 Jul 5, 2024
7867ecb
fix: Improve condition
neznaika0 Jul 5, 2024
042dbea
fix: docs title underline too short
neznaika0 Jul 6, 2024
b57def9
fix: typo
neznaika0 Aug 5, 2024
5448d7a
fix: Delete debug info
neznaika0 Aug 5, 2024
8933d3f
fix: Remove sorting lang keys
neznaika0 Aug 5, 2024
b29462b
fix: key sorting
neznaika0 Aug 8, 2024
d23c879
Remove array helper `intersectKeyRecursive`
neznaika0 Aug 8, 2024
5b90b6f
refactor: Check type translated value
neznaika0 Dec 26, 2024
9c92041
fix: Update tests to be readable
neznaika0 Dec 26, 2024
76cd73f
fix: Update changelog
neznaika0 Jan 4, 2025
cd84a6e
fix: Typo
neznaika0 Jan 10, 2025
47a6f8a
refactor: Rework exit codes, skip dots
neznaika0 Jan 10, 2025
1eae834
refactor: Accurate command finishing
neznaika0 Jan 11, 2025
d2c86f2
Merge pull request #9023 from neznaika0/feat-lang-sync
samsonasik Jan 11, 2025
468e84b
feat: additional `opcache` setting in check php.ini (#9032)
ddevsr Jan 11, 2025
1f7e106
docs: changelog entry for phpini:check command (#9400)
michalsn Jan 11, 2025
f67bc68
refactor: Remove deprecated `RedirectException` (#9399)
neznaika0 Jan 11, 2025
797d377
Merge branch 'develop' into 4.6
paulbalandan Jan 13, 2025
4c16324
refactor: Remove deprecated `EVENT_PRIORITY_*` (#9401)
neznaika0 Jan 13, 2025
b635a17
refactor: Remove deprecated `View::$currentSection` (#9403)
neznaika0 Jan 13, 2025
c6bb6e9
refactor: Remove deprecated `Cache::$storePath`
neznaika0 Jan 12, 2025
23f2559
docs: Update changelog
neznaika0 Jan 12, 2025
5e50f2f
Merge pull request #9404 from neznaika0/refactor/deprecated-filecache…
samsonasik Jan 13, 2025
35321ac
refactor: Remove deprecated `Config\Format::getFormatter()` (#9405)
neznaika0 Jan 13, 2025
17d6ade
refactor: Remove deprecation related to cookies (#9406)
neznaika0 Jan 14, 2025
80719d4
Merge branch 'develop' into 4.6
paulbalandan Jan 17, 2025
6414090
Merge branch 'develop' into 4.6
paulbalandan Jan 19, 2025
1221b85
Merge branch 'develop' into 4.6
paulbalandan Jan 19, 2025
6fca121
Merge branch 'develop' into 4.6
paulbalandan Jan 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ body:
description: Which PHP versions did you run your code?
multiple: true
options:
- '7.4'
- '8.0'
- '8.1'
- '8.2'
- '8.3'
- '8.4'
validations:
required: true

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
matrix:
php-version:
- '8.1'
- '8.3'
- '8.4'

steps:
- name: Checkout base branch for PR
Expand Down Expand Up @@ -65,3 +65,5 @@ jobs:

- name: Run lint
run: composer cs
env:
PHP_CS_FIXER_IGNORE_ENV: ${{ matrix.php-version == '8.4' }}
15 changes: 4 additions & 11 deletions .github/workflows/test-phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ jobs:
- '8.1'
- '8.2'
- '8.3'
include:
- php-version: '8.3'
composer-option: '--ignore-platform-req=php'
- '8.4'

uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
with:
Expand All @@ -88,6 +86,7 @@ jobs:
- '8.1'
- '8.2'
- '8.3'
- '8.4'
db-platform:
- MySQLi
- OCI8
Expand All @@ -100,8 +99,6 @@ jobs:
- php-version: '8.1'
db-platform: MySQLi
mysql-version: '5.7'
- php-version: '8.3'
composer-option: '--ignore-platform-req=php'

uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
with:
Expand Down Expand Up @@ -129,9 +126,7 @@ jobs:
- '8.1'
- '8.2'
- '8.3'
include:
- php-version: '8.3'
composer-option: '--ignore-platform-req=php'
- '8.4'

uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
with:
Expand All @@ -157,9 +152,7 @@ jobs:
- '8.1'
- '8.2'
- '8.3'
include:
- php-version: '8.3'
composer-option: '--ignore-platform-req=php'
- '8.4'

uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-rector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.1', '8.3']
php-versions: ['8.1', '8.4']
steps:
- name: Checkout base branch for PR
if: github.event_name == 'pull_request'
Expand Down
10 changes: 5 additions & 5 deletions admin/framework/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@
"php": "^8.1",
"ext-intl": "*",
"ext-mbstring": "*",
"laminas/laminas-escaper": "^2.13",
"laminas/laminas-escaper": "^2.14",
"psr/log": "^3.0"
},
"require-dev": {
"codeigniter/coding-standard": "^1.7",
"fakerphp/faker": "^1.9",
"fakerphp/faker": "^1.24",
"friendsofphp/php-cs-fixer": "^3.47.1",
"kint-php/kint": "^5.0.4",
"mikey179/vfsstream": "^1.6",
"kint-php/kint": "^6.0",
"mikey179/vfsstream": "^1.6.12",
"nexusphp/cs-config": "^3.6",
"phpunit/phpunit": "^10.5.16 || ^11.2",
"predis/predis": "^1.1 || ^2.0"
"predis/predis": "^1.1 || ^2.3"
},
"suggest": {
"ext-curl": "If you use CURLRequest class",
Expand Down
14 changes: 2 additions & 12 deletions app/Config/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,6 @@ class Cache extends BaseConfig
*/
public string $backupHandler = 'dummy';

/**
* --------------------------------------------------------------------------
* Cache Directory Path
* --------------------------------------------------------------------------
*
* The path to where cache files should be stored, if using a file-based
* system.
*
* @deprecated Use the driver-specific variant under $file
*/
public string $storePath = WRITEPATH . 'cache/';

/**
* --------------------------------------------------------------------------
* Key Prefix
Expand Down Expand Up @@ -86,6 +74,7 @@ class Cache extends BaseConfig
* --------------------------------------------------------------------------
* File settings
* --------------------------------------------------------------------------
*
* Your file storage preferences can be specified below, if you are using
* the File driver.
*
Expand All @@ -100,6 +89,7 @@ class Cache extends BaseConfig
* -------------------------------------------------------------------------
* Memcached settings
* -------------------------------------------------------------------------
*
* Your Memcached servers can be specified below, if you are using
* the Memcached drivers.
*
Expand Down
15 changes: 0 additions & 15 deletions app/Config/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,3 @@
defined('EXIT_DATABASE') || define('EXIT_DATABASE', 8); // database error
defined('EXIT__AUTO_MIN') || define('EXIT__AUTO_MIN', 9); // lowest automatically-assigned error code
defined('EXIT__AUTO_MAX') || define('EXIT__AUTO_MAX', 125); // highest automatically-assigned error code

/**
* @deprecated Use \CodeIgniter\Events\Events::PRIORITY_LOW instead.
*/
define('EVENT_PRIORITY_LOW', 200);

/**
* @deprecated Use \CodeIgniter\Events\Events::PRIORITY_NORMAL instead.
*/
define('EVENT_PRIORITY_NORMAL', 100);

/**
* @deprecated Use \CodeIgniter\Events\Events::PRIORITY_HIGH instead.
*/
define('EVENT_PRIORITY_HIGH', 10);
2 changes: 2 additions & 0 deletions app/Config/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class Database extends Config
'failover' => [],
'port' => 3306,
'numberNative' => false,
'foundRows' => false,
'dateFormat' => [
'date' => 'Y-m-d',
'datetime' => 'Y-m-d H:i:s',
Expand All @@ -64,6 +65,7 @@ class Database extends Config
// 'failover' => [],
// 'foreignKeys' => true,
// 'busyTimeout' => 1000,
// 'synchronous' => null,
// 'dateFormat' => [
// 'date' => 'Y-m-d',
// 'datetime' => 'Y-m-d H:i:s',
Expand Down
12 changes: 10 additions & 2 deletions app/Config/Feature.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
class Feature extends BaseConfig
{
/**
* Use improved new auto routing instead of the default legacy version.
* Use improved new auto routing instead of the legacy version.
*/
public bool $autoRoutesImproved = false;
public bool $autoRoutesImproved = true;

/**
* Use filter execution order in 4.4 or before.
Expand All @@ -26,4 +26,12 @@ class Feature extends BaseConfig
* If false, `limit(0)` returns no records. (the behavior of 3.1.9 or later in version 3.x.)
*/
public bool $limitZeroAsAll = true;

/**
* Use strict location negotiation.
*
* By default, the locale is selected based on a loose comparison of the language code (ISO 639-1)
* Enabling strict comparison will also consider the region code (ISO 3166-1 alpha-2).
*/
public bool $strictLocaleNegotiation = false;
}
13 changes: 0 additions & 13 deletions app/Config/Format.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Config;

use CodeIgniter\Config\BaseConfig;
use CodeIgniter\Format\FormatterInterface;
use CodeIgniter\Format\JSONFormatter;
use CodeIgniter\Format\XMLFormatter;

Expand Down Expand Up @@ -62,16 +61,4 @@ class Format extends BaseConfig
'application/xml' => 0,
'text/xml' => 0,
];

/**
* A Factory method to return the appropriate formatter for the given mime type.
*
* @return FormatterInterface
*
* @deprecated This is an alias of `\CodeIgniter\Format\Format::getFormatter`. Use that instead.
*/
public function getFormatter(string $mime)
{
return service('format')->getFormatter($mime);
}
}
2 changes: 0 additions & 2 deletions app/Config/Kint.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Config;

use Kint\Parser\ConstructablePluginInterface;
use Kint\Renderer\AbstractRenderer;
use Kint\Renderer\Rich\TabPluginInterface;
use Kint\Renderer\Rich\ValuePluginInterface;

Expand Down Expand Up @@ -41,7 +40,6 @@ class Kint
*/
public string $richTheme = 'aante-light.css';
public bool $richFolder = false;
public int $richSort = AbstractRenderer::SORT_FULL;

/**
* @var array<string, class-string<ValuePluginInterface>>|null
Expand Down
2 changes: 1 addition & 1 deletion app/Config/Routing.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,5 @@ class Routing extends BaseRouting
*
* Default: false
*/
public bool $translateUriToCamelCase = false;
public bool $translateUriToCamelCase = true;
}
17 changes: 0 additions & 17 deletions app/Config/Security.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,21 +83,4 @@ class Security extends BaseConfig
* @see https://codeigniter4.github.io/userguide/libraries/security.html#redirection-on-failure
*/
public bool $redirect = (ENVIRONMENT === 'production');

/**
* --------------------------------------------------------------------------
* CSRF SameSite
* --------------------------------------------------------------------------
*
* Setting for CSRF SameSite cookie token.
*
* Allowed values are: None - Lax - Strict - ''.
*
* Defaults to `Lax` as recommended in this link:
*
* @see https://portswigger.net/web-security/csrf/samesite-cookies
*
* @deprecated `Config\Cookie` $samesite property is used.
*/
public string $samesite = 'Lax';
}
10 changes: 7 additions & 3 deletions app/Views/errors/html/debug.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ p.lead {
.header {
background: var(--light-bg-color);
color: var(--dark-text-color);
margin-top: 2.17rem;
}
.header .container {
padding: 1rem;
Expand All @@ -65,10 +66,13 @@ p.lead {
}

.environment {
background: var(--dark-bg-color);
color: var(--light-text-color);
background: var(--brand-primary-color);
color: var(--main-bg-color);
text-align: center;
padding: 0.2rem;
padding: calc(4px + 0.2083vw);
width: 100%;
margin-top: -2.14rem;
position: fixed;
}

.source {
Expand Down
84 changes: 84 additions & 0 deletions app/Views/errors/html/error_400.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><?= lang('Errors.badRequest') ?></title>

<style>
div.logo {
height: 200px;
width: 155px;
display: inline-block;
opacity: 0.08;
position: absolute;
top: 2rem;
left: 50%;
margin-left: -73px;
}
body {
height: 100%;
background: #fafafa;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #777;
font-weight: 300;
}
h1 {
font-weight: lighter;
letter-spacing: normal;
font-size: 3rem;
margin-top: 0;
margin-bottom: 0;
color: #222;
}
.wrap {
max-width: 1024px;
margin: 5rem auto;
padding: 2rem;
background: #fff;
text-align: center;
border: 1px solid #efefef;
border-radius: 0.5rem;
position: relative;
}
pre {
white-space: normal;
margin-top: 1.5rem;
}
code {
background: #fafafa;
border: 1px solid #efefef;
padding: 0.5rem 1rem;
border-radius: 5px;
display: block;
}
p {
margin-top: 1.5rem;
}
.footer {
margin-top: 2rem;
border-top: 1px solid #efefef;
padding: 1em 2em 0 2em;
font-size: 85%;
color: #999;
}
a:active,
a:link,
a:visited {
color: #dd4814;
}
</style>
</head>
<body>
<div class="wrap">
<h1>400</h1>

<p>
<?php if (ENVIRONMENT !== 'production') : ?>
<?= nl2br(esc($message)) ?>
<?php else : ?>
<?= lang('Errors.sorryBadRequest') ?>
<?php endif; ?>
</p>
</div>
</body>
</html>
Loading
Loading