Jump to content

Every single file of the module has to contain a valid license header.


Kerm

Recommended Posts

Please tell my how must looks right license header?
 
Atm i have this header:

 

<?php
/**
*  @author    Lastname Firstname <[email protected]>
*  @copyright site.com 2015
*  @license   GNU General Public License version 2
*  @version   1.1

*  site.com
*
* Languages: EN, RU
* PS version: 1.6
* 
**/
?>


At this time i got validator errors:

- Missing file doc comment
- There must be exactly one blank line before the tags in file comment

- Missing short description in file comment

- Additional blank lines found at end of file comment

Edited by Kerm (see edit history)
Link to comment
Share on other sites


<?php

/**

 * NOTICE OF LICENSE

 *

 * This file is licenced under the Software License Agreement.

 * With the purchase or the installation of the software in your application

 * you accept the licence agreement.

 *

 * You must not modify, adapt or create derivative works of this source code

 *

 *  @author    Your Name

 *  @copyright 2010-2015 Your company

 *  @license   LICENSE.txt

 */

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...