<NME> ValueScanner.php
<BEF> <?php

namespace Zend\Code\Scanner;

{
    // @todo
}

<MSG> [CS][Library] Set File Header

http://framework.zend.com/wiki/display/ZFDEV2/Coding+Standards#CodingStandards-Files

The following script replaces the content between PHP open tag and namespace declaration.

for COMPONENT in $(ls -d *)
do
    for FILE in $(find $COMPONENT -name "*.php")
    do
        BLOCK="\/\*\*\n \* Zend Framework \(http:\/\/framework\.zend\.com\/\)\n \*\n \* \@link      http:\/\/github\.com\/zendframework\/zf2 for the canonical source repository\n \* \@copyright Copyright \(c\) 2005-2012 Zend Technologies USA Inc\. \(http:\/\/www\.zend\.com\)\n \* \@license   http:\/\/framework\.zend\.com\/license\/new-bsd New BSD License\n \* \@package   Zend_$COMPONENT\n \*\/"
        perl -0777 -i -pe "s/(<\?php(\s*.*)*\nn)/<?php\n$BLOCK\n\nn/" $FILE
    done
done

<DFF> @@ -1,4 +1,12 @@
 <?php
+/**
+ * Zend Framework (http://framework.zend.com/)
+ *
+ * @link      http://github.com/zendframework/zf2 for the canonical source repository
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license   http://framework.zend.com/license/new-bsd New BSD License
+ * @package   Zend_Code
+ */
 
 namespace Zend\Code\Scanner;
 

[CS][Library] Set File Header