Add license information.

This commit is contained in:
Andrés Montañez
2013-11-05 14:12:09 -02:00
parent fe60dfbdd4
commit c32bb708cf
41 changed files with 368 additions and 9 deletions
+11 -2
View File
@@ -1,4 +1,13 @@
<?php
/*
* This file is part of the Magallanes package.
*
* (c) Andrés Montañez <andres@andresmontanez.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
class Mage_Console_Colors
{
private static $foreground_colors = array(
@@ -18,7 +27,7 @@ class Mage_Console_Colors
'yellow' => '1;33',
'light_gray' => '0;37',
'white' => '1;37'
);
// Returns colored string
@@ -33,7 +42,7 @@ class Mage_Console_Colors
"\033[" . $code . 'm',
"\033[0m"
);
$string = str_replace($replaceFrom, $replaceTo, $string);
}