kenjis
8254eb753d
refactor: replace empty()
2023-12-26 07:24:05 +09:00
kenjis
0ece99be51
refactor: replace empty()
2023-12-26 07:24:04 +09:00
kenjis
f4c17bbac1
fix: DOMParser cannot see element with id="0"
2023-12-22 10:07:10 +09:00
kenjis
b611d38267
docs: make @return more strict
2023-12-22 10:04:00 +09:00
kenjis
83c27c56ba
refactor: replace empty()
2023-12-21 10:10:37 +09:00
kenjis
2718024906
fix: remove unneeded conditions
2023-12-21 09:46:51 +09:00
kenjis
23a5c929f3
refactor: remove unneeded condition
2023-12-21 09:46:50 +09:00
kenjis
d258659947
refactor: apply DisallowedEmptyRuleFixerRector
2023-12-21 09:46:49 +09:00
kenjis
cec682b049
refactor: apply SimplifyEmptyCheckOnEmptyArrayRector
2023-12-17 17:32:04 +09:00
kenjis
b17dbf567a
fix: COMPOSER_PATH may be false
...
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
2023-12-09 17:46:29 +09:00
kenjis
1c20d68270
fix: autoload helpers in test bootstrap
2023-11-30 07:05:18 +09:00
kenjis
0dc64cd66b
fix: ErrorException : Undefined variable $filterClasses
2023-11-12 17:51:23 +09:00
kenjis
9d2b071389
docs: fix @param in ControllerTestTrait
2023-11-04 14:23:53 +09:00
John Paul E. Balandan, CPA
339d5276ab
Use native PHPDocs instead of @phpstan-
2023-10-29 23:55:08 +08:00
kenjis
66b572a2e4
fix: getFilterCaller() does not support Filter classes as array
2023-10-18 15:44:09 +09:00
Abdul Malik Ikhsan
ca30ea6af6
updated to only check not null
2023-10-16 11:36:17 +07:00
Abdul Malik Ikhsan
83ebb79d20
[Rector] Apply BooleanInIfConditionRuleFixerRector
2023-10-16 11:28:28 +07:00
Abdul Malik Ikhsan
576dd6853c
[Rector] Enable $rectorConfig->removeUnusedImports()
2023-10-16 06:59:56 +07:00
kenjis
93001f101a
fix: typo in method name
2023-10-03 15:41:02 +09:00
kenjis
262c048b3f
docs: add ","
2023-10-03 15:16:47 +09:00
kenjis
96a822e3cf
refactor: replace Services::request(config, false) with Services::incommingrequest()
...
The parameter $config and $getShared are deprecated.
2023-10-03 15:16:46 +09:00
Abdul Malik Ikhsan
64819ee8df
Merge pull request #7904 from kenjis/update-rector.php
...
chore: update rector.php
2023-09-08 23:10:47 +07:00
kenjis
6329255a8b
docs: add "see test" annotations
2023-09-08 17:35:23 +09:00
kenjis
436457338c
fix: deprecated code in PHP 8.3
...
Calling ReflectionProperty::setValue() with a 1st argument which is not null or an object is deprecated
2023-09-08 10:17:23 +09:00
kenjis
daa88116d6
Merge pull request #7890 from kenjis/fix-test-forceGlobalSecureRequests
...
fix: FeatureTest fails when forceGlobalSecureRequests is true
2023-09-05 05:35:40 +09:00
kenjis
5d40f6943b
Merge pull request #7867 from kenjis/fix-feature-test-buffering
...
fix: FeatureTest may cause risky tests
2023-09-04 11:29:48 +09:00
kenjis
c8fc3d8eeb
fix: HTTP tests fail when forceGlobalSecureRequests is true
2023-09-03 06:03:45 +09:00
kenjis
f34580d02b
docs: fix or remove @param
...
php-cs-fixer has been modified to remove these tags.
2023-08-30 09:48:17 +09:00
kenjis
9dd7cb040a
test: add test when filter returns response
2023-08-27 09:31:47 +09:00
kenjis
c6f3d57fdd
refactor: use Services::superglobals()
2023-08-16 14:07:58 +09:00
kenjis
d80c7b5a35
fix: ControllerTestTrait::withUri() updates Request instance
2023-08-16 14:07:55 +09:00
kenjis
f00cd8cfbd
fix: out-of-dated parameters
2023-08-16 14:07:52 +09:00
kenjis
9827e0e068
fix: use SiteURI in ControllerTestTrait
2023-08-16 14:07:50 +09:00
kenjis
de46d3e746
fix: SiteURI's query is not set in FeatureTestTrait
2023-08-16 14:07:50 +09:00
kenjis
d01c783a6f
refactor: current URI creation
2023-08-16 14:07:47 +09:00
kenjis
55d6ceed07
Merge remote-tracking branch 'upstream/develop' into 4.4
2023-08-16 07:41:42 +09:00
kenjis
68d21ebbf3
style: composer cs-fix
2023-08-15 06:56:59 +09:00
kenjis
006d38ce6f
docs: add @deprecated in MockCodeIgniter
2023-08-13 11:48:57 +09:00
kenjis
5b00242f77
Merge remote-tracking branch 'upstream/develop' into 4.4
...
Conflicts:
phpstan-baseline.php
2023-08-04 10:19:29 +09:00
Denny Septian Panggabean
3b07babded
docs: PHPStan Cache no type specified
2023-08-02 08:29:18 +07:00
kenjis
37449d3d3d
Merge remote-tracking branch 'upstream/develop' into 4.4
2023-07-05 10:53:48 +09:00
kenjis
d273222b7e
fix: [BC] change priority for request body
...
"withBodyFormat() and $params of call()" has higher priority than withBody().
2023-07-04 08:46:24 +09:00
kenjis
963b2e27f6
refactor: remove uneeded isset()
2023-07-04 08:46:23 +09:00
kenjis
d9d19c67d6
docs: fix @param type
2023-07-04 08:46:23 +09:00
kenjis
c7ec2c901c
fix: incorrect logic in setRequestBody()
...
- When it is a JSON/XML request, REQUEST global should be empty.
- When calling withBody() and withBodyFormat(), Content-Type is not set.
2023-07-04 08:46:23 +09:00
kenjis
79b83c0e40
fix: incorrect REQUEST superglobal data
2023-07-04 08:43:45 +09:00
kenjis
903fee87f6
refactor: add ()
2023-07-04 08:43:45 +09:00
kenjis
10f5034ce6
docs: add @param
2023-07-04 08:43:45 +09:00
kenjis
d96be52008
fix: FeatureTestTrait changes $params values passed to call()
2023-07-04 08:43:44 +09:00
kenjis
28f4a88166
fix: [BC] fix wrong types for Requests
...
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.
------ ------------------------------------------------------------------
2023-07-03 13:46:20 +09:00