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
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix: primary_key value
kenjis committed Jan 26, 2024

Verified

This commit was signed with the committer’s verified signature.
kenjis kenjis
commit 4a949b373b06e7855335534d1d842ac0d3b6f3d5
13 changes: 8 additions & 5 deletions system/Database/SQLite3/Connection.php
Original file line number Diff line number Diff line change
@@ -269,11 +269,14 @@ protected function _fieldData(string $table): array
for ($i = 0, $c = count($query); $i < $c; $i++) {
$retVal[$i] = new stdClass();

$retVal[$i]->name = $query[$i]->name;
$retVal[$i]->type = $query[$i]->type;
$retVal[$i]->max_length = null;
$retVal[$i]->default = $query[$i]->dflt_value;
$retVal[$i]->primary_key = $query[$i]->pk ?? false;
$retVal[$i]->name = $query[$i]->name;
$retVal[$i]->type = $query[$i]->type;
$retVal[$i]->max_length = null;
$retVal[$i]->default = $query[$i]->dflt_value;
// "pk" (either zero for columns that are not part of the primary key,
// or the 1-based index of the column within the primary key).
// https://www.sqlite.org/pragma.html#pragma_table_info
$retVal[$i]->primary_key = ($query[$i]->pk === 0) ? 0 : 1;
$retVal[$i]->nullable = isset($query[$i]->notnull) && ! (bool) $query[$i]->notnull;
}

59 changes: 59 additions & 0 deletions tests/system/Database/Live/SQLite3/GetFieldDataTest.php
Original file line number Diff line number Diff line change
@@ -102,4 +102,63 @@ public function testGetFieldData(): void
json_encode($fields)
);
}

protected function createTableCompositePrimaryKey()
{
$this->forge->dropTable('test1', true);

$this->forge->addField([
'pk1' => [
'type' => 'VARCHAR',
'constraint' => 64,
],
'pk2' => [
'type' => 'VARCHAR',
'constraint' => 64,
],
'text' => [
'type' => 'VARCHAR',
'constraint' => 64,
],
]);
$this->forge->addPrimaryKey(['pk1', 'pk2']);
$this->forge->createTable('test1');
}

public function testGetFieldDataCompositePrimaryKey(): void
{
$this->createTableCompositePrimaryKey();

$fields = $this->db->getFieldData('test1');

$this->assertJsonStringEqualsJsonString(
json_encode([
(object) [
'name' => 'pk1',
'type' => 'VARCHAR',
'max_length' => null,
'default' => null,
'primary_key' => 1,
'nullable' => false,
],
(object) [
'name' => 'pk2',
'type' => 'VARCHAR',
'max_length' => null,
'default' => null,
'primary_key' => 1,
'nullable' => false,
],
(object) [
'name' => 'text',
'type' => 'VARCHAR',
'max_length' => null,
'default' => null,
'primary_key' => 0,
'nullable' => false,
],
]),
json_encode($fields)
);
}
}

Unchanged files with check annotations Beta

$this->assertSame(200, $this->handler->getHeight());
}
public function testImageCreation(): void

Check warning on line 313 in tests/system/Images/ImageMagickHandlerTest.php

GitHub Actions / Others (8.1) / Sanity Tests

Took 0.51s from 0.50s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageCreation
{
foreach (['gif', 'jpeg', 'png', 'webp'] as $type) {
if ($type === 'webp' && ! in_array('WEBP', Imagick::queryFormats(), true)) {
$this->assertSame(exif_imagetype($this->root . 'ci-logo.png'), IMAGETYPE_PNG);
}
public function testImageReorientLandscape(): void

Check warning on line 410 in tests/system/Images/ImageMagickHandlerTest.php

GitHub Actions / Others (8.1) / Sanity Tests

Took 0.59s from 0.50s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientLandscape
{
for ($i = 0; $i <= 8; $i++) {
$source = $this->origin . 'EXIFsamples/landscape_' . $i . '.jpg';
}
}
public function testImageReorientPortrait(): void

Check warning on line 429 in tests/system/Images/ImageMagickHandlerTest.php

GitHub Actions / Others (8.1) / Sanity Tests

Took 0.55s from 0.50s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientPortrait
{
for ($i = 0; $i <= 8; $i++) {
$source = $this->origin . 'EXIFsamples/portrait_' . $i . '.jpg';
$this->forge->dropTable('', true);
}
public function testForeignKey(): void

Check warning on line 443 in tests/system/Database/Live/ForgeTest.php

GitHub Actions / DatabaseLive (8.1, OCI8, 8.0) / tests

Took 3.28s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
{
$this->forge->dropTable('forge_test_invoices', true);
$this->forge->dropTable('forge_test_users', true);
$this->forge->dropTable('forge_test_1', true);
}
public function testSetKeyNames(): void

Check warning on line 1185 in tests/system/Database/Live/ForgeTest.php

GitHub Actions / DatabaseLive (8.1, OCI8, 8.0) / tests

Took 1.44s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
{
$this->forge->dropTable('forge_test_1', true);
$this->forge->dropTable('forge_test_four', true);
}
public function testDropKey(): void

Check warning on line 1509 in tests/system/Database/Live/ForgeTest.php

GitHub Actions / DatabaseLive (8.1, OCI8, 8.0) / tests

Took 1.22s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
{
$this->forge->dropTable('key_test_users', true);
$keyName = 'key_test_users_id';
$this->forge->dropTable('forge_test_users', true);
}
public function testProcessIndexes(): void

Check warning on line 1596 in tests/system/Database/Live/ForgeTest.php

GitHub Actions / DatabaseLive (8.1, OCI8, 8.0) / tests

Took 1.94s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes

Check warning on line 1596 in tests/system/Database/Live/ForgeTest.php

GitHub Actions / DatabaseLive (8.1, SQLSRV, 8.0) / tests

Took 0.52s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
{
// make sure tables don't exist
$this->forge->dropTable('actions', true);
$this->assertSame($expected, $result);
}
public function testMigrateWithWithTwoNamespaces(): void

Check warning on line 97 in tests/system/Commands/Database/MigrateStatusTest.php

GitHub Actions / DatabaseLive (8.1, OCI8, 8.0) / tests

Took 1.74s from 0.50s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateWithWithTwoNamespaces
{
command('migrate -n App');
command('migrate -n Tests\\\\Support');
$this->assertFalse($this->createRules()->is_unique('deva@example.com', 'user.email,id,{id}', []));
}
public function testIsUniqueIntValueByManualRun(): void

Check warning on line 155 in tests/system/Validation/StrictRules/DatabaseRelatedRulesTest.php

GitHub Actions / DatabaseLive (8.1, OCI8, 8.0) / tests

Took 1.51s from 0.50s limit to run CodeIgniter\\Validation\\StrictRules\\DatabaseRelatedRulesTest::testIsUniqueIntValueByManualRun
{
Database::connect()
->table('user')
$this->assertSame('MySQLi', $this->getPrivateProperty($db1, 'DBDriver'));
}
public function testConnectWithFailover(): void

Check warning on line 95 in tests/system/Database/Live/ConnectTest.php

GitHub Actions / DatabaseLive (8.1, OCI8, 8.0) / tests

Took 1.38s from 0.50s limit to run CodeIgniter\\Database\\Live\\ConnectTest::testConnectWithFailover
{
$this->tests['failover'][] = $this->tests;
unset($this->tests['failover'][0]['failover']);
$this->seeInDatabase('job', ['name' => 'Grocery Sales']);
}
public function testInsertBatch(): void

Check warning on line 50 in tests/system/Database/Live/InsertTest.php

GitHub Actions / DatabaseLive (8.1, OCI8, 8.0) / tests

Took 1.24s from 0.50s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
{
$table = 'type_test';
$this->assertTrue($this->model->save($entity));
}
public function testSaveNewEntityWithDate(): void

Check warning on line 250 in tests/system/Models/SaveModelTest.php

GitHub Actions / DatabaseLive (8.1, OCI8, 8.0) / tests

Took 1.13s from 0.50s limit to run CodeIgniter\\Models\\SaveModelTest::testSaveNewEntityWithDate
{
$entity = new class () extends Entity {
protected $id;
);
}
public function testDeleteBatchWithQuery(): void

Check warning on line 147 in tests/system/Database/Live/DeleteTest.php

GitHub Actions / DatabaseLive (8.1, OCI8, 8.0) / tests

Took 1.12s from 0.50s limit to run CodeIgniter\\Database\\Live\\DeleteTest::testDeleteBatchWithQuery
{
$this->forge = Database::forge($this->DBGroup);