Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVanderbist authored and actions-user committed Sep 9, 2020
1 parent be1b528 commit 6140c99
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .php_cs.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"php":"7.4.7","version":"2.16.4","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_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":true,"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sortAlgorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline_array":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},"hashes":{"src\/Crawler\/Profile.php":491304014,"src\/Crawler\/Observer.php":3776578038,"src\/SitemapGenerator.php":551139945,"src\/SitemapServiceProvider.php":4046326413,"src\/Tags\/Tag.php":655113915,"src\/Tags\/Alternate.php":2677822067,"src\/Tags\/Sitemap.php":291541337,"src\/Tags\/Url.php":3654747035,"src\/SitemapIndex.php":2195872423,"src\/Sitemap.php":59941369,"tests\/SitemapIndexTest.php":2799885370,"tests\/AlternateTest.php":1318703542,"tests\/UrlTest.php":3228679757,"tests\/CustomCrawlProfile.php":1103021984,"tests\/__snapshots__\/SitemapTest__an_url_with_an_alternate_can_be_added_to_the_sitemap__1.php":2144182188,"tests\/TestCase.php":2965666986,"tests\/SitemapTest.php":1907794861,"tests\/CrawlProfileTest.php":1435152950,"tests\/SitemapGeneratorTest.php":1773786182}}
3 changes: 2 additions & 1 deletion tests/SitemapIndexTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ public function multiple_sitemaps_can_be_added_to_the_index()
public function it_can_render_a_sitemaps_with_all_its_set_properties()
{
$this->index
->add(Sitemap::create('/sitemap1.xml')
->add(
Sitemap::create('/sitemap1.xml')
->setLastModificationDate($this->now->subDay())
);

Expand Down
3 changes: 2 additions & 1 deletion tests/SitemapTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ public function multiple_urls_can_be_added_to_the_sitemap()
public function it_can_render_an_url_with_all_its_set_properties()
{
$this->sitemap
->add(Url::create('/home')
->add(
Url::create('/home')
->setLastModificationDate($this->now->subDay())
->setChangeFrequency(Url::CHANGE_FREQUENCY_YEARLY)
->setPriority(0.1)
Expand Down

0 comments on commit 6140c99

Please # to comment.