From def39d0dd7a81a4af9ad68b62c9e9823fbc2b38e Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 10 Aug 2019 12:31:32 +0200 Subject: Run Unit Tests against PHP 7.4 Bump PHPUnit version and fix unit test - Globals are handled differently and are persistent through tests - Tests without assertions are marked as risky: some of them are just meant to check that no error is raised. --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index 109d5d7b..a028e99a 100644 --- a/composer.json +++ b/composer.json @@ -21,15 +21,15 @@ "shaarli/netscape-bookmark-parser": "^2.1", "erusev/parsedown": "^1.6", "slim/slim": "^3.0", - "arthurhoaro/web-thumbnailer": "^1.1", + "arthurhoaro/web-thumbnailer": "^2.0", "pubsubhubbub/publisher": "dev-master", "gettext/gettext": "^4.4" }, "require-dev": { "roave/security-advisories": "dev-master", "phpunit/phpcov": "*", - "phpunit/phpunit": "^5.0", - "squizlabs/php_codesniffer": "2.*" + "phpunit/phpunit": "^7.5", + "squizlabs/php_codesniffer": "3.*" }, "suggest": { "ext-curl": "Allows fetching web pages and thumbnails in a more robust way", -- cgit v1.2.3