summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjdorn <jeremy@jeremydorn.com>2013-04-26 11:42:52 -0700
committerjdorn <jeremy@jeremydorn.com>2013-04-26 11:42:52 -0700
commitbd1f09133f6dbbe0713856910e58ea9480c2be58 (patch)
tree7ab3ce0a3862439d5b14ac00a7028bf70954fe09
parente38ea8a0cbd943ac78014d07f42441cd51d537db (diff)
downloadsql-formatter-bd1f09133f6dbbe0713856910e58ea9480c2be58.zip
sql-formatter-bd1f09133f6dbbe0713856910e58ea9480c2be58.tar.gz
sql-formatter-bd1f09133f6dbbe0713856910e58ea9480c2be58.tar.bz2
Changed license to MIT to simplify inclusion in other libraries.v1.2.9
-rw-r--r--LICENSE.txt21
-rw-r--r--composer.json2
-rw-r--r--lib/SqlFormatter.php4
3 files changed, 24 insertions, 3 deletions
diff --git a/LICENSE.txt b/LICENSE.txt
new file mode 100644
index 0000000..e822279
--- /dev/null
+++ b/LICENSE.txt
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2013 Jeremy Dorn <jeremy@jeremydorn.com>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/composer.json b/composer.json
index 9eb7735..0f29a05 100644
--- a/composer.json
+++ b/composer.json
@@ -4,7 +4,7 @@
"homepage": "https://github.com/jdorn/sql-formatter/",
"keywords": ["sql", "highlight"],
"minimum-stability": "dev",
- "license": "LGPL",
+ "license": "MIT",
"type": "library",
"require": {
"php": ">=5.2.4"
diff --git a/lib/SqlFormatter.php b/lib/SqlFormatter.php
index 678a483..fec46e3 100644
--- a/lib/SqlFormatter.php
+++ b/lib/SqlFormatter.php
@@ -7,9 +7,9 @@
* @author Jeremy Dorn <jeremy@jeremydorn.com>
* @author Florin Patan <florinpatan@gmail.com>
* @copyright 2013 Jeremy Dorn
- * @license http://www.opensource.org/licenses/lgpl-license.php LGPL
+ * @license http://opensource.org/licenses/MIT
* @link http://github.com/jdorn/sql-formatter
- * @version 1.2.8
+ * @version 1.2.9
*/
class SqlFormatter
{