summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2019-12-25 06:40:24 +0100
committerGitHub <noreply@github.com>2019-12-25 06:40:24 +0100
commit5de8bed01e4959fabc26691a390fcc020b70e2ae (patch)
tree90635ce565dbc4e50a522d071b69b285b935be96
parent6673cbc3d940745a0ecddb93b32805a0fbe79eb1 (diff)
Update for nextcloud 18 (#593)
bump nc-compatability 16 to 18, php-min 7.2 adapt tests for nc 18 Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
-rw-r--r--.travis.yml5
-rw-r--r--AUTHORS.md1
-rw-r--r--appinfo/info.xml6
-rw-r--r--composer.lock152
-rw-r--r--tests/Integration/Db/ItemMapperTest.php2
-rw-r--r--tests/Integration/IntegrationTest.php4
-rw-r--r--tests/Unit/Command/ExploreGeneratorTest.php2
-rw-r--r--tests/Unit/Migration/MigrateStatusFlagsTest.php2
8 files changed, 87 insertions, 87 deletions
diff --git a/.travis.yml b/.travis.yml
index b79f7e268..231e8805a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,7 +2,6 @@ sudo: false
dist: trusty
language: php
php:
- - 7.1.26
- 7.2
- 7.3
- 7.4snapshot
@@ -26,7 +25,9 @@ matrix:
- php: 7.3
env: DB=mysql
- php: 7.3
- env: CORE_BRANCH=master
+ env:
+ - CORE_BRANCH=master
+ - DB=mysql
fast_finish: true
before_install:
diff --git a/AUTHORS.md b/AUTHORS.md
index 41f48ba9c..2ad12a2e3 100644
--- a/AUTHORS.md
+++ b/AUTHORS.md
@@ -69,6 +69,7 @@
* [Daniel S](mailto:daniel@while-true-do.org)
* [Detlev Zundel](mailto:dzu@member.fsf.org)
* [Doron Behar](mailto:doron.behar@gmail.com)
+* [DriverXX](mailto:DriverXX@users.noreply.github.com)
* [DriverXX](mailto:thegio.f@gmail.com)
* [DudleyDursley](mailto:35841630+DudleyDursley@users.noreply.github.com)
* [Felix](mailto:eppfel@users.noreply.github.com)
diff --git a/appinfo/info.xml b/appinfo/info.xml
index c39ebfee9..dc56f60d6 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -8,7 +8,7 @@
Before you update to a new version, [check the changelog](https://github.com/nextcloud/news/blob/master/CHANGELOG.md) to avoid surprises.
**Important**: To enable feed updates you will need to enable either [Nextcloud system cron](https://docs.nextcloud.org/server/latest/admin_manual/configuration_server/background_jobs_configuration.html#cron) or use [an updater](https://github.com/nextcloud/news-updater) which uses the built in update API and disable cron updates. More information can be found [in the README](https://github.com/nextcloud/news).]]></description>
- <version>14.0.2</version>
+ <version>14.1.0</version>
<licence>agpl</licence>
<author>Benjamin Brahmer</author>
<author>Sean Molenaar</author>
@@ -28,7 +28,7 @@ Before you update to a new version, [check the changelog](https://github.com/nex
<screenshot small-thumbnail="https://raw.githubusercontent.com/nextcloud/news/master/screenshots/2-small.png">https://raw.githubusercontent.com/nextcloud/news/master/screenshots/2.png</screenshot>
<screenshot small-thumbnail="https://raw.githubusercontent.com/nextcloud/news/master/screenshots/3-small.png">https://raw.githubusercontent.com/nextcloud/news/master/screenshots/3.png</screenshot>
<dependencies>
- <php min-version="7.1"/>
+ <php min-version="7.2"/>
<database min-version="9.4">pgsql</database>
<database>sqlite</database>
<database min-version="5.5">mysql</database>
@@ -37,7 +37,7 @@ Before you update to a new version, [check the changelog](https://github.com/nex
<lib>SimpleXML</lib>
<lib>iconv</lib>
<owncloud max-version="0" min-version="0"/>
- <nextcloud min-version="16" max-version="17"/>
+ <nextcloud min-version="16" max-version="18"/>
</dependencies>
<background-jobs>
diff --git a/composer.lock b/composer.lock
index 9d8dcf5dd..0adea7759 100644
--- a/composer.lock
+++ b/composer.lock
@@ -111,23 +111,23 @@
},
{
"name": "debril/feed-io",
- "version": "v4.4.1",
+ "version": "v4.5.0",
"source": {
"type": "git",
"url": "https://github.com/alexdebril/feed-io.git",
- "reference": "bba403f15f65f274713c61e765dd8bad79c96a0a"
+ "reference": "30142fe3d9d52c5e0ca5309308a39c29124deb6f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/alexdebril/feed-io/zipball/bba403f15f65f274713c61e765dd8bad79c96a0a",
- "reference": "bba403f15f65f274713c61e765dd8bad79c96a0a",
+ "url": "https://api.github.com/repos/alexdebril/feed-io/zipball/30142fe3d9d52c5e0ca5309308a39c29124deb6f",
+ "reference": "30142fe3d9d52c5e0ca5309308a39c29124deb6f",
"shasum": ""
},
"require": {
"guzzlehttp/guzzle": "~6.2",
"php": ">=7.1",
"psr/log": "~1.0",
- "symfony/console": "~3.4|~4.0"
+ "symfony/console": "~3.4|~4.0|~5.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.4",
@@ -167,7 +167,7 @@
"news",
"rss"
],
- "time": "2019-11-13T10:31:19+00:00"
+ "time": "2019-12-10T17:37:13+00:00"
},
{
"name": "ezyang/htmlpurifier",
@@ -428,41 +428,41 @@
},
{
"name": "symfony/console",
- "version": "v4.4.0",
+ "version": "v5.0.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "35d9077f495c6d184d9930f7a7ecbd1ad13c7ab8"
+ "reference": "fe6e3cd889ca64172d7a742a2eb058541404ef47"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/35d9077f495c6d184d9930f7a7ecbd1ad13c7ab8",
- "reference": "35d9077f495c6d184d9930f7a7ecbd1ad13c7ab8",
+ "url": "https://api.github.com/repos/symfony/console/zipball/fe6e3cd889ca64172d7a742a2eb058541404ef47",
+ "reference": "fe6e3cd889ca64172d7a742a2eb058541404ef47",
"shasum": ""
},
"require": {
- "php": "^7.1.3",
+ "php": "^7.2.5",
"symfony/polyfill-mbstring": "~1.0",
"symfony/polyfill-php73": "^1.8",
"symfony/service-contracts": "^1.1|^2"
},
"conflict": {
- "symfony/dependency-injection": "<3.4",
- "symfony/event-dispatcher": "<4.3|>=5",
+ "symfony/dependency-injection": "<4.4",
+ "symfony/event-dispatcher": "<4.4",
"symfony/lock": "<4.4",
- "symfony/process": "<3.3"
+ "symfony/process": "<4.4"
},
"provide": {
"psr/log-implementation": "1.0"
},
"require-dev": {
"psr/log": "~1.0",
- "symfony/config": "^3.4|^4.0|^5.0",
- "symfony/dependency-injection": "^3.4|^4.0|^5.0",
- "symfony/event-dispatcher": "^4.3",
+ "symfony/config": "^4.4|^5.0",
+ "symfony/dependency-injection": "^4.4|^5.0",
+ "symfony/event-dispatcher": "^4.4|^5.0",
"symfony/lock": "^4.4|^5.0",
- "symfony/process": "^3.4|^4.0|^5.0",
- "symfony/var-dumper": "^4.3|^5.0"
+ "symfony/process": "^4.4|^5.0",
+ "symfony/var-dumper": "^4.4|^5.0"
},
"suggest": {
"psr/log": "For using the console logger",
@@ -473,7 +473,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.4-dev"
+ "dev-master": "5.0-dev"
}
},
"autoload": {
@@ -500,20 +500,20 @@
],
"description": "Symfony Console Component",
"homepage": "https://symfony.com",
- "time": "2019-11-13T07:39:40+00:00"
+ "time": "2019-12-17T13:20:22+00:00"
},
{
"name": "symfony/polyfill-mbstring",
- "version": "v1.12.0",
+ "version": "v1.13.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "b42a2f66e8f1b15ccf25652c3424265923eb4f17"
+ "reference": "7b4aab9743c30be783b73de055d24a39cf4b954f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/b42a2f66e8f1b15ccf25652c3424265923eb4f17",
- "reference": "b42a2f66e8f1b15ccf25652c3424265923eb4f17",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/7b4aab9743c30be783b73de055d24a39cf4b954f",
+ "reference": "7b4aab9743c30be783b73de055d24a39cf4b954f",
"shasum": ""
},
"require": {
@@ -525,7 +525,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.12-dev"
+ "dev-master": "1.13-dev"
}
},
"autoload": {
@@ -559,20 +559,20 @@
"portable",
"shim"
],
- "time": "2019-08-06T08:03:45+00:00"
+ "time": "2019-11-27T14:18:11+00:00"
},
{
"name": "symfony/polyfill-php73",
- "version": "v1.12.0",
+ "version": "v1.13.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php73.git",
- "reference": "2ceb49eaccb9352bff54d22570276bb75ba4a188"
+ "reference": "4b0e2222c55a25b4541305a053013d5647d3a25f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/2ceb49eaccb9352bff54d22570276bb75ba4a188",
- "reference": "2ceb49eaccb9352bff54d22570276bb75ba4a188",
+ "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/4b0e2222c55a25b4541305a053013d5647d3a25f",
+ "reference": "4b0e2222c55a25b4541305a053013d5647d3a25f",
"shasum": ""
},
"require": {
@@ -581,7 +581,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.12-dev"
+ "dev-master": "1.13-dev"
}
},
"autoload": {
@@ -617,7 +617,7 @@
"portable",
"shim"
],
- "time": "2019-08-06T08:03:45+00:00"
+ "time": "2019-11-27T16:25:15+00:00"
},
{
"name": "symfony/service-contracts",
@@ -737,16 +737,16 @@
},
{
"name": "myclabs/deep-copy",
- "version": "1.9.3",
+ "version": "1.9.4",
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "007c053ae6f31bba39dfa19a7726f56e9763bbea"
+ "reference": "579bb7356d91f9456ccd505f24ca8b667966a0a7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/007c053ae6f31bba39dfa19a7726f56e9763bbea",
- "reference": "007c053ae6f31bba39dfa19a7726f56e9763bbea",
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/579bb7356d91f9456ccd505f24ca8b667966a0a7",
+ "reference": "579bb7356d91f9456ccd505f24ca8b667966a0a7",
"shasum": ""
},
"require": {
@@ -781,7 +781,7 @@
"object",
"object graph"
],
- "time": "2019-08-09T12:45:53+00:00"
+ "time": "2019-12-15T19:12:40+00:00"
},
{
"name": "phar-io/manifest",
@@ -939,16 +939,16 @@
},
{
"name": "phpdocumentor/reflection-docblock",
- "version": "4.3.2",
+ "version": "4.3.3",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "b83ff7cfcfee7827e1e78b637a5904fe6a96698e"
+ "reference": "2ecaa9fef01634c83bfa8dc1fe35fb5cef223a62"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/b83ff7cfcfee7827e1e78b637a5904fe6a96698e",
- "reference": "b83ff7cfcfee7827e1e78b637a5904fe6a96698e",
+ "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/2ecaa9fef01634c83bfa8dc1fe35fb5cef223a62",
+ "reference": "2ecaa9fef01634c83bfa8dc1fe35fb5cef223a62",
"shasum": ""
},
"require": {
@@ -986,7 +986,7 @@
}
],
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2019-09-12T14:27:41+00:00"
+ "time": "2019-12-20T13:40:23+00:00"
},
{
"name": "phpdocumentor/type-resolver",
@@ -1037,33 +1037,33 @@
},
{
"name": "phpspec/prophecy",
- "version": "1.9.0",
+ "version": "1.10.1",
"source": {
"type": "git",
"url": "https://github.com/phpspec/prophecy.git",
- "reference": "f6811d96d97bdf400077a0cc100ae56aa32b9203"
+ "reference": "cbe1df668b3fe136bcc909126a0f529a78d4cbbc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/f6811d96d97bdf400077a0cc100ae56aa32b9203",
- "reference": "f6811d96d97bdf400077a0cc100ae56aa32b9203",
+ "url": "https://api.github.com/repos/phpspec/prophecy/zipball/cbe1df668b3fe136bcc909126a0f529a78d4cbbc",
+ "reference": "cbe1df668b3fe136bcc909126a0f529a78d4cbbc",
"shasum": ""
},
"require": {
"doctrine/instantiator": "^1.0.2",
"php": "^5.3|^7.0",
"phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0",
- "sebastian/comparator": "^1.1|^2.0|^3.0",
+ "sebastian/comparator": "^1.2.3|^2.0|^3.0",
"sebastian/recursion-context": "^1.0|^2.0|^3.0"
},
"require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
+ "phpspec/phpspec": "^2.5 || ^3.2",
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.8.x-dev"
+ "dev-master": "1.10.x-dev"
}
},
"autoload": {
@@ -1096,7 +1096,7 @@
"spy",
"stub"
],
- "time": "2019-10-03T11:07:50+00:00"
+ "time": "2019-12-22T21:05:45+00:00"
},
{
"name": "phpunit/php-code-coverage",
@@ -1352,16 +1352,16 @@
},
{
"name": "phpunit/phpunit",
- "version": "7.5.17",
+ "version": "7.5.18",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "4c92a15296e58191a4cd74cff3b34fc8e374174a"
+ "reference": "fcf6c4bfafaadc07785528b06385cce88935474d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/4c92a15296e58191a4cd74cff3b34fc8e374174a",
- "reference": "4c92a15296e58191a4cd74cff3b34fc8e374174a",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/fcf6c4bfafaadc07785528b06385cce88935474d",
+ "reference": "fcf6c4bfafaadc07785528b06385cce88935474d",
"shasum": ""
},
"require": {
@@ -1432,7 +1432,7 @@
"testing",
"xunit"
],
- "time": "2019-10-28T10:37:36+00:00"
+ "time": "2019-12-06T05:14:37+00:00"
},
{
"name": "sebastian/code-unit-reverse-lookup",
@@ -2002,16 +2002,16 @@
},
{
"name": "squizlabs/php_codesniffer",
- "version": "3.5.2",
+ "version": "3.5.3",
"source": {
"type": "git",
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "65b12cdeaaa6cd276d4c3033a95b9b88b12701e7"
+ "reference": "557a1fc7ac702c66b0bbfe16ab3d55839ef724cb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/65b12cdeaaa6cd276d4c3033a95b9b88b12701e7",
- "reference": "65b12cdeaaa6cd276d4c3033a95b9b88b12701e7",
+ "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/557a1fc7ac702c66b0bbfe16ab3d55839ef724cb",
+ "reference": "557a1fc7ac702c66b0bbfe16ab3d55839ef724cb",
"shasum": ""
},
"require": {
@@ -2049,20 +2049,20 @@
"phpcs",
"standards"
],
- "time": "2019-10-28T04:36:32+00:00"
+ "time": "2019-12-04T04:46:47+00:00"
},
{
"name": "symfony/polyfill-ctype",
- "version": "v1.12.0",
+ "version": "v1.13.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "550ebaac289296ce228a706d0867afc34687e3f4"
+ "reference": "f8f0b461be3385e56d6de3dbb5a0df24c0c275e3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/550ebaac289296ce228a706d0867afc34687e3f4",
- "reference": "550ebaac289296ce228a706d0867afc34687e3f4",
+ "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/f8f0b461be3385e56d6de3dbb5a0df24c0c275e3",
+ "reference": "f8f0b461be3385e56d6de3dbb5a0df24c0c275e3",
"shasum": ""
},
"require": {
@@ -2074,7 +2074,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.12-dev"
+ "dev-master": "1.13-dev"
}
},
"autoload": {
@@ -2107,7 +2107,7 @@
"polyfill",
"portable"
],
- "time": "2019-08-06T08:03:45+00:00"
+ "time": "2019-11-27T13:56:44+00:00"
},
{
"name": "theseer/tokenizer",
@@ -2151,31 +2151,29 @@
},
{
"name": "webmozart/assert",
- "version": "1.5.0",
+ "version": "1.6.0",
"source": {
"type": "git",
"url": "https://github.com/webmozart/assert.git",
- "reference": "88e6d84706d09a236046d686bbea96f07b3a34f4"
+ "reference": "573381c0a64f155a0d9a23f4b0c797194805b925"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/88e6d84706d09a236046d686bbea96f07b3a34f4",
- "reference": "88e6d84706d09a236046d686bbea96f07b3a34f4",
+ "url": "https://api.github.com/repos/webmozart/assert/zipball/573381c0a64f155a0d9a23f4b0c797194805b925",
+ "reference": "573381c0a64f155a0d9a23f4b0c797194805b925",
"shasum": ""
},
"require": {
"php": "^5.3.3 || ^7.0",
"symfony/polyfill-ctype": "^1.8"
},
+ "conflict": {
+ "vimeo/psalm": "<3.6.0"
+ },
"require-dev": {
"phpunit/phpunit": "^4.8.36 || ^7.5.13"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
"autoload": {
"psr-4": {
"Webmozart\\Assert\\": "src/"
@@ -2197,7 +2195,7 @@
"check",
"validate"
],
- "time": "2019-08-24T08:43:50+00:00"
+ "time": "2019-11-24T13:36:37+00:00"
}
],
"aliases": [],
diff --git a/tests/Integration/Db/ItemMapperTest.php b/tests/Integration/Db/ItemMapperTest.php
index c87a4139f..e510aab96 100644
--- a/tests/Integration/Db/ItemMapperTest.php
+++ b/tests/Integration/Db/ItemMapperTest.php
@@ -304,7 +304,7 @@ class ItemMapperTest extends IntegrationTest
}
}
- protected function tearDown()
+ protected function tearDown(): void
{
parent::tearDown();
$this->clearUserNewsDatabase('john');
diff --git a/tests/Integration/IntegrationTest.php b/tests/Integration/IntegrationTest.php
index 8dbdec802..13969e7c3 100644
--- a/tests/Integration/IntegrationTest.php
+++ b/tests/Integration/IntegrationTest.php
@@ -58,7 +58,7 @@ abstract class IntegrationTest extends \Test\TestCase
*/
protected $container;
- protected function setUp()
+ protected function setUp(): void
{
parent::setUp();
$app = new Application();
@@ -231,7 +231,7 @@ abstract class IntegrationTest extends \Test\TestCase
}
}
- protected function tearDown()
+ protected function tearDown(): void
{
parent::tearDown();
$this->tearDownUser($this->user);
diff --git a/tests/Unit/Command/ExploreGeneratorTest.php b/tests/Unit/Command/ExploreGeneratorTest.php
index ac1f2c3c8..213633549 100644
--- a/tests/Unit/Command/ExploreGeneratorTest.php
+++ b/tests/Unit/Command/ExploreGeneratorTest.php
@@ -43,7 +43,7 @@ class ExploreGeneratorTest extends TestCase {
/** @var \Symfony\Component\Console\Command\Command */
protected $command;
- protected function setUp()
+ protected function setUp(): void
{
parent::setUp();
diff --git a/tests/Unit/Migration/MigrateStatusFlagsTest.php b/tests/Unit/Migration/MigrateStatusFlagsTest.php
index 8b391b812..fb915ec94 100644
--- a/tests/Unit/Migration/MigrateStatusFlagsTest.php
+++ b/tests/Unit/Migration/MigrateStatusFlagsTest.php
@@ -34,7 +34,7 @@ class MigrateStatusFlagsTest extends TestCase
*/
protected $output;
- protected function setUp()
+ protected function setUp(): void
{
$this->db = $this->createMock(IDBConnection::class);
$this->config = $this->createMock(IConfig::class);