Permalink
Browse files

Add GPL2 notice to all PHP files

  • Loading branch information...
Art4 committed Sep 15, 2017
1 parent ab08aec commit b94c03911fa0180a9d672320c0552b095292a981
Showing with 1,642 additions and 0 deletions.
  1. +18 −0 bootstrap.php
  2. +19 −0 download.php
  3. +19 −0 getimage.php
  4. +19 −0 getvideo.php
  5. +19 −0 index.php
  6. +18 −0 src/Application/App.php
  7. +18 −0 src/Application/Controller.php
  8. +18 −0 src/Application/ControllerAbstract.php
  9. +18 −0 src/Application/ControllerFactory.php
  10. +18 −0 src/Application/DownloadController.php
  11. +18 −0 src/Application/ImageController.php
  12. +18 −0 src/Application/MainController.php
  13. +18 −0 src/Application/ResultController.php
  14. +18 −0 src/Cache/Cache.php
  15. +18 −0 src/Cache/CacheAware.php
  16. +18 −0 src/Cache/CacheAwareTrait.php
  17. +18 −0 src/Cache/CacheException.php
  18. +18 −0 src/Cache/FileCache.php
  19. +18 −0 src/Cache/InvalidArgumentException.php
  20. +18 −0 src/Cache/NullCache.php
  21. +18 −0 src/Config.php
  22. +18 −0 src/Container/Container.php
  23. +18 −0 src/Container/ContainerException.php
  24. +18 −0 src/Container/NotFoundException.php
  25. +18 −0 src/Container/SimpleContainer.php
  26. +18 −0 src/Http/Client.php
  27. +18 −0 src/Http/CurlClient.php
  28. +18 −0 src/Http/HttpClientAware.php
  29. +18 −0 src/Http/HttpClientAwareTrait.php
  30. +18 −0 src/Http/Message/Message.php
  31. +18 −0 src/Http/Message/Request.php
  32. +18 −0 src/Http/Message/Response.php
  33. +18 −0 src/Http/Message/ServerRequest.php
  34. +18 −0 src/Http/MessageTrait.php
  35. +18 −0 src/Http/Request.php
  36. +18 −0 src/Http/Response.php
  37. +18 −0 src/Logger/Handler/Entry.php
  38. +18 −0 src/Logger/Handler/Handler.php
  39. +18 −0 src/Logger/Handler/NullHandler.php
  40. +18 −0 src/Logger/Handler/SimpleEntry.php
  41. +18 −0 src/Logger/Handler/StreamHandler.php
  42. +18 −0 src/Logger/HandlerAwareLogger.php
  43. +18 −0 src/Logger/LogLevel.php
  44. +18 −0 src/Logger/Logger.php
  45. +18 −0 src/Logger/LoggerAware.php
  46. +18 −0 src/Logger/LoggerAwareTrait.php
  47. +18 −0 src/Logger/NullLogger.php
  48. +18 −0 src/Provider/Youtube/Format.php
  49. +18 −0 src/Provider/Youtube/Provider.php
  50. +18 −0 src/Provider/Youtube/SignatureDecipher.php
  51. +18 −0 src/Provider/Youtube/VideoInfo.php
  52. +18 −0 src/ServiceProvider.php
  53. +18 −0 src/Template/Engine.php
  54. +18 −0 src/Template/Template.php
  55. +18 −0 src/Toolkit.php
  56. +18 −0 src/VideoInfo/Exception.php
  57. +18 −0 src/VideoInfo/Format.php
  58. +18 −0 src/VideoInfo/InvalidInputException.php
  59. +18 −0 src/VideoInfo/Provider.php
  60. +18 −0 src/VideoInfo/VideoInfo.php
  61. +18 −0 tests/Fixture/Cache/DataProviderTrait.php
  62. +18 −0 tests/Fixture/Cache/Psr16CacheAdapter.php
  63. +18 −0 tests/Fixture/Cache/Psr16CacheException.php
  64. +18 −0 tests/Fixture/Cache/Psr16InvalidArgumentException.php
  65. +18 −0 tests/Fixture/Container/Psr11ContainerAdapter.php
  66. +18 −0 tests/Fixture/Container/Psr11ContainerException.php
  67. +18 −0 tests/Fixture/Container/Psr11NotFoundException.php
  68. +18 −0 tests/Fixture/Http/Message.php
  69. +18 −0 tests/Fixture/Http/Psr7MessageAdapter.php
  70. +18 −0 tests/Fixture/Http/Psr7RequestAdapter.php
  71. +18 −0 tests/Fixture/Http/Psr7ResponseAdapter.php
  72. +18 −0 tests/Fixture/Logger/Psr3LoggerAdapter.php
  73. +18 −0 tests/Fixture/TestCase.php
  74. +18 −0 tests/Unit/Application/AppTest.php
  75. +18 −0 tests/Unit/Application/ControllerFactoryTest.php
  76. +18 −0 tests/Unit/Cache/FileCacheTest.php
  77. +18 −0 tests/Unit/Cache/NullCacheTest.php
  78. +18 −0 tests/Unit/Container/SimpleContainerTest.php
  79. +18 −0 tests/Unit/Http/MessageTraitTest.php
  80. +18 −0 tests/Unit/Http/RequestTest.php
  81. +18 −0 tests/Unit/Http/ResponseTest.php
  82. +18 −0 tests/Unit/Logger/Handler/SimpleEntryTest.php
  83. +18 −0 tests/Unit/Logger/Handler/StreamHandlerTest.php
  84. +18 −0 tests/Unit/Logger/HandlerAwareLoggerTest.php
  85. +18 −0 tests/Unit/Logger/NullLoggerTest.php
  86. +18 −0 tests/Unit/Provider/Youtube/FormatTest.php
  87. +18 −0 tests/Unit/Provider/Youtube/ProviderTest.php
  88. +18 −0 tests/Unit/Provider/Youtube/VideoInfoTest.php
  89. +18 −0 tests/Unit/Template/EngineTest.php
  90. +18 −0 tests/Unit/Template/TemplateTest.php
  91. +18 −0 tests/Unit/ToolkitTest.php
View
@@ -1,5 +1,23 @@
<?php
/*
* PHP script for downloading videos from youtube
* Copyright (C) 2012-2017 John Eckman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
/**
* PSR-4 autoloader
*
View
@@ -1,4 +1,23 @@
<?php
/*
* PHP script for downloading videos from youtube
* Copyright (C) 2012-2017 John Eckman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
$app = include_once('bootstrap.php');
$app->runWithRoute('download');
View
@@ -1,4 +1,23 @@
<?php
/*
* PHP script for downloading videos from youtube
* Copyright (C) 2012-2017 John Eckman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
$app = include_once('bootstrap.php');
$app->runWithRoute('image');
View
@@ -1,4 +1,23 @@
<?php
/*
* PHP script for downloading videos from youtube
* Copyright (C) 2012-2017 John Eckman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
$app = include_once('bootstrap.php');
$app->runWithRoute('results');
View
@@ -1,4 +1,23 @@
<?php
/*
* PHP script for downloading videos from youtube
* Copyright (C) 2012-2017 John Eckman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
$app = include_once('bootstrap.php');
$app->runWithRoute('index');
View
@@ -1,5 +1,23 @@
<?php
/*
* PHP script for downloading videos from youtube
* Copyright (C) 2012-2017 John Eckman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
namespace YoutubeDownloader\Application;
use YoutubeDownloader\Container\Container;
@@ -1,5 +1,23 @@
<?php
/*
* PHP script for downloading videos from youtube
* Copyright (C) 2012-2017 John Eckman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
namespace YoutubeDownloader\Application;
/**
@@ -1,5 +1,23 @@
<?php
/*
* PHP script for downloading videos from youtube
* Copyright (C) 2012-2017 John Eckman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
namespace YoutubeDownloader\Application;
/**
@@ -1,5 +1,23 @@
<?php
/*
* PHP script for downloading videos from youtube
* Copyright (C) 2012-2017 John Eckman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
namespace YoutubeDownloader\Application;
use Exception;
@@ -1,5 +1,23 @@
<?php
/*
* PHP script for downloading videos from youtube
* Copyright (C) 2012-2017 John Eckman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
namespace YoutubeDownloader\Application;
use Exception;
@@ -1,5 +1,23 @@
<?php
/*
* PHP script for downloading videos from youtube
* Copyright (C) 2012-2017 John Eckman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
namespace YoutubeDownloader\Application;
/**
@@ -1,5 +1,23 @@
<?php
/*
* PHP script for downloading videos from youtube
* Copyright (C) 2012-2017 John Eckman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
namespace YoutubeDownloader\Application;
/**
@@ -1,5 +1,23 @@
<?php
/*
* PHP script for downloading videos from youtube
* Copyright (C) 2012-2017 John Eckman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
namespace YoutubeDownloader\Application;
use YoutubeDownloader\VideoInfo\VideoInfo;
View
@@ -1,5 +1,23 @@
<?php
/*
* PHP script for downloading videos from youtube
* Copyright (C) 2012-2017 John Eckman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
namespace YoutubeDownloader\Cache;
/**
View
@@ -1,5 +1,23 @@
<?php
/*
* PHP script for downloading videos from youtube
* Copyright (C) 2012-2017 John Eckman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
namespace YoutubeDownloader\Cache;
/**
@@ -1,5 +1,23 @@
<?php
/*
* PHP script for downloading videos from youtube
* Copyright (C) 2012-2017 John Eckman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
namespace YoutubeDownloader\Cache;
/**
Oops, something went wrong.

0 comments on commit b94c039

Please sign in to comment.