Description

There are quite a few code files throughout the library, tests, and incubator that have an inconsistent header docblock.

We need to have a single canonical header docblock that correctly describes the copyright and license for the code, and we need to make that docblock present in all files for PHP code, tests, scripts, etc.

Where it should be like the others:
* @copyright Copyright (c) 2005-2007 Zend Technologies USA, Inc

Similar to * @copyright 2005 Zend Technologies in file
/ZendFramework-1.0.1/demos/Zend/Gdata/Blogger.php

And it would be much better if files with different copyrights aren't
shipped. These include the xml samples located at
ZendFramework-1.0.1/tests/Zend/Feed/_files/, parts of the PEAR manual
located at ZendFramework-1.0.1/tests/Zend/Search/Lucene/_files/_indexSource
and ZendFramework-1.0.1/demos/Zend/Search/Lucene/indexing/IndexSource/

Using grep[1] you will find more of those files not covered by the
copyright information in LICENSE.txt

Replaced references to old license location with current license location with SVN r6400.

Posted by Darby Felton (darby) on 2007-09-18T10:22:13.000+0000

Replaced references to LICENSE with current filename LICENSE.txt with SVN r6401.

Posted by Wil Sinclair (wil) on 2008-03-21T17:05:30.000+0000

This issue should have been fixed for the 1.5 release.

Posted by Wil Sinclair (wil) on 2008-04-18T13:12:04.000+0000

This doesn't appear to have been fixed in 1.5.0. Please update if this is not correct.

Posted by Wil Sinclair (wil) on 2008-04-18T17:08:41.000+0000

Haven't you been working on this, Thomas? If so, please close when finished. If not, please feel free to unassign it from yourself.

Posted by Thomas Weidner (thomas) on 2008-05-07T06:16:38.000+0000

The file- and the classheader are checked within our new CodingStandard.

If it does not fit 100% a error will be thrown when checking for CS conformity.
BUT: Actually more than 200.000 other errors are thrown and the testbed is not 100% finished.

Therefor I will hold this issue opened until the new CodingStandard has been accepted and is official.

Posted by Thomas Weidner (thomas) on 2008-05-24T03:21:11.000+0000

Docblocks have been updated.

Coding standard now checks and throws error if they are wrong.

Posted by Wil Sinclair (wil) on 2008-06-15T22:07:09.000+0000

Updating to comply with new IT component conventions.

Posted by Wil Sinclair (wil) on 2008-09-02T10:38:54.000+0000

Updating for the 1.6.0 release.

Posted by Bill Karwin (bkarwin) on 2009-07-03T08:52:40.000+0000

Reopening issue because there are still many discrepancies in the @copyright and @license headers. I will post some grep commands to find nonstandard or missing headers.

Posted by Thomas Weidner (thomas) on 2009-07-03T09:06:56.000+0000

Assigned to Bill as he reopened the issue and wants to work on it again.

Note:
We will always have files which do not conform with their header. As long as we have no CI and this is not tested there is no way to have it 100% fixed as you would have to check after each commit or before each release.

Posted by Bill Karwin (bkarwin) on 2009-07-03T09:25:37.000+0000

Here is a command to find all {{@copyright}} headers, and count how many occur in each form: