for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
// Asset with timestamp
if (!function_exists('asset_ts')) {
function asset_ts($path, $secure = false)
$secure
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
{
$url = '/' . $path;
if (is_file(public_path($path))) {
$time = filemtime(public_path($path));
$url .= '?' . $time;
}
return $url;
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.