sebastianbergmann/php-file-iterator — pull request #24 by henriquemoody (2014-12-31 17:08:14+00:00)
Title: Update license and copyright in all files

```php

*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
EOF;

foreach ($regex as $file) {
$filename = $file[0];
$patterns = array(
"@<\?php\n/\*+\n \* {$_SERVER['argv'][2]}.+\*/\n\n@s" => $header.PHP_EOL.PHP_EOL,
"/@copyright( +)\d{4}-\d{4},? Sebastian Bergmann/" => '@copyright$1Sebastian Bergmann',
);
$oldContent = file_get_contents($filename);
$newContent = preg_replace(array_keys($patterns), array_values($patterns), $oldContent);
file_put_contents($filename, $newContent);
}
```

The code above, written in PHP, was used to make most of these changes.