Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
278 commits
Select commit Hold shift + click to select a range
6daf582
Add the `trailing_comma_single_line` option to `function_declaration`
paulbalandan Sep 8, 2022
0d08a92
Add `order` option to `phpdoc_order`
paulbalandan Sep 8, 2022
ebd4130
fix: typos in messages in Language/en/Email.php
kenjis Sep 9, 2022
872479b
Merge pull request #6513 from paulbalandan/function-declaration
paulbalandan Sep 9, 2022
3a1d012
Merge pull request #6517 from kenjis/fix-lang-en-Email
kenjis Sep 9, 2022
46ddce5
Merge pull request #6515 from paulbalandan/phpdoc-order
paulbalandan Sep 9, 2022
9302544
Add options to `new_with_braces`
paulbalandan Sep 8, 2022
046e77f
Disable `date_time_create_from_format_call`
paulbalandan Sep 3, 2022
2a8b1ba
Merge pull request #6514 from paulbalandan/new-with-braces
paulbalandan Sep 9, 2022
1bfe531
Merge pull request #6480 from paulbalandan/date-time-create-from-form…
paulbalandan Sep 9, 2022
f063efc
Add `group_to_single_imports` option to `single_import_per_statement`
paulbalandan Sep 9, 2022
13a3248
add: setup function
ping-yee Sep 9, 2022
3977142
Fixed: Typo
DhPandya Sep 9, 2022
8030ae0
cs-fix
ping-yee Sep 9, 2022
e891d69
add: set up "scrpit_name" to handle every request by index.php file.
ping-yee Sep 9, 2022
dc73f78
cs-fix
ping-yee Sep 9, 2022
bfec962
modify: variable changed.
ping-yee Sep 9, 2022
3d07204
Merge pull request #6521 from DhPandya/patch-2
samsonasik Sep 10, 2022
e1dbce0
Merge pull request #6499 from ping-yee/test-TestCaseTest
MGatner Sep 10, 2022
2ee84ba
docs: Fix inappropriate sample code
kenjis Sep 10, 2022
8ab5aeb
Merge pull request #6519 from paulbalandan/single-import-per-statement
paulbalandan Sep 11, 2022
31d776c
Use the `space_multiple_catch` option of `types_spaces`
paulbalandan Sep 11, 2022
af25fe2
Merge pull request #6526 from kenjis/fix-docs-Response-setLastModified
kenjis Sep 11, 2022
9ca6ad1
docs: split CHANGELOG.md
kenjis Sep 12, 2022
5fe8453
docs: split CHANGELOG_4.1.md
kenjis Sep 12, 2022
739c9ee
remove: remove comment out of global
ping-yee Sep 12, 2022
fc057af
cs-fix
ping-yee Sep 12, 2022
4509466
Merge pull request #6524 from ping-yee/Toolbar-modify-variable
kenjis Sep 12, 2022
7ce468a
docs: move old changelogs to changelogs/
kenjis Sep 12, 2022
ef7d18b
Merge pull request #6529 from paulbalandan/types-spaces
paulbalandan Sep 13, 2022
7c46044
Enable `ensure_single_space` option of `whitespace_after_comma_in_array`
paulbalandan Sep 11, 2022
0c7b1d4
Merge pull request #6530 from paulbalandan/whitespace-after-comma-in-…
paulbalandan Sep 13, 2022
cd8d388
fix: table attribute cannot applied on td element
ddevsr Sep 13, 2022
84b4000
fixed typo
iamsyh Sep 13, 2022
46a82f6
Merge pull request #6532 from kenjis/docs-split-changelog
kenjis Sep 14, 2022
a447d74
fix: move preg_match only once
ddevsr Sep 14, 2022
1e29953
fix: delete line reset header & footer
ddevsr Sep 14, 2022
ac2ad22
Merge pull request #6539 from iamsyh/patch-1
paulbalandan Sep 14, 2022
18a001c
fix: change pattern to ignore attribute exists in header and footer
ddevsr Sep 14, 2022
df614a7
fix: table attribute cannot applied on td element
ddevsr Sep 14, 2022
354b43a
Merge pull request #6538 from ddevsr/feat-table-attribute
kenjis Sep 15, 2022
54bd8de
docs: use ":php:func:`model()`"
kenjis Sep 15, 2022
d631b72
docs: add description
kenjis Sep 15, 2022
72c125e
modify: script_name modify
ping-yee Sep 15, 2022
186c57e
Merge pull request #6522 from ping-yee/fix-route-handle
kenjis Sep 15, 2022
1f7cc3f
Merge pull request #6543 from kenjis/fix-docs-model
kenjis Sep 16, 2022
47ab7c5
fix: set_cookie() does not use Config\Cookie values
kenjis Sep 15, 2022
7a30b75
test: update $response->setCookie() test
kenjis Sep 15, 2022
7e92bc4
test: add test
kenjis Sep 16, 2022
a84c4ba
docs: add "No input file specified"
kenjis Sep 16, 2022
4a19fda
docs: add user guide
kenjis Sep 16, 2022
9e8b524
Merge pull request #6545 from kenjis/fix-docs-troubleshooting.rst
kenjis Sep 16, 2022
2d9466d
docs: update @var style
kenjis Sep 16, 2022
efd14d9
docs: fix incorrect description
kenjis Sep 16, 2022
d8efd14
refactor: add interim variable for Config
kenjis Sep 16, 2022
f0cee63
docs: replace PHPDoc mixed in view table
ddevsr Sep 17, 2022
2956903
docs: remove comment unused setEmpty
ddevsr Sep 17, 2022
591f90b
Merge pull request #6547 from ddevsr/fix-doctype-table
MGatner Sep 17, 2022
9b68863
docs: replace doctype Parser and Filter
ddevsr Sep 17, 2022
09015db
docs: replace doctype parser and run cs-fix
ddevsr Sep 17, 2022
2273ba0
docs: replace doctype Parser and Filter
ddevsr Sep 17, 2022
9bf4dbc
Merge pull request #6546 from kenjis/refactor-common-view
kenjis Sep 17, 2022
7483263
docs: change doctype construct parser
ddevsr Sep 17, 2022
f79bd4b
update rector link
arif-rh Sep 18, 2022
3edba10
Merge pull request #6551 from arif-rh/fix-rector-link
kenjis Sep 18, 2022
b5a3cd7
Update system/View/Filters.php
ddevsr Sep 18, 2022
c81ee0b
tests: added sample tests in setData
ddevsr Sep 18, 2022
620b389
refactor: add instanceof
kenjis Sep 18, 2022
2955253
docs: use classname alias
kenjis Sep 18, 2022
51d2f84
docs: changes doctype objectToArray
ddevsr Sep 19, 2022
71b527a
docs: change doctype default function
ddevsr Sep 19, 2022
5a0f1e3
Merge pull request #6544 from kenjis/fix-set-cookie
kenjis Sep 20, 2022
d952f05
docs: change doctype objectToArray to many type
ddevsr Sep 20, 2022
3ac348b
test: add tests for required_without
kenjis Sep 21, 2022
9a92dee
docs: remove incorrect description
kenjis Sep 21, 2022
e82662f
docs: fix incorrect description
kenjis Sep 22, 2022
43754a4
docs: add sub section title
kenjis Sep 22, 2022
893eac6
docs: move note up
kenjis Sep 22, 2022
be627d0
refactor: replace utf8_encode() with mb_convert_encoding()
kenjis Sep 22, 2022
303ec58
Merge pull request #6559 from kenjis/add-test-required_without
kenjis Sep 22, 2022
7b57f7a
docs: replace mixed in site_url()
kenjis Sep 22, 2022
a8566c3
test: add test cases
kenjis Sep 22, 2022
b65156e
Merge pull request #6550 from ddevsr/fix-doctype-parser-filters
MGatner Sep 22, 2022
e5ec9c3
tests: added tableTest coverage
ddevsr Sep 22, 2022
5f83da3
Merge pull request #6563 from kenjis/fix-docs-validation-required_wit…
kenjis Sep 22, 2022
e9d72ea
Merge pull request #6564 from kenjis/remove-utf8_encode
kenjis Sep 22, 2022
ca4fde6
Merge pull request #6565 from kenjis/fix-phpdoc-type-url_helper
kenjis Sep 22, 2022
1c59d14
refactor: make $precision int
kenjis Sep 22, 2022
eafb028
test: improve test
kenjis Sep 22, 2022
9140041
fix: CSP header is not emitted when $autoNonce is false
kenjis Sep 15, 2022
2183022
docs: add changelog
kenjis Sep 16, 2022
7959a37
Merge pull request #6566 from kenjis/refactor-view-filter-round
kenjis Sep 23, 2022
12e2a8d
Merge pull request #6567 from kenjis/test-SiteUrlTest
kenjis Sep 23, 2022
60d5e76
refactor: run rector and php-cs-fixer
kenjis Sep 23, 2022
0db6009
tests: increase coverage TableTest
ddevsr Sep 23, 2022
06fdf51
tests: added test for timezone_select function
ddevsr Sep 23, 2022
ed0d50c
build(deps-dev): update rector/rector requirement from 0.14.2 to 0.14.3
dependabot[bot] Sep 23, 2022
70b2341
Merge pull request #6576 from codeigniter4/dependabot/composer/rector…
samsonasik Sep 23, 2022
ac79ec3
tests: increase case word_cencor in text helper
ddevsr Sep 23, 2022
83fc0f9
Merge pull request #6570 from kenjis/fix-csp-autoNonce
kenjis Sep 23, 2022
b2dc243
Merge pull request #6572 from ddevsr/test-table-coverage
kenjis Sep 23, 2022
09028f6
Merge pull request #6575 from ddevsr/tests-helper-date
kenjis Sep 23, 2022
b50e566
chore: update ThirdParty Kint to 4.2.1
kenjis Sep 23, 2022
99114a1
fix: make note PR branch to comment only
ddevsr Sep 24, 2022
57ce0f5
docs: fix format
kenjis Sep 24, 2022
a5dd737
docs: fix link to CHANGELOG.md
kenjis Sep 24, 2022
8b2628b
fix: inconsistent new line view in date_helper
ddevsr Sep 24, 2022
106102f
Merge pull request #6580 from ddevsr/patch-1
MGatner Sep 24, 2022
3878fec
Merge pull request #6578 from kenjis/update-kint-421
kenjis Sep 24, 2022
573211f
chore: update ThirdParty Kint to 4.2.2
kenjis Sep 24, 2022
4cb99e0
Merge pull request #6581 from kenjis/fix-docs-past-changelogs
kenjis Sep 24, 2022
62cdc54
Update tests/system/Helpers/TextHelperTest.php
ddevsr Sep 24, 2022
a4259db
A spelling correction in validation.rst
akuo-tbf Sep 24, 2022
47ed563
Merge pull request #6583 from kenjis/update-kint-422
kenjis Sep 24, 2022
6fa6534
fix: remove tests for dynamic properties
kenjis Sep 25, 2022
f788d46
test: remove dynamic property in ControllerTest
kenjis Sep 25, 2022
c9ff6b1
test: remove dynamic property in FactoriesTest
kenjis Sep 25, 2022
da4040a
test: add missing property in TestHandler
kenjis Sep 25, 2022
7273b9d
Merge pull request #6585 from akuo-tbf/patch-1
paulbalandan Sep 25, 2022
20a011a
Merge pull request #6579 from ddevsr/text-helper
MGatner Sep 25, 2022
b9ab936
Merge pull request #6582 from ddevsr/fix-inconsistent-newline
MGatner Sep 25, 2022
6da8898
Merge pull request #6586 from kenjis/fix-dynamic-properties
kenjis Sep 25, 2022
26c7daa
test: use anonymous class instead of concrete class
kenjis Sep 26, 2022
f5069f0
test: use anonymous class instead of concrete class
kenjis Sep 26, 2022
a5362b9
docs: add about named arguments
kenjis Sep 26, 2022
df5d7fd
docs: change doc type "mixed" to others type in Rule, Validation, Val…
ping-yee Sep 26, 2022
862df97
Remove outgoing/response/018.php
paulbalandan Sep 26, 2022
e613ea6
Merge pull request #6562 from kenjis/fix-docs-installing_composer.rst
kenjis Sep 26, 2022
220f55c
docs change and cs-fix
ping-yee Sep 26, 2022
a78e9fb
cs-fix
ping-yee Sep 26, 2022
c3e2582
Merge pull request #6587 from kenjis/fix-test-dynamic-properties
kenjis Sep 26, 2022
e41c0ba
Merge pull request #6592 from paulbalandan/user-guide
kenjis Sep 26, 2022
a60fb55
Merge pull request #6591 from ping-yee/docs-some-validation-class
kenjis Sep 26, 2022
8cedb51
Merge pull request #6590 from kenjis/update-backward_compatibility_notes
kenjis Sep 26, 2022
d3cc282
docs: remove incorrect description
kenjis Sep 26, 2022
b9f503b
docs: fix wrong CI version
kenjis Sep 26, 2022
ecb8c5a
docs: add note that dose not recommend to use $_SESSION
kenjis Sep 27, 2022
bd21315
docs: replace `userdata`
kenjis Sep 27, 2022
2b654f8
docs: move notes up
kenjis Sep 27, 2022
dd58318
docs: fix section title letter case
kenjis Sep 27, 2022
7dfe7d0
docs: fix text decoration
kenjis Sep 27, 2022
16d2ef7
docs: change note type for deprecation to `important`
kenjis Sep 27, 2022
1dbaa18
Merge pull request #6594 from kenjis/fix-docs-deprecate
kenjis Sep 27, 2022
670e395
test: remove duplicate statement
kenjis Sep 27, 2022
8583e3a
Bump versions in composer.json
paulbalandan Sep 13, 2022
8c06ea8
Remove overrides
paulbalandan Sep 13, 2022
ec0447b
Apply fixes
paulbalandan Sep 24, 2022
2a4bfc7
docs: change section title
kenjis Sep 27, 2022
d6f363c
docs: add section for SQL injection protection
kenjis Sep 27, 2022
94160e4
docs: make warning more precise
kenjis Sep 27, 2022
78ffaae
docs: make description more precise
kenjis Sep 27, 2022
9ea9e1b
docs: improve expressions
kenjis Sep 27, 2022
77c7a9d
Merge pull request #6598 from kenjis/fix-PagerTest
kenjis Sep 27, 2022
8a93b65
Merge pull request #6537 from paulbalandan/coding-standards
kenjis Sep 27, 2022
3a3531b
docs: replace type in Pager
ddevsr Sep 27, 2022
fd883ec
docs: replace type pager
ddevsr Sep 27, 2022
c9b01e8
tests: added test getPageURI return object in Pager
ddevsr Sep 27, 2022
b9056a4
test: rename getPageURI test
ddevsr Sep 27, 2022
23be5bf
test: rename getPageURI test
ddevsr Sep 27, 2022
c89ba56
Merge pull request #6596 from ddevsr/docs-pager
MGatner Sep 28, 2022
b43a3d0
build(deps-dev): update rector/rector requirement from 0.14.3 to 0.14.4
dependabot[bot] Sep 28, 2022
b62efec
no need to define skip short names on StringClassNameToClassConstantR…
samsonasik Sep 28, 2022
979baa1
Merge pull request #6603 from codeigniter4/dependabot/composer/rector…
samsonasik Sep 28, 2022
dbb3426
Merge pull request #6599 from kenjis/fix-docs-query-builder-sql-injec…
kenjis Sep 28, 2022
424c03e
docs: add links to the sections
kenjis Sep 29, 2022
5171ce0
docs: make the first letter upper in section title
kenjis Sep 29, 2022
fa977be
docs: "previous" is misleading.
kenjis Sep 29, 2022
30705d6
docs: add note for userdata
kenjis Sep 29, 2022
756ebfe
fix: required_with does not work in Model updates with Entity
kenjis Sep 26, 2022
4010723
docs: update docs
kenjis Sep 29, 2022
7ecd9b3
add the param $keyField to put in the now field
ping-yee Sep 22, 2022
0dbd648
refector: rewrite required_without[] logic
ping-yee Sep 23, 2022
2bdb36c
cs-fix
ping-yee Sep 26, 2022
64924aa
test: add condition to follow required_without[] rule.
ping-yee Sep 26, 2022
b8f15b6
catch up the $error param.
ping-yee Sep 27, 2022
3ea0c6a
modify: put the codition that don't have dot in the needed area.
ping-yee Sep 27, 2022
283edf1
fix: modify the condition of the field that isn't the dot given.
ping-yee Sep 27, 2022
288f37b
modify: strictRule required_without params changed.
ping-yee Sep 28, 2022
2e62c82
modify: modify comment out and make up the dot lost before.
ping-yee Sep 28, 2022
2a751c6
test: add test case.
ping-yee Sep 28, 2022
d42087b
change the variable names.
ping-yee Sep 28, 2022
70ca497
modify: change variable name.
ping-yee Sep 29, 2022
cb5d045
docs: change type mixed to string
ping-yee Sep 29, 2022
df18a57
changelog: add new change.
ping-yee Sep 29, 2022
16cdf1e
add: add the upgrade-guide.
ping-yee Sep 29, 2022
705fd47
test: replace deprecated method
kenjis Sep 29, 2022
0779cc4
change variable name of throw.
ping-yee Sep 29, 2022
ad369b1
docs: fix safe_mailto() does not work with CSP
kenjis Sep 29, 2022
09030e8
Merge pull request #6593 from kenjis/fix-docs-session
kenjis Sep 29, 2022
6090ac1
build(deps-dev): update rector/rector requirement from 0.14.4 to 0.14.5
dependabot[bot] Sep 29, 2022
cf99e61
Merge pull request #6608 from codeigniter4/dependabot/composer/rector…
samsonasik Sep 29, 2022
4a6fecb
Merge pull request #6604 from kenjis/fix-safe_mailto-csp
kenjis Sep 29, 2022
acad5b6
fix: script_tag() does not work with CSP
kenjis Sep 30, 2022
cce2531
test: fix failed test
kenjis Sep 30, 2022
75a6eb2
docs: fix typo
kenjis Sep 30, 2022
d0ca3e6
test: fix test data
kenjis Sep 30, 2022
68b50b7
docs: remove incorrect docmment
kenjis Sep 30, 2022
d83baa6
test: change method names
kenjis Sep 30, 2022
445f9fa
changelog: modify the changelog and upgrade-guide.
ping-yee Sep 30, 2022
48d13b9
Merge pull request #6611 from kenjis/fix-add-script-nonce
kenjis Sep 30, 2022
dcdaa43
Merge pull request #6612 from kenjis/fix-MigrationRunnerTest-SQLite3-…
kenjis Sep 30, 2022
ed0cdd0
Merge pull request #6589 from ping-yee/modify-validation-required_wit…
kenjis Sep 30, 2022
0578fdc
docs: move "Mapping Multiple Routes" down
kenjis Oct 1, 2022
3c4a341
docs: move Warning up
kenjis Oct 1, 2022
67f48dc
docs: add Warning to map()
kenjis Oct 1, 2022
86d0f3d
Merge pull request #6613 from kenjis/fix-docs-routing.rst
kenjis Oct 1, 2022
c18425b
docs: fix incorrect link to a method
kenjis Oct 1, 2022
2b3b5e5
docs: replace type API\ResponseTrait
ddevsr Oct 2, 2022
035ac6f
fix: URLs that include a trailing newline are not possible because.
ytetsuro Oct 2, 2022
1de9173
Merge pull request #6588 from kenjis/fix-model-cleanValidationRules
kenjis Oct 3, 2022
d8b5045
Merge pull request #6617 from ddevsr/api-trait-docs
kenjis Oct 3, 2022
c08fa41
test: remove $request->uri
kenjis Oct 3, 2022
9dd7e25
test: extract method
kenjis Oct 3, 2022
c42b1bf
test: fix incorrect assertions
kenjis Oct 3, 2022
1e3c8ee
test: remove $request->uri
kenjis Oct 3, 2022
85df3ce
test: remove $request->uri
kenjis Oct 3, 2022
5a5a1be
test: remove $request->uri
kenjis Oct 3, 2022
8567b70
test: extract method
kenjis Oct 3, 2022
200cd8d
test: extract method
kenjis Oct 3, 2022
fb8be3e
test: refactor method
kenjis Oct 3, 2022
1dad2a9
test: remove @param mixed
kenjis Oct 3, 2022
61fcc81
Merge pull request #6618 from ytetsuro/fix/is-valid-valid-url-rule-wh…
MGatner Oct 3, 2022
044ae22
Merge pull request #6616 from kenjis/fix-docs-routing-link
kenjis Oct 3, 2022
8ab3831
docs:fix: update the validation mime type
sammyskills Oct 3, 2022
a7fb29f
Merge pull request #6622 from sammyskills/fix/update-validation-mime-…
kenjis Oct 3, 2022
caea1ac
fix: missing valid_json in Validation Language
ddevsr Oct 4, 2022
8ebc000
tests: add test bundle to languageTest
ddevsr Oct 4, 2022
913d438
docs: message changes in changelog 4.2.7
ddevsr Oct 4, 2022
1d5a678
docs: message changes in changelog 4.2.7
ddevsr Oct 4, 2022
16e2920
Merge pull request #6619 from kenjis/refactor-remove-request-uri
kenjis Oct 4, 2022
0d002eb
Merge pull request #6624 from ddevsr/language-valid-json
kenjis Oct 4, 2022
4c1b0ad
docs: add Message Changes in changelogs
kenjis Oct 4, 2022
0591cc1
test: remove uneeded code
kenjis Oct 5, 2022
2a0ae4a
fix: the default values for Redis
kenjis Oct 1, 2022
c9e2042
test: add RedisHandlerTest
kenjis Oct 1, 2022
4aeba6f
refactor: reuse variable
kenjis Oct 1, 2022
1749d9b
docs: add @param
kenjis Oct 1, 2022
b574d5d
refactor: use class constant for magic number
kenjis Oct 5, 2022
62e0b44
fix: support integer timeout
kenjis Oct 5, 2022
5cf6979
refactor: extract method
kenjis Oct 5, 2022
7d45205
test: add tests for savePath timeout
kenjis Oct 5, 2022
07eadd2
test: use @requires
kenjis Oct 5, 2022
d97d217
refactor: use 0.0 instead of 0
kenjis Oct 5, 2022
acdf173
Merge pull request #6626 from kenjis/fix-docs-changelog-lang-message
kenjis Oct 5, 2022
90adf46
docs: remove @var for class constant
kenjis Oct 5, 2022
b764570
Merge pull request #6628 from kenjis/fix-FormHelperTest
kenjis Oct 5, 2022
2a6ff86
refactor: change constant name
kenjis Oct 5, 2022
15fa3f1
Merge pull request #6614 from kenjis/fix-redis-session-php81
kenjis Oct 6, 2022
ebc8b43
Prep for 4.2.7 release
MGatner Oct 6, 2022
fbdd32d
Merge pull request #6635 from codeigniter4/release-4.2.7
MGatner Oct 6, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<!--

Each pull request should address a single issue and have a meaningful title.

- All bug fixes should be sent to the __"develop"__ branch, this is where the next bug fix version will be developed.
- PRs with any enhancement should be sent to the next minor version branch, e.g. __"4.3"__

-->
**Description**
Explain what you have changed, and why.

Expand Down
39 changes: 1 addition & 38 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,44 +38,7 @@
__DIR__ . '/spark',
]);

$overrides = [
// <<<<<<<<<<<<<<<<<<<<<<<< @TODO TO BE REMOVED ONCE LIVE IN CODING-STANDARD
'blank_line_between_import_groups' => true,
'class_definition' => [
'multi_line_extends_each_single_line' => true,
'single_item_single_line' => true,
'single_line' => true,
'space_before_parenthesis' => true,
'inline_constructor_arguments' => true,
],
'control_structure_braces' => true,
'no_multiple_statements_per_line' => true,
'no_trailing_comma_in_singleline' => [
'elements' => [
'arguments',
'array_destructuring',
'array',
'group_import',
],
],
'no_useless_nullsafe_operator' => true,
'phpdoc_separation' => [
'groups' => [
['immutable', 'psalm-immutable'],
['param', 'phpstan-param', 'psalm-param'],
['phpstan-pure', 'psalm-pure'],
['readonly', 'psalm-readonly'],
['return', 'phpstan-return', 'psalm-return'],
['template', 'phpstan-template', 'psalm-template'],
['template-covariant', 'phpstan-template-covariant', 'psalm-template-covariant'],
['phpstan-type', 'psalm-type'],
['var', 'phpstan-var', 'psalm-var'],
],
],
'single_line_comment_spacing' => true,
'statement_indentation' => true,
// >>>>>>>>>>>>>>>>>>>>>>>>>
];
$overrides = [];

$options = [
'cacheFile' => 'build/.php-cs-fixer.cache',
Expand Down
39 changes: 1 addition & 38 deletions .php-cs-fixer.no-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,44 +30,7 @@
__DIR__ . '/admin/starter/builds',
]);

$overrides = [
// <<<<<<<<<<<<<<<<<<<<<<<< @TODO TO BE REMOVED ONCE LIVE IN CODING-STANDARD
'blank_line_between_import_groups' => true,
'class_definition' => [
'multi_line_extends_each_single_line' => true,
'single_item_single_line' => true,
'single_line' => true,
'space_before_parenthesis' => true,
'inline_constructor_arguments' => true,
],
'control_structure_braces' => true,
'no_multiple_statements_per_line' => true,
'no_trailing_comma_in_singleline' => [
'elements' => [
'arguments',
'array_destructuring',
'array',
'group_import',
],
],
'no_useless_nullsafe_operator' => true,
'phpdoc_separation' => [
'groups' => [
['immutable', 'psalm-immutable'],
['param', 'phpstan-param', 'psalm-param'],
['phpstan-pure', 'psalm-pure'],
['readonly', 'psalm-readonly'],
['return', 'phpstan-return', 'psalm-return'],
['template', 'phpstan-template', 'psalm-template'],
['template-covariant', 'phpstan-template-covariant', 'psalm-template-covariant'],
['phpstan-type', 'psalm-type'],
['var', 'phpstan-var', 'psalm-var'],
],
],
'single_line_comment_spacing' => true,
'statement_indentation' => true,
// >>>>>>>>>>>>>>>>>>>>>>>>>
];
$overrides = [];

$options = [
'cacheFile' => 'build/.php-cs-fixer.no-header.cache',
Expand Down
36 changes: 0 additions & 36 deletions .php-cs-fixer.user-guide.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,42 +33,6 @@
'php_unit_internal_class' => false,
'no_unused_imports' => false,
'class_attributes_separation' => false,
// <<<<<<<<<<<<<<<<<<<<<<<< @TODO TO BE REMOVED ONCE LIVE IN CODING-STANDARD
'blank_line_between_import_groups' => true,
'class_definition' => [
'multi_line_extends_each_single_line' => true,
'single_item_single_line' => true,
'single_line' => true,
'space_before_parenthesis' => true,
'inline_constructor_arguments' => true,
],
'control_structure_braces' => true,
'no_multiple_statements_per_line' => true,
'no_trailing_comma_in_singleline' => [
'elements' => [
'arguments',
'array_destructuring',
'array',
'group_import',
],
],
'no_useless_nullsafe_operator' => true,
'phpdoc_separation' => [
'groups' => [
['immutable', 'psalm-immutable'],
['param', 'phpstan-param', 'psalm-param'],
['phpstan-pure', 'psalm-pure'],
['readonly', 'psalm-readonly'],
['return', 'phpstan-return', 'psalm-return'],
['template', 'phpstan-template', 'psalm-template'],
['template-covariant', 'phpstan-template-covariant', 'psalm-template-covariant'],
['phpstan-type', 'psalm-type'],
['var', 'phpstan-var', 'psalm-var'],
],
],
'single_line_comment_spacing' => true,
'statement_indentation' => true,
// >>>>>>>>>>>>>>>>>>>>>>>>>
];

$options = [
Expand Down
Loading