mirror of
https://github.com/php/doc-pt_br.git
synced 2026-03-23 22:52:12 +01:00
Copyright e licença do código
This commit is contained in:
@@ -1,11 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* mess.php -- Gera um arquivo "conflitado", contendo as remoções
|
||||
* e inclusões de linhas, respectivamente da tradução e do original,
|
||||
* a partir de um diff do hash informado.
|
||||
*
|
||||
* EXPERIMENTAL. Modifica o arquivo destino sem outras verificações.
|
||||
* +----------------------------------------------------------------------+
|
||||
* | 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: |
|
||||
* | 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. |
|
||||
* +----------------------------------------------------------------------+
|
||||
* | Authors: Andŕe L F S Bacci <ae php.net> |
|
||||
* +----------------------------------------------------------------------+
|
||||
* | Description: Gera um arquivo anotado, indicando as inclusões e |
|
||||
* | remoções de linhas conforme diff do hash informado. |
|
||||
* | EXPERIMENTAL. |
|
||||
* +----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
if ( $argc == 2)
|
||||
@@ -127,4 +138,4 @@ function mess_replace( string $filename , string $hash = "" )
|
||||
|
||||
$mergedContents = implode( "\n" , $mergedLines );
|
||||
file_put_contents( $targetFile , $mergedContents );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,22 @@
|
||||
<?php
|
||||
/**
|
||||
* +----------------------------------------------------------------------+
|
||||
* | 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: |
|
||||
* | 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. |
|
||||
* +----------------------------------------------------------------------+
|
||||
* | Authors: Andŕe L F S Bacci <ae php.net> |
|
||||
* +----------------------------------------------------------------------+
|
||||
* | Description: This file trim whitespace at end, compares and |
|
||||
* | syncronize starting whitespace between two files. |
|
||||
* +----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
wsfix ( $argv[1] );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user