kenjis
842fd6eae9
feat: "system/bootstrap.php" shows upgrade error message
2024-03-17 12:48:15 +09:00
kenjis
16718829d1
refactor: extract Boot class
2024-03-17 08:41:04 +09:00
kenjis
10a60e03bb
fix: index.php and spark do not work
2024-03-15 21:07:56 +09:00
kenjis
ff6a2d5e40
fix: move LOAD ENVIRONMENT BOOTSTRAP to index.php
...
This was in CodeIgniter::initialize(), so it was called only in web.
2024-03-15 21:07:55 +09:00
kenjis
fb00173561
refactor: remove variables
2024-03-15 21:07:54 +09:00
kenjis
83c15b90de
refactor: move CodeIgniter::resolvePlatformExtensions() to bootstrap.php
2024-03-15 21:07:54 +09:00
kenjis
66c81bcc13
refactor: move Services::exceptions()->initialize() to bootstrap.php
2024-03-15 21:07:53 +09:00
kenjis
e670df1ed9
refactor: move DEFINE ENVIRONMENT to bootstrap.php
2024-03-15 21:07:53 +09:00
kenjis
c1575909b8
docs: add comment headings
2024-03-15 21:07:53 +09:00
kenjis
4e602a66f3
refactor: move CodeIgniter::bootstrapEnvironment() to bootstrap.php
2024-03-15 21:07:52 +09:00
kenjis
470dace722
docs: remove unneeded @var
2024-03-15 21:07:52 +09:00
kenjis
28a8009179
refactor: move CodeIgniter::initializeKint() to Autoloader
2024-03-15 21:07:51 +09:00
kenjis
25ec3df976
refactor: add declare(strict_types=1)
to system files
2023-11-30 16:14:48 +09:00
kenjis
7b70ee111f
refactor: delete duplicate codes for Composer loading
2023-10-04 18:00:54 +09:00
kenjis
b4b9829960
refactor: autoload URL helper in Autoloader
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
d777cee7eb
refactor: remove CodeIgniter\Services
...
It seems it is not needed.
2022-05-31 11:29:05 +09:00
Abdul Malik Ikhsan
ffe1ad44b7
clean up config, re-run rector, and set alias to Config\ClassName when lastname is exists in use statements
2022-05-30 22:48:39 +07:00
kenjis
b2ed452f65
refactor: move chdir() up
2022-05-17 15:05:30 +09:00
kenjis
e2e94e8f0d
refactor: move DotEnv::load() from system/bootstrap.php
2022-05-17 15:05:29 +09:00
kenjis
f26943cfd8
refactor: move CodeIgniter instantiation from system/bootstrap.php
2022-05-17 15:05:28 +09:00
kenjis
19d9f111dc
fix: VENDORPATH definition
...
When using multiple apps, vendor/ is not ROOTPATH/vendor/.
2021-12-11 10:59:30 +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
d030096732
Enable braces
2021-06-08 10:15:25 +08:00
John Paul E. Balandan, CPA
e04d17b390
Convert tabs to 4 spaces ( #4771 )
2021-06-04 22:51:52 +08:00
Mostafa Khudair
48b11ad689
Clean code
2021-03-01 20:44:40 +02:00
kenjis
3f8968c626
feat: use Services::codeigniter()
2021-03-01 16:24:10 +09:00
Abdul Malik Ikhsan
ea8396abff
run rector
2021-01-31 01:03:11 +08:00
Mostafa Khudair
3640bdc3dd
using is_file for checking files
...
using is_file instead of file_exists for more performance
2020-11-04 18:56:49 +02:00
Mostafa Khudair
c48a4d1f28
revert some changes
2020-11-03 19:46:10 +02:00
Mostafa Khudair
e3800de780
Optimize bootstrap
...
remove useless require Config/Services.php
load autoloader directly from BaseService::autoloader();
2020-11-03 18:56:41 +02:00
John Paul E. Balandan, CPA
c3dcd05e35
Use short notices for header docblock
2020-10-25 21:38:43 +08:00
Abdul Malik Ikhsan
d3aa71f84e
Add Custom PHPStan rule to check Use statements after license docblock
2020-10-18 15:57:35 +07:00
Abdul Malik Ikhsan
b8ad7782ab
apply rector: set auto import FQCN
2020-10-11 13:22:34 +07:00
John Paul E. Balandan, CPA
4f38b1639c
Optimize bootstrap files
2020-08-28 19:29:52 +08:00
Abdul Malik Ikhsan
b898978879
apply phpstan level 1
2020-08-17 12:33:17 +07:00
Abdul Malik Ikhsan
b6a3a9dcc4
apply FileLocator::legacyLocate() autoloader to only locate app directory
2020-08-10 14:49:28 +07:00
mostafakhudair
ef624c705a
Move shouldDiscover in a new system/Modules class
...
Creating new system/Modules/Modules.php file and moves shouldDiscover function into it away from user hand like before app/Config/Modules.php
to help avoid tampering with the core functions
2020-06-05 09:19:38 +02:00
Abdul Malik Ikhsan
3e3026b1ce
move out require_once of AutoloaderConfig to bootstrap as well
2020-05-12 05:51:59 +07:00
Abdul Malik Ikhsan
93ea8157c0
ensure load "SYSTEMPATH . Config/Services.php" in system/bootstrap.php
2020-05-12 05:26:50 +07:00
John Paul E. Balandan, CPA
4cb62d1023
Removed view paths on paths to clean
2020-04-20 18:12:25 +08:00
John Paul E. Balandan, CPA
aa1b3cfb52
Normalize dir separator of Exceptions::cleanPath
2020-04-19 21:58:45 +08:00
Lonnie Ezell
fed757bee0
It is now 2020
2020-02-06 22:58:39 -06:00
Jim Parry
e8ae780d83
CodeIgniter Foundation gets copyright [ci skip]
2019-10-19 00:43:47 -07:00
Lonnie Ezell
10ad52e18f
Fix typo and format issue.
2019-08-27 23:00:26 -05:00
Jason Napolitano
1abccce729
Added app/Common.php
...
A commit that will hopefully help with this topic: #2101 . This is a re-submit due to lack of GPG signing in the previous PR: https://github.com/codeigniter4/CodeIgniter4/pull/2105
2019-07-27 18:17:00 -07:00
Jim Parry
fd1486fd1c
Update docblock version to 4.0.0
2019-05-04 00:58:04 -07:00
Lonnie Ezell
22c93a5312
Composer PSR4 namespaces are now part of the modules auto-discovery system. Fixes #1662
2019-01-15 21:42:30 -06:00
Lonnie Ezell
81d3715f87
Safety checks for config files during autoload and migrations so that they can be overridden when framework is used only to allow testing a third party framework.
2019-01-01 13:59:57 -06:00
Jim Parry
7643dbfc95
Update copyright to 2019
2018-12-26 21:49:51 -08:00