Skip to content

Commit

Permalink
Remove coding standards ignores
Browse files Browse the repository at this point in the history
They are no longer necessary.
  • Loading branch information
markstory committed Oct 10, 2017
1 parent 17921aa commit 4a91868
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/View/Helper/UrlHelper.php
Expand Up @@ -209,19 +209,15 @@ public function assetTimestamp($path)
);
$webrootPath = WWW_ROOT . str_replace('/', DIRECTORY_SEPARATOR, $filepath);
if (file_exists($webrootPath)) {
//@codingStandardsIgnoreStart
return $path . '?' . filemtime($webrootPath);
//@codingStandardsIgnoreEnd
}
$segments = explode('/', ltrim($filepath, '/'));
$plugin = Inflector::camelize($segments[0]);
if (Plugin::loaded($plugin)) {
unset($segments[0]);
$pluginPath = Plugin::path($plugin) . 'webroot' . DIRECTORY_SEPARATOR . implode(DIRECTORY_SEPARATOR, $segments);
if (file_exists($pluginPath)) {
//@codingStandardsIgnoreStart
return $path . '?' . filemtime($pluginPath);
//@codingStandardsIgnoreEnd4
}
}
}
Expand Down

0 comments on commit 4a91868

Please sign in to comment.