Skip to content
Permalink
Browse files

Remove coding standards ignores

They are no longer necessary.
  • Loading branch information...
markstory committed Oct 10, 2017
1 parent 17921aa commit 4a9186829c972a4245d7c45bf69b4be9261b2501
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/View/Helper/UrlHelper.php
@@ -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
}
}
}

0 comments on commit 4a91868

Please sign in to comment.
You can’t perform that action at this time.