File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 22
33namespace Madcoda ;
44
5+ /**
6+ * This is an alias class to Madcoda\Youtube\Youtube
7+ * for backward compatibility, you should use Madcoda\Youtube\Youtube from now on
8+ */
59class Youtube extends Youtube \Youtube {}
610//class_alias('Madcoda\\Youtube', 'Madcode\\Youtube\\Youtube');
Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ class YoutubeTest extends \PHPUnit_Framework_TestCase
2020
2121 public function setUp ()
2222 {
23+ // !!!!! DO NOT USE THIS API KEY FOR PRODUCTION USE !!!!! */
2324 $ TEST_API_KEY = 'AIzaSyDDefsgXEZu57wYgABF7xEURClu4UAzyB8 ' ;
25+ // !!!!! THIS KEY WOULD BE REVOKED BY AUTHOR ANYTIME !!!!! */
2426 $ this ->youtube = new Youtube (array ('key ' => $ TEST_API_KEY ));
2527 }
2628
You can’t perform that action at this time.
0 commit comments