John Paul E. Balandan, CPA
|
797d37751a
|
Merge branch 'develop' into 4.6
|
2025-01-13 11:15:24 +08:00 |
|
John Paul E. Balandan, CPA
|
c3ac0f9483
|
chore: add more trailing commas in more places (#9395)
* Apply to parameters
* Apply to array destructuring
* Apply to match
* Apply for arguments
|
2025-01-13 11:03:02 +08:00 |
|
michalsn
|
c32dcd4329
|
Merge remote-tracking branch 'upstream/develop' into 4.6
# Conflicts:
# system/Autoloader/Autoloader.php
# system/BaseModel.php
# system/CLI/CLI.php
# system/Database/MigrationRunner.php
# system/Exceptions/PageNotFoundException.php
# system/Router/RouteCollection.php
# system/Validation/FileRules.php
# tests/system/Autoloader/AutoloaderTest.php
# tests/system/Filters/FiltersTest.php
# tests/system/Test/ControllerTestTraitTest.php
# tests/system/Test/FeatureTestTraitTest.php
# tests/system/Validation/CreditCardRulesTest.php
# tests/system/Validation/FileRulesTest.php
# tests/system/Validation/StrictRules/DatabaseRelatedRulesTest.php
# tests/system/Validation/StrictRules/FileRulesTest.php
# tests/system/View/ViewTest.php
|
2024-11-17 12:21:31 +01:00 |
|
neznaika0
|
417cbd2198
|
refactor: Fix phpstan errors related to Autoloader (#9249)
* refactor: Fix `phpstan` errors related to `Autoloader`
* fix: Update @ignore-line
* fix: Save `realpath()` as variable
* refactor: `phpstan` strict comparison
* fix: Restore check helpers
|
2024-11-17 10:49:47 +01:00 |
|
neznaika0
|
583e7b61da
|
refactor: up performance service()
|
2024-11-09 08:44:46 +03:00 |
|
kenjis
|
10ba2ebe7e
|
Merge remote-tracking branch 'upstream/develop' into 4.6
Conflicts:
tests/system/Autoloader/AutoloaderTest.php
tests/system/CommonFunctionsTest.php
tests/system/Config/ServicesTest.php
|
2024-07-29 10:17:29 +09:00 |
|
John Paul E. Balandan, CPA
|
e33e6f22d3
|
Fix phpunit errors
|
2024-07-28 21:57:35 +08:00 |
|
kenjis
|
a640e3b175
|
Merge pull request #8728 from kenjis/exception-rework-4.6
fix: Exception rework
|
2024-05-23 21:05:04 +09:00 |
|
John Paul E. Balandan, CPA
|
13015dbb94
|
run composer cs-fix
|
2024-05-08 00:05:51 +08:00 |
|
kenjis
|
8de2d7004f
|
test: use CodeIgniter\Exceptions\InvalidArgumentException
|
2024-05-06 19:19:26 +09:00 |
|
kenjis
|
8e75308f86
|
test: use odeIgniter\Exceptions\RuntimeException
|
2024-05-06 19:19:26 +09:00 |
|
kenjis
|
9a7cae807d
|
test: composer cs-fix
|
2024-05-06 09:19:46 +09:00 |
|
John Paul E. Balandan, CPA
|
c841fb8343
|
Run rector
|
2024-05-05 23:16:30 +08:00 |
|
John Paul E. Balandan, CPA
|
fe997e4104
|
Enable php_unit_attributes
|
2024-05-05 23:09:04 +08:00 |
|
kenjis
|
38d4aa7a87
|
test: workaround for errors on PHPUnit 10 and PHP 8.3
|
2024-04-07 12:38:09 +09:00 |
|
kenjis
|
688fe66826
|
refactor: add declare(strict_types=1) to tests files
|
2023-11-30 16:14:49 +09:00 |
|
John Paul E. Balandan, CPA
|
339d5276ab
|
Use native PHPDocs instead of @phpstan-
|
2023-10-29 23:55:08 +08:00 |
|
John Paul E. Balandan, CPA
|
c713580141
|
Add Closure signature
|
2023-08-02 10:30:50 +08:00 |
|
John Paul E. Balandan, CPA
|
62feafc004
|
Remove trimming logic of Autoloader::loadClass()
|
2023-08-02 10:27:35 +08:00 |
|
John Paul E. Balandan, CPA
|
f075b7cd13
|
Return signatures of Autoloader's loaders should be void
|
2023-08-01 18:38:41 +08:00 |
|
John Paul E. Balandan, CPA
|
361cb3f277
|
Add void return to tests
|
2023-07-29 22:59:04 +08:00 |
|
kenjis
|
f38806bd08
|
Merge remote-tracking branch 'origin/develop' into 4.3
Conflicts:
tests/system/CLI/CommandRunnerTest.php
user_guide_src/source/changelogs/index.rst
user_guide_src/source/installation/upgrading.rst
|
2022-11-06 07:42:53 +09:00 |
|
John Paul E. Balandan, CPA
|
ce64c72c06
|
Add @group Others to all other tests (#6770)
|
2022-11-04 18:27:05 +08:00 |
|
John Paul E. Balandan, CPA
|
e85085c3cb
|
CS fix for AutoloaderTest (#6790)
|
2022-10-30 22:29:25 +08:00 |
|
kenjis
|
0b5fda7690
|
feat: add config checking
|
2022-09-14 11:50:59 +09:00 |
|
kenjis
|
cc995a3ff7
|
test: fix typo
|
2022-09-14 11:50:59 +09:00 |
|
kenjis
|
8c99deddd4
|
feat: add manual config for Composer package auto-discovery
|
2022-09-14 11:50:57 +09:00 |
|
kenjis
|
b2d5f79dec
|
style: composer cs-fix
|
2022-09-06 08:51:40 +09:00 |
|
kenjis
|
4e3e20c64b
|
test: add @runInSeparateProcess
|
2022-08-22 15:58:54 +09:00 |
|
kenjis
|
6f8cacea80
|
test: refactor tests
|
2022-08-22 15:58:05 +09:00 |
|
kenjis
|
1e945cb3c9
|
feat: add $helpers to Config\Autoload
|
2022-08-22 15:58:05 +09:00 |
|
kenjis
|
413facca0f
|
test: unregister autoloaders that are registered in testing
|
2022-08-22 15:58:05 +09:00 |
|
kenjis
|
307e194872
|
fix: preg_last_error_msg() can be used in PHP 8.0 or later
|
2022-07-01 16:48:28 +09:00 |
|
kenjis
|
bbfd392db7
|
test: add test for regex error
|
2022-07-01 16:04:30 +09:00 |
|
kenjis
|
62b20ac568
|
feat: better exception message
|
2022-06-28 15:07:15 +09:00 |
|
kenjis
|
e6c000896c
|
feat: throw Exception if file path contains special char
|
2022-06-28 11:33:20 +09:00 |
|
Abdul Malik Ikhsan
|
a5dc4859b1
|
remove unused private property via RemoveUnusedPrivatePropertyRector
|
2022-04-29 01:49:57 +07:00 |
|
Abdul Malik Ikhsan
|
4fef2bc5af
|
[Rector] Apply PrivatizeFinalClassPropertyRector
|
2022-04-29 01:32:05 +07:00 |
|
Abdul Malik Ikhsan
|
f8ed66d524
|
re-run rector 0.12.22 locally
|
2022-04-29 00:07:19 +07:00 |
|
kenjis
|
0208c720f2
|
fix: Composer PSR-4 overwrites Config\Autoload::$psr4
|
2022-04-15 14:00:25 +09:00 |
|
kenjis
|
de7c19c456
|
test: fix assertions
If we use Compoesr autoloader, the path would be like `/vendor/composer/../../app/Controllers/Home.php`.
|
2022-04-03 07:58:07 +09:00 |
|
Abdul Malik Ikhsan
|
0176bb4224
|
exclude native classes
|
2022-03-21 01:40:53 +07:00 |
|
Abdul Malik Ikhsan
|
4f97aac344
|
[Rector] Clean up skip config and re-run Rector
|
2022-03-19 23:30:10 +07:00 |
|
kenjis
|
35a33ca2c9
|
test: add test
|
2022-01-19 16:33:11 +09:00 |
|
John Paul E. Balandan, CPA
|
0ee2b2f922
|
Add file-level headers
|
2021-07-19 23:04:56 +08:00 |
|
John Paul E. Balandan, CPA
|
a6cfb8c1e6
|
Remove useless code separator comments (#4946)
|
2021-07-19 21:08:51 +08:00 |
|
John Paul E. Balandan, CPA
|
2d11584a0e
|
Strive for stricter assertions
|
2021-06-27 00:49:59 +08:00 |
|
John Paul E. Balandan, CPA
|
7e4e56c72a
|
Test classes should be marked as final and internal
|
2021-06-25 22:27:37 +08:00 |
|
Toto
|
d71c67ffe4
|
Enable ordered_imports
|
2021-06-11 00:42:49 +08:00 |
|
John Paul E. Balandan, CPA
|
5333844a19
|
Shift binary alignment to align_single_space_minimal
|
2021-06-10 00:35:54 +08:00 |
|