-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor code style and drop support for php7
- Loading branch information
Showing
23 changed files
with
272 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
.DS_Store | ||
/composer.lock | ||
/.idea/ | ||
/.phpunit.result.cache | ||
/*.cache | ||
/vendor/ | ||
phpunit.xml.bak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
preset: psr12 | ||
version: 8 | ||
enabled: | ||
- alpha_ordered_imports | ||
- binary_operator_spaces | ||
- blank_line_before_return | ||
- cast_spaces | ||
- hash_to_slash_comment | ||
- heredoc_to_nowdoc | ||
- include | ||
- linebreak_after_opening_tag | ||
- method_separation | ||
- native_function_casing | ||
- no_blank_lines_after_phpdoc | ||
- no_blank_lines_after_return | ||
- no_blank_lines_after_throw | ||
- no_blank_lines_between_imports | ||
- no_blank_lines_between_traits | ||
- no_empty_comment | ||
- no_empty_phpdoc | ||
- no_empty_statement | ||
- no_extra_consecutive_blank_lines | ||
- no_short_bool_cast | ||
- no_singleline_whitespace_before_semicolons | ||
- no_spaces_inside_offset | ||
- no_spaces_outside_offset | ||
- no_trailing_comma_in_list_call | ||
- no_trailing_comma_in_singleline_array | ||
- no_unneeded_control_parentheses | ||
- no_unused_imports | ||
- no_useless_return | ||
- no_whitespace_before_comma_in_array | ||
- normalize_index_brace | ||
- object_operator_without_whitespace | ||
- phpdoc_add_missing_param_annotation | ||
- phpdoc_indent | ||
- phpdoc_inline_tag | ||
- phpdoc_link_to_see | ||
- phpdoc_no_access | ||
- phpdoc_no_empty_return | ||
- phpdoc_no_package | ||
- phpdoc_order | ||
- phpdoc_scalar | ||
- phpdoc_separation | ||
- phpdoc_single_line_var_spacing | ||
- phpdoc_trim | ||
- phpdoc_type_to_var | ||
- phpdoc_types | ||
- phpdoc_var_without_name | ||
- print_to_echo | ||
- short_array_syntax | ||
- space_after_semicolon | ||
- standardize_not_equals | ||
- trailing_comma_in_multiline_array | ||
- trim_array_spaces | ||
- unalign_double_arrow | ||
- unalign_equals | ||
- unary_operator_spaces | ||
- whitespace_after_comma_in_array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
{ | ||
"name": "ringierimu/state-workflow", | ||
"type": "library", | ||
"description": "State Management workflow for Laravel", | ||
"description": "Laravel State Workflow provide tools for defining and managing workflows and activities with ease.", | ||
"keywords": [ | ||
"workflow", | ||
"state management", | ||
"state machine", | ||
"state workflow", | ||
"laravel" | ||
], | ||
"homepage": "https://github.com/RingierIMU/state-workflow", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Norby Baruani", | ||
"email": "[email protected]", | ||
"email": "[email protected]", | ||
"role": "Developer" | ||
} | ||
], | ||
"require": { | ||
"php": "^7.3|^8.0", | ||
"illuminate/events": "^7|^8|^9|^10.0", | ||
"illuminate/support": "^7|^8|^9|^10.0", | ||
"php": "^8.0", | ||
"illuminate/events": "^8|^9|^10.0", | ||
"illuminate/support": "^8|^9|^10.0", | ||
"symfony/event-dispatcher": "^5.1", | ||
"symfony/workflow": "^5.1", | ||
"symfony/property-access": "^5.1" | ||
}, | ||
"require-dev": { | ||
"funkjedi/composer-include-files": "^1.0", | ||
"laravel/legacy-factories": "^1.1", | ||
"mockery/mockery": "^1.3|^1.4.2", | ||
"orchestra/database": "^5|^6|^7", | ||
"orchestra/testbench": "^5|^6|^7|^8.0", | ||
"phpunit/phpunit": "^8|^9" | ||
"orchestra/testbench": "^6.24|^7.0|^8.0", | ||
"phpunit/phpunit": "^9.5|^10.0" | ||
}, | ||
"extra": { | ||
"include_files": [ | ||
|
@@ -50,16 +50,16 @@ | |
"autoload-dev": { | ||
"psr-4": { | ||
"Ringierimu\\StateWorkflow\\Tests\\": "tests/" | ||
}, | ||
"classmap": [ | ||
"tests/Fixtures/database/factories" | ||
] | ||
} | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"config": { | ||
"allow-plugins": { | ||
"funkjedi/composer-include-files": true | ||
} | ||
}, | ||
"scripts": { | ||
"test": "phpunit" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.