From 2eca718b20c2616fdc43bc776d88ac8e5c9cd454 Mon Sep 17 00:00:00 2001 From: youngbobby Date: Sun, 22 Sep 2019 21:51:08 +0600 Subject: [PATCH 1/2] update symfony --- composer.json | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/composer.json b/composer.json index 8e730c9..06dd055 100644 --- a/composer.json +++ b/composer.json @@ -1,20 +1,25 @@ { - "name": "ninoskopac/php-tika-wrapper", - "description": "This is a simple PHP Wrapper for Apache Tika (using the tika-app jar)", - "keywords" : ["tika", "apache tika", "pdf", "doc", "docx", "odt", "text processing"], - - "require": { - "php": ">=5.3.2", - "symfony/process": "~3.2" - }, - - "require-dev": { - "phpunit/phpunit": "3.7.*" - }, - - "autoload": { - "psr-4": { - "Enzim\\Lib\\TikaWrapper\\": "src/" - } + "name": "ninoskopac/php-tika-wrapper", + "description": "This is a simple PHP Wrapper for Apache Tika (using the tika-app jar)", + "keywords": [ + "tika", + "apache tika", + "pdf", + "doc", + "docx", + "odt", + "text processing" + ], + "require": { + "php": ">=5.3.2", + "symfony/process": "^4.3.4" + }, + "require-dev": { + "phpunit/phpunit": "3.7.*" + }, + "autoload": { + "psr-4": { + "Enzim\\Lib\\TikaWrapper\\": "src/" } + } } From 7984f99b191f46a2f8b34406effce21fd029622c Mon Sep 17 00:00:00 2001 From: ninoskopac Date: Mon, 23 Sep 2019 17:18:45 +0100 Subject: [PATCH 2/2] PHP and PHPunit version upgrade - WIP (tests aren't running) --- composer.json | 6 +++--- phpunit.xml | 15 ++------------- tests/TikaWrapperTest.php | 4 +++- 3 files changed, 8 insertions(+), 17 deletions(-) diff --git a/composer.json b/composer.json index 06dd055..017a21f 100644 --- a/composer.json +++ b/composer.json @@ -11,11 +11,11 @@ "text processing" ], "require": { - "php": ">=5.3.2", - "symfony/process": "^4.3.4" + "php": "^7.2", + "symfony/process": "^4.3" }, "require-dev": { - "phpunit/phpunit": "3.7.*" + "phpunit/phpunit": "^8" }, "autoload": { "psr-4": { diff --git a/phpunit.xml b/phpunit.xml index ba306f1..f220da3 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,19 +1,8 @@ - + - + ./tests - diff --git a/tests/TikaWrapperTest.php b/tests/TikaWrapperTest.php index 10f5e12..9e3dc47 100644 --- a/tests/TikaWrapperTest.php +++ b/tests/TikaWrapperTest.php @@ -1,6 +1,8 @@