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.4.6 Ready code #8575

Merged
merged 228 commits into from
Feb 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
228 commits
Select commit Hold shift + click to select a range
ebc3c27
test: add test for OCI8 getFieldData()
kenjis Jan 26, 2024
eec7a88
fix: OCI8 getFieldData() returns incorrect `default` value
kenjis Jan 26, 2024
61bff7e
test: update assertion
kenjis Jan 26, 2024
6ee59bd
fix: SQLite3 getFieldData() returns incorrect `primary_key` values
kenjis Jan 26, 2024
055c5ad
docs: replace MySQL with MySQLi
kenjis Jan 26, 2024
c86ddc5
docs: decorate text
kenjis Jan 26, 2024
c12aa14
test: sort field data
kenjis Jan 26, 2024
cc0e21f
test: refactor ImageMagickHandlerTest
paulbalandan Jan 26, 2024
4a949b3
fix: primary_key value
kenjis Jan 26, 2024
742d8f1
docs: add changelog and upgrade for v4.4.6
kenjis Jan 27, 2024
2de7be1
fix: fix the repeat status code 100 problem.
ping-yee Jan 27, 2024
0505252
style: apply new options to `phpdoc_align` fixer
paulbalandan Jan 26, 2024
a3cba00
Merge pull request #8462 from paulbalandan/cs-phpdoc-align
paulbalandan Jan 27, 2024
3734bbb
Merge pull request #8461 from paulbalandan/imagick-convert
paulbalandan Jan 27, 2024
d72a893
Merge pull request #8465 from kenjis/docs-changelog-4.4.6
kenjis Jan 27, 2024
917607c
test: add the test case for multiple HTTP100.
ping-yee Jan 28, 2024
9482b49
docs: add "Set Default Signing" section and refer it
kenjis Jan 29, 2024
7755703
docs: fix gramatically error
kenjis Jan 29, 2024
f8e1ca7
docs: remove "fzaninotto's"
kenjis Jan 29, 2024
0e00cac
docs: add empty line
kenjis Jan 29, 2024
9dbbe18
docs: update sample code
kenjis Jan 29, 2024
c4b1349
docs: add how to update PHPStan baseline
kenjis Jan 29, 2024
c26775b
docs: add `,`
kenjis Jan 29, 2024
589ad86
docs: add PHPDoc references
kenjis Jan 29, 2024
9200417
Merge pull request #8477 from kenjis/docs-pull_request-phpstan
kenjis Jan 29, 2024
11f792e
docs: fix phpstan errors on TestLogger
paulbalandan Jan 29, 2024
8fc9503
Merge pull request #8459 from kenjis/fix-oci8-getFieldData-default
kenjis Jan 30, 2024
aaef1de
Merge pull request #8475 from kenjis/docs-contrib-signing
kenjis Jan 30, 2024
0f5da08
docs: use GitHub markdown Note
kenjis Jan 29, 2024
aa47487
doc: improve description style and add link to forum
kenjis Jan 29, 2024
40b7b73
docs: remove link that don't make sense
kenjis Jan 29, 2024
9805314
docs: add links to user guide directories
kenjis Jan 29, 2024
cbbee76
docs: add message changes in Changelog
kenjis Jan 29, 2024
35a1dd8
docs: update example branch to 4.5
kenjis Jan 29, 2024
4dbc4d0
docs: break long lines
kenjis Jan 29, 2024
1469273
docs: use GitHub markdown Note
kenjis Jan 29, 2024
c334bac
docs: change section title
kenjis Jan 29, 2024
3be1f95
docs: use GitHub markdown IMPORTANT
kenjis Jan 29, 2024
d117b8a
docs: change NOTE to IMPORTANT
kenjis Jan 29, 2024
057bcbd
Merge pull request #8460 from kenjis/fix-sqlite3-getFieldData-primary…
kenjis Jan 30, 2024
aa6978e
fix: change order of properties in stdClass returned by getFieldData(…
kenjis Jan 30, 2024
dcd9451
docs: fix Generator -> Faker\Generator
kenjis Jan 30, 2024
f05859e
Merge pull request #8476 from kenjis/docs-fabricator.rst
kenjis Jan 30, 2024
a567d72
test: add assertions
kenjis Jan 26, 2024
b47e878
fix: SQLite3 Forge::modifyColumn() messes up table
kenjis Jan 26, 2024
8d0a5e5
test: update assertions for fromTable()
kenjis Jan 26, 2024
c28c0c3
fix: make default NULL when modifying column
kenjis Jan 26, 2024
eafb2d2
test: add test for SQLite3 Forge::modifyColumn()
kenjis Jan 30, 2024
26f786f
fix: SQLite3 Forge::modifyColumn() changes numeric default value
kenjis Jan 30, 2024
8d30df7
test: use variable $table
kenjis Jan 30, 2024
3e2d715
docs: add note to query->getFieldData()
kenjis Jan 30, 2024
e234370
chore(deps-dev): update rector/rector requirement from 0.19.2 to 0.19.5
dependabot[bot] Jan 30, 2024
9c669c3
Merge pull request #8484 from codeigniter4/dependabot/composer/rector…
samsonasik Jan 30, 2024
46b301f
Merge pull request #8474 from kenjis/docs-contrib-pr
kenjis Jan 30, 2024
d812ec9
Merge pull request #8483 from kenjis/fix-docs-getFieldData
kenjis Jan 30, 2024
e448aa7
Merge pull request #8479 from paulbalandan/test-logger-phpstan
kenjis Jan 30, 2024
65c6692
Merge pull request #8481 from kenjis/fix-getFieldData-property-order
kenjis Jan 30, 2024
f95f997
docs: update description for 404 Override
kenjis Jan 31, 2024
55a2932
test: rename test method name
kenjis Jan 30, 2024
53d592a
test: add property $table
kenjis Jan 30, 2024
956e815
test: rename method name
kenjis Jan 30, 2024
a444ab1
test: move $this->createTableForDefault() to child classes
kenjis Jan 30, 2024
c271e1f
test: add assertSameFieldData()
kenjis Jan 30, 2024
2b8b661
docs: fix supported SQL Server version
kenjis Jan 31, 2024
60042fb
docs: fix doc comments
kenjis Jan 31, 2024
c94e64a
Merge pull request #8488 from kenjis/docs-update-404-override
kenjis Jan 31, 2024
6607f15
Merge pull request #8480 from kenjis/test-refactor-getFieldData
kenjis Jan 31, 2024
02942c4
Merge pull request #8489 from kenjis/fix-docs-requirements-SQLSRV
kenjis Jan 31, 2024
c4de4f9
test: add tests for getFieldData() type
kenjis Jan 30, 2024
3438fe3
docs: decroate variables
kenjis Feb 1, 2024
fd7c8e2
docs: add `:lines: 2-`
kenjis Feb 1, 2024
de8d908
docs: fix sample code
kenjis Feb 1, 2024
887621c
docs: fix section order in testing
kenjis Feb 1, 2024
f4c8b5f
Merge pull request #8494 from kenjis/docs-testing/feature.rst
kenjis Feb 2, 2024
51965f3
Merge pull request #8495 from kenjis/docs-testing/index.rst
kenjis Feb 2, 2024
0a5adfc
docs: update description for CI apps
kenjis Feb 1, 2024
6afe975
docs: update description for test file locations
kenjis Feb 1, 2024
0d2cf34
docs: update sample code style
kenjis Feb 1, 2024
7d20c89
docs: add `namespace Tests;` to sample code
kenjis Feb 1, 2024
0aebebf
docs: change to FQCN
kenjis Feb 2, 2024
24ed52b
Merge pull request #8457 from kenjis/fix-sqlite3-modifyColumn
kenjis Feb 2, 2024
05962e9
docs: replace integer with int
kenjis Feb 2, 2024
3ca481c
Merge pull request #8500 from kenjis/update-cs-for-v3.49.0
kenjis Feb 2, 2024
e721328
docs: fix sample code in testing/controllers
kenjis Feb 1, 2024
1cd91a9
docs: fix test classname
kenjis Feb 2, 2024
a0bbb02
Merge pull request #8493 from kenjis/docs-testing/controllers
kenjis Feb 2, 2024
c36c1c5
Merge pull request #8492 from kenjis/docs-testing/overview.rst
kenjis Feb 2, 2024
eb88917
docs: fix incorrect @return type
kenjis Feb 2, 2024
59b5d12
docs: fix incorrect sample code
kenjis Feb 2, 2024
6d971af
docs: improve doc comments
kenjis Feb 2, 2024
1508db8
Merge pull request #8504 from kenjis/fix-docs-database/results
samsonasik Feb 2, 2024
bf05e2e
docs: fix wrong @param in Email
kenjis Feb 3, 2024
f5c3df5
docs: add signature for Closure in Router
kenjis Feb 3, 2024
267d6c0
docs: add () to methods for consistency
kenjis Feb 3, 2024
5cb6724
test: use array_sort_by_multiple_keys()
kenjis Feb 3, 2024
16317db
docs: add `:lines: 2-`
kenjis Feb 3, 2024
11d0066
docs: decorate text
kenjis Feb 3, 2024
826f163
docs: update starter/tests/README.md
kenjis Feb 3, 2024
9a11804
Merge pull request #8507 from kenjis/docs-array_helper.rst
kenjis Feb 3, 2024
b743fff
Merge pull request #8508 from kenjis/docs-update-starter/tests/README.md
kenjis Feb 3, 2024
a3b92fa
Merge pull request #8506 from kenjis/test-refactor-AbstractGetFieldDa…
kenjis Feb 3, 2024
d81b63d
docs: improve description for Environment Variables as Replacements f…
kenjis Feb 4, 2024
400d171
Reduce jobsize on rector config
samsonasik Feb 4, 2024
c3f646c
Merge pull request #8510 from codeigniter4/samsonasik-patch-1
samsonasik Feb 4, 2024
b0e1bf7
docs: add protocol-relative link to PHPDocs
kenjis Feb 4, 2024
c2cbf05
docs: add about missing protocol-relative link
kenjis Feb 4, 2024
d6d571b
Merge pull request #8503 from kenjis/fix-docs-ResultInterface-getCust…
kenjis Feb 4, 2024
8fbe586
Merge pull request #8505 from kenjis/fix-phpdocs
kenjis Feb 4, 2024
2930714
Merge pull request #8509 from kenjis/docs-configuration.rst-env-vars
kenjis Feb 4, 2024
a65b1c7
Merge pull request #8512 from kenjis/docs-base-url-protocol-relative
kenjis Feb 4, 2024
4538178
docs: modify sentences slightly
kenjis Feb 5, 2024
1f34ccf
docs: add link to detailed page
kenjis Feb 5, 2024
464ebb8
docs: update @var type
kenjis Feb 5, 2024
857e14e
docs: add "E.g.,"
kenjis Feb 5, 2024
1bbb26c
docs: add ","
kenjis Feb 5, 2024
4c03c93
docs: break long lines
kenjis Feb 5, 2024
e32d1d2
docs: remove duplicate space
kenjis Feb 5, 2024
61bf6fd
docs: add keyword "HSTS"
kenjis Feb 5, 2024
bf1057e
docs: improve readability
kenjis Feb 5, 2024
01f616a
chore(deps-dev): update rector/rector requirement from 0.19.5 to 0.19.8
dependabot[bot] Feb 5, 2024
06687e5
Merge pull request #8517 from codeigniter4/dependabot/composer/rector…
samsonasik Feb 5, 2024
17cd47c
Merge pull request #8515 from kenjis/docs-Config/App.php
kenjis Feb 5, 2024
9699a16
Merge pull request #8514 from kenjis/docs-running.rst
kenjis Feb 5, 2024
3d058b1
Merge pull request #8513 from kenjis/docs-entities
kenjis Feb 5, 2024
23a34df
chore: allow to use @property-read and @property-write
kenjis Feb 6, 2024
1ed7245
docs: add/update @property
kenjis Feb 6, 2024
069e9c6
chore(deps-dev): update rector/rector requirement from 0.19.8 to 1.0.0
dependabot[bot] Feb 6, 2024
6d3ffc0
docs: add links to view() function
kenjis Feb 7, 2024
9766069
docs: add link to view_renderer
kenjis Feb 7, 2024
0cec717
docs: make description more precise
kenjis Feb 7, 2024
28721e7
docs: add missing null to @param
kenjis Feb 7, 2024
d434b8f
docs: update doc comments
kenjis Feb 7, 2024
c060e01
fix: Postgre updateBatch() breaks `char` type data
kenjis Feb 7, 2024
c7bedbb
Merge pull request #8520 from codeigniter4/dependabot/composer/rector…
samsonasik Feb 8, 2024
345eb4a
refactor: possible one liner in Helper
ddevsr Feb 9, 2024
eec94a4
run rector
ddevsr Feb 9, 2024
b87ee39
revert comment
ddevsr Feb 9, 2024
93e281a
Merge pull request #8524 from kenjis/fix-postgre-updateBatch-character
kenjis Feb 10, 2024
af5d5df
Merge pull request #8482 from kenjis/test-add-getFieldData-type
kenjis Feb 10, 2024
924407f
Merge pull request #8519 from kenjis/fix-phpdoc-ConnectionInterface
kenjis Feb 10, 2024
fab5398
Merge pull request #8521 from kenjis/docs-view-and-view-renderer
kenjis Feb 10, 2024
d7449f6
Merge pull request #8522 from kenjis/fix-docs-RendererInterface
kenjis Feb 10, 2024
11db748
revert change in filesystem
ddevsr Feb 10, 2024
cf7ab9d
docs: add sample code to get URI segments
kenjis Feb 10, 2024
51baeff
update css for show tab debugbar
YapsBridging Jan 12, 2024
e48a4f3
remove inline style debugbar,welcome_message for CSP
YapsBridging Jan 12, 2024
1a53368
fix changes SCSS files did not match the expected CSS output
YapsBridging Jan 12, 2024
1f02846
update style & js
YapsBridging Jan 20, 2024
0732719
update style & js
YapsBridging Jan 21, 2024
aed6e96
remove change
ddevsr Feb 10, 2024
c563325
update css toolbar,welcome_message
YapsBridging Feb 11, 2024
b8cbcc3
docs: update descriptions
kenjis Feb 11, 2024
fb8c0b3
docs: fix RST format
kenjis Feb 11, 2024
626eb3a
docs: make more accurate
kenjis Feb 11, 2024
b7ef20e
docs: use validateData() instead of validate()
kenjis Feb 11, 2024
286f1c4
Merge pull request #8536 from kenjis/docs-installing_composer.rst
kenjis Feb 11, 2024
206d1ae
Merge pull request #8537 from kenjis/docs-uploaded_files-validate
kenjis Feb 11, 2024
78b3f60
docs: add empty lines
kenjis Feb 12, 2024
4009cc7
docs: change line break positions
kenjis Feb 12, 2024
4d390b6
docs: update "Is CodeIgniter Right for You?"
kenjis Feb 12, 2024
4c9bf0e
Merge pull request #8529 from ddevsr/refactor-possible-oneliner
kenjis Feb 12, 2024
3b1d8e3
Merge pull request #8411 from YapsBridging/csp
kenjis Feb 12, 2024
4057b08
docs: change the first sentence
kenjis Feb 12, 2024
a7f8163
Merge pull request #8532 from kenjis/docs-add-404-closure-sample-code
kenjis Feb 13, 2024
d7a4ba2
refactor: use official user guide URLs
kenjis Feb 13, 2024
654c5d7
refactor: use official site URL
kenjis Feb 13, 2024
0c166d2
test: fix the testcase to follow the http response spec.
ping-yee Feb 13, 2024
9758f90
docs: fix config filename routes.php
kenjis Feb 13, 2024
8b1fd98
Merge pull request #8541 from kenjis/use-official-user-guide-link
kenjis Feb 14, 2024
7d50bd3
Merge pull request #8542 from kenjis/fix-typo-routes.php
kenjis Feb 14, 2024
b292c6e
docs: fix @phpstan-type row_array
kenjis Feb 14, 2024
39e2283
fix: HTTP method name should be uppercase
kenjis Feb 14, 2024
b1418a1
fix: Time::createFromTimestamp() returns Time with UTC
kenjis Feb 14, 2024
3ba06c1
docs: use word "UNIX timestamp" for consistency
kenjis Feb 14, 2024
c52f308
docs: add user guide
kenjis Feb 14, 2024
c28d551
docs: replace link text `here`
kenjis Feb 16, 2024
358843d
docs: use GitHub markdown note
kenjis Feb 16, 2024
85ae66c
docs: update end of life dates for PHP
kenjis Feb 16, 2024
70d25a7
docs: decorate file name
kenjis Feb 16, 2024
f1c6367
docs: use codeigniter.com URLs for user gude
kenjis Feb 16, 2024
53f82f3
docs: replace $this->validate() with validateData()
kenjis Feb 16, 2024
7479779
chore(deps-dev): update rector/rector requirement from 1.0.0 to 1.0.1
dependabot[bot] Feb 16, 2024
7ef927b
Merge pull request #8552 from codeigniter4/dependabot/composer/rector…
samsonasik Feb 16, 2024
eff58b7
refactor: small improvement in loadInNamespace Autoloader
ddevsr Feb 16, 2024
d2d927e
refactor: small improvement in loadInNamespace Autoloader
ddevsr Feb 16, 2024
872025d
Merge pull request #8540 from kenjis/docs-update-welcome-to-ci4
kenjis Feb 17, 2024
62b570f
Merge pull request #8550 from kenjis/docs-replace-controller-validate
kenjis Feb 17, 2024
667b324
Merge pull request #8543 from kenjis/fix-phpdoc-BaseModel
kenjis Feb 17, 2024
bc0517f
Merge pull request #8466 from ping-yee/240127_curlrequest
kenjis Feb 17, 2024
73e7503
refactor: make effective loop directory if exists
ddevsr Feb 17, 2024
342dd3a
Merge pull request #8548 from kenjis/update-README
kenjis Feb 17, 2024
ef7b1e9
docs: add "Deployment to Shared Hosting Services"
kenjis Feb 17, 2024
b095128
refactor: remove redundant URL helper loading
kenjis Feb 18, 2024
0189cad
Merge pull request #8556 from kenjis/refactor-Test-bootstrap.php
kenjis Feb 18, 2024
7b6b7d0
fix: comments in template
kenjis Feb 19, 2024
40b9def
fix: add missing @param in template
kenjis Feb 19, 2024
a988a38
fix: @param in template
kenjis Feb 19, 2024
5ae47a3
fix: @return in template
kenjis Feb 19, 2024
b10baf4
docs: fix heading marks and title
kenjis Feb 20, 2024
9e1629e
docs: add empty line
kenjis Feb 20, 2024
d352ff7
docs: add `:lines: 2-`
kenjis Feb 20, 2024
5261a7e
docs: move "CodeIgniter Error Logs" from troubleshooting.rst
kenjis Feb 20, 2024
40144c4
docs: add empty line
kenjis Feb 20, 2024
9f513ae
docs: add "Logging All SQL Queries"
kenjis Feb 20, 2024
eb03676
docs: fix typo
kenjis Feb 20, 2024
f78b67a
Merge pull request #8564 from kenjis/docs-improve-debugging
kenjis Feb 20, 2024
fcd8597
Merge pull request #8544 from kenjis/fix-Time-createFromTimestamp
kenjis Feb 21, 2024
cc9ce52
Merge pull request #8553 from ddevsr/perf-load-namespace
kenjis Feb 21, 2024
b371688
Merge pull request #8554 from kenjis/docs-deploy-shared-hosting
kenjis Feb 22, 2024
fdd44e8
docs: add note for index.php change
kenjis Feb 16, 2024
d11bbbd
docs: add about Shared Hosting
kenjis Feb 16, 2024
a9c17a9
docs: add link to "Deployment to Shared Hosting Services"
kenjis Feb 22, 2024
f7492e5
Merge pull request #8545 from kenjis/fix-word-UNIX-timestamp
kenjis Feb 22, 2024
65c6a61
Merge pull request #8549 from kenjis/docs-upgrade_4xx.rst
kenjis Feb 22, 2024
9e37810
style: break long lines
kenjis Dec 11, 2023
ce34999
refactor: use $this->logger instead of log_message()
kenjis Dec 11, 2023
849b93a
fix: Redis Session race condition
kenjis Dec 11, 2023
63beda2
fix: close() should return false if releaseLock() failed
kenjis Feb 22, 2024
7707ddf
fix: read() should return false if lockSession() failed
kenjis Feb 22, 2024
0617a7b
refactor: by rector
kenjis Feb 22, 2024
2fa55d4
docs: add @throws
kenjis Feb 23, 2024
4b8a38d
fix: add type int for $id
kenjis Feb 23, 2024
3c5a22e
Merge pull request #8561 from kenjis/fix-types-in-controller.tpl.php
kenjis Feb 23, 2024
48a8c81
Merge pull request #8323 from kenjis/fix-redis-session
kenjis Feb 23, 2024
da4030e
Prep for 4.4.6 release
kenjis Feb 24, 2024
bf39b5d
style: fix by php-cs-fixer v3.50.0
kenjis Feb 24, 2024
f5f1e5e
docs: remove unneeded section title
kenjis Feb 24, 2024
0613449
Merge pull request #8574 from kenjis/release-4.4.6
kenjis Feb 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 29 additions & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,35 @@
__DIR__ . '/spark',
]);

$overrides = [];
$overrides = [
'phpdoc_no_alias_tag' => [
'replacements' => [
'type' => 'var',
'link' => 'see',
],
],
'phpdoc_align' => [
'align' => 'vertical',
'spacing' => 1,
'tags' => [
'method',
'param',
'phpstan-assert',
'phpstan-assert-if-true',
'phpstan-assert-if-false',
'phpstan-param',
'phpstan-property',
'phpstan-return',
'property',
'property-read',
'property-write',
'return',
'throws',
'type',
'var',
],
],
];

$options = [
'cacheFile' => 'build/.php-cs-fixer.cache',
Expand Down
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# Changelog

## [v4.4.6](https://github.com/codeigniter4/CodeIgniter4/tree/v4.4.6) (2024-02-24)
[Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.4.5...v4.4.6)

### Breaking Changes

* fix: Time::createFromTimestamp() returns Time with UTC by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8544

### Fixed Bugs

* fix: [OCI8] getFieldData() returns incorrect `default` value by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8459
* fix: [SQLite3] getFieldData() returns incorrect `primary_key` values by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8460
* fix: [OCI8][Postgre][SQLSRV][SQLite3] change order of properties returned by getFieldData() by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8481
* docs: fix supported SQL Server version by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8489
* fix: [SQLite3] Forge::modifyColumn() messes up table by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8457
* docs: fix incorrect @return type in `ResultInterface-getCustomRowObject()` by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8503
* fix: [Postgre] updateBatch() breaks `char` type data by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8524
* fix: DebugBar block by CSP by @YapsBridging in https://github.com/codeigniter4/CodeIgniter4/pull/8411
* docs: fix `@phpstan-type` in Model by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8543
* fix: [CURLRequest] Multiple HTTP 100 return by API. by @ping-yee in https://github.com/codeigniter4/CodeIgniter4/pull/8466
* fix: PHPDoc types in controller.tpl.php by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8561
* fix: [Session] Redis session race condition by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8323

### Refactoring

* test: refactor ImageMagickHandlerTest by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/8461
* test: refactor GetFieldDataTest by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8480
* refactor: use ternary operators in Helpers by @ddevsr in https://github.com/codeigniter4/CodeIgniter4/pull/8529
* refactor: use official site URLs by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8541
* refactor: remove redundant URL helper loading by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8556
* refactor: small improvement in `loadInNamespace` Autoloader by @ddevsr in https://github.com/codeigniter4/CodeIgniter4/pull/8553

## [v4.4.5](https://github.com/codeigniter4/CodeIgniter4/tree/v4.4.5) (2024-01-27)
[Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.4.4...v4.4.5)

Expand Down
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ More information about the plans for version 4 can be found in [CodeIgniter 4](h

### Documentation

The [User Guide](https://codeigniter4.github.io/userguide/) is the primary documentation for CodeIgniter 4.
The [User Guide](https://codeigniter.com/user_guide/) is the primary documentation for CodeIgniter 4.

The current **in-progress** User Guide can be found [here](https://codeigniter4.github.io/CodeIgniter4/).
You will also find the [current **in-progress** User Guide](https://codeigniter4.github.io/CodeIgniter4/).
As with the rest of the framework, it is a work in progress, and will see changes over time to structure, explanations, etc.

You might also be interested in the [API documentation](https://codeigniter4.github.io/api/) for the framework components.

## Important Change with index.php

index.php is no longer in the root of the project! It has been moved inside the *public* folder,
`index.php` is no longer in the root of the project! It has been moved inside the *public* folder,
for better security and separation of components.

This means that you should configure your web server to "point" to your project's *public* folder, and
Expand All @@ -48,9 +48,10 @@ CodeIgniter is developed completely on a volunteer basis. As such, please give u
for your issues to be reviewed. If you haven't heard from one of the team in that time period,
feel free to leave a comment on the issue so that it gets brought back to our attention.

We use GitHub issues to track **BUGS** and to track approved **DEVELOPMENT** work packages.
We use our [forum](http://forum.codeigniter.com) to provide SUPPORT and to discuss
FEATURE REQUESTS.
> [!IMPORTANT]
> We use GitHub issues to track **BUGS** and to track approved **DEVELOPMENT** work packages.
> We use our [forum](http://forum.codeigniter.com) to provide SUPPORT and to discuss
> FEATURE REQUESTS.

If you raise an issue here that pertains to support or a feature request, it will
be closed! If you are not sure if you have found a bug, raise a thread on the forum first -
Expand Down Expand Up @@ -91,10 +92,11 @@ PHP version 7.4 or higher is required, with the following extensions installed:
- [intl](http://php.net/manual/en/intl.requirements.php)
- [mbstring](http://php.net/manual/en/mbstring.installation.php)

> **Warning**
> The end of life date for PHP 7.4 was November 28, 2022. If you are
> still using PHP 7.4, you should upgrade immediately. The end of life date
> for PHP 8.0 will be November 26, 2023.
> [!WARNING]
> The end of life date for PHP 7.4 was November 28, 2022.
> The end of life date for PHP 8.0 was November 26, 2023.
> If you are still using PHP 7.4 or 8.0, you should upgrade immediately.
> The end of life date for PHP 8.1 will be November 25, 2024.

Additionally, make sure that the following extensions are enabled in your PHP:

Expand Down
50 changes: 49 additions & 1 deletion admin/css/debug-toolbar/toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,11 @@
text-align: right;
}
}

// show tab
&>.debug-bar-dblock {
display: block;
}
}


Expand Down Expand Up @@ -467,7 +472,6 @@
@import '_theme-light';
}


// LAYOUT HELPERS
// ========================================================================== */

Expand Down Expand Up @@ -510,3 +514,47 @@
.debug-bar-noverflow {
overflow: hidden;
}

.debug-bar-dtableRow {
display: table-row;
}

.debug-bar-dinlineBlock {
display: inline-block;
}

.debug-bar-pointer {
cursor: pointer;
}

.debug-bar-mleft4 {
margin-left: 4px;
}

.debug-bar-level-0 {
--level: 0;
}

.debug-bar-level-1 {
--level: 1;
}

.debug-bar-level-2 {
--level: 2;
}

.debug-bar-level-3 {
--level: 3;
}

.debug-bar-level-4 {
--level: 4;
}

.debug-bar-level-5 {
--level: 5;
}

.debug-bar-level-6 {
--level: 6;
}
13 changes: 7 additions & 6 deletions admin/framework/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ It has been built from the

More information about the plans for version 4 can be found in [CodeIgniter 4](https://forum.codeigniter.com/forumdisplay.php?fid=28) on the forums.

The user guide corresponding to the latest version of the framework can be found
[here](https://codeigniter4.github.io/userguide/).
You can read the [user guide](https://codeigniter.com/user_guide/)
corresponding to the latest version of the framework.

## Important Change with index.php

Expand Down Expand Up @@ -47,10 +47,11 @@ PHP version 7.4 or higher is required, with the following extensions installed:
- [intl](http://php.net/manual/en/intl.requirements.php)
- [mbstring](http://php.net/manual/en/mbstring.installation.php)

> **Warning**
> The end of life date for PHP 7.4 was November 28, 2022. If you are
> still using PHP 7.4, you should upgrade immediately. The end of life date
> for PHP 8.0 will be November 26, 2023.
> [!WARNING]
> The end of life date for PHP 7.4 was November 28, 2022.
> The end of life date for PHP 8.0 was November 26, 2023.
> If you are still using PHP 7.4 or 8.0, you should upgrade immediately.
> The end of life date for PHP 8.1 will be November 25, 2024.

Additionally, make sure that the following extensions are enabled in your PHP:

Expand Down
13 changes: 7 additions & 6 deletions admin/starter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ It has been built from the

More information about the plans for version 4 can be found in [CodeIgniter 4](https://forum.codeigniter.com/forumdisplay.php?fid=28) on the forums.

The user guide corresponding to the latest version of the framework can be found
[here](https://codeigniter4.github.io/userguide/).
You can read the [user guide](https://codeigniter.com/user_guide/)
corresponding to the latest version of the framework.

## Installation & updates

Expand Down Expand Up @@ -55,10 +55,11 @@ PHP version 7.4 or higher is required, with the following extensions installed:
- [intl](http://php.net/manual/en/intl.requirements.php)
- [mbstring](http://php.net/manual/en/mbstring.installation.php)

> **Warning**
> The end of life date for PHP 7.4 was November 28, 2022. If you are
> still using PHP 7.4, you should upgrade immediately. The end of life date
> for PHP 8.0 will be November 26, 2023.
> [!WARNING]
> The end of life date for PHP 7.4 was November 28, 2022.
> The end of life date for PHP 8.0 was November 26, 2023.
> If you are still using PHP 7.4 or 8.0, you should upgrade immediately.
> The end of life date for PHP 8.1 will be November 25, 2024.

Additionally, make sure that the following extensions are enabled in your PHP:

Expand Down
26 changes: 11 additions & 15 deletions admin/starter/tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ use to test your application. Those details can be found in the documentation.

## Resources

* [CodeIgniter 4 User Guide on Testing](https://codeigniter4.github.io/userguide/testing/index.html)
* [CodeIgniter 4 User Guide on Testing](https://codeigniter.com/user_guide/testing/index.html)
* [PHPUnit docs](https://phpunit.de/documentation.html)
* [Any tutorials on Unit testing in CI4?](https://forum.codeigniter.com/showthread.php?tid=81830)

## Requirements

It is recommended to use the latest version of PHPUnit. At the time of this
writing we are running version 9.x. Support for this has been built into the
writing, we are running version 9.x. Support for this has been built into the
**composer.json** file that ships with CodeIgniter and can easily be installed
via [Composer](https://getcomposer.org/) if you don't already have it installed globally.

Expand All @@ -35,10 +35,10 @@ for code coverage to be calculated successfully. After installing `XDebug`, you

A number of the tests use a running database.
In order to set up the database edit the details for the `tests` group in
**app/Config/Database.php** or **phpunit.xml**.
**app/Config/Database.php** or **.env**.
Make sure that you provide a database engine that is currently running on your machine.
More details on a test database setup are in the
[Testing Your Database](https://codeigniter4.github.io/userguide/testing/database.html) section of the documentation.
[Testing Your Database](https://codeigniter.com/user_guide/testing/database.html) section of the documentation.

## Running the tests

Expand Down Expand Up @@ -92,12 +92,11 @@ HTML code coverage reports.
## Test Cases

Every test needs a *test case*, or class that your tests extend. CodeIgniter 4
provides a few that you may use directly:
* `CodeIgniter\Test\CIUnitTestCase` - for basic tests with no other service needs
* `CodeIgniter\Test\DatabaseTestTrait` - for tests that need database access
provides one class that you may use directly:
* `CodeIgniter\Test\CIUnitTestCase`

Most of the time you will want to write your own test cases to hold functions and services
common to your test suites.
Most of the time you will want to write your own test cases that extend `CIUnitTestCase`
to hold functions and services common to your test suites.

## Creating Tests

Expand All @@ -112,11 +111,8 @@ Review the links above and always pay attention to your code coverage.

### Database Tests

Tests can include migrating, seeding, and testing against a mock or live<sup>1</sup> database.
Tests can include migrating, seeding, and testing against a mock or live database.
Be sure to modify the test case (or create your own) to point to your seed and migrations
and include any additional steps to be run before tests in the `setUp()` method.

<sup>1</sup> Note: If you are using database tests that require a live database connection
you will need to rename **phpunit.xml.dist** to **phpunit.xml**, uncomment the database
configuration lines and add your connection details. Prevent **phpunit.xml** from being
tracked in your repo by adding it to **.gitignore**.
See [Testing Your Database](https://codeigniter.com/user_guide/testing/database.html)
for details.
31 changes: 16 additions & 15 deletions app/Config/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ class App extends BaseConfig
* URL to your CodeIgniter root. Typically, this will be your base URL,
* WITH a trailing slash:
*
* http://example.com/
* E.g., http://example.com/
*/
public string $baseURL = 'http://localhost:8080/';

/**
* Allowed Hostnames in the Site URL other than the hostname in the baseURL.
* If you want to accept multiple Hostnames, set this.
*
* E.g. When your site URL ($baseURL) is 'http://example.com/', and your site
* also accepts 'http://media.example.com/' and
* 'http://accounts.example.com/':
* ['media.example.com', 'accounts.example.com']
* E.g.,
* When your site URL ($baseURL) is 'http://example.com/', and your site
* also accepts 'http://media.example.com/' and 'http://accounts.example.com/':
* ['media.example.com', 'accounts.example.com']
*
* @var list<string>
*/
Expand All @@ -36,9 +36,9 @@ class App extends BaseConfig
* Index File
* --------------------------------------------------------------------------
*
* Typically this will be your index.php file, unless you've renamed it to
* something else. If you are using mod_rewrite to remove the page set this
* variable so that it is blank.
* Typically, this will be your `index.php` file, unless you've renamed it to
* something else. If you have configured your web server to remove this file
* from your site URIs, set this variable to an empty string.
*/
public string $indexPage = 'index.php';

Expand All @@ -48,12 +48,12 @@ class App extends BaseConfig
* --------------------------------------------------------------------------
*
* This item determines which server global should be used to retrieve the
* URI string. The default setting of 'REQUEST_URI' works for most servers.
* URI string. The default setting of 'REQUEST_URI' works for most servers.
* If your links do not seem to work, try one of the other delicious flavors:
*
* 'REQUEST_URI' Uses $_SERVER['REQUEST_URI']
* 'QUERY_STRING' Uses $_SERVER['QUERY_STRING']
* 'PATH_INFO' Uses $_SERVER['PATH_INFO']
* 'REQUEST_URI': Uses $_SERVER['REQUEST_URI']
* 'QUERY_STRING': Uses $_SERVER['QUERY_STRING']
* 'PATH_INFO': Uses $_SERVER['PATH_INFO']
*
* WARNING: If you set this to 'PATH_INFO', URIs will always be URL-decoded!
*/
Expand Down Expand Up @@ -94,7 +94,7 @@ class App extends BaseConfig
*
* IncomingRequest::setLocale() also uses this list.
*
* @var string[]
* @var list<string>
*/
public array $supportedLocales = ['en'];

Expand All @@ -106,7 +106,8 @@ class App extends BaseConfig
* The default timezone that will be used in your application to display
* dates with the date helper, and can be retrieved through app_timezone()
*
* @see https://www.php.net/manual/en/timezones.php for list of timezones supported by PHP.
* @see https://www.php.net/manual/en/timezones.php for list of timezones
* supported by PHP.
*/
public string $appTimezone = 'UTC';

Expand All @@ -130,7 +131,7 @@ class App extends BaseConfig
* If true, this will force every request made to this application to be
* made via a secure connection (HTTPS). If the incoming request is not
* secure, the user will be redirected to a secure version of the page
* and the HTTP Strict Transport Security header will be set.
* and the HTTP Strict Transport Security (HSTS) header will be set.
*/
public bool $forceGlobalSecureRequests = false;

Expand Down
Loading
Loading