Commit Graph

15 Commits

Author SHA1 Message Date
Pierre Rudloff 55db198d39 Upgrade phpunit to 9.5
So we stop depending on the unmaintained php-token-stream
2021-10-17 21:14:39 +02:00
Pierre Rudloff 05311ac7b6 Add return types 2020-12-17 22:49:21 +01:00
Pierre Rudloff f5045b3ae7 Lint 2020-10-17 22:22:17 +02:00
Pierre Rudloff 7e2afd8221 Stop using a singleton for Config (#298) 2020-10-17 22:07:42 +02:00
Pierre Rudloff 6fc294afbe Use array_merge() instead of +=
To avoid overriding items
2020-10-17 15:09:34 +02:00
Pierre Rudloff 7a2c7b42fb Remove Windows test config file
We don't have a Windows CI anymore
2020-06-22 23:22:42 +02:00
Pierre Rudloff 5c2823e3f1 Move Video class to a separate library
+ improve error handling
+ youtube-dl update
2020-06-21 15:12:03 +02:00
Pierre Rudloff bc695cfa15 Lint 2020-05-13 21:33:05 +02:00
Pierre Rudloff fea1cce2d4 Switch to phpunit 8 2019-11-30 14:09:12 +01:00
Pierre Rudloff 1cab9623e9 Do not run tests that download videos on CI
Travis get blacklisted by more and more services (Vimeo, Youtube, etc.)
2019-10-26 16:14:01 +02:00
Pierre Rudloff 44bf858c35 style(phpcs): Switch to PSR-12
https://www.php-fig.org/psr/psr-12/
2019-10-03 21:24:12 +02:00
Pierre Rudloff 25f33bba56 refactor: Split FrontController into multiple classes
Closes #177
2019-04-22 16:51:48 +02:00
Pierre Rudloff 28b99861c2 test(phpunit): Fix ConfigTest on Windows 2019-04-21 19:14:23 +02:00
Pierre Rudloff 06a631c892 fixup! refactor: New Video class 2019-04-21 18:35:24 +02:00
Pierre Rudloff 4c9af8ad1d refactor: New Video class
The news class provides a cleaner object-oriented logic

BREAKING CHANGE: The VideoDownload class has been removed and the Config constructor is now private
2019-04-21 18:30:02 +02:00