Skip to content

Commit

Permalink
Merge pull request #412 from hydephp/analysis-YjVNg9
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
HydePHP authored May 19, 2022
2 parents fe93f5b + dde4a60 commit 4c580a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/HydeBuildStaticSiteCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,14 @@ public function postBuildActions(): void
$actionTime = microtime(true);
$this->comment('Generating sitemap...');
file_put_contents(Hyde::getSiteOutputPath('sitemap.xml'), SitemapService::generateSitemap());
$this->line(' > Created <info>sitemap.xml</> in ' .$this->getExecutionTimeInMs($actionTime)."ms\n");
$this->line(' > Created <info>sitemap.xml</> in '.$this->getExecutionTimeInMs($actionTime)."ms\n");
}

if (RssFeedService::canGenerateFeed()) {
$actionTime = microtime(true);
$this->comment('Generating RSS feed...');
file_put_contents(Hyde::getSiteOutputPath(RssFeedService::getDefaultOutputFilename()), RssFeedService::generateFeed());
$this->line(' > Created <info>'.RssFeedService::getDefaultOutputFilename().'</> in ' .$this->getExecutionTimeInMs($actionTime)."ms\n");
$this->line(' > Created <info>'.RssFeedService::getDefaultOutputFilename().'</> in '.$this->getExecutionTimeInMs($actionTime)."ms\n");
}
}

Expand Down

0 comments on commit 4c580a0

Please sign in to comment.