Skip to content

Commit

Permalink
Update licenses to PHP 3.01 (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
Girgias authored Dec 5, 2023
1 parent 99fbf5d commit afad5df
Show file tree
Hide file tree
Showing 28 changed files with 134 additions and 191 deletions.
12 changes: 4 additions & 8 deletions configure.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,20 @@

/*
+----------------------------------------------------------------------+
| PHP Version 5 |
| Copyright (c) 1997-2023 The PHP Group |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2014 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.0 of the PHP license, |
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_0.txt. |
| https://www.php.net/license/3_01.txt. |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
| license@php.net, so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors: Dave Barr <dave@php.net> |
| Hannes Magnusson <bjori@php.net> |
| Gwynne Raskind <gwynne@php.net> |
+----------------------------------------------------------------------+
$Id$
*/

error_reporting(-1);
Expand Down
10 changes: 4 additions & 6 deletions scripts/aspell.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@
<?php
/*
+----------------------------------------------------------------------+
| PHP Version 4 |
| Copyright (c) 1997-2023 The PHP Group |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2011 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.0 of the PHP license, |
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_0.txt. |
| https://www.php.net/license/3_01.txt. |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
| license@php.net, so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors: Jakub Vrana <vrana@php.net> |
+----------------------------------------------------------------------+
Expand Down
8 changes: 3 additions & 5 deletions scripts/build-chms-config.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
<?php
/**
* +----------------------------------------------------------------------+
* | PHP Version 5 |
* +----------------------------------------------------------------------+
* | Copyright (c) 1997-2013 The PHP Group |
* | Copyright (c) 1997-2023 The PHP Group |
* +----------------------------------------------------------------------+
* | This source file is subject to version 3.01 of the PHP license, |
* | that is bundled with this package in the file LICENSE, and is |
* | available through the world-wide-web at the following url: |
* | http://www.php.net/license/3_01.txt. |
* | https://www.php.net/license/3_01.txt. |
* | If you did not receive a copy of the PHP license and are unable to |
* | obtain it through the world-wide-web, please send a note to |
* | license@php.net so we can mail you a copy immediately. |
* | license@php.net, so we can mail you a copy immediately. |
* +----------------------------------------------------------------------+
* | Authors: Kalle Sommer Nielsen <kalle@php.net> |
* +----------------------------------------------------------------------+
Expand Down
10 changes: 4 additions & 6 deletions scripts/build-chms-history.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
<?php
/**
* +----------------------------------------------------------------------+
* | PHP Version 5 |
* +----------------------------------------------------------------------+
* | Copyright (c) 1997-2013 The PHP Group |
* | Copyright (c) 1997-2023 The PHP Group |
* +----------------------------------------------------------------------+
* | This source file is subject to version 3.01 of the PHP license, |
* | that is bundled with this package in the file LICENSE, and is |
* | available through the world-wide-web at the following url: |
* | http://www.php.net/license/3_01.txt. |
* | https://www.php.net/license/3_01.txt. |
* | If you did not receive a copy of the PHP license and are unable to |
* | obtain it through the world-wide-web, please send a note to |
* | license@php.net so we can mail you a copy immediately. |
* | license@php.net, so we can mail you a copy immediately. |
* +----------------------------------------------------------------------+
* | Authors: Kalle Sommer Nielsen <kalle@php.net> |
* +----------------------------------------------------------------------+
*
*
* $Id$
*/

Expand Down
8 changes: 3 additions & 5 deletions scripts/build-chms.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
<?php
/**
* +----------------------------------------------------------------------+
* | PHP Version 5 |
* +----------------------------------------------------------------------+
* | Copyright (c) 1997-2013 The PHP Group |
* | Copyright (c) 1997-2023 The PHP Group |
* +----------------------------------------------------------------------+
* | This source file is subject to version 3.01 of the PHP license, |
* | that is bundled with this package in the file LICENSE, and is |
* | available through the world-wide-web at the following url: |
* | http://www.php.net/license/3_01.txt. |
* | https://www.php.net/license/3_01.txt. |
* | If you did not receive a copy of the PHP license and are unable to |
* | obtain it through the world-wide-web, please send a note to |
* | license@php.net so we can mail you a copy immediately. |
* | license@php.net, so we can mail you a copy immediately. |
* +----------------------------------------------------------------------+
* | Authors: Kalle Sommer Nielsen <kalle@php.net> |
* | Hannes Magnusson <bjori@php.net> |
Expand Down
10 changes: 4 additions & 6 deletions scripts/check-trans-maint.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@

/*
+----------------------------------------------------------------------+
| PHP Version 5 |
| Copyright (c) 1997-2023 The PHP Group |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2011 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.0 of the PHP license, |
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_0.txt. |
| https://www.php.net/license/3_01.txt. |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
| license@php.net, so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors : Carola Sammy Kummert <sammywg@php.net> |
+----------------------------------------------------------------------+
Expand Down
10 changes: 4 additions & 6 deletions scripts/check-trans-params.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@
<?php
/*
+----------------------------------------------------------------------+
| PHP Version 4 |
| Copyright (c) 1997-2023 The PHP Group |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2011 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.0 of the PHP license, |
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_0.txt. |
| https://www.php.net/license/3_01.txt. |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
| license@php.net, so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors: Philip Olson <philip@php.net> |
| Jakub Vrana <vrana@php.net> |
Expand Down
28 changes: 13 additions & 15 deletions scripts/check-trans.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,17 @@

/*
+----------------------------------------------------------------------+
| PHP Version 5 |
| Copyright (c) 1997-2023 The PHP Group |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2011 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.0 of the PHP license, |
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_0.txt. |
| https://www.php.net/license/3_01.txt. |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
| license@php.net, so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors : Yannick Torrès <yannick@php.net> |
| Authors : Yannick Torres <yannick@php.net> |
+----------------------------------------------------------------------+
*/

Expand All @@ -34,7 +32,7 @@
Usage:
<?php echo $argv[0]; ?> <language-code>

Authors:Yannick Torrès <yannick@php.net>
Authors:Yannick Torres <yannick@php.net>

<?php
exit;
Expand Down Expand Up @@ -240,7 +238,7 @@ function do_check($en_content, $lang_content) {
if( isset($lang_linkend[$i]) && $en_linkend[$i] != $lang_linkend[$i] && $en_linkend[$i] != 'somethingelse' ) {
$nb_error['link'] ++;
$result_error[] = array(
"libel" => "Error in link, attribut : linkend $i",
"libel" => "Error in link, attribut : linkend $i",
"value_en" => $en_linkend[$i],
"value_lang" => $lang_linkend[$i],
"type" => "link",
Expand Down Expand Up @@ -614,7 +612,7 @@ function do_check($en_content, $lang_content) {
}


// Vérif
// Verify
for( $i=0; $i < count($en_methodsynopsis); $i++) {

if( isset($en_methodsynopsis[$i]['methodname']['name']) ) {
Expand Down Expand Up @@ -756,7 +754,7 @@ function do_check($en_content, $lang_content) {

// END : methodsynopsis

// Check if tere is a space or a point at the end of refpurpose
// Check if there is a space or a point at the end of refpurpose

preg_match_all("/<refpurpose>.*([^A-Za-z1-9 ])<\/refpurpose>/s", $lang_content, $match2);

Expand Down Expand Up @@ -875,7 +873,7 @@ function do_check($en_content, $lang_content) {

}

// Vérif
// Verify
for( $i=0; $i < count($en_classsynopsis); $i++) {

if( !isset($lang_classsynopsis[$i]['ooclass']['classname']) ) { $lang_classsynopsis[$i]['ooclass']['classname'] = ''; }
Expand Down Expand Up @@ -1045,7 +1043,7 @@ function check($lang_file, $en_file) {
// Grabs the revision tag and stores credits from the file given
function get_tags($file, $val = "en-rev") {
// Read the first 500 chars. The comment should be at
// the begining of the file
// the beginning of the file

if( !is_file($file) ) {
return false;
Expand Down Expand Up @@ -1080,13 +1078,13 @@ function get_tags($file, $val = "en-rev") {
// A function to check directory status in translated directory
// =========================================================================

// Check the status of files in a diretory of phpdoc XML files
// Check the status of files in a directory of phpdoc XML files
// The English directory is passed to this function to check
function get_dir_status($dir) {

global $LANG;

//echo "Entrée dans le répertoire : ".$dir."\n";
//echo "Enter in directory: ".$dir."\n";

$en_dir = str_replace("/$LANG/", "/en/", $dir);

Expand Down
12 changes: 5 additions & 7 deletions scripts/check_phpdoc/build.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
<?php
/*
/*
+----------------------------------------------------------------------+
| PHP Version 4 |
| Copyright (c) 1997-2023 The PHP Group |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2011 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.0 of the PHP license, |
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_0.txt. |
| https://www.php.net/license/3_01.txt. |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
| license@php.net, so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors: Mehdi Achour <didou@php.net> |
+----------------------------------------------------------------------+
Expand Down
12 changes: 5 additions & 7 deletions scripts/check_phpdoc/view_check_phpdoc.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
<?php
/*
/*
+----------------------------------------------------------------------+
| PHP Version 4 |
| Copyright (c) 1997-2023 The PHP Group |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2011 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.0 of the PHP license, |
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_0.txt. |
| https://www.php.net/license/3_01.txt. |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
| license@php.net, so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors: Mehdi Achour <didou@php.net> |
+----------------------------------------------------------------------+
Expand Down
12 changes: 5 additions & 7 deletions scripts/dbtags.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
#!/usr/bin/php -q
<?php
/*
/*
+----------------------------------------------------------------------+
| PHP Version 4 |
| Copyright (c) 1997-2023 The PHP Group |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2011 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.0 of the PHP license, |
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_0.txt. |
| https://www.php.net/license/3_01.txt. |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
| license@php.net, so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors: Gabor Hojtsy <goba@php.net> |
+----------------------------------------------------------------------+
Expand Down
10 changes: 4 additions & 6 deletions scripts/docgen/docgen.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
<?php
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
| Copyright (c) 1997-2023 The PHP Group |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2011 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.0 of the PHP license, |
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_0.txt. |
| https://www.php.net/license/3_01.txt. |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
| license@php.net, so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors: Felipe Pena <felipe@php.net> |
| Philip Olson <philip@php.net> |
Expand Down
Loading

0 comments on commit afad5df

Please sign in to comment.