diff --git a/.phpunit.result.cache b/.phpunit.result.cache index c20aef0..ce3f104 100644 --- a/.phpunit.result.cache +++ b/.phpunit.result.cache @@ -1 +1 @@ -{"version":1,"defects":{"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_exists_return_file_url":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_doens_t_exists_return_file_url_and_make_new_directory_and_file":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::setUp":5,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_no_image_found_return_null":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_in_correct_directory_exists_return_file_url":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::get_a_list_of_sources_from_an_image":5,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourcesTest::if_blade_command_sources_requested_return_a_html_string":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourceTest::return_source_object_with_all_options":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourceTest::calculate_the_uris_from_the_srcset_lines":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_exists_with_webp_format_return_file_url":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageBuilderTest::creates_and_saves_an_image":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageBuilderTest::creates_and_saves_a_webp_image":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageBuilderTest::creates_and_saves_a_short_pixel_jpg_image":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageBuilderTest::creates_and_saves_a_jpeg_image":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::get_directory_from_uri":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::get_filename_from_uri":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::get_path_from_uri":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourcesTest::if_properties_is_not_dynamic_throw_exception":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourcesTest::if_blade_command_sources_requested_with_many_properties_return_a_html_string":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::update_url_returns_proper_url":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::give_x_img_component_and_return_filled_img_tag":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\PropsTest::take_width_and_aspect_and_return_props_array":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::give_class_and_alt_tag_and_see_them_in_the_result":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::give_properties_and_see_them_in_the_result":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::set_changed_default_and_see_them_in_the_result":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::set_no_background_and_see_it_removed_from_the_result":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_width_and_aspect_and_return_props_array":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_dimensions_and_return_props_array":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_full_props_plus_one_width_and_return_props_array":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_full_props_plus_one_width_string_and_return_props_array":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourceTest::calculate_the_uris_pixel_ratio_from_the_srcset_lines":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_width_and_aspect_with_changed_config_and_return_props_array":3,"Warning":6,"DNABeast\\BladeImageCrop\\Tests\\Unit\\BackgroundTest::src_of_image_returns_svg_string":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::give_x_img_component_with_1_prop_and_return_filled_img_tag":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::turn_sources_off_and_dont_see_srcset_at_all":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\PicTest::provide_pic_tag_and_get_htmt":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\PicTest::provide_pic_tag_and_get_html":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_broken_width_and_aspect_and_return_props_array":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_exists_on_correct_disk_return_file_url":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_file_has_directory_but_is_not_a_file_it_should_return_image_not_found":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_file_has_no_extensions_should_return_image_not_found":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_url_has_directory_but_is_not_a_file_it_should_return_image_not_found":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_file_is_not_an_image_return_false":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\BackgroundTest::empty_source_returns_image_not_found":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::trim_storage_folder_from_uri":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::get_disk_directory":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::dont_trim_storage_folder_from_uri":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\BackgroundTest::src_of_image_returns_png_string":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_no_image_found_return_imagenotfound":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\HoldImageTest::give_it_a_local_image_that_exists_returns_path":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\HoldImageTest::give_it_a_local_image_that_doesn_t_exists_returns_fail_message":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\HoldImageTest::give_it_an_online_image_that_exists_returns_path":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\HoldImageTest::give_it_an_online_image_that_doesn_t_exists_returns_fail_message":5,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::get_newly_calculated_size_options_for_the_builder":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::dont_resize_image_if_target_is_bigger_than_original_image":3},"times":{"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_no_image_found_return_null":0.024,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_exists_return_file_url":0.026,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_doens_t_exists_return_file_url_and_make_new_directory_and_file":0.036,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::setUp":0.043,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_in_correct_directory_exists_return_file_url":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_exists_on_correct_disk_return_file_url":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::get_a_list_of_sources_from_an_image":0.003,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourcesTest::if_blade_command_sources_requested_return_a_html_string":0.003,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourceTest::return_source_object_with_all_options":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourceTest::calculate_the_uris_from_the_srcset_lines":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_exists_with_webp_format_return_file_url":0.035,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageBuilderTest::creates_and_saves_an_image":0.072,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageBuilderTest::creates_and_saves_a_webp_image":0.153,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageBuilderTest::creates_and_saves_a_short_pixel_jpg_image":6.197,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageBuilderTest::creates_and_saves_a_jpeg_image":0.102,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::get_directory_from_uri":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::get_filename_from_uri":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::get_path_from_uri":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourcesTest::if_properties_is_not_dynamic_throw_exception":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourcesTest::if_blade_command_sources_requested_with_many_properties_return_a_html_string":0.003,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::update_url_returns_proper_url":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::give_x_img_component_and_return_filled_img_tag":0.012,"DNABeast\\BladeImageCrop\\Tests\\Unit\\PropsTest::take_width_and_aspect_and_return_props_array":0.046,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::give_class_and_alt_tag_and_see_them_in_the_result":0.004,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::give_properties_and_see_them_in_the_result":0.004,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::set_changed_default_and_see_them_in_the_result":0.004,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::set_no_background_and_see_it_removed_from_the_result":0.003,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_width_and_aspect_and_return_props_array":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_dimensions_and_return_props_array":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_full_props_plus_one_width_and_return_props_array":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_full_props_plus_one_width_string_and_return_props_array":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourceTest::calculate_the_uris_pixel_ratio_from_the_srcset_lines":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_width_and_aspect_with_changed_config_and_return_props_array":0.001,"Warning":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\BackgroundTest::src_of_image_returns_svg_string":0.027,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_prop_and_aspect_and_return_props_array":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::give_x_img_component_with_1_prop_and_return_filled_img_tag":0.004,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::turn_sources_off_and_dont_see_srcset_at_all":0.003,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_two_full_props_plus_one_width_string_and_return_props_array":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\PicTest::provide_pic_tag_and_get_htmt":0.035,"DNABeast\\BladeImageCrop\\Tests\\Unit\\PicTest::provide_pic_tag_and_get_html":0.005,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_broken_width_and_aspect_and_return_props_array":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_file_has_directory_but_is_not_a_file_it_should_return_image_not_found":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_url_has_directory_but_is_not_a_file_it_should_return_image_not_found":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_file_has_no_extensions_should_return_image_not_found":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_file_is_not_an_image_return_false":0.006,"DNABeast\\BladeImageCrop\\Tests\\Unit\\BackgroundTest::empty_source_returns_image_not_found":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::trim_storage_folder_from_uri":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::get_disk_directory":0.045,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::dont_trim_storage_folder_from_uri":0.027,"DNABeast\\BladeImageCrop\\Tests\\Unit\\BackgroundTest::src_of_image_returns_png_string":0.083,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_no_image_found_return_imagenotfound":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\HoldImageTest::give_it_a_local_image_that_exists_returns_path":0.003,"DNABeast\\BladeImageCrop\\Tests\\Unit\\HoldImageTest::give_it_a_local_image_that_doesn_t_exists_returns_fail_message":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\HoldImageTest::give_it_an_online_image_that_exists_returns_path":0.012,"DNABeast\\BladeImageCrop\\Tests\\Unit\\HoldImageTest::give_it_an_online_image_that_doesn_t_exists_returns_fail_message":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::get_newly_calculated_size_options_for_the_builder":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::dont_resize_image_if_target_is_bigger_than_original_image":0.001}} \ No newline at end of file +{"version":1,"defects":{"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_exists_return_file_url":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_doens_t_exists_return_file_url_and_make_new_directory_and_file":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::setUp":5,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_no_image_found_return_null":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_in_correct_directory_exists_return_file_url":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::get_a_list_of_sources_from_an_image":5,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourcesTest::if_blade_command_sources_requested_return_a_html_string":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourceTest::return_source_object_with_all_options":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourceTest::calculate_the_uris_from_the_srcset_lines":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_exists_with_webp_format_return_file_url":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageBuilderTest::creates_and_saves_an_image":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageBuilderTest::creates_and_saves_a_webp_image":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageBuilderTest::creates_and_saves_a_short_pixel_jpg_image":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageBuilderTest::creates_and_saves_a_jpeg_image":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::get_directory_from_uri":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::get_filename_from_uri":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::get_path_from_uri":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourcesTest::if_properties_is_not_dynamic_throw_exception":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourcesTest::if_blade_command_sources_requested_with_many_properties_return_a_html_string":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::update_url_returns_proper_url":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::give_x_img_component_and_return_filled_img_tag":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\PropsTest::take_width_and_aspect_and_return_props_array":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::give_class_and_alt_tag_and_see_them_in_the_result":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::give_properties_and_see_them_in_the_result":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::set_changed_default_and_see_them_in_the_result":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::set_no_background_and_see_it_removed_from_the_result":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_width_and_aspect_and_return_props_array":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_dimensions_and_return_props_array":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_full_props_plus_one_width_and_return_props_array":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_full_props_plus_one_width_string_and_return_props_array":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourceTest::calculate_the_uris_pixel_ratio_from_the_srcset_lines":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_width_and_aspect_with_changed_config_and_return_props_array":3,"Warning":6,"DNABeast\\BladeImageCrop\\Tests\\Unit\\BackgroundTest::src_of_image_returns_svg_string":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::give_x_img_component_with_1_prop_and_return_filled_img_tag":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::turn_sources_off_and_dont_see_srcset_at_all":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\PicTest::provide_pic_tag_and_get_htmt":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\PicTest::provide_pic_tag_and_get_html":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_broken_width_and_aspect_and_return_props_array":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_exists_on_correct_disk_return_file_url":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_file_has_directory_but_is_not_a_file_it_should_return_image_not_found":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_file_has_no_extensions_should_return_image_not_found":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_url_has_directory_but_is_not_a_file_it_should_return_image_not_found":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_file_is_not_an_image_return_false":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\BackgroundTest::empty_source_returns_image_not_found":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::trim_storage_folder_from_uri":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::get_disk_directory":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::dont_trim_storage_folder_from_uri":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\BackgroundTest::src_of_image_returns_png_string":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_no_image_found_return_imagenotfound":4,"DNABeast\\BladeImageCrop\\Tests\\Unit\\HoldImageTest::give_it_a_local_image_that_exists_returns_path":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\HoldImageTest::give_it_a_local_image_that_doesn_t_exists_returns_fail_message":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\HoldImageTest::give_it_an_online_image_that_exists_returns_path":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\HoldImageTest::give_it_an_online_image_that_doesn_t_exists_returns_fail_message":5,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::get_newly_calculated_size_options_for_the_builder":3,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::dont_resize_image_if_target_is_bigger_than_original_image":3},"times":{"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_no_image_found_return_null":0.024,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_exists_return_file_url":0.015,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_doens_t_exists_return_file_url_and_make_new_directory_and_file":0.018,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::setUp":0.043,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_in_correct_directory_exists_return_file_url":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_exists_on_correct_disk_return_file_url":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::get_a_list_of_sources_from_an_image":0.003,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourcesTest::if_blade_command_sources_requested_return_a_html_string":0.004,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourceTest::return_source_object_with_all_options":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourceTest::calculate_the_uris_from_the_srcset_lines":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_correct_file_exists_with_webp_format_return_file_url":0.022,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageBuilderTest::creates_and_saves_an_image":0.072,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageBuilderTest::creates_and_saves_a_webp_image":0.143,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageBuilderTest::creates_and_saves_a_short_pixel_jpg_image":6.197,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageBuilderTest::creates_and_saves_a_jpeg_image":0.142,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::get_directory_from_uri":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::get_filename_from_uri":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::get_path_from_uri":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourcesTest::if_properties_is_not_dynamic_throw_exception":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourcesTest::if_blade_command_sources_requested_with_many_properties_return_a_html_string":0.003,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::update_url_returns_proper_url":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::give_x_img_component_and_return_filled_img_tag":0.013,"DNABeast\\BladeImageCrop\\Tests\\Unit\\PropsTest::take_width_and_aspect_and_return_props_array":0.046,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::give_class_and_alt_tag_and_see_them_in_the_result":0.004,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::give_properties_and_see_them_in_the_result":0.003,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::set_changed_default_and_see_them_in_the_result":0.004,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::set_no_background_and_see_it_removed_from_the_result":0.003,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_width_and_aspect_and_return_props_array":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_dimensions_and_return_props_array":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_full_props_plus_one_width_and_return_props_array":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_full_props_plus_one_width_string_and_return_props_array":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\SourceTest::calculate_the_uris_pixel_ratio_from_the_srcset_lines":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_width_and_aspect_with_changed_config_and_return_props_array":0.001,"Warning":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\BackgroundTest::src_of_image_returns_svg_string":0.027,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_prop_and_aspect_and_return_props_array":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::give_x_img_component_with_1_prop_and_return_filled_img_tag":0.005,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImgTest::turn_sources_off_and_dont_see_srcset_at_all":0.003,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_two_full_props_plus_one_width_string_and_return_props_array":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\PicTest::provide_pic_tag_and_get_htmt":0.035,"DNABeast\\BladeImageCrop\\Tests\\Unit\\PicTest::provide_pic_tag_and_get_html":0.005,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImagePropsTest::take_broken_width_and_aspect_and_return_props_array":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_file_has_directory_but_is_not_a_file_it_should_return_image_not_found":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_url_has_directory_but_is_not_a_file_it_should_return_image_not_found":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_file_has_no_extensions_should_return_image_not_found":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_file_is_not_an_image_return_false":0.008,"DNABeast\\BladeImageCrop\\Tests\\Unit\\BackgroundTest::empty_source_returns_image_not_found":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::trim_storage_folder_from_uri":0.001,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::get_disk_directory":0.045,"DNABeast\\BladeImageCrop\\Tests\\Unit\\UriHelperTest::dont_trim_storage_folder_from_uri":0.027,"DNABeast\\BladeImageCrop\\Tests\\Unit\\BackgroundTest::src_of_image_returns_png_string":0.082,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::if_no_image_found_return_imagenotfound":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\HoldImageTest::give_it_a_local_image_that_exists_returns_path":0.003,"DNABeast\\BladeImageCrop\\Tests\\Unit\\HoldImageTest::give_it_a_local_image_that_doesn_t_exists_returns_fail_message":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\HoldImageTest::give_it_an_online_image_that_exists_returns_path":0.012,"DNABeast\\BladeImageCrop\\Tests\\Unit\\HoldImageTest::give_it_an_online_image_that_doesn_t_exists_returns_fail_message":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::get_newly_calculated_size_options_for_the_builder":0.002,"DNABeast\\BladeImageCrop\\Tests\\Unit\\ImageCropTest::dont_resize_image_if_target_is_bigger_than_original_image":0.001}} \ No newline at end of file diff --git a/src/Builder/IM_AVIFBuilder.php b/src/Builder/IM_AVIFBuilder.php index 931812a..0a77ce6 100644 --- a/src/Builder/IM_AVIFBuilder.php +++ b/src/Builder/IM_AVIFBuilder.php @@ -23,7 +23,7 @@ public function makeImage(){ public function resize($options){ $this->image->cropImage( $options['cropWidth'], $options['cropHeight'], $options['x'], $options['y'] ); - $this->image->adaptiveResizeImage( $options['targetWidth'], $options['targetHeight'] ); + $this->image->resizeImage( $options['targetWidth'], $options['targetHeight'], 12, 1 ); return $this; } diff --git a/src/Builder/IM_JPGBuilder.php b/src/Builder/IM_JPGBuilder.php index b90a736..65e2822 100644 --- a/src/Builder/IM_JPGBuilder.php +++ b/src/Builder/IM_JPGBuilder.php @@ -23,7 +23,7 @@ public function makeImage(){ public function resize($options){ $this->image->cropImage( $options['cropWidth'], $options['cropHeight'], $options['x'], $options['y'] ); - $this->image->adaptiveResizeImage( $options['targetWidth'], $options['targetHeight'] ); + $this->image->resizeImage( $options['targetWidth'], $options['targetHeight'], 12, 1 ); return $this; } diff --git a/src/Builder/IM_WebPBuilder.php b/src/Builder/IM_WebPBuilder.php index a047c1e..6b2fecd 100644 --- a/src/Builder/IM_WebPBuilder.php +++ b/src/Builder/IM_WebPBuilder.php @@ -23,7 +23,7 @@ public function makeImage(){ public function resize($options){ $this->image->cropImage( $options['cropWidth'], $options['cropHeight'], $options['x'], $options['y'] ); - $this->image->adaptiveResizeImage( $options['targetWidth'], $options['targetHeight'] ); + $this->image->resizeImage( $options['targetWidth'], $options['targetHeight'], 12, 1 ); return $this; }