Skip to content

Commit 63ef554

Browse files
committed
Move copyright/license headers to CONTRIBUTING.md
These are more like a general contribution guidelines for the new files added to the php-src repository.
1 parent 0f7d641 commit 63ef554

File tree

3 files changed

+25
-34
lines changed

3 files changed

+25
-34
lines changed

CONTRIBUTING.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ had several contributions accepted, commit privileges are often quickly granted.
2424
* [What happens after submitting contribution?](#what-happens-after-submitting-contribution)
2525
* [What happens when your contribution is applied?](#what-happens-when-your-contribution-is-applied)
2626
* [Git commit rules](#git-commit-rules)
27+
* [Copyright and license headers](#copyright-and-license-headers)
2728

2829
## Pull requests
2930

@@ -394,4 +395,28 @@ decreasing order under the fixed version.
394395
You can use [gitweb](https://git.php.net/) to look at PHP Git repository in
395396
various ways.
396397

398+
## Copyright and license headers
399+
400+
New source code files should include the following header block:
401+
402+
```c
403+
/*
404+
+----------------------------------------------------------------------+
405+
| PHP Version 7 |
406+
+----------------------------------------------------------------------+
407+
| Copyright (c) The PHP Group |
408+
+----------------------------------------------------------------------+
409+
| This source file is subject to version 3.01 of the PHP license, |
410+
| that is bundled with this package in the file LICENSE, and is |
411+
| available through the world-wide-web at the following url: |
412+
| https://www.php.net/license/3_01.txt |
413+
| If you did not receive a copy of the PHP license and are unable to |
414+
| obtain it through the world-wide-web, please send a note to |
415+
| license@php.net so we can mail you a copy immediately. |
416+
+----------------------------------------------------------------------+
417+
| Author: |
418+
+----------------------------------------------------------------------+
419+
*/
420+
```
421+
397422
Thank you for contributing to PHP!

Zend/header

Lines changed: 0 additions & 17 deletions
This file was deleted.

header

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)