Uh oh!
There was an error while loading. Please reload this page.
Initial license - #1
Merged
Merged
Conversation
Closed
lonnieezell pushed a commit
that referenced
this pull request
Mar 6, 2017
Merge from offcial [bcit-ci/CodeIgniter4]
Closed
lonnieezell pushed a commit
that referenced
this pull request
Oct 24, 2017
Dynamic Debug-Views onclick
lonnieezell pushed a commit
that referenced
this pull request
Nov 9, 2018
lonnieezell pushed a commit
that referenced
this pull request
Mar 2, 2019
jim-parry pushed a commit
that referenced
this pull request
Mar 9, 2019
jim-parry pushed a commit
that referenced
this pull request
Mar 11, 2019
jim-parry pushed a commit
that referenced
this pull request
Oct 4, 2019
fix issue on session_regenerate.
MGatner pushed a commit
that referenced
this pull request
Nov 14, 2019
Add validation function `in_db`
nowackipawel added a commit
to nowackipawel/ci4-old
that referenced
this pull request
Dec 10, 2019
newest version.
CRITICAL - 2019-12-10 19:17:06 --> Argument 2 passed to dot_array_search() must be of the type array, null given, called in /home/zdamy/site/system/Session/Session.php on line 500
#0 /home/zdamy/site/system/Session/Session.php(500): dot_array_search('ausItem', NULL)
codeigniter4#1 /home/zdamy/site/system/Common.php(347): CodeIgniter\Session\Session->get('ausItem')
codeigniter4#2 /home/zdamy/site/app/Models/AdminUserModel.php(87): session('ausItem')
BTW/ I am not sure if that method should not look like:
```
public function get(string $key = null)
{
if (! empty($key))
{
if(! is_null($value = dot_array_search($key, $_SESSION??[])))
{
return $value;
}
return null;
}
elseif (empty($_SESSION))
{
return [];
}
$userdata = [];
$_exclude = array_merge(
['__ci_vars'], $this->getFlashKeys(), $this->getTempKeys()
);
$keys = array_keys($_SESSION);
foreach ($keys as $key)
{
if (! in_array($key, $_exclude, true))
{
$userdata[$key] = $_SESSION[$key];
}
}
return $userdata;
}
```5 tasks
kenjis added a commit
that referenced
this pull request
Nov 30, 2023
1) CodeIgniter\Database\Live\DbUtilsTest::testUtilsCSVFromResult TypeError: str_replace(): Argument #3 ($subject) must be of type array|string, int given /home/runner/work/CodeIgniter4/CodeIgniter4/system/Database/BaseUtils.php:217 /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Database/Live/DbUtilsTest.php:186 2) CodeIgniter\Database\Live\DbUtilsTest::testUtilsXMLFromResult TypeError: xml_convert(): Argument #1 ($str) must be of type string, int given, called in /home/runner/work/CodeIgniter4/CodeIgniter4/system/Database/BaseUtils.php on line 249 /home/runner/work/CodeIgniter4/CodeIgniter4/system/Helpers/xml_helper.php:20 /home/runner/work/CodeIgniter4/CodeIgniter4/system/Database/BaseUtils.php:249 /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Database/Live/DbUtilsTest.php:199
kenjis added a commit
that referenced
this pull request
Nov 30, 2023
There were 2 errors: 1) CodeIgniter\Database\Live\UpsertTest::testUpsertWithMatchingDataOnUniqueIndexandPrimaryKey TypeError: strtoupper(): Argument #1 ($string) must be of type string, int given /home/runner/work/CodeIgniter4/CodeIgniter4/system/Database/Postgre/Builder.php:364 /home/runner/work/CodeIgniter4/CodeIgniter4/system/Database/BaseBuilder.php:1790 /home/runner/work/CodeIgniter4/CodeIgniter4/system/Database/BaseBuilder.php:1927 /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Database/Live/UpsertTest.php:410 2) CodeIgniter\Database\Live\UpsertTest::testUpsertBatchOnPrimaryKey TypeError: strtoupper(): Argument #1 ($string) must be of type string, int given /home/runner/work/CodeIgniter4/CodeIgniter4/system/Database/Postgre/Builder.php:364 /home/runner/work/CodeIgniter4/CodeIgniter4/system/Database/BaseBuilder.php:1790 /home/runner/work/CodeIgniter4/CodeIgniter4/system/Database/BaseBuilder.php:1961 /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Database/Live/UpsertTest.php:457 -- There was 1 failure: 1) CodeIgniter\Database\Live\UpsertTest::testUpsertCauseConstraintError Failed asserting that exception of type "TypeError" matches expected exception "CodeIgniter\Database\Exceptions\DatabaseException". Message was: "trim(): Argument #1 ($string) must be of type string, CodeIgniter\Database\RawSql given" at /home/runner/work/CodeIgniter4/CodeIgniter4/system/Database/Postgre/Builder.php:360 /home/runner/work/CodeIgniter4/CodeIgniter4/system/Database/BaseBuilder.php:1790 /home/runner/work/CodeIgniter4/CodeIgniter4/system/Database/BaseBuilder.php:1927 /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Database/Live/UpsertTest.php:303
kenjis added a commit
that referenced
this pull request
Dec 9, 2023
PHP Fatal error: Uncaught TypeError: is_file(): Argument #1 ($filename) must be of type string, bool given in /home/runner/work/CodeIgniter4/CodeIgniter4/system/Autoloader/Autoloader.php:126
kenjis added a commit
that referenced
this pull request
Feb 4, 2024
PHP Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated
kenjis added a commit
that referenced
this pull request
Mar 30, 2024
TypeError: urldecode(): Argument #1 ($string) must be of type string, null given
kenjis added a commit
that referenced
this pull request
Apr 9, 2024
TypeError: str_contains(): Argument #1 ($haystack) must be of type string, null given
allyblaise added a commit
to allyblaise/CodeIgniter4
that referenced
this pull request
Apr 19, 2024
…of type ?int, string given
kenjis added a commit
that referenced
this pull request
Jul 1, 2024
TypeError: trim(): Argument #1 ($string) must be of type string, CodeIgniter\Database\RawSql given
kenjis added a commit
that referenced
this pull request
Aug 27, 2024
TypeError: str_contains(): Argument #1 ($haystack) must be of type string, int given
Merged
5 tasks
patel-vansh added a commit
to patel-vansh/CodeIgniter4
that referenced
this pull request
Feb 8, 2026
paulbalandan pushed a commit
that referenced
this pull request
Feb 15, 2026
* Created a method to clear nonce placeholders. * Added tests * cs-fix * Fix static analysis errors * Fixed `Argument #1 ($text) must be of type string, null given` error * Apply code suggestions Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com> * Fix the failing test case * Remove unused function * Updated docs * Addressing the review on tests. * Addressing the case when both $CSPEnabled and $autoNonce are false. * Applying suggested fix. * Simplifying code according to review. * Used Services::injectMock instead of ReflectionClass
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.