442 Commits

Author SHA1 Message Date
dependabot[bot]
1955a33b99
chore(deps-dev): update rector/rector requirement from 2.0.8 to 2.0.9
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/2.0.8...2.0.9)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 15:15:28 +00:00
dependabot[bot]
aa90aab952
chore(deps-dev): update rector/rector requirement from 2.0.7 to 2.0.8
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/2.0.7...2.0.8)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-06 15:24:09 +00:00
Abdul Malik Ikhsan
faeedb5a7e
chore: try using codeigniter/phpstan-codeigniter:1.x-dev 2025-01-25 03:18:52 +07:00
John Paul E. Balandan, CPA
47e36c9674
chore: try a universal branch alias 2025-01-25 03:05:06 +08:00
John Paul E. Balandan, CPA
b5e9715518
refactor: fix rector change on RedirectException (#9433) 2025-01-25 00:43:15 +08:00
John Paul E. Balandan, CPA
e475fd8fa4
Merge branch 'develop' into 4.6 2025-01-08 02:49:47 +08:00
Abdul Malik Ikhsan
ac9c1683e4
chore: Bump to Rector 2.0.6 2025-01-06 21:04:21 +07:00
michalsn
c3bfac5261
Merge remote-tracking branch 'upstream/develop' into 4.6
# Conflicts:
#	composer.json
#	utils/phpstan-baseline/missingType.iterableValue.neon
2025-01-06 09:51:34 +01:00
Abdul Malik Ikhsan
2fc2314946
chore: Bump to PHPStan 2.0.5 2025-01-06 01:10:21 +07:00
John Paul E. Balandan, CPA
4a0d845fd7
Merge branch 'develop' into 4.6 2024-12-29 02:35:17 +08:00
John Paul E. Balandan, CPA
ebb5bd7149
chore: add branch-alias for master branch (#9346) 2024-12-29 02:08:37 +08:00
John Paul E. Balandan, CPA
c7548a3771
Merge branch 'develop' into 4.6 2024-12-29 00:21:53 +08:00
Abdul Malik Ikhsan
ee4ee987b1
refactor: enable instanceof and strictBooleans rector set (#9339)
* refactor: enable instanceof and strictBooleans rector set

* refactor: bump to rector 2.0.4

* refactor: clean condition check

* refactor: revert ThirdParty change

* refactor: re-run phpstan baseline

* refactor: fix never empty array on Image

* refactor: avoid repetitive call pg_last_error()

* refactor: pg_last_error() always returns string

* refactor: use return empty string on pg_last_error() got empty "0"

* refactor: various compare !== 1 on preg_match()

* refactor: use falsy check on getenv()

* refactor: more !== 1 compare on preg_match()

* refactor: use empty string check on guessExtension

* refactor: run cs fix

* refactor: more !== 1 compare on preg_match()

* use direct result of pg_last_error()

* refactor: use str_contains() over strpos on Forge

* refactor: fix unused variable

* refactor: check empty string on ResponseTrait

* refactor: more preg_match() and empty string only check

* refactor: compare to 0 on preg_match_all()

* refactor: re-run rector

* refactor: preg_match_all() likely less to return false
2024-12-28 23:16:32 +08:00
John Paul E. Balandan, CPA
3a90d72e4e
chore: fix errors on merging develop to 4.6 (#9332)
* re-bump dependencies

* regenerate phpstan baseline
2024-12-20 08:04:29 +08:00
John Paul E. Balandan, CPA
bd5945df9b
Merge branch 'develop' into 4.6 2024-12-19 16:39:09 +08:00
Denny Septian Panggabean
cd5dda1037
feat: full support on PHP8.4 (#9255)
* refactor: review github CI on PHP8.4

* refactor: bump fakerphp/faker to v1.24 as minimum required

* refactor: bump mikey179/vfsstream to v1.6.12 as minimum required

* refactor: bump predis/predis to v2.3 as minimum required

* temporary ignore env PHP-CS-Fixer in github action
2024-12-17 08:52:53 +01:00
Abdul Malik Ikhsan
61881bd3fa
refactor: upgrade to use phpstan 2 and rector 2 (#9322) 2024-12-16 02:03:01 +08:00
John Paul E. Balandan, CPA
242745c661
refactor: split phpstan-baseline into smaller files (#9299)
* refactor: split phpstan-baseline into smaller files

* Checkout base branch to resolve codeigniter4/framework

* Fix rector changes
2024-12-15 08:38:40 +08:00
Denny Septian Panggabean
c46cea4ee0
chore: update Kint to v6.0 (#9289)
* feat: update kint to v6.0

* fix: run cs
2024-12-02 07:17:23 +01: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
dependabot[bot]
aad4820f9b
chore(deps-dev): update rector/rector requirement from 1.2.9 to 1.2.10
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/1.2.9...1.2.10)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-08 15:58:26 +00:00
dependabot[bot]
9773ed11ad
chore(deps-dev): update rector/rector requirement from 1.2.8 to 1.2.9
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/1.2.8...1.2.9)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 15:04:03 +00:00
Denny Septian Panggabean
fff0c87664
refactor: bump laminas/laminas-escaper to v2.14 minimum required (#9254)
* refactor: dump laminas/laminas-escaper to v2.14 minimum required

* refactor: dump laminas/laminas-escaper in framework
2024-11-05 08:14:10 +01:00
michalsn
b837ab92a5
Merge remote-tracking branch 'upstream/develop' into 4.6 2024-10-20 11:06:55 +02:00
dependabot[bot]
f53ae7570c
chore(deps-dev): update rector/rector requirement from 1.2.7 to 1.2.8
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/1.2.7...1.2.8)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-18 15:09:40 +00:00
michalsn
b068de9e36
Merge remote-tracking branch 'upstream/develop' into 4.6 2024-10-17 17:48:11 +02:00
dependabot[bot]
8f4b0dafaa
chore(deps-dev): update rector/rector requirement from 1.2.6 to 1.2.7
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/1.2.6...1.2.7)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 15:30:18 +00:00
kenjis
f5b210015d
Merge remote-tracking branch 'upstream/develop' into 4.6 2024-10-04 08:38:10 +09:00
dependabot[bot]
d385aa0f04
chore(deps-dev): update rector/rector requirement from 1.2.5 to 1.2.6
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-03 15:13:54 +00:00
kenjis
d005c44cd5
Merge remote-tracking branch 'upstream/develop' into 4.6
Conflicts:
	user_guide_src/source/changelogs/index.rst
	user_guide_src/source/installation/upgrading.rst
2024-09-10 18:27:50 +09:00
dependabot[bot]
377679065f
chore(deps-dev): update rector/rector requirement from 1.2.4 to 1.2.5
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/1.2.4...1.2.5)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 15:43:31 +00:00
kenjis
388fed8422
Merge pull request #9137 from kenjis/add-php84-GA-phpunit-4.6
[4.6] chore: add PHP 8.4 to test-phpunit.yml
2024-08-29 10:06:04 +09:00
dependabot[bot]
fe00974dff
chore(deps-dev): update rector/rector requirement from 1.2.3 to 1.2.4
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-23 15:15:27 +00:00
kenjis
296c5a5091
chore: add "--ignore-platform-req=php" temporarily
Error: Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - vimeo/psalm[5.0.0, ..., 5.13.1] require php ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 -> your php version (8.4.0-dev) does not satisfy that requirement.
    - vimeo/psalm[5.14.0, ..., 5.25.0] require php ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.4.0-dev) does not satisfy that requirement.
    - Root composer.json requires vimeo/psalm ^5.0 -> satisfiable by vimeo/psalm[5.0.0, ..., 5.25.0].

Script @composer update --working-dir=utils handling the post-autoload-dump event returned with error code 2
Error: Process completed with exit code 2.
2024-08-22 08:09:05 +09:00
dependabot[bot]
62c8f3bc0f
chore(deps-dev): update rector/rector requirement from 1.2.2 to 1.2.3
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/1.2.2...1.2.3)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-13 15:14:34 +00:00
John Paul E. Balandan, CPA
ab87a9cae8
Update phpunit to ^10.5.16 || ^11.2 2024-07-28 21:57:34 +08:00
kenjis
3e88f85044
Merge pull request #9075 from paulbalandan/phpstan-scripts
chore: add composer scripts for phpstan
2024-07-26 09:13:23 +09:00
dependabot[bot]
4a4c82367d
chore(deps-dev): update rector/rector requirement from 1.2.1 to 1.2.2
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/1.2.1...1.2.2)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-25 15:37:40 +00:00
John Paul E. Balandan, CPA
cbd502488b
chore: add composer scripts for phpstan 2024-07-25 23:29:52 +08:00
John Paul E. Balandan, CPA
f804b55a94
Use check as shorthand for fix --dry-run 2024-07-25 23:00:23 +08:00
John Paul E. Balandan, CPA
90ea5c7cc1
Move phpstan and rector to root composer.json 2024-07-23 20:58:52 +08:00
John Paul E. Balandan, CPA
ed01a7e7f3
Move tools' dependencies to separate utils directory 2024-07-23 20:58:51 +08:00
dependabot[bot]
ecf37d9db8
chore(deps-dev): update rector/rector requirement from 1.2.0 to 1.2.1
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/1.2.0...1.2.1)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-16 15:44:53 +00:00
dependabot[bot]
72ef4a627f
chore(deps-dev): update rector/rector requirement from 1.1.1 to 1.2.0
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/1.1.1...1.2.0)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 15:17:27 +00:00
dependabot[bot]
dbaeea24ca
chore(deps-dev): update rector/rector requirement from 1.1.0 to 1.1.1
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/1.1.0...1.1.1)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-21 15:59:43 +00:00
kenjis
04c4d4be9e
chore: add autoload.exclude-from-classmap to suppress warnings
E.g.,
Class Laminas\Escaper\Escaper located in ./system/ThirdParty/Escaper/Escaper.php does not comply with psr-4 autoloading standard (rule: CodeIgniter\ => ./system). Skipping.
2024-06-13 08:31:19 +09:00
dependabot[bot]
4a0efa5efd
chore(deps-dev): update rector/rector requirement from 1.0.5 to 1.1.0
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/1.0.5...1.1.0)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 15:21:00 +00:00
John Paul E. Balandan, CPA
b632fd2439
Bump to phpstan v1.11 2024-05-14 01:01:39 +08:00
dependabot[bot]
dbf17264f2
chore(deps-dev): update rector/rector requirement from 1.0.4 to 1.0.5
Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](https://github.com/rectorphp/rector/compare/1.0.4...1.0.5)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-10 15:50:20 +00:00
kenjis
cc5eec1643
chore: add php-cs-fixer config for tests 2024-04-10 11:33:24 +09:00