Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a package that provides a publications feature #685

Merged
merged 4,940 commits into from
May 14, 2023
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
4940 commits
Select commit Hold shift + click to select a range
34c6352
Breaking: Rename class PublicationsService to Publications
caendesilva Apr 1, 2023
82f3b3c
Rename method getValuesForTagName to getValuesForTagGroup
caendesilva Apr 1, 2023
c02ce51
Rename named parameter tagName to groupName
caendesilva Apr 1, 2023
22739b3
Normalize code comments
caendesilva Apr 1, 2023
d4f2153
Add missing strong types
caendesilva Apr 1, 2023
7964c52
Merge pull request #1365 from hydephp/clean-up-publications-code
caendesilva Apr 1, 2023
a954567
Add fixme
caendesilva Apr 1, 2023
0ae557e
Unwrap confusing conditional
caendesilva Apr 2, 2023
a19b5ca
Remove legacy noinspection annotation
caendesilva Apr 2, 2023
d590e85
Add clarifying parentheses
caendesilva Apr 2, 2023
11f2311
Move type annotation to top of file
caendesilva Apr 2, 2023
784b075
Add spaces within type annotation block
caendesilva Apr 2, 2023
28795ef
Breaking: Move PublicationPage from Models namespace to Pages
caendesilva Apr 2, 2023
110ad79
Breaking: Move PublicationListPage from Models namespace to Pages
caendesilva Apr 3, 2023
b067cc6
Merge pull request #1366 from hydephp/publications-namespace-cleanup
caendesilva Apr 3, 2023
5923d6d
Merge branch 'master' into publications-feature
caendesilva Apr 3, 2023
c156dd0
Deprecate all tag group accessors in PublicationTags class
caendesilva Apr 3, 2023
9eec10e
Deprecate internal experimental helper that will not be needed anymore
caendesilva Apr 3, 2023
b1b348b
Remove tests for deprecated code
caendesilva Apr 4, 2023
0d430cc
Remove now unused deprecated methods
caendesilva Apr 4, 2023
9706244
Add new addTags method
caendesilva Apr 4, 2023
a47c3b9
Force parsed array to be flattened to match future behaviour
caendesilva Apr 4, 2023
6ee4add
Revert "Force parsed array to be flattened to match future behaviour"…
caendesilva Apr 4, 2023
d80503f
Deprecate PublicationFieldDefinition::$tagGroup method
caendesilva Apr 4, 2023
f901147
Remove tests for deprecated tagGroup property
caendesilva Apr 4, 2023
c553324
Update make publication type command to not construct tagGroups
caendesilva Apr 4, 2023
b4e1eb4
Transform expression to remove unused local variable
caendesilva Apr 4, 2023
30f7877
Deprecate helper method
caendesilva Apr 4, 2023
9118540
Remove logic from make publication type command that asks for tag groups
caendesilva Apr 4, 2023
9013452
Remove the now empty helper
caendesilva Apr 4, 2023
f6591a9
Remove tests for removed logic
caendesilva Apr 4, 2023
9af9ff1
Adjust test to handle new tags system
caendesilva Apr 4, 2023
1acb527
Apply fixes from StyleCI
StyleCIBot Apr 4, 2023
62a77c8
Remove now unused deprecated method
caendesilva Apr 4, 2023
8d1ae7b
Collapse 'if' statement that now has common parts
caendesilva Apr 4, 2023
cf00015
Remove extra code newline
caendesilva Apr 4, 2023
407cbfc
Add todo
caendesilva Apr 4, 2023
f779004
Refactor make publication command to not use tag groups
caendesilva Apr 4, 2023
5992cb8
Add todo
caendesilva Apr 4, 2023
f9720ca
Deprecate helper proxying deprecated method
caendesilva Apr 4, 2023
5267895
Merge branch 'publications-feature' into remove-tag-groups-from-publi…
caendesilva Apr 4, 2023
7acf20c
Remove test for deprecated method
caendesilva Apr 4, 2023
809caa3
Compare against enum case instead of deprecated property
caendesilva Apr 4, 2023
6f7a660
Remove tag groups from test
caendesilva Apr 4, 2023
8e9bc69
Remove tag groups from test
caendesilva Apr 5, 2023
ddc22b2
Remove tag groups from publications seeder
caendesilva Apr 6, 2023
e3a0474
Remove tag groups from tests
caendesilva Apr 6, 2023
889d66f
Remove tagGroup rule from publication schema validator
caendesilva Apr 6, 2023
4dfbe69
Remove tagGroup from publication field definition array representation
caendesilva Apr 6, 2023
76e86a2
No longer construct deprecated tag group property
caendesilva Apr 6, 2023
f967aac
Replace deprecated method usage with replacement
caendesilva Apr 6, 2023
8cd497f
Remove $tagGroup parameter from PublicationFieldDefinition constructor
caendesilva Apr 6, 2023
b31a42e
Breaking: Remove PublicationFieldDefinition::$tagGroup property
caendesilva Apr 6, 2023
fc8342c
Breaking: Remove deprecated Publications::getValuesForTagName method
caendesilva Apr 6, 2023
cc06436
Remove now unused deprecated getValuesForTagGroup method
caendesilva Apr 6, 2023
a4bf015
Remove tag name argument from command
caendesilva Apr 6, 2023
f07d07a
Print flattened array of tags
caendesilva Apr 6, 2023
f3cd1a9
Assign tags as flat array
caendesilva Apr 6, 2023
2884fc3
Add only the tags using the replacement helper
caendesilva Apr 6, 2023
e0dced7
Update test to expect flattened tags array
caendesilva Apr 6, 2023
0aa36f1
Remove tag name prompt from command
caendesilva Apr 6, 2023
2fa0d5c
Remove now unused tagName property
caendesilva Apr 6, 2023
540f27d
Clean up test
caendesilva Apr 6, 2023
677a45f
Apply fixes from StyleCI
StyleCIBot Apr 6, 2023
b0b8dd8
Add todo
caendesilva Apr 6, 2023
6cf1570
Remove remaining deprecated helpers
caendesilva Apr 6, 2023
1aeac70
Merge pull request #1367 from hydephp/remove-tag-groups-from-publicat…
caendesilva Apr 6, 2023
31fbaa3
Merge branch 'publications-feature' of github.com:hydephp/develop int…
caendesilva Apr 6, 2023
8f30f99
Update outdated PHPDoc annotations
caendesilva Apr 7, 2023
3ac1c84
Store publication tags as an array instead of a collection
caendesilva Apr 7, 2023
c0442f3
Use native functions instead of collect calls
caendesilva Apr 7, 2023
ef4892d
No longer sort returned tags
caendesilva Apr 7, 2023
8241fc9
Apply fixes from StyleCI
StyleCIBot Apr 7, 2023
8cbb556
Update Publications::getAllTags to return array instead of a collection
caendesilva Apr 7, 2023
eef5ab8
Use empty expression instead of isEmpty call
caendesilva Apr 8, 2023
8ee6e49
Only collect data when needed
caendesilva Apr 8, 2023
0f8f6bf
Use the Arr facade instead of collect
caendesilva Apr 8, 2023
e7dc53a
Move up static method
caendesilva Apr 9, 2023
abcc2fd
Update class description
caendesilva Apr 9, 2023
0bc5a49
Add new method to get all tags used in the project publications
caendesilva Apr 10, 2023
77c657b
Implement dynamic tag array generation
caendesilva Apr 10, 2023
10c53c9
Add todos
caendesilva Apr 10, 2023
2c4f062
Apply fixes from StyleCI
StyleCIBot Apr 10, 2023
8803638
Deprecate method PublicationTags::getAllTags
caendesilva Apr 10, 2023
0f47114
Remove tests for deprecated method
caendesilva Apr 10, 2023
9610cbb
Deprecate MakePublicationTagCommand as tags are now handled dynamically
caendesilva Apr 10, 2023
db60de0
Delete MakePublicationTagCommandTest.php
caendesilva Apr 11, 2023
19977ac
Delete MakePublicationTagCommand.php
caendesilva Apr 11, 2023
4daa05b
Unregister MakePublicationTagCommand
caendesilva Apr 11, 2023
c1577f8
Update test to remove filesystem fixture that doesn't affect anything
caendesilva Apr 11, 2023
5454d47
Remove method `PublicationTags::addTags`
caendesilva Apr 11, 2023
4b6cde0
Deprecate method `PublicationTags::getTags`
caendesilva Apr 11, 2023
f46da12
Update facade method to use replacement publication tags method
caendesilva Apr 11, 2023
ae29ddd
Revert "Update facade method to use replacement publication tags method"
caendesilva Apr 11, 2023
a78f158
Remove early return when there are no tags
caendesilva Apr 11, 2023
d321592
Remove resolved todo as its task is now made implicit
caendesilva Apr 11, 2023
ec13055
Remove statement with empty body
caendesilva Apr 11, 2023
6699030
Unwrap unused local variable
caendesilva Apr 11, 2023
3de6905
Remove unused pure method call
caendesilva Apr 11, 2023
cfa2dae
Reword legacy message
caendesilva Apr 11, 2023
6ddf83b
Skip test currently being refactored
caendesilva Apr 11, 2023
c3b1a71
Ask with completion instead of reloadable choice
caendesilva Apr 11, 2023
992aa24
Refactor test to use media input as subject
caendesilva Apr 11, 2023
999c4ee
Remove legacy test
caendesilva Apr 11, 2023
035413f
Update output message wording to include pluralized options
caendesilva Apr 12, 2023
c788042
Merge output messages
caendesilva Apr 12, 2023
35172b9
Sort tags since they now are dynamic
caendesilva Apr 12, 2023
71e00f2
Revert "Sort tags since they now are dynamic"
caendesilva Apr 13, 2023
d71e6b9
Refactor tag field capture to use choice instead of completion
caendesilva Apr 12, 2023
e0fea15
Simplify formatting
caendesilva Apr 12, 2023
9aacae4
Remove auxiliary text as default output makes it fluent
caendesilva Apr 12, 2023
b733c5c
Update test for new question format
caendesilva Apr 13, 2023
0c0d1c8
Add todo
caendesilva Apr 13, 2023
58d0b69
Test with comma separated values as that's what question describes
caendesilva Apr 13, 2023
2b7a368
Update expectations to match command flow
caendesilva Apr 14, 2023
4f34aab
Parse comma separated values
caendesilva Apr 14, 2023
eabcbeb
Import used functions
caendesilva Apr 14, 2023
5d729b3
Reindent lines
caendesilva Apr 14, 2023
134c723
Allow multiple tags to be selected in choice
caendesilva Apr 14, 2023
756a9f9
Revert "Add todo"
caendesilva Apr 14, 2023
9884ff9
Add todo
caendesilva Apr 14, 2023
c55dff7
Extract helper method from code comment
caendesilva Apr 14, 2023
c1ca976
Revert "Revert "Update facade method to use replacement publication t…
caendesilva Apr 14, 2023
b96dcd2
Skip test being refactored
caendesilva Apr 14, 2023
a1d8096
Refactor test to use new tags system
caendesilva Apr 14, 2023
7f7188f
Remove deprecated legacy code
caendesilva Apr 14, 2023
4d3cb70
Remove test comment
caendesilva Apr 14, 2023
3d56d89
Remove tags constructor
caendesilva Apr 14, 2023
a7c49f7
Remove tags array
caendesilva Apr 14, 2023
c8c56c7
Update outdated class description
caendesilva Apr 14, 2023
7902433
Rename Publications method `getAllTags` to `getPublicationTags`
caendesilva Apr 14, 2023
3801f87
Expand code comment to match called method
caendesilva Apr 14, 2023
2de666c
Document where data is sourced from
caendesilva Apr 14, 2023
b1da211
Annotate return generics
caendesilva Apr 14, 2023
57db4d0
Inline local variable
caendesilva Apr 14, 2023
bb1f806
Inline local variable
caendesilva Apr 14, 2023
4ea38d7
Remove code comment as code should be self explanatory
caendesilva Apr 14, 2023
9e760c4
Replace usages with facade method
caendesilva Apr 14, 2023
8a6b0f6
Merge PublicationTags facade into Publications facade method
caendesilva Apr 14, 2023
d673a56
Delete PublicationTagsTest.php
caendesilva Apr 15, 2023
0dfb601
Delete PublicationTags.php
caendesilva Apr 15, 2023
0af957a
Add local variable type generics
caendesilva Apr 15, 2023
c0b4020
Move down variable declaration to where it is first used
caendesilva Apr 15, 2023
9dd31b5
Inline unnecessary local variable
caendesilva Apr 15, 2023
799adc6
Move up variable declaration
caendesilva Apr 15, 2023
cac175f
Add code comment
caendesilva Apr 15, 2023
8ad1534
Invert control flow to put code within conditional instead of continue
caendesilva Apr 15, 2023
a4fc87d
Invert control flow to put code within conditional instead of continue
caendesilva Apr 15, 2023
c752be8
Use filled function instead of not empty as it is broader
caendesilva Apr 15, 2023
0a1250a
Remove sorting as it has no affect on the following operations
caendesilva Apr 15, 2023
7171906
Use strict comparison
caendesilva Apr 15, 2023
5983b97
Compare enum case instead of enum name
caendesilva Apr 15, 2023
dc70530
Add todo
caendesilva Apr 15, 2023
d244edd
Inline local variable
caendesilva Apr 15, 2023
4b5aab8
Inline local variable
caendesilva Apr 15, 2023
3eca65b
Create local variable for the tags route base name
caendesilva Apr 15, 2023
e07e02c
Rename protected collection property to pageCollection
caendesilva Apr 15, 2023
c186928
Inline local reference variable
caendesilva Apr 15, 2023
4b0b187
Use implicit comparison instead of function call
caendesilva Apr 15, 2023
007c992
Refactor to generate tag counts array by pages from tag array
caendesilva Apr 15, 2023
c17ffcb
Convert closure to arrow function
caendesilva Apr 15, 2023
8b19a10
Use built in count function for array map
caendesilva Apr 15, 2023
b1abcf3
Inline local variable
caendesilva Apr 15, 2023
fdb04e9
Wrap over array in long constructor line
caendesilva Apr 15, 2023
9f743b2
Move down type annotation
caendesilva Apr 15, 2023
6df8b55
Remove now unused local tagCounts variable
caendesilva Apr 15, 2023
e243584
Update type annotation
caendesilva Apr 15, 2023
8feb936
Add missing trailing comma
caendesilva Apr 15, 2023
057d4fb
Remove self explanatory code comment
caendesilva Apr 15, 2023
b265d79
Remove unnecessary array write operation
caendesilva Apr 15, 2023
6a5c684
Query collection instead of using nested conditional
caendesilva Apr 15, 2023
debd2bc
Use strict comparison operator
caendesilva Apr 15, 2023
fa7dae1
Use whereStrict shorthand
caendesilva Apr 15, 2023
341dfbe
Refactor to use simplified logic copied from service
caendesilva Apr 15, 2023
ff9de0f
Import used function
caendesilva Apr 15, 2023
32f87cb
Inline local variable
caendesilva Apr 15, 2023
7779112
Extract public facade method to get pages grouped by tag
caendesilva Apr 15, 2023
983cdf2
Add note on recurring entries
caendesilva Apr 15, 2023
e1557e0
Qualify namespace
caendesilva Apr 15, 2023
7468305
Remove todo as added method can be used
caendesilva Apr 16, 2023
44be38d
Use the tags route basename variable
caendesilva Apr 16, 2023
0c1f76e
Remove outdated unused code
caendesilva Apr 16, 2023
3e7aaaf
Add type annotation
caendesilva Apr 16, 2023
f3e98a4
No longer skip empty tags as invalid state handling is out of scope
caendesilva Apr 16, 2023
551182a
Remove code comment that should be self explanatory
caendesilva Apr 16, 2023
67ca548
Extract helper method for shared logic between class methods
caendesilva Apr 16, 2023
bc1ed30
Normalize local variable names
caendesilva Apr 16, 2023
77ed9f0
Use method shorthand with same semantics
caendesilva Apr 16, 2023
73a9d70
Refactor method to leverage other helper with shared logic
caendesilva Apr 16, 2023
1193bee
Replace foreach loop with collection helpers
caendesilva Apr 16, 2023
d647994
Remove unused imports
caendesilva Apr 16, 2023
7a7e6dd
Convert closure to arrow function
caendesilva Apr 16, 2023
f04f695
Replace collection mapper with array keys call
caendesilva Apr 16, 2023
a84367d
Document code example in helper note
caendesilva Apr 16, 2023
93ae6fd
Add array key access as multiple choice returns array
caendesilva Apr 16, 2023
bc7b43e
Add type check
caendesilva Apr 16, 2023
42827e5
Expect tagged publications to be created even when there are no tags
caendesilva Apr 17, 2023
e2f50f5
Add todo
caendesilva Apr 17, 2023
0b36a55
Add todo
caendesilva Apr 18, 2023
e4ab498
Introduce local variable
caendesilva Apr 18, 2023
283e5f5
Introduce local variable
caendesilva Apr 18, 2023
dfb30ea
Update test data to use new dynamic tags
caendesilva Apr 19, 2023
e0ab330
Update test data to use new dynamic tags
caendesilva Apr 19, 2023
055d9c2
Replace todo with fixme to prevent PR from being merged until fixed
caendesilva Apr 19, 2023
aa213e8
Extract method
caendesilva Apr 21, 2023
e581d85
Mark getPublicationsGroupedByTags method as experimental
caendesilva Apr 22, 2023
c49df2c
Remove unreliable baseline assertion
caendesilva Apr 22, 2023
9bd2b82
Clean up test imports
caendesilva Apr 22, 2023
1a18200
Fix namespace
caendesilva Apr 23, 2023
3693877
Update publications seeder to default to random word when tags is empty
caendesilva Apr 23, 2023
a16af5c
Determine if tag pages should be generated by counting if tags exist
caendesilva Apr 23, 2023
6c941a7
Change order of unlink to fix possible race condition in test
caendesilva Apr 23, 2023
40fc6c8
Merge pull request #1368 from hydephp/finalize-publication-tags-api
caendesilva Apr 23, 2023
66b57f2
Remove unused helper methods
caendesilva Apr 23, 2023
dddcd74
Add todo
caendesilva Apr 10, 2023
a613d0d
Add todo
caendesilva Apr 15, 2023
cf3c18f
Add todo
caendesilva Apr 15, 2023
94c4782
Merge branch 'master' into publications-feature
caendesilva Apr 23, 2023
1fbd2f8
Replace ternary expression with coalesce assignment
caendesilva Apr 24, 2023
054e77c
Fix experimental comment
caendesilva Apr 24, 2023
31ea952
Remove fixme as base classes have public properties
caendesilva Apr 24, 2023
9f8b3a4
Make PublicationPage::$type readonly as it can't be persisted
caendesilva Apr 24, 2023
756a549
Move up parent constructor call
caendesilva Apr 24, 2023
916f792
Inline simple helper method
caendesilva Apr 24, 2023
59bceee
Uninitialize publication page template property
caendesilva Apr 24, 2023
7f4718c
Check directly against meta field name as we only have one
caendesilva Apr 24, 2023
773c6a2
Collect array in constructor instead of repeatedly in helper method
caendesilva Apr 24, 2023
9a38ed4
Rename helper method only used once to be specific to that usage
caendesilva Apr 25, 2023
b2d97d2
Temporarily move up helper method in file
caendesilva Apr 25, 2023
eb02163
Inline helper method parameter value
caendesilva Apr 25, 2023
bf99a8d
Inline helper method parameter value
caendesilva Apr 25, 2023
5d90636
Move down todo
caendesilva Apr 25, 2023
d2a3af9
Split sprintf call to local variable
caendesilva Apr 25, 2023
b626aad
Make error message more fluent
caendesilva Apr 25, 2023
ccb045f
Display field name
caendesilva Apr 25, 2023
a3ae6c9
Revert "Display field name"
caendesilva Apr 25, 2023
02d0a90
Collect media files in root media directory
caendesilva Apr 25, 2023
4aa9a2e
Unwrap 'else'
caendesilva Apr 25, 2023
5a464c5
Put confirmation in if statement
caendesilva Apr 25, 2023
905462e
Ask user to select what to do next
caendesilva Apr 25, 2023
3a68461
Remove todo for asking to select from root directory
caendesilva Apr 25, 2023
f4a12ad
Revert "Ask user to select what to do next"
caendesilva Apr 25, 2023
b5929e8
Revert "Put confirmation in if statement"
caendesilva Apr 25, 2023
e7aafad
Revert "Unwrap 'else'"
caendesilva Apr 25, 2023
46d635c
Revert "Collect media files in root media directory"
caendesilva Apr 25, 2023
d7556ff
Add new todo
caendesilva Apr 25, 2023
a075e9e
Inline local variable
caendesilva Apr 25, 2023
4a7a221
Merge pull request #1370 from hydephp/publications-refactors
caendesilva May 7, 2023
b62afe1
Merge branch 'master' into publications-feature
caendesilva May 14, 2023
9896fc2
Resolve merge conflict
caendesilva May 14, 2023
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
327 changes: 317 additions & 10 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,18 +1,325 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_size = 4
indent_style = space
insert_final_newline = false
max_line_length = 160
tab_width = 4
ij_continuation_indent_size = 8
ij_formatter_off_tag = @formatter:off
ij_formatter_on_tag = @formatter:on
ij_formatter_tags_enabled = false
ij_smart_tabs = false
ij_visual_guides = none
ij_wrap_on_typing = false

[*.blade.php]
ij_blade_keep_indents_on_empty_lines = false

[.editorconfig]
ij_editorconfig_align_group_field_declarations = false
ij_editorconfig_space_after_colon = false
ij_editorconfig_space_after_comma = true
ij_editorconfig_space_before_colon = false
ij_editorconfig_space_before_comma = false
ij_editorconfig_spaces_around_assignment_operators = true

[{*.ctp,*.hphp,*.inc,*.module,*.php,*.php4,*.php5,*.phtml}]
ij_continuation_indent_size = 4
ij_php_align_assignments = false
ij_php_align_class_constants = false
ij_php_align_group_field_declarations = false
ij_php_align_inline_comments = false
ij_php_align_key_value_pairs = false
ij_php_align_match_arm_bodies = false
ij_php_align_multiline_array_initializer_expression = false
ij_php_align_multiline_binary_operation = false
ij_php_align_multiline_chained_methods = true
ij_php_align_multiline_extends_list = false
ij_php_align_multiline_for = false
ij_php_align_multiline_parameters = false
ij_php_align_multiline_parameters_in_calls = false
ij_php_align_multiline_ternary_operation = true
ij_php_align_named_arguments = false
ij_php_align_phpdoc_comments = false
ij_php_align_phpdoc_param_names = false
ij_php_anonymous_brace_style = end_of_line
ij_php_api_weight = 28
ij_php_array_initializer_new_line_after_left_brace = true
ij_php_array_initializer_right_brace_on_new_line = true
ij_php_array_initializer_wrap = on_every_item
ij_php_assignment_wrap = off
ij_php_attributes_wrap = off
ij_php_author_weight = 28
ij_php_binary_operation_sign_on_next_line = false
ij_php_binary_operation_wrap = off
ij_php_blank_lines_after_class_header = 0
ij_php_blank_lines_after_function = 1
ij_php_blank_lines_after_imports = 1
ij_php_blank_lines_after_opening_tag = 1
ij_php_blank_lines_after_package = 1
ij_php_blank_lines_around_class = 1
ij_php_blank_lines_around_constants = 0
ij_php_blank_lines_around_field = 0
ij_php_blank_lines_around_method = 1
ij_php_blank_lines_before_class_end = 0
ij_php_blank_lines_before_imports = 1
ij_php_blank_lines_before_method_body = 0
ij_php_blank_lines_before_package = 1
ij_php_blank_lines_before_return_statement = 0
ij_php_blank_lines_between_imports = 1
ij_php_block_brace_style = end_of_line
ij_php_call_parameters_new_line_after_left_paren = true
ij_php_call_parameters_right_paren_on_new_line = true
ij_php_call_parameters_wrap = on_every_item
ij_php_catch_on_new_line = false
ij_php_category_weight = 28
ij_php_class_brace_style = next_line
ij_php_comma_after_last_argument = false
ij_php_comma_after_last_array_element = false
ij_php_comma_after_last_closure_use_var = false
ij_php_comma_after_last_parameter = false
ij_php_concat_spaces = false
ij_php_copyright_weight = 28
ij_php_deprecated_weight = 28
ij_php_do_while_brace_force = always
ij_php_else_if_style = combine
ij_php_else_on_new_line = false
ij_php_example_weight = 28
ij_php_extends_keyword_wrap = off
ij_php_extends_list_wrap = on_every_item
ij_php_fields_default_visibility = private
ij_php_filesource_weight = 28
ij_php_finally_on_new_line = false
ij_php_for_brace_force = always
ij_php_for_statement_new_line_after_left_paren = true
ij_php_for_statement_right_paren_on_new_line = true
ij_php_for_statement_wrap = off
ij_php_force_empty_methods_in_one_line = false
ij_php_force_short_declaration_array_style = false
ij_php_getters_setters_naming_style = camel_case
ij_php_getters_setters_order_style = getters_first
ij_php_global_weight = 28
ij_php_group_use_wrap = on_every_item
ij_php_if_brace_force = always
ij_php_if_lparen_on_next_line = false
ij_php_if_rparen_on_next_line = false
ij_php_ignore_weight = 28
ij_php_import_sorting = alphabetic
ij_php_indent_break_from_case = true
ij_php_indent_case_from_switch = true
ij_php_indent_code_in_php_tags = false
ij_php_internal_weight = 28
ij_php_keep_blank_lines_after_lbrace = 0
ij_php_keep_blank_lines_before_right_brace = 0
ij_php_keep_blank_lines_in_code = 2
ij_php_keep_blank_lines_in_declarations = 2
ij_php_keep_control_statement_in_one_line = true
ij_php_keep_first_column_comment = true
ij_php_keep_indents_on_empty_lines = false
ij_php_keep_line_breaks = true
ij_php_keep_rparen_and_lbrace_on_one_line = true
ij_php_keep_simple_classes_in_one_line = false
ij_php_keep_simple_methods_in_one_line = false
ij_php_lambda_brace_style = end_of_line
ij_php_license_weight = 28
ij_php_line_comment_add_space = false
ij_php_line_comment_at_first_column = true
ij_php_link_weight = 28
ij_php_lower_case_boolean_const = true
ij_php_lower_case_keywords = true
ij_php_lower_case_null_const = true
ij_php_method_brace_style = next_line
ij_php_method_call_chain_wrap = off
ij_php_method_parameters_new_line_after_left_paren = true
ij_php_method_parameters_right_paren_on_new_line = true
ij_php_method_parameters_wrap = on_every_item
ij_php_method_weight = 28
ij_php_modifier_list_wrap = false
ij_php_multiline_chained_calls_semicolon_on_new_line = false
ij_php_namespace_brace_style = 1
ij_php_new_line_after_php_opening_tag = true
ij_php_null_type_position = in_the_end
ij_php_package_weight = 28
ij_php_param_weight = 0
ij_php_parameters_attributes_wrap = off
ij_php_parentheses_expression_new_line_after_left_paren = false
ij_php_parentheses_expression_right_paren_on_new_line = false
ij_php_phpdoc_blank_line_before_tags = false
ij_php_phpdoc_blank_lines_around_parameters = false
ij_php_phpdoc_keep_blank_lines = true
ij_php_phpdoc_param_spaces_between_name_and_description = 1
ij_php_phpdoc_param_spaces_between_tag_and_type = 1
ij_php_phpdoc_param_spaces_between_type_and_name = 1
ij_php_phpdoc_use_fqcn = true
ij_php_phpdoc_wrap_long_lines = false
ij_php_place_assignment_sign_on_next_line = false
ij_php_place_parens_for_constructor = 0
ij_php_property_read_weight = 28
ij_php_property_weight = 28
ij_php_property_write_weight = 28
ij_php_return_type_on_new_line = false
ij_php_return_weight = 1
ij_php_see_weight = 28
ij_php_since_weight = 28
ij_php_sort_phpdoc_elements = true
ij_php_space_after_colon = true
ij_php_space_after_colon_in_enum_backed_type = true
ij_php_space_after_colon_in_named_argument = true
ij_php_space_after_colon_in_return_type = true
ij_php_space_after_comma = true
ij_php_space_after_for_semicolon = true
ij_php_space_after_quest = true
ij_php_space_after_type_cast = true
ij_php_space_after_unary_not = false
ij_php_space_before_array_initializer_left_brace = false
ij_php_space_before_catch_keyword = true
ij_php_space_before_catch_left_brace = true
ij_php_space_before_catch_parentheses = true
ij_php_space_before_class_left_brace = true
ij_php_space_before_closure_left_parenthesis = true
ij_php_space_before_colon = true
ij_php_space_before_colon_in_enum_backed_type = false
ij_php_space_before_colon_in_named_argument = false
ij_php_space_before_colon_in_return_type = false
ij_php_space_before_comma = false
ij_php_space_before_do_left_brace = true
ij_php_space_before_else_keyword = true
ij_php_space_before_else_left_brace = true
ij_php_space_before_finally_keyword = true
ij_php_space_before_finally_left_brace = true
ij_php_space_before_for_left_brace = true
ij_php_space_before_for_parentheses = true
ij_php_space_before_for_semicolon = false
ij_php_space_before_if_left_brace = true
ij_php_space_before_if_parentheses = true
ij_php_space_before_method_call_parentheses = false
ij_php_space_before_method_left_brace = true
ij_php_space_before_method_parentheses = false
ij_php_space_before_quest = true
ij_php_space_before_short_closure_left_parenthesis = false
ij_php_space_before_switch_left_brace = true
ij_php_space_before_switch_parentheses = true
ij_php_space_before_try_left_brace = true
ij_php_space_before_unary_not = false
ij_php_space_before_while_keyword = true
ij_php_space_before_while_left_brace = true
ij_php_space_before_while_parentheses = true
ij_php_space_between_ternary_quest_and_colon = false
ij_php_spaces_around_additive_operators = true
ij_php_spaces_around_arrow = false
ij_php_spaces_around_assignment_in_declare = false
ij_php_spaces_around_assignment_operators = true
ij_php_spaces_around_bitwise_operators = true
ij_php_spaces_around_equality_operators = true
ij_php_spaces_around_logical_operators = true
ij_php_spaces_around_multiplicative_operators = true
ij_php_spaces_around_null_coalesce_operator = true
ij_php_spaces_around_pipe_in_union_type = false
ij_php_spaces_around_relational_operators = true
ij_php_spaces_around_shift_operators = true
ij_php_spaces_around_unary_operator = false
ij_php_spaces_around_var_within_brackets = false
ij_php_spaces_within_array_initializer_braces = false
ij_php_spaces_within_brackets = false
ij_php_spaces_within_catch_parentheses = false
ij_php_spaces_within_for_parentheses = false
ij_php_spaces_within_if_parentheses = false
ij_php_spaces_within_method_call_parentheses = false
ij_php_spaces_within_method_parentheses = false
ij_php_spaces_within_parentheses = false
ij_php_spaces_within_short_echo_tags = true
ij_php_spaces_within_switch_parentheses = false
ij_php_spaces_within_while_parentheses = false
ij_php_special_else_if_treatment = false
ij_php_subpackage_weight = 28
ij_php_ternary_operation_signs_on_next_line = false
ij_php_ternary_operation_wrap = off
ij_php_throws_weight = 2
ij_php_todo_weight = 28
ij_php_treat_multiline_arrays_and_lambdas_multiline = false
ij_php_unknown_tag_weight = 28
ij_php_upper_case_boolean_const = false
ij_php_upper_case_null_const = false
ij_php_uses_weight = 28
ij_php_var_weight = 28
ij_php_variable_naming_style = mixed
ij_php_version_weight = 28
ij_php_while_brace_force = always
ij_php_while_on_new_line = false

[{*.har,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.stylelintrc,bowerrc,composer.lock,jest.config}]
indent_size = 4
trim_trailing_whitespace = true
ij_json_array_wrapping = split_into_lines
ij_json_keep_blank_lines_in_code = 0
ij_json_keep_indents_on_empty_lines = false
ij_json_keep_line_breaks = true
ij_json_keep_trailing_comma = false
ij_json_object_wrapping = split_into_lines
ij_json_property_alignment = do_not_align
ij_json_space_after_colon = true
ij_json_space_after_comma = true
ij_json_space_before_colon = false
ij_json_space_before_comma = false
ij_json_spaces_within_braces = false
ij_json_spaces_within_brackets = false
ij_json_wrap_long_lines = false

[*.md]
trim_trailing_whitespace = false
[{*.htm,*.html,*.ng,*.sht,*.shtm,*.shtml}]
ij_html_add_new_line_before_tags = body,div,p,form,h1,h2,h3
ij_html_align_attributes = true
ij_html_align_text = false
ij_html_attribute_wrap = normal
ij_html_block_comment_add_space = false
ij_html_block_comment_at_first_column = true
ij_html_do_not_align_children_of_min_lines = 0
ij_html_do_not_break_if_inline_tags = title,h1,h2,h3,h4,h5,h6,p
ij_html_do_not_indent_children_of_tags = html,body,thead,tbody,tfoot
ij_html_enforce_quotes = false
ij_html_inline_tags = a,abbr,acronym,b,basefont,bdo,big,br,cite,cite,code,dfn,em,font,i,img,input,kbd,label,q,s,samp,select,small,span,strike,strong,sub,sup,textarea,tt,u,var
ij_html_keep_blank_lines = 2
ij_html_keep_indents_on_empty_lines = false
ij_html_keep_line_breaks = true
ij_html_keep_line_breaks_in_text = true
ij_html_keep_whitespaces = false
ij_html_keep_whitespaces_inside = span,pre,textarea
ij_html_line_comment_at_first_column = true
ij_html_new_line_after_last_attribute = never
ij_html_new_line_before_first_attribute = never
ij_html_quote_style = double
ij_html_remove_new_line_before_tags = br
ij_html_space_after_tag_name = false
ij_html_space_around_equality_in_attribute = false
ij_html_space_inside_empty_tag = false
ij_html_text_wrap = normal

[*.{yml,yaml}]
indent_size = 2
[{*.markdown,*.md}]
ij_markdown_force_one_space_after_blockquote_symbol = true
ij_markdown_force_one_space_after_header_symbol = true
ij_markdown_force_one_space_after_list_bullet = true
ij_markdown_force_one_space_between_words = true
ij_markdown_insert_quote_arrows_on_wrap = true
ij_markdown_keep_indents_on_empty_lines = false
ij_markdown_keep_line_breaks_inside_text_blocks = true
ij_markdown_max_lines_around_block_elements = 1
ij_markdown_max_lines_around_header = 1
ij_markdown_max_lines_between_paragraphs = 1
ij_markdown_min_lines_around_block_elements = 1
ij_markdown_min_lines_around_header = 1
ij_markdown_min_lines_between_paragraphs = 1
ij_markdown_wrap_text_if_long = true
ij_markdown_wrap_text_inside_blockquotes = true

[*.blade.php]
insert_final_newline = false
[{*.yaml,*.yml}]
indent_size = 2
ij_yaml_align_values_properties = do_not_align
ij_yaml_autoinsert_sequence_marker = true
ij_yaml_block_mapping_on_new_line = false
ij_yaml_indent_sequence_value = true
ij_yaml_keep_indents_on_empty_lines = false
ij_yaml_keep_line_breaks = true
ij_yaml_sequence_on_new_line = false
ij_yaml_space_before_colon = false
ij_yaml_spaces_within_braces = true
ij_yaml_spaces_within_brackets = true
1 change: 0 additions & 1 deletion .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,22 @@
"require": {
"php": "^8.1",
"hyde/framework": "dev-master",
"hyde/ui-kit": "dev-master",
"laravel-zero/framework": "^9.1"
"illuminate/validation": "^9.0.0",
"laravel-zero/framework": "^9.1",
"rgasch/illuminate-collection-extended": "^1.0",
"thecodingmachine/safe": "^2.4",
"hyde/ui-kit": "dev-master"
},
"require-dev": {
"driftingly/rector-laravel": "^0.14.0",
"hyde/realtime-compiler": "dev-master",
"hyde/testing": "dev-master",
"laravel/tinker": "^2.7",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/phpstan": "^1.8",
"rector/rector": "^0.14.6",
"squizlabs/php_codesniffer": "^3.7",
"thecodingmachine/phpstan-safe-rule": "^1.2",
"vimeo/psalm": "^4.24"
},
"autoload": {
Expand Down
Loading