Skip to content
Browse files

Add a LICENSE file and move the Exception file to New BSD. The packag…

…e.xml file already was using NEW BSD and the Exception class in PEAR was already converted and this file is forked off that for PEAR2 usage.
  • Loading branch information...
1 parent 0a3b142 commit a3c4fcb1354de138df6726af51520ef7c8c75a2e @helgi helgi committed Feb 21, 2010
Showing with 27 additions and 7 deletions.
  1. +26 −0 LICENSE
  2. +1 −7 src/Exception.php
View
26 LICENSE
@@ -0,0 +1,26 @@
+Copyright (c) 1997-2009,
+ Hans Lellelid <hans@velum.net>,
+ Bertrand Mansion <bmansion@mamasam.com>,
+ Gregory Beaver <cellog@php.net>,
+ Tomas V.V.Cox <cox@idecnet.com>
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
8 src/Exception.php
@@ -5,12 +5,6 @@
*
* PHP versions 4 and 5
*
- * LICENSE: This source file is subject to version 3.0 of the PHP license
- * that is available through the world-wide-web at the following URI:
- * http://www.php.net/license/3_0.txt. If you did not receive a copy of
- * the PHP License and are unable to obtain it through the web, please
- * send a note to license@php.net so we can mail you a copy immediately.
- *
* @category pear
* @package PEAR2_Exception
* @author Tomas V. V. Cox <cox@idecnet.com>
@@ -70,7 +64,7 @@
* @author Bertrand Mansion <bmansion@mamasam.com>
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2007 The PHP Group
- * @license http://www.php.net/license/3_0.txt PHP License 3.0
+ * @license http://opensource.org/licenses/bsd-license.php New BSD License
* @version Release: @package_version@
* @link http://pear.php.net/package/PEAR
* @since Class available since Release 0.1.0

0 comments on commit a3c4fcb

Please sign in to comment.
Something went wrong with that request. Please try again.