Skip to content

Commit 8beacd4

Browse files
committed
Merge remote-tracking branch 'origin/array-shape' into array-shape
2 parents 68c1f55 + 42b2561 commit 8beacd4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cache/.php-cs-fixer.cache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"php":"8.3.3","version":"3.49.0","indent":" ","lineEnding":"\n","rules":{"cast_spaces":{"space":"single"},"concat_space":{"spacing":"one"},"method_argument_space":true,"binary_operator_spaces":{"default":"single_space"},"blank_line_after_opening_tag":true,"blank_line_between_import_groups":true,"blank_lines_before_namespace":true,"braces_position":{"allow_single_line_empty_anonymous_classes":true},"class_definition":{"inline_constructor_arguments":false,"space_before_parenthesis":true},"compact_nullable_type_declaration":true,"declare_equal_normalize":true,"lowercase_cast":true,"lowercase_static_reference":true,"new_with_parentheses":true,"no_blank_lines_after_class_opening":true,"no_leading_import_slash":true,"no_whitespace_in_blank_line":true,"ordered_class_elements":{"order":["use_trait"]},"ordered_imports":{"imports_order":["class","function","const"],"sort_algorithm":"none"},"return_type_declaration":true,"short_scalar_cast":true,"single_import_per_statement":{"group_to_single_imports":false},"single_trait_insert_per_statement":true,"ternary_operator_spaces":true,"unary_operator_spaces":{"only_dec_inc":true},"visibility_required":true,"blank_line_after_namespace":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"elseif":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":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_line_after_imports":true,"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"encoding":true,"full_opening_tag":true,"align_multiline_comment":{"comment_type":"phpdocs_only"},"array_indentation":true,"assign_null_coalescing_to_coalesce_equal":true,"class_attributes_separation":{"elements":{"method":"one"}},"declare_strict_types":true,"explicit_string_variable":true,"general_phpdoc_annotation_remove":{"annotations":["api","access","author","category","copyright","created","license","link","package","since","subpackage","version"]},"modernize_types_casting":true,"no_alias_functions":true,"no_binary_string":true,"no_empty_comment":true,"no_empty_phpdoc":true,"no_empty_statement":true,"no_extra_blank_lines":{"tokens":["extra","curly_brace_block"]},"no_homoglyph_names":true,"no_leading_namespace_whitespace":true,"no_mixed_echo_print":true,"no_short_bool_cast":true,"no_singleline_whitespace_before_semicolons":true,"no_spaces_around_offset":true,"no_unneeded_braces":true,"no_unneeded_control_parentheses":true,"no_unneeded_final_method":true,"no_unreachable_default_argument_value":true,"no_unused_imports":true,"no_useless_concat_operator":true,"no_useless_return":true,"no_whitespace_before_comma_in_array":true,"normalize_index_brace":true,"nullable_type_declaration":{"syntax":"question_mark"},"object_operator_without_whitespace":true,"php_unit_construct":true,"php_unit_dedicate_assert":{"target":"newest"},"php_unit_expectation":true,"php_unit_fqcn_annotation":true,"php_unit_method_casing":{"case":"snake_case"},"php_unit_no_expectation_annotation":true,"php_unit_set_up_tear_down_visibility":true,"php_unit_strict":true,"php_unit_test_annotation":{"style":"annotation"},"php_unit_test_class_requires_covers":true,"phpdoc_align":{"align":"left"},"phpdoc_indent":true,"phpdoc_line_span":{"const":"single","property":"single","method":"single"},"phpdoc_param_order":true,"phpdoc_scalar":true,"phpdoc_single_line_var_spacing":true,"phpdoc_tag_casing":true,"phpdoc_types":true,"protected_to_private":true,"psr_autoloading":true,"self_accessor":true,"self_static_accessor":true,"single_line_comment_spacing":true,"single_line_comment_style":{"comment_types":["asterisk","hash"]},"space_after_semicolon":true,"standardize_not_equals":true,"strict_param":true,"ternary_to_null_coalescing":true,"trim_array_spaces":true,"trailing_comma_in_multiline":true,"type_declaration_spaces":true,"types_spaces":{"space":"single"},"whitespace_after_comma_in_array":true,"yoda_style":{"equal":false,"identical":false,"less_and_greater":false}},"hashes":{"\/github\/workspace\/src\/Console\/Update.php":"c3e7e5bfecd27e882254d7b0b157b57c","\/github\/workspace\/src\/Console\/Clear.php":"4ee97de039aec694aa5fb6f239352acf","\/github\/workspace\/src\/Services\/AbstractService.php":"ac28663a7249494d5d975bdc7cb05fdf","\/github\/workspace\/src\/Services\/IPData.php":"07c086a52369b34749fc1859bacbaf1b","\/github\/workspace\/src\/Services\/IPFinder.php":"d33440db77895ec0ab902a4b0c21b4c6","\/github\/workspace\/src\/Services\/IPApi.php":"411451b3bfcb5bee966f56023244af93","\/github\/workspace\/src\/Services\/MaxMindWebService.php":"db7afc3d939f968fc68b768b65044a1d","\/github\/workspace\/src\/Services\/IPGeoLocation.php":"b92bbc85966f7dde2f22c6f145d905ac","\/github\/workspace\/src\/Services\/MaxMindDatabase.php":"47d712aaac1186bebaf01613fb7fe095","\/github\/workspace\/src\/GeoIP.php":"fa3fa7ff25f0c911b132148ae318f598","\/github\/workspace\/src\/Support\/Currencies.php":"e8b25b369fb1975fbd2db36f1cfaf38f","\/github\/workspace\/src\/Support\/HttpClient.php":"f54fdad7fa38b66aaf5aa5cfd4711b1c","\/github\/workspace\/src\/Location.php":"5a8842cde1fdabe9487b2be2706703e3","\/github\/workspace\/src\/Contracts\/ServiceInterface.php":"c91f9c43e4d532359e0a6b0f774f5a3e","\/github\/workspace\/src\/helpers.php":"8eb579fcc03d614a18e384916be0b5d1","\/github\/workspace\/src\/GeoIPServiceProvider.php":"d17e88e4ddbf972f94b98516dbce4c95","\/github\/workspace\/src\/Facades\/GeoIP.php":"37965348235862675120aa1770d4942a","\/github\/workspace\/src\/Cache.php":"21632695755316c10bce1a98050ba1fe","\/github\/workspace\/tests\/Services\/MaxMindDatabaseTest.php":"b5e965dc1ec3bc883ccf12dccda20c3c","\/github\/workspace\/tests\/TestFunctions.php":"9a772588651469acc0506ecb0e734a60","\/github\/workspace\/tests\/GeoIPTest.php":"5c491f5acc08c7367a2dc209c0ec5168","\/github\/workspace\/tests\/CacheTest.php":"a2771c1b796cec2d9d877c163163de14","\/github\/workspace\/tests\/TestCase.php":"276dc38111135904ffbf4efdbd8d899c","\/github\/workspace\/.php-cs-fixer.php":"eb7c3760e29740a654f9f683ccadc6a2","\/github\/workspace\/config\/geoip.php":"1b1f102d4715acc3ee52c2b9be34a5dd"}}

src/Support/HttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function execute($method, $url, array $query = [], array $headers = [])
123123
$response = curl_exec($curl);
124124
if (! is_string($response)) {
125125
$curlError = curl_error($curl);
126-
throw new \RuntimeException("Failed to make $method HTTP request: $curlError");
126+
throw new \RuntimeException("Failed to make {$method} HTTP request: {$curlError}");
127127
}
128128

129129
// Set HTTP response code

0 commit comments

Comments
 (0)