66 Commits

Author SHA1 Message Date
John Paul E. Balandan, CPA
bd5945df9b
Merge branch 'develop' into 4.6 2024-12-19 16:39:09 +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
Abdul Malik Ikhsan
6644b79927
chore: fix ci run 2024-12-13 23:50:15 +07:00
Abdul Malik Ikhsan
94e57df8f5
chore: preparation for PHPStan 2: remove CheckUseStatementsAfterLicenseRule 2024-12-13 23:47:37 +07:00
kenjis
fd4648febe
Merge remote-tracking branch 'upstream/develop' into 4.6 2024-07-24 09:33:00 +09:00
John Paul E. Balandan, CPA
368bffa94a
Fix phpstan errors 2024-07-23 20:58:51 +08:00
Glenn
b077db5952
fix: Added missing class to codeigniter.additionalServices for testing. 2024-06-30 15:55:42 +09:00
John Paul E. Balandan, CPA
b632fd2439
Bump to phpstan v1.11 2024-05-14 01:01:39 +08:00
kenjis
114f3ce79c
Merge pull request #8646 from kenjis/add-phpstan-check-tests
chore: add PHPStan checking to tests/
2024-03-26 08:21:21 +09:00
kenjis
f36f9991c6
chore: add phpstan check to tests/ 2024-03-21 13:11:49 +09:00
kenjis
f7144e8726
chore: add admin/starter/tests to check 2024-03-21 11:32:25 +09:00
kenjis
9a5d200f7c
chore: enable checkMissingIterableValueType
If left false, this error will continue to increase.
2024-03-18 11:33:10 +09:00
John Paul E. Balandan, CPA
2969640d4a
Update phpstan-codeigniter to v1.4.1 2023-10-25 08:59:41 +08:00
Pooya Parsa Dadashi
b5e3212476
phpstan: remove unneeded ignoreErrors 2023-10-22 07:04:30 +03:30
kenjis
b26809f66e
chore: update for phpstan-codeigniter v1.4.0 2023-10-12 11:39:07 +09:00
kenjis
843098aad3
chore: enable booleansInConditions 2023-09-15 15:27:06 +09:00
kenjis
d4e0d9e4d8
chore: enable disallowedLooseComparison 2023-09-15 08:45:54 +09:00
John Paul E. Balandan, CPA
7253a41a59
Merge pull request #7932 from datamweb/datamweb-phpstan
chore: update phpstan exclude list
2023-09-13 15:41:55 +08:00
Pooya Parsa
4905fe9436
chore: update phpstan exclude list 2023-09-12 23:58:09 +03:30
kenjis
3f77632fe6
chore: add matchingInheritedMethodNames rule 2023-09-12 08:30:42 +09:00
John Paul E. Balandan, CPA
042eaaaffb
Use phpstan-codeigniter 2023-09-11 16:09:29 +08:00
kenjis
92cf3bbfd2
chore: enable disallowedConstructs 2023-09-09 18:01:35 +09:00
John Paul E. Balandan, CPA
6c70392b05
Dump existing 613 errors to PHP baseline 2023-07-18 17:46:20 +08:00
John Paul E. Balandan, CPA
150583c47c
Bump to phpstan level 6 2023-07-18 17:46:20 +08:00
Abdul Malik Ikhsan
8133881ea1
[Rector] Remove NodeConnectingVisitor from phsptan config 2023-07-07 04:11:24 +07:00
kenjis
9977c310d4
Merge pull request #7666 from codeigniter4/remove-process-timeout
Remove `parallel.processTimeout`
2023-07-07 05:41:57 +09:00
John Paul E. Balandan, CPA
e5cfd4e277
Remove parallel.processTimeout 2023-07-06 17:48:47 +08:00
John Paul E. Balandan, CPA
6e0a9a506c
Remove SODIUM_LIBRARY_VERSION from dynamicConstantNames 2023-07-06 17:39:21 +08:00
kenjis
53d1b7957c
chore: update PHPStan PHP version to PHP 8.1 2022-10-12 08:20:48 +09:00
Abdul Malik Ikhsan
19df3a38e5
set back report to true 2022-05-31 08:12:47 +07:00
Abdul Malik Ikhsan
bb6f3a2fde
set reportUnmatchedIgnoredErrors: false 2022-05-31 07:17:08 +07:00
Abdul Malik Ikhsan
503ee82ec4
add phpstan-bootstrap.php to include the fallback OCI_COMMIT_ON_SUCCESS constant when not defined 2022-05-31 06:32:15 +07:00
Abdul Malik Ikhsan
fc9a7b8fbd
set conditional tag 2022-04-15 20:36:37 +07:00
Abdul Malik Ikhsan
c3ecc1971d
[PHPStan] Prepare for PHPStan 1.6.x-dev 2022-04-15 20:35:51 +07:00
kenjis
641ef368f4
chore: add "phpVersion: 80000" in phpstan.neon.dist 2022-01-18 09:02:40 +09:00
John Paul E. Balandan, CPA
f941858bcf
Use PHPStan's baseline instead of global ignore of errors 2021-12-13 15:05:13 +08:00
Abdul Malik Ikhsan
e0de21a99a
ignoring errors 2021-11-09 19:27:47 +07:00
Abdul Malik Ikhsan
6d164b6b84
use excludePaths config 2021-11-09 19:27:46 +07:00
Lonnie Ezell
3ce7a52e77
Merge pull request #5128 from kenjis/add-multiple-filters
Multiple filters for a route and classname filter
2021-10-04 22:29:29 -05:00
Tetsuro Yoshikawa
3fd93f5027
config: remove unneeded phpstan ignore. 2021-10-05 03:08:37 +09:00
kenjis
3ee6632e8f
chore: suppress phpstan error for CodeIgniter\\Router\\RouteCollectionInterface 2021-09-25 11:45:35 +09:00
John Paul E. Balandan, CPA
ea6469b852
Manual cleanup of comments and docblocks 2021-07-28 23:26:26 +08:00
John Paul E. Balandan, CPA
087c115dd6
Fix phpstan error properly 2021-07-27 23:18:32 +08:00
dependabot[bot]
dc0f0d577d
Update rector/rector requirement from 0.11.37 to 0.11.40 (#4967) 2021-07-27 02:08:35 +00:00
John Paul E. Balandan, CPA
08a32a1bcb
Remove unmatched errors in phpstan.neon 2021-04-23 23:43:37 +08:00
John Paul E. Balandan, CPA
ed315cec08
Merge pull request #4357 from kenjis/fix-new-static
Remove PHPStan ignoreErrors: Unsafe usage of new static()
2021-03-15 22:24:29 +08:00
John Paul E. Balandan, CPA
a3620054af
Fix setBinds of BaseBuilder 2021-03-11 22:30:21 +08:00
kenjis
95dd696b3d
chore: remove ignoreErrors: Unsafe usage of new static()
https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static
2021-02-27 11:25:54 +09:00
kenjis
2c091362b0
fix: cannot resolve Services::xxx() #4220 2021-02-04 11:08:46 +09:00
MGatner
364373250c
Enable namespace service precedence 2021-01-15 15:43:41 +00:00