summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/mysql.php13
-rw-r--r--tests/MySqlShimTest.php10
-rw-r--r--tests/bootstrap.php9
3 files changed, 26 insertions, 6 deletions
diff --git a/lib/mysql.php b/lib/mysql.php
index 08af607..f561381 100644
--- a/lib/mysql.php
+++ b/lib/mysql.php
@@ -1,4 +1,17 @@
<?php
+/**
+ * php7-mysql-shim
+ *
+ * @author Davey Shafik <me@daveyshafik.com>
+ * @copyright Copyright (c) 2017 Davey Shafik
+ * @license MIT License
+ * @link https://github.com/dshafik/php7-mysql-shim
+ */
+
+/**
+ * A drop-in replacement for ext/mysql in PHP 7+
+ * using ext/mysqli instead
+ */
namespace {
if (!function_exists('\mysql_connect')) {
diff --git a/tests/MySqlShimTest.php b/tests/MySqlShimTest.php
index ab6b3de..a7e4345 100644
--- a/tests/MySqlShimTest.php
+++ b/tests/MySqlShimTest.php
@@ -2,13 +2,11 @@
/**
* php7-mysql-shim
*
- * @author Davey Shafik <dshafik@akamai.com>
- * @copyright Copyright 2015 Akamai Technologies, Inc. All rights reserved.
- * @license Apache 2.0
- * @link https://github.com/akamai-open/php7-mysql-shim
- * @link https://developer.akamai.com
+ * @author Davey Shafik <me@daveyshafik.com>
+ * @copyright Copyright (c) 2017 Davey Shafik
+ * @license MIT License
+ * @link https://github.com/dshafik/php7-mysql-shim
*/
-
namespace Dshafik\MySQL\Tests;
class MySqlShimTest extends \PHPUnit_Framework_TestCase
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index f9e62ac..ed6fc04 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -1,2 +1,11 @@
<?php
+/**
+ * php7-mysql-shim
+ *
+ * @author Davey Shafik <me@daveyshafik.com>
+ * @copyright Copyright (c) 2017 Davey Shafik
+ * @license MIT License
+ * @link https://github.com/dshafik/php7-mysql-shim
+ */
+
require_once __DIR__ . '/../vendor/autoload.php';