Skip to content

Commit

Permalink
Added Laravel 8 to travis matrix, updated StyleCI config
Browse files Browse the repository at this point in the history
  • Loading branch information
fulopattila122 committed Sep 12, 2020
1 parent 9b490e3 commit 657e5ae
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 44 deletions.
80 changes: 36 additions & 44 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,39 @@
preset: psr2

enabled:
- align_phpdoc
- align_double_arrow
- align_equals
- blank_line_before_return
- cast_spaces
- concat_with_spaces
- lowercase_static_reference
- method_separation
- new_with_braces
- no_blank_lines_after_class_opening
- no_blank_lines_after_phpdoc
- no_blank_lines_after_return
- no_blank_lines_between_imports
- no_blank_lines_between_traits
- no_empty_statement
- no_extra_consecutive_blank_lines
- no_leading_namespace_whitespace
- no_null_property_initialization
- no_unneeded_final_method
- no_unreachable_default_argument_value
- no_unused_imports
- no_useless_else
- no_useless_return
- no_whitespace_before_comma_in_array
- no_whitespace_in_blank_line
- object_operator_without_whitespace
- ordered_class_elements
- php_unit_construct
- php_unit_dedicate_assert
- php_unit_expectation
- php_unit_no_expectation_annotation
- php_unit_set_up_tear_down_visibility
- phpdoc_link_to_see
- phpdoc_no_package
- phpdoc_order
- property_separation
- return_type_declaration
- short_array_syntax
- short_scalar_cast
- single_blank_line_before_namespace
- space_after_semicolon
- ternary_operator_spaces
- ternary_to_null_coalescing
- yoda_style
- align_phpdoc
- align_double_arrow
- blank_line_before_return
- cast_spaces
- concat_with_spaces
- lowercase_static_reference
- method_separation
- new_with_braces
- no_blank_lines_after_class_opening
- no_blank_lines_after_phpdoc
- no_blank_lines_after_return
- no_blank_lines_between_imports
- no_blank_lines_between_traits
- no_empty_statement
- no_extra_consecutive_blank_lines
- no_leading_namespace_whitespace
- no_null_property_initialization
- no_unused_imports
- no_useless_else
- no_useless_return
- no_whitespace_before_comma_in_array
- no_whitespace_in_blank_line
- object_operator_without_whitespace
- ordered_class_elements
- phpdoc_link_to_see
- phpdoc_no_package
- phpdoc_order
- property_separation
- return_type_declaration
- short_array_syntax
- short_scalar_cast
- single_blank_line_before_namespace
- space_after_semicolon
- ternary_operator_spaces
- ternary_to_null_coalescing
- yoda_style
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ env:
- ENUM=2 LARAVEL=5.8
- ENUM=2 LARAVEL=6.18
- ENUM=2 LARAVEL=7.0
- ENUM=2 LARAVEL=7.18
- ENUM=2 LARAVEL=8.0
- ENUM=3 LARAVEL=5.4
- ENUM=3 LARAVEL=5.5
- ENUM=3 LARAVEL=5.6
- ENUM=3 LARAVEL=5.7
- ENUM=3 LARAVEL=5.8
- ENUM=3 LARAVEL=6.18
- ENUM=3 LARAVEL=7.0
- ENUM=3 LARAVEL=7.18
- ENUM=3 LARAVEL=8.0

matrix:
exclude:
Expand All @@ -36,6 +40,18 @@ matrix:
env: 'ENUM=2 LARAVEL=7.0'
- php: '7.1'
env: 'ENUM=3 LARAVEL=7.0'
- php: '7.1'
env: 'ENUM=2 LARAVEL=7.18'
- php: '7.1'
env: 'ENUM=3 LARAVEL=7.18'
- php: '7.1'
env: 'ENUM=2 LARAVEL=8.0'
- php: '7.1'
env: 'ENUM=3 LARAVEL=8.0'
- php: '7.2'
env: 'ENUM=2 LARAVEL=8.0'
- php: '7.2'
env: 'ENUM=3 LARAVEL=8.0'

script:
- vendor/bin/phpunit -c phpunit.xml tests/
Expand Down

0 comments on commit 657e5ae

Please sign in to comment.