changeCopyrightFile()
changeCopyrightFile(string $filename, mixed $set_year = false)
Callback function applied to each file in the directory being traversed by @see copyright(). It checks if the files is of the extension of a code file and if so trims whitespace from its lines and then updates the lines of the form 2009 - \d\d\d\d to the supplied copyright year
Parameters
string | $filename | name of file to check for copyright lines and updated |
mixed | $set_year | if false then set the end of the copyright period to the current year, otherwise, if an int sets it to the value of the int |