Skip to content

Commit a88535e

Browse files
L10 (#5)
* L10 * Fix styling * wip * wip --------- Co-authored-by: rubenvanassche <[email protected]>
1 parent 7eafec4 commit a88535e

File tree

3 files changed

+18
-11
lines changed

3 files changed

+18
-11
lines changed

.github/workflows/run-tests.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,23 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest, windows-latest]
16-
php: [8.1, 8.0]
17-
laravel: [9.*, 8.*]
16+
php: [8.2, 8.1, 8.0]
17+
laravel: [10.*, 9.*, 8.*]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
2020
- laravel: 8.*
2121
testbench: ^6.6
2222
- laravel: 9.*
2323
testbench: 7.*
24+
- laravel: 10.*
25+
testbench: 8.*
26+
exclude:
27+
- laravel: 8.*
28+
php: 8.2
29+
- laravel: 9.*
30+
php: 8.2
31+
- laravel: 10.*
32+
php: 8.0
2433

2534
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2635

.php-cs-fixer.cache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"php":"8.1.3","version":"3.7.0","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":true,"class_definition":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true,"class_attributes_separation":{"elements":{"method":"one"}},"single_trait_insert_per_statement":true},"hashes":{"src\/Directives\/GroupDirective.php":968603032,"src\/Directives\/PatternDirective.php":1732368638,"src\/Directives\/DateRangeKeyValuePatternDirective.php":2189551149,"src\/Directives\/ColumnGroupDirective.php":1730858933,"src\/Directives\/DateKeyValuePatternDirective.php":4082701461,"src\/Directives\/BaseDirective.php":1837670501,"src\/Directives\/FuzzyKeyValuePatternDirective.php":3299415763,"src\/Directives\/FuzzyValueBaseDirective.php":4213220924,"src\/SearchHit.php":2068485165,"src\/Support\/Regex.php":1588407898,"src\/SearchQuery.php":904772392,"src\/SearchExecutor.php":3386966144,"src\/Concerns\/ForwardsCalls.php":1561246881,"src\/SearchResults.php":1400944556,"src\/Suggestion.php":2090866737,"tests\/stubs\/FlareContextGroupDirective.php":3393435878,"tests\/stubs\/Data\/ErrorOccurrenceGrouping.php":855156310,"tests\/stubs\/Data\/ErrorOccurrence.php":795272725,"tests\/stubs\/Data\/ErrorOccurrenceHit.php":141751169,"tests\/stubs\/FlareGroupDirective.php":3194451501,"tests\/TestCase.php":3201134510,"tests\/Support\/PayloadFactory.php":1983555671,"tests\/SearchQueryTest.php":195164432,"tests\/Fakes\/FakeElasticSearchClient.php":3633090768}}
1+
{"php":"8.1.14","version":"3.14.3","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":true,"class_definition":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true,"class_attributes_separation":{"elements":{"method":"one"}},"single_trait_insert_per_statement":true},"hashes":{"src\/Suggestion.php":"661af728452412f5d5f964035474d65f","src\/Support\/Regex.php":"d5d0e5bda6adb3cb5f8969857b454238","src\/SearchExecutor.php":"6997ff90230fa42cd304fae03fd13cf8","src\/SearchHit.php":"2a1a801fe631d7407e5fae25df39e624","src\/Directives\/DateRangeKeyValuePatternDirective.php":"f4be1419c843732c971f9d9afdb9d358","src\/Directives\/DateKeyValuePatternDirective.php":"58fa9deff164e415c30851996a0d59af","src\/Directives\/GroupDirective.php":"9134faa14648e86c48726ff668a80418","src\/Directives\/FuzzyKeyValuePatternDirective.php":"58bdc67b6e0c75836b53d4a85959c829","src\/Directives\/PatternDirective.php":"013b732068f2adec52ff6df51e39ceff","src\/Directives\/ColumnGroupDirective.php":"02fc85294e7723504e5c8becf7418bcd","src\/Directives\/FuzzyValueBaseDirective.php":"6011e03e59aa06211a1a470dc635ac31","src\/Directives\/BaseDirective.php":"9e036f60a50d3067ad49649f6f9b367d","src\/SearchResults.php":"537502ad243e34d39cab80110d468e19","src\/Concerns\/ForwardsCalls.php":"2b1134983c0ffa15a4e1a814959d4b78","src\/SearchQuery.php":"16bc899fd37bdc33b91f1f242abd33aa","tests\/Support\/PayloadFactory.php":"4d39f481511b7e44c184d6a666166e63","tests\/stubs\/FlareGroupDirective.php":"7fe4105e03c7c90396c2a892d9368292","tests\/stubs\/FlareContextGroupDirective.php":"91c5ba31efeaf6a9cd165044aa38cad2","tests\/stubs\/Data\/ErrorOccurrenceGrouping.php":"b3b08aaaf7c08b7c3513285adada7756","tests\/stubs\/Data\/ErrorOccurrence.php":"3f086ba3bc5fb3626510827d06788cef","tests\/stubs\/Data\/ErrorOccurrenceHit.php":"ca5117bd71320dfa5ebf1c2d4a616dfe","tests\/Fakes\/FakeElasticSearchClient.php":"c500e89673e520cd9a6f0dfb4c313d3e","tests\/SearchQueryTest.php":"a26d8217fdc4582ca00e3cd98490b48d","tests\/TestCase.php":"859769bea6a81a3d890d6e4415d4c398"}}

composer.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,16 @@
1818
"role": "Developer"
1919
}
2020
],
21-
"repositories": [{
22-
"type": "vcs",
23-
"url": "https://github.com/spatie/elasticsearch-query-builder"
24-
}
25-
],
2621
"require": {
2722
"php": "^8.0",
2823
"elasticsearch/elasticsearch": "^7.12",
29-
"illuminate/collections": "^8.40|^9.0",
24+
"illuminate/collections": "^8.40|^9.0|^10.0",
3025
"spatie/elasticsearch-query-builder": "^1.0"
3126
},
3227
"require-dev": {
3328
"brianium/paratest": "^6.2",
3429
"larapack/dd": "^1.1",
35-
"phpunit/phpunit": "^9.3",
30+
"phpunit/phpunit": "^9.3|^10.0",
3631
"spatie/phpunit-snapshot-assertions": "^4.2",
3732
"vimeo/psalm": "^4.4"
3833
},
@@ -51,7 +46,10 @@
5146
"test-coverage": "vendor/bin/phpunit --coverage-html coverage"
5247
},
5348
"config": {
54-
"sort-packages": true
49+
"sort-packages": true,
50+
"allow-plugins": {
51+
"php-http/discovery": true
52+
}
5553
},
5654
"minimum-stability": "dev",
5755
"prefer-stable": true

0 commit comments

Comments
 (0)