John Paul E. Balandan, CPA
119330c56f
refactor: Use strtolower
with str_contains
/str_**_with
as replacement for stripos
( #9414 )
...
* Use `modernize_stripos` option
* Fix impossible conditional in test
2025-01-17 22:51:06 +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
John Paul E. Balandan, CPA
5060bdce81
style: enable get_class_to_class_keyword
fixer
2025-01-10 13:39:44 +08:00
John Paul E. Balandan, CPA
2bbf832dc4
Fix php-cs-fixer errors
2024-07-23 20:58:51 +08:00
John Paul E. Balandan, CPA
e9f3369151
Remove already effective CS rules
2024-07-09 12:45:03 +08:00
John Paul E. Balandan, CPA
737846eea1
enable ordered_attributes
2024-05-08 00:05:19 +08:00
John Paul E. Balandan, CPA
fe997e4104
Enable php_unit_attributes
2024-05-05 23:09:04 +08:00
kenjis
7aec7ccff0
chore: add preload.php to php-cs-fixer
2024-04-19 12:09:20 +09:00
kenjis
7914f81ec5
Merge pull request #8754 from paulbalandan/modernize-strpos
...
style: enable modernize_strpos
2024-04-19 07:53:29 +09:00
John Paul E. Balandan, CPA
acdbc5dd0f
style: enable modernize_strpos
2024-04-15 20:57:47 +08:00
John Paul E. Balandan, CPA
82ece196f1
chore: Reverts disabling custom fixers for PHP 7.4
2024-04-15 20:51:19 +08:00
kenjis
cc5eec1643
chore: add php-cs-fixer config for tests
2024-04-10 11:33:24 +09:00
kenjis
99a9148b0a
Merge remote-tracking branch 'upstream/develop' into 4.5
...
Conflicts:
psalm-baseline.xml
system/Router/AutoRouterImproved.php
system/Router/Router.php
2024-02-26 09:42:51 +09:00
kenjis
e1df9f5bcd
Merge remote-tracking branch 'upstream/develop' into 4.5
...
Conflicts:
system/Router/AutoRouterImproved.php
system/Router/Router.php
2024-02-26 06:59:33 +09:00
John Paul E. Balandan, CPA
06353a4037
style: Enable phpdoc_list_type
fixer
2024-02-26 00:19:02 +08:00
John Paul E. Balandan, CPA
ad11363bcf
style: also align @phpstan-type
and @phpstan-var
( #8551 )
2024-02-25 23:26:15 +08:00
John Paul E. Balandan, CPA
609be527ce
style: enable phpdoc_array_type
( #8580 )
2024-02-25 22:58:47 +08:00
kenjis
0e5d1a872c
Merge remote-tracking branch 'upstream/develop' into 4.5
...
Conflicts:
system/Database/BaseConnection.php
2024-02-10 09:24:39 +09:00
kenjis
23a34dfd43
chore: allow to use @property-read and @property-write
2024-02-06 10:53:22 +09:00
kenjis
bd4d21eb3c
Merge remote-tracking branch 'upstream/develop' into 4.5
...
Conflicts:
tests/system/Validation/CreditCardRulesTest.php
tests/system/Validation/StrictRules/CreditCardRulesTest.php
2023-12-30 08:03:14 +09:00
John Paul E. Balandan, CPA
4d18f14976
Remove overrides for coding-standard v1.7.12
2023-12-30 01:59:02 +08:00
kenjis
32a37dd259
Merge remote-tracking branch 'upstream/develop' into 4.5
...
Conflicts:
user_guide_src/source/changelogs/index.rst
user_guide_src/source/installation/upgrading.rst
2023-12-29 17:58:07 +09:00
kenjis
4b2985ce5e
chore: add fully_qualified_strict_types config
...
Do not process @see tag.
See https://cs.symfony.com/doc/rules/import/fully_qualified_strict_types.html
2023-12-29 09:47:27 +09:00
kenjis
83865ae34b
chore: remove PHP version checks
2023-09-23 14:06:37 +09:00
John Paul E. Balandan, CPA
20f2700d1f
Enable php_unit_data_provider_static
2023-08-03 18:13:11 +08:00
John Paul E. Balandan, CPA
cb97e1e746
Add php_unit_data_provider_name
in overrides
2023-08-03 11:52:01 +08:00
John Paul E. Balandan, CPA
9f8bc2fedd
style: Use all available checked tokens for no_extra_blank_lines
2023-07-27 11:27:00 +08:00
John Paul E. Balandan, CPA
ac87a1e094
Configure php_unit_data_provider_return_type
fixer
2023-07-18 17:45:58 +08:00
John Paul E. Balandan, CPA
00c7086d7d
Adjust registering of custom fixers for PHP 8.0+ only
2023-07-18 17:25:10 +08:00
kenjis
1c7212c874
chore: exclude files that causes errors
...
Files that were not fixed due to errors reported during fixing:
1) .../CodeIgniter4/tests/_support/View/Cells/multiplier.php
2) .../CodeIgniter4/tests/_support/View/Cells/colors.php
3) .../CodeIgniter4/tests/_support/View/Cells/addition.php
2023-05-24 08:48:31 +09:00
John Paul E. Balandan, CPA
ad783a8ad2
Remove previous CS overrides ( #6836 )
2022-11-09 16:19:01 +08:00
John Paul E. Balandan, CPA
84b538678f
Enable no_useless_concat_operator
2022-10-14 10:00:51 +08:00
John Paul E. Balandan, CPA
8c06ea83c1
Remove overrides
2022-09-27 17:53:03 +08:00
John Paul E. Balandan, CPA
7c46044605
Enable ensure_single_space
option of whitespace_after_comma_in_array
2022-09-13 10:30:26 +08:00
John Paul E. Balandan, CPA
31d776cf8b
Use the space_multiple_catch
option of types_spaces
2022-09-11 23:30:12 +08:00
John Paul E. Balandan, CPA
f063efc374
Add group_to_single_imports
option to single_import_per_statement
2022-09-09 11:16:53 +08:00
John Paul E. Balandan, CPA
1bfe531a95
Merge pull request #6480 from paulbalandan/date-time-create-from-format-call
...
Disable `date_time_create_from_format_call`
2022-09-09 11:00:11 +08:00
John Paul E. Balandan, CPA
046e77fb81
Disable date_time_create_from_format_call
2022-09-09 10:44:29 +08:00
John Paul E. Balandan, CPA
93025442a3
Add options to new_with_braces
2022-09-09 10:21:48 +08:00
John Paul E. Balandan, CPA
46ddce5033
Merge pull request #6515 from paulbalandan/phpdoc-order
...
Add `order` option to `phpdoc_order`
2022-09-09 10:12:40 +08:00
John Paul E. Balandan, CPA
0d08a92d83
Add order
option to phpdoc_order
2022-09-08 14:40:53 +08:00
John Paul E. Balandan, CPA
6daf58283c
Add the trailing_comma_single_line
option to function_declaration
2022-09-08 14:18:43 +08:00
John Paul E. Balandan, CPA
974b0d1c0e
Enable curly_braces_position
2022-09-07 11:59:19 +08:00
MGatner
a5154bfb02
Merge pull request #6484 from paulbalandan/single_line_comment_spacing
...
Enable `single_line_comment_spacing`
2022-09-04 19:10:00 -04:00
John Paul E. Balandan, CPA
2a0c62f84d
Enable single_line_comment_spacing
2022-09-04 23:10:58 +08:00
John Paul E. Balandan, CPA
7a32c6dc50
Enable no_trailing_comma_in_singleline
2022-09-04 22:56:05 +08:00
John Paul E. Balandan, CPA
7c13249499
Add inline_constructor_arguments
option to class_definition
2022-09-04 21:16:30 +08:00
John Paul E. Balandan, CPA
b0f79383fd
Enable statement_indentation
2022-09-04 20:59:23 +08:00
John Paul E. Balandan, CPA
70c3f145ae
Enable no_useless_nullsafe_operator
2022-09-04 20:46:14 +08:00
John Paul E. Balandan, CPA
a275427950
Enable no_multiple_statements_per_line
2022-09-04 20:32:00 +08:00