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

Initial license #1

Merged
merged 2 commits into from
Aug 27, 2015
Merged

Initial license #1

merged 2 commits into from
Aug 27, 2015

Conversation

jim-parry
Copy link
Contributor

No description provided.

jim-parry added a commit that referenced this pull request Aug 27, 2015
@jim-parry jim-parry merged commit 1dbaa46 into codeigniter4:develop Aug 27, 2015
@jim-parry jim-parry deleted the license branch May 19, 2016 08:30
@dayrui dayrui mentioned this pull request Jul 22, 2016
lonnieezell pushed a commit that referenced this pull request Jul 25, 2016
lonnieezell pushed a commit that referenced this pull request Mar 6, 2017
Merge from offcial [bcit-ci/CodeIgniter4]
@puschie286 puschie286 mentioned this pull request May 23, 2017
lonnieezell pushed a commit that referenced this pull request Oct 24, 2017
lonnieezell pushed a commit that referenced this pull request Nov 29, 2017
lonnieezell pushed a commit that referenced this pull request Jul 8, 2018
lonnieezell pushed a commit that referenced this pull request Oct 17, 2018
lonnieezell pushed a commit that referenced this pull request Nov 9, 2018
lonnieezell pushed a commit that referenced this pull request Jan 23, 2019
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
lonnieezell pushed a commit that referenced this pull request Apr 1, 2019
lonnieezell pushed a commit that referenced this pull request Apr 19, 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;
	}
```
kenjis added a commit that referenced this pull request Jan 12, 2023
TypeError : CodeIgniter\Validation\Rules::is_unique(): Argument #1 ($str) must be of type ?string, int given, called in /.../CodeIgniter4/system/Validation/StrictRules/Rules.php on line 154
 /.../CodeIgniter4/system/Validation/Rules.php:126
kenjis added a commit that referenced this pull request Jul 5, 2023
Fixes the following errors:
 ------ ------------------------------------------------------------------
  Line   system/CodeIgniter.php
 ------ ------------------------------------------------------------------
  529    Parameter #1 $request of method
         CodeIgniter\Cache\PageCache::cachePage() expects
         CodeIgniter\HTTP\CLIRequest|CodeIgniter\HTTP\IncomingRequest,
         CodeIgniter\HTTP\Request|null given.
  685    Parameter #1 $request of method
         CodeIgniter\Cache\PageCache::getCachedResponse() expects
         CodeIgniter\HTTP\CLIRequest|CodeIgniter\HTTP\IncomingRequest,
         CodeIgniter\HTTP\Request|null given.
 ------ ------------------------------------------------------------------
kenjis added a commit that referenced this pull request Nov 30, 2023
1) CodeIgniter\Commands\Database\ShowTableInfoTest::testDbTableMetadata
TypeError: CodeIgniter\Commands\Database\ShowTableInfo::setYesOrNo(): Argument #1 ($fieldValue) must be of type bool, int given, called in /home/runner/work/CodeIgniter4/CodeIgniter4/system/Commands/Database/ShowTableInfo.php on line 286

/home/runner/work/CodeIgniter4/CodeIgniter4/system/Commands/Database/ShowTableInfo.php:297
/home/runner/work/CodeIgniter4/CodeIgniter4/system/Commands/Database/ShowTableInfo.php:286
/home/runner/work/CodeIgniter4/CodeIgniter4/system/Commands/Database/ShowTableInfo.php:144
/home/runner/work/CodeIgniter4/CodeIgniter4/system/CLI/Commands.php:67
/home/runner/work/CodeIgniter4/CodeIgniter4/system/Common.php:198
/home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Commands/Database/ShowTableInfoTest.php:98
kenjis added a commit that referenced this pull request Nov 30, 2023
1) CodeIgniter\Models\InsertModelTest::testInsertPermitInsertNoData
TypeError: strcspn(): Argument #1 ($string) must be of type string, int given

/home/runner/work/CodeIgniter4/CodeIgniter4/system/Database/BaseConnection.php:1042
/home/runner/work/CodeIgniter4/CodeIgniter4/system/Database/BaseConnection.php:1029
/home/runner/work/CodeIgniter4/CodeIgniter4/system/Model.php:308
/home/runner/work/CodeIgniter4/CodeIgniter4/system/BaseModel.php:782
/home/runner/work/CodeIgniter4/CodeIgniter4/system/Model.php:707
/home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Models/InsertModelTest.php:255
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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant