Just had a look at the new license header in the Flow Development Collection:
/* *
* This script belongs to the Flow framework. *
* *
* It is free software; you can redistribute it and/or modify it under *
* the terms of the MIT license. *
* */
since we need to adjust the doc comments in Neos still anyway, I suggest to take the opportunity to get this straight also for Flow. What I’d like to change and suggest is to include a reference to the Neos project, add copyright information and refer to the LICENSE file. I’d also like to change the formatting a bit, like so:
/*
* This file is part of the XY package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* For the full copyright and license information, please view the LICENSE file
* which was distributed with this source code.
*/
If you agree, I can prepare a patch for Flow and Neos.
Fine with me. The current header is what I came up with and IIRC only @christianm gave some feedback. I think that was during the sprint, still… Whatever. The easier the better, so I’m all in for dropping the “right border”. Adding the link makes sense. I tend to think the copyright line is not needed (for the law, at least), but I’d be fine with having it. Gives a hint, if the file “just floats somewhere”.
I am almost convinced but still would like to make clear this is open source in the header. Like this it looks pretty much closed without checking LICENSE
/*
* This file is part of the Neos.Media package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* The Neos.Media package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed with this source code.
*/
(out of laziness I would change it to This package is Open Source Software.... to not include the package name twice) Btw. generally including the package name means no easy automated checks for the header possible.
We can still create a regex for that and, for example, have some live template in PhpStorm creating that kind of header. But sure, let’s remove the second occurrence of the package key.