55 Commits

Author SHA1 Message Date
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
John Paul E. Balandan, CPA
acdbc5dd0f
style: enable modernize_strpos 2024-04-15 20:57:47 +08:00
kenjis
eba1e9ea36
fix: method name case 2024-03-27 06:20:26 +09:00
kenjis
97de8bb3eb
refactor: move code from spark to Boot class 2024-03-27 06:20:25 +09:00
kenjis
41db766675
docs: update comments 2024-03-17 08:41:07 +09:00
kenjis
c5191a0893
refactor: remove rtrim() 2024-03-17 08:41:06 +09:00
kenjis
5338b3dbd0
refactor: move code to Boot class 2024-03-17 08:41:05 +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
a3bccfb126
fix: add missing LOAD ENVIRONMENT BOOTSTRAP 2024-03-15 21:07:56 +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
7e5f3d7e39
refactor: remove deprecated const SPARKED 2024-02-19 14:10:44 +09:00
kenjis
bb9e60e916
Merge remote-tracking branch 'upstream/develop' into 4.5
Conflicts:
	phpstan-baseline.php
	system/BaseModel.php
	system/Controller.php
	system/Helpers/array_helper.php
2023-12-19 11:35:20 +09:00
Thomas Meschke
0d277665e6
replace -1 with E_ALL in error_reporting calls 2023-11-14 11:24:56 +01:00
kenjis
fad1882d52
Change $minPhpVersion to 8.1 2023-10-13 17:25:17 +09:00
kenjis
5771057b81
Change min PHP version to 8.0 2023-09-23 14:06:34 +09:00
kenjis
db612fab7c
refactor: move definition of ENVIRONMENT to index.php/spark
For Config caching.
2023-08-16 14:24:00 +09:00
kenjis
5901d10c29
Merge remote-tracking branch 'upstream/develop' into 4.3 2022-08-04 09:15:31 +09:00
kenjis
6ac3a7bfe4
fix: move PHP version check to index.php/spark
If we use new syntax in new PHP version when dropping older PHP version support,
syntax error occurs before the PHP version check.
2022-08-01 16:46:38 +09:00
Andrey Pyzhikov
775fa7d4e3
Extracting the call handler for Spark commands from application. 2022-06-17 00:41:42 +08:00
kenjis
b2ed452f65
refactor: move chdir() up 2022-05-17 15:05:30 +09:00
kenjis
a2a9b6c118
refactor: remove variables 2022-05-17 15:05:30 +09:00
kenjis
788072724e
refactor: move error reporting config up 2022-05-17 15:05:30 +09:00
kenjis
1f6761b96c
refactor: move SAPI check up 2022-05-17 15:05:29 +09:00
kenjis
e2e94e8f0d
refactor: move DotEnv::load() from system/bootstrap.php 2022-05-17 15:05:29 +09:00
kenjis
b6a27dc512
chore: tweak the files so that their contents are as same as possible. 2022-05-17 15:05:29 +09:00
kenjis
1adabfe043
refactor: remove realpath()
No need to use it.
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
8815745381
refactor: CodeIgniter has context: web, php-cli, spark
Make the constant SPARKED deprecated.
Remove is_cli() in CodeIgniter.
2022-02-12 17:08:44 +09:00
John Paul E. Balandan, CPA
d0c7ec6c0e
Permit use of latest php-cs-fixer v3.6 2022-02-09 22:19:04 +08:00
John Paul E. Balandan, CPA
6524cccbd2
Master language constructs shall be used instead of aliases. 2021-06-19 01:34:44 +08:00
John Paul E. Balandan, CPA
d030096732
Enable braces 2021-06-08 10:15:25 +08:00
John Paul E. Balandan, CPA
7b37453fcc
Enable blank_line_before_statement fixer 2021-06-08 01:26:32 +08:00
John Paul E. Balandan, CPA
e04d17b390
Convert tabs to 4 spaces (#4771) 2021-06-04 22:51:52 +08:00
Abdul Malik Ikhsan
f92665b3e2
Use variable for Config/Paths config to reduce repetitive definition 2021-05-26 17:08:40 +07:00
MGatner
85fd51fa76
Add no-header to spark 2021-05-09 20:16:06 +00:00
Abdul Malik Ikhsan
bd65ddf5e8
move check to CodeIgniter class 2021-03-15 13:12:02 +07:00
Abdul Malik Ikhsan
61a886726f
[Requirement] MCreate CodeIgniter\PhpRequirement::validatePHPVersion() static method to check minimum valid PHP version 2021-03-15 13:12:02 +07:00
Abdul Malik Ikhsan
53e300dab0
Fix minPHPVersion in spark
Fixes #4213
2021-02-02 19:15:33 +07:00
EnixApp
c97b80c0df
spark: validate PHP version 2020-12-12 22:00:09 +07:00
John Paul E. Balandan, CPA
cef371e0a6
Update spark 2020-08-26 02:10:30 +08:00
Abdul Malik Ikhsan
105249cd0a
use DIRECTORY_SEPARATOR to replace / in FCPATH 2020-08-23 20:52:41 +07:00
Abdul Malik Ikhsan
968765d682
apply conditional realpath 2020-08-23 20:34:49 +07:00
Abdul Malik Ikhsan
e36605e4be
ensure add realpath() in spark 2020-08-23 14:50:41 +07:00
Abdul Malik Ikhsan
7073edbee6
using strpos instead of substr when possible 2020-07-12 16:02:12 +07:00
MGatner
4807590b13
Spark exit for error codes 2019-08-27 14:17:00 -04:00
Jim Parry
37110d53e1
Update docs - managing apps 2019-01-02 19:11:55 -08:00
Natan Felles
95193c5f61
Use app instead of application 2018-12-07 18:03:40 -02:00