diff --git a/composer.json b/composer.json index c790a4849f63c81c4d463ef768c6511da939fc9a..30bad11ce5e66ed8862c9ca989603992349a229a 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "license": "GPL-2.0", "config": { "platform": { - "php": "7.0.0" + "php": "7.0.8" } }, "require": { @@ -77,7 +77,7 @@ "friendsofphp/php-cs-fixer": "2.10.3", "phploc/phploc": "4.0.1", "phpmd/phpmd": "2.6.0", - "phpunit/phpunit": "5.7.27", + "phpunit/phpunit": "6.5.7", "sebastian/phpcpd": "3.0.1", "squizlabs/php_codesniffer": "3.2.3" }, diff --git a/composer.lock b/composer.lock index e92028c6596e0e67ae799d20ea03fdaba645a8da..42c71c6661cd839ccab213fa7ef7ea3b46d8a82b 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "8339be02fd962b0b93f94097d55a21c7", + "content-hash": "4b4ef2d1c5b93aebf94df5fb0129d2d0", "packages": [ { "name": "aferrandini/phpqrcode", @@ -4685,6 +4685,108 @@ "description": "Official version of pdepend to be handled with Composer", "time": "2017-12-13T13:21:38+00:00" }, + { + "name": "phar-io/manifest", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/manifest.git", + "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/2df402786ab5368a0169091f61a7c1e0eb6852d0", + "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-phar": "*", + "phar-io/version": "^1.0.1", + "php": "^5.6 || ^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "time": "2017-03-05T18:14:27+00:00" + }, + { + "name": "phar-io/version", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/a70c0ced4be299a63d32fa96d9281d03e94041df", + "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Library for handling version information and constraints", + "time": "2017-03-05T17:38:23+00:00" + }, { "name": "php-cs-fixer/diff", "version": "v1.3.0", @@ -4792,29 +4894,35 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "3.3.2", + "version": "4.3.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "bf329f6c1aadea3299f08ee804682b7c45b326a2" + "reference": "94fd0001232e47129dd3504189fa1c7225010d08" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/bf329f6c1aadea3299f08ee804682b7c45b326a2", - "reference": "bf329f6c1aadea3299f08ee804682b7c45b326a2", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08", + "reference": "94fd0001232e47129dd3504189fa1c7225010d08", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0", + "php": "^7.0", "phpdocumentor/reflection-common": "^1.0.0", "phpdocumentor/type-resolver": "^0.4.0", "webmozart/assert": "^1.0" }, "require-dev": { - "mockery/mockery": "^0.9.4", - "phpunit/phpunit": "^4.4" + "doctrine/instantiator": "~1.0.5", + "mockery/mockery": "^1.0", + "phpunit/phpunit": "^6.4" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.x-dev" + } + }, "autoload": { "psr-4": { "phpDocumentor\\Reflection\\": [ @@ -4833,7 +4941,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": "2017-11-10T14:09:06+00:00" + "time": "2017-11-30T07:14:17+00:00" }, { "name": "phpdocumentor/type-resolver", @@ -5062,40 +5170,40 @@ }, { "name": "phpunit/php-code-coverage", - "version": "4.0.8", + "version": "5.3.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d" + "reference": "661f34d0bd3f1a7225ef491a70a020ad23a057a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ef7b2f56815df854e66ceaee8ebe9393ae36a40d", - "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/661f34d0bd3f1a7225ef491a70a020ad23a057a1", + "reference": "661f34d0bd3f1a7225ef491a70a020ad23a057a1", "shasum": "" }, "require": { "ext-dom": "*", "ext-xmlwriter": "*", - "php": "^5.6 || ^7.0", - "phpunit/php-file-iterator": "^1.3", - "phpunit/php-text-template": "^1.2", - "phpunit/php-token-stream": "^1.4.2 || ^2.0", - "sebastian/code-unit-reverse-lookup": "^1.0", - "sebastian/environment": "^1.3.2 || ^2.0", - "sebastian/version": "^1.0 || ^2.0" + "php": "^7.0", + "phpunit/php-file-iterator": "^1.4.2", + "phpunit/php-text-template": "^1.2.1", + "phpunit/php-token-stream": "^2.0.1", + "sebastian/code-unit-reverse-lookup": "^1.0.1", + "sebastian/environment": "^3.0", + "sebastian/version": "^2.0.1", + "theseer/tokenizer": "^1.1" }, "require-dev": { - "ext-xdebug": "^2.1.4", - "phpunit/phpunit": "^5.7" + "phpunit/phpunit": "^6.0" }, "suggest": { - "ext-xdebug": "^2.5.1" + "ext-xdebug": "^2.5.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0.x-dev" + "dev-master": "5.3.x-dev" } }, "autoload": { @@ -5110,7 +5218,7 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", + "email": "sebastian@phpunit.de", "role": "lead" } ], @@ -5121,7 +5229,7 @@ "testing", "xunit" ], - "time": "2017-04-02T07:44:40+00:00" + "time": "2017-12-06T09:29:45+00:00" }, { "name": "phpunit/php-file-iterator", @@ -5262,29 +5370,29 @@ }, { "name": "phpunit/php-token-stream", - "version": "1.4.12", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16" + "reference": "791198a2c6254db10131eecfe8c06670700904db" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/1ce90ba27c42e4e44e6d8458241466380b51fa16", - "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/791198a2c6254db10131eecfe8c06670700904db", + "reference": "791198a2c6254db10131eecfe8c06670700904db", "shasum": "" }, "require": { "ext-tokenizer": "*", - "php": ">=5.3.3" + "php": "^7.0" }, "require-dev": { - "phpunit/phpunit": "~4.2" + "phpunit/phpunit": "^6.2.4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -5307,20 +5415,20 @@ "keywords": [ "tokenizer" ], - "time": "2017-12-04T08:55:13+00:00" + "time": "2017-11-27T05:48:46+00:00" }, { "name": "phpunit/phpunit", - "version": "5.7.27", + "version": "6.5.7", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c" + "reference": "6bd77b57707c236833d2b57b968e403df060c9d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c", - "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/6bd77b57707c236833d2b57b968e403df060c9d9", + "reference": "6bd77b57707c236833d2b57b968e403df060c9d9", "shasum": "" }, "require": { @@ -5329,33 +5437,35 @@ "ext-libxml": "*", "ext-mbstring": "*", "ext-xml": "*", - "myclabs/deep-copy": "~1.3", - "php": "^5.6 || ^7.0", - "phpspec/prophecy": "^1.6.2", - "phpunit/php-code-coverage": "^4.0.4", - "phpunit/php-file-iterator": "~1.4", - "phpunit/php-text-template": "~1.2", - "phpunit/php-timer": "^1.0.6", - "phpunit/phpunit-mock-objects": "^3.2", - "sebastian/comparator": "^1.2.4", - "sebastian/diff": "^1.4.3", - "sebastian/environment": "^1.3.4 || ^2.0", - "sebastian/exporter": "~2.0", - "sebastian/global-state": "^1.1", - "sebastian/object-enumerator": "~2.0", - "sebastian/resource-operations": "~1.0", - "sebastian/version": "^1.0.6|^2.0.1", - "symfony/yaml": "~2.1|~3.0|~4.0" + "myclabs/deep-copy": "^1.6.1", + "phar-io/manifest": "^1.0.1", + "phar-io/version": "^1.0", + "php": "^7.0", + "phpspec/prophecy": "^1.7", + "phpunit/php-code-coverage": "^5.3", + "phpunit/php-file-iterator": "^1.4.3", + "phpunit/php-text-template": "^1.2.1", + "phpunit/php-timer": "^1.0.9", + "phpunit/phpunit-mock-objects": "^5.0.5", + "sebastian/comparator": "^2.1", + "sebastian/diff": "^2.0", + "sebastian/environment": "^3.1", + "sebastian/exporter": "^3.1", + "sebastian/global-state": "^2.0", + "sebastian/object-enumerator": "^3.0.3", + "sebastian/resource-operations": "^1.0", + "sebastian/version": "^2.0.1" }, "conflict": { - "phpdocumentor/reflection-docblock": "3.0.2" + "phpdocumentor/reflection-docblock": "3.0.2", + "phpunit/dbunit": "<3.0" }, "require-dev": { "ext-pdo": "*" }, "suggest": { "ext-xdebug": "*", - "phpunit/php-invoker": "~1.1" + "phpunit/php-invoker": "^1.1" }, "bin": [ "phpunit" @@ -5363,7 +5473,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.7.x-dev" + "dev-master": "6.5.x-dev" } }, "autoload": { @@ -5389,33 +5499,33 @@ "testing", "xunit" ], - "time": "2018-02-01T05:50:59+00:00" + "time": "2018-02-26T07:01:09+00:00" }, { "name": "phpunit/phpunit-mock-objects", - "version": "3.4.4", + "version": "5.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "a23b761686d50a560cc56233b9ecf49597cc9118" + "reference": "33fd41a76e746b8fa96d00b49a23dadfa8334cdf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/a23b761686d50a560cc56233b9ecf49597cc9118", - "reference": "a23b761686d50a560cc56233b9ecf49597cc9118", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/33fd41a76e746b8fa96d00b49a23dadfa8334cdf", + "reference": "33fd41a76e746b8fa96d00b49a23dadfa8334cdf", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.0.2", - "php": "^5.6 || ^7.0", - "phpunit/php-text-template": "^1.2", - "sebastian/exporter": "^1.2 || ^2.0" + "doctrine/instantiator": "^1.0.5", + "php": "^7.0", + "phpunit/php-text-template": "^1.2.1", + "sebastian/exporter": "^3.1" }, "conflict": { - "phpunit/phpunit": "<5.4.0" + "phpunit/phpunit": "<6.0" }, "require-dev": { - "phpunit/phpunit": "^5.4" + "phpunit/phpunit": "^6.5" }, "suggest": { "ext-soap": "*" @@ -5423,7 +5533,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2.x-dev" + "dev-master": "5.0.x-dev" } }, "autoload": { @@ -5438,7 +5548,7 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", + "email": "sebastian@phpunit.de", "role": "lead" } ], @@ -5448,7 +5558,7 @@ "mock", "xunit" ], - "time": "2017-06-30T09:13:00+00:00" + "time": "2018-01-06T05:45:45+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -5497,30 +5607,30 @@ }, { "name": "sebastian/comparator", - "version": "1.2.4", + "version": "2.1.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be" + "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", - "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/34369daee48eafb2651bea869b4b15d75ccc35f9", + "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9", "shasum": "" }, "require": { - "php": ">=5.3.3", - "sebastian/diff": "~1.2", - "sebastian/exporter": "~1.2 || ~2.0" + "php": "^7.0", + "sebastian/diff": "^2.0 || ^3.0", + "sebastian/exporter": "^3.1" }, "require-dev": { - "phpunit/phpunit": "~4.4" + "phpunit/phpunit": "^6.4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2.x-dev" + "dev-master": "2.1.x-dev" } }, "autoload": { @@ -5551,38 +5661,38 @@ } ], "description": "Provides the functionality to compare PHP values for equality", - "homepage": "http://www.github.com/sebastianbergmann/comparator", + "homepage": "https://github.com/sebastianbergmann/comparator", "keywords": [ "comparator", "compare", "equality" ], - "time": "2017-01-29T09:50:25+00:00" + "time": "2018-02-01T13:46:46+00:00" }, { "name": "sebastian/diff", - "version": "1.4.3", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4" + "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4", - "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/347c1d8b49c5c3ee30c7040ea6fc446790e6bddd", + "reference": "347c1d8b49c5c3ee30c7040ea6fc446790e6bddd", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0" + "php": "^7.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" + "phpunit/phpunit": "^6.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -5609,32 +5719,32 @@ "keywords": [ "diff" ], - "time": "2017-05-22T07:24:03+00:00" + "time": "2017-08-03T08:09:46+00:00" }, { "name": "sebastian/environment", - "version": "2.0.0", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac" + "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5795ffe5dc5b02460c3e34222fee8cbe245d8fac", - "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/cd0871b3975fb7fc44d11314fd1ee20925fce4f5", + "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0" + "php": "^7.0" }, "require-dev": { - "phpunit/phpunit": "^5.0" + "phpunit/phpunit": "^6.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "3.1.x-dev" } }, "autoload": { @@ -5659,34 +5769,34 @@ "environment", "hhvm" ], - "time": "2016-11-26T07:53:53+00:00" + "time": "2017-07-01T08:51:00+00:00" }, { "name": "sebastian/exporter", - "version": "2.0.0", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4" + "reference": "234199f4528de6d12aaa58b612e98f7d36adb937" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4", - "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/234199f4528de6d12aaa58b612e98f7d36adb937", + "reference": "234199f4528de6d12aaa58b612e98f7d36adb937", "shasum": "" }, "require": { - "php": ">=5.3.3", - "sebastian/recursion-context": "~2.0" + "php": "^7.0", + "sebastian/recursion-context": "^3.0" }, "require-dev": { "ext-mbstring": "*", - "phpunit/phpunit": "~4.4" + "phpunit/phpunit": "^6.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "3.1.x-dev" } }, "autoload": { @@ -5726,7 +5836,7 @@ "export", "exporter" ], - "time": "2016-11-19T08:54:04+00:00" + "time": "2017-04-03T13:19:02+00:00" }, { "name": "sebastian/finder-facade", @@ -5769,23 +5879,23 @@ }, { "name": "sebastian/global-state", - "version": "1.1.1", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4" + "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4", - "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4", + "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^7.0" }, "require-dev": { - "phpunit/phpunit": "~4.2" + "phpunit/phpunit": "^6.0" }, "suggest": { "ext-uopz": "*" @@ -5793,7 +5903,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -5816,33 +5926,34 @@ "keywords": [ "global state" ], - "time": "2015-10-12T03:26:01+00:00" + "time": "2017-04-27T15:39:26+00:00" }, { "name": "sebastian/object-enumerator", - "version": "2.0.1", + "version": "3.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7" + "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/1311872ac850040a79c3c058bea3e22d0f09cbb7", - "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/7cfd9e65d11ffb5af41198476395774d4c8a84c5", + "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5", "shasum": "" }, "require": { - "php": ">=5.6", - "sebastian/recursion-context": "~2.0" + "php": "^7.0", + "sebastian/object-reflector": "^1.1.1", + "sebastian/recursion-context": "^3.0" }, "require-dev": { - "phpunit/phpunit": "~5" + "phpunit/phpunit": "^6.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "3.0.x-dev" } }, "autoload": { @@ -5862,7 +5973,52 @@ ], "description": "Traverses array structures and object graphs to enumerate all referenced objects", "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "time": "2017-02-18T15:18:39+00:00" + "time": "2017-08-03T12:35:26+00:00" + }, + { + "name": "sebastian/object-reflector", + "version": "1.1.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "773f97c67f28de00d397be301821b06708fca0be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/773f97c67f28de00d397be301821b06708fca0be", + "reference": "773f97c67f28de00d397be301821b06708fca0be", + "shasum": "" + }, + "require": { + "php": "^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "time": "2017-03-29T09:07:27+00:00" }, { "name": "sebastian/phpcpd", @@ -5916,28 +6072,28 @@ }, { "name": "sebastian/recursion-context", - "version": "2.0.0", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a" + "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/2c3ba150cbec723aa057506e73a8d33bdb286c9a", - "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8", + "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^7.0" }, "require-dev": { - "phpunit/phpunit": "~4.4" + "phpunit/phpunit": "^6.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "3.0.x-dev" } }, "autoload": { @@ -5965,7 +6121,7 @@ ], "description": "Provides functionality to recursively process PHP variables", "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "time": "2016-11-19T07:33:16+00:00" + "time": "2017-03-03T06:23:57+00:00" }, { "name": "sebastian/resource-operations", @@ -6940,6 +7096,46 @@ "homepage": "https://github.com/theseer/fDOMDocument", "time": "2017-06-30T11:53:12+00:00" }, + { + "name": "theseer/tokenizer", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/theseer/tokenizer.git", + "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/cb2f008f3f05af2893a87208fe6a6c4985483f8b", + "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + } + ], + "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "time": "2017-04-07T12:08:54+00:00" + }, { "name": "webmozart/assert", "version": "1.3.0", @@ -7005,6 +7201,6 @@ }, "platform-dev": [], "platform-overrides": { - "php": "5.6.0" + "php": "7.0.8" } } diff --git a/module/VuFind/src/VuFindTest/Unit/TestCase.php b/module/VuFind/src/VuFindTest/Unit/TestCase.php index 539145c3432c4857f1475851a4745524875e717f..7d36ef59540f200838c483797a61cdeb2d616d6b 100644 --- a/module/VuFind/src/VuFindTest/Unit/TestCase.php +++ b/module/VuFind/src/VuFindTest/Unit/TestCase.php @@ -37,7 +37,7 @@ namespace VuFindTest\Unit; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org/wiki/development:testing:unit_tests Wiki */ -abstract class TestCase extends \PHPUnit_Framework_TestCase +abstract class TestCase extends \PHPUnit\Framework\TestCase { /** * The service manager instance diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/Cache/Storage/Adapter/NoCacheAdapterTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/Cache/Storage/Adapter/NoCacheAdapterTest.php index c3350161e0715844ac247a61948cd7f874d7277e..c4f8e22e76796b5c3d33892e3fff1c7454af7f57 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/Cache/Storage/Adapter/NoCacheAdapterTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/Cache/Storage/Adapter/NoCacheAdapterTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Cache\Storage\Adapter; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFind\Cache\Storage\Adapter\NoCacheAdapter; @@ -41,7 +41,7 @@ use VuFind\Cache\Storage\Adapter\NoCacheAdapter; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org Main Page */ -class NoCacheAdapterTest extends PHPUnit_Framework_TestCase +class NoCacheAdapterTest extends TestCase { /** * Test that an item is not stored. diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/CartTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/CartTest.php index 0e1afb0c5bad4f1fcd15b77d16e055ab495fe4f5..2a5aa6af17662135b38db80eb82cc3ee3a5af5e2 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/CartTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/CartTest.php @@ -38,7 +38,7 @@ use VuFind\Cookie\CookieManager; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org/wiki/development:testing:unit_tests Wiki */ -class CartTest extends \PHPUnit_Framework_TestCase +class CartTest extends \PHPUnit\Framework\TestCase { /** * Mock record loader diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/Config/Reader/CacheDecoratorTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/Config/Reader/CacheDecoratorTest.php index 6f881748799f2f269b8b6b1ef61d6ec856f5e11b..ca4edc14cde47290f9c4f89d2f17854bd7900f37 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/Config/Reader/CacheDecoratorTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/Config/Reader/CacheDecoratorTest.php @@ -39,7 +39,7 @@ use VuFind\Config\Reader\CacheDecorator; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org/wiki/development:testing:unit_tests Wiki */ -class CacheDecoratorTest extends \PHPUnit_Framework_TestCase +class CacheDecoratorTest extends \PHPUnit\Framework\TestCase { /** * Read config from while, new file. diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/Connection/WikipediaTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/Connection/WikipediaTest.php index b78bdfc8f5da564ddb450bd24d388828ad5d532b..bd3898b397385297cafdc244cdc4b3c6ba756d7a 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/Connection/WikipediaTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/Connection/WikipediaTest.php @@ -42,7 +42,7 @@ use Zend\Http\Client as HttpClient; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class WikipediaTest extends \PHPUnit_Framework_TestCase +class WikipediaTest extends \PHPUnit\Framework\TestCase { /** * Test processing of English-language Jane Austen entry. diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/Connection/WorldCatUtilsTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/Connection/WorldCatUtilsTest.php index a5b13207d37668ee9ef2bab3b2db61ba42bc1ec1..64420b82b831b0830dbd6ba1d6cb6e26f576e243 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/Connection/WorldCatUtilsTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/Connection/WorldCatUtilsTest.php @@ -42,7 +42,7 @@ use Zend\Http\Client as HttpClient; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class WorldCatUtilsTest extends \PHPUnit_Framework_TestCase +class WorldCatUtilsTest extends \PHPUnit\Framework\TestCase { /** * Test related identities diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/AmazonTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/AmazonTest.php index a21aefea43b631b473fdb7eb5999ed8f00bcff7d..600a693e3711f3cb8762909dbec29c79637adc49 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/AmazonTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/AmazonTest.php @@ -39,7 +39,7 @@ use VuFindCode\ISBN; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class AmazonTest extends \PHPUnit_Framework_TestCase +class AmazonTest extends \PHPUnit\Framework\TestCase { /** * Amazon parameters diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/BooksiteTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/BooksiteTest.php index 23b56fcf769c4b3bd582f4a72edd08d175583d1b..bf56af6ae92a9c1387cebd6595f09849d676a611 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/BooksiteTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/BooksiteTest.php @@ -40,7 +40,7 @@ use VuFindCode\ISBN; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class BooksiteTest extends \PHPUnit_Framework_TestCase +class BooksiteTest extends \PHPUnit\Framework\TestCase { /** * Test cover loading diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/BuchhandelTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/BuchhandelTest.php index 7ca318f29f070c6797cb4b5eea20312b02f0c76e..ef4db1828512942fddd414ac15a3bef1356f741f 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/BuchhandelTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/BuchhandelTest.php @@ -42,7 +42,7 @@ use VuFindCode\ISBN; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class BuchhandelTest extends \PHPUnit_Framework_TestCase +class BuchhandelTest extends \PHPUnit\Framework\TestCase { /** * Test cover loading diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/ContentCafeTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/ContentCafeTest.php index 4674dc179d51c6b71fa73b2bcf274575fbafb417..898a479ed2669598d3ce32bfaf37854afa74ac2f 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/ContentCafeTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/ContentCafeTest.php @@ -41,7 +41,7 @@ use Zend\Config\Config; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class ContentCafeTest extends \PHPUnit_Framework_TestCase +class ContentCafeTest extends \PHPUnit\Framework\TestCase { /** * Test cover loading diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/LibraryThingTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/LibraryThingTest.php index 573396919021afe640d49b6b131e76cef94ed217..0d6c3c10e325ce7c01798e3d6ab21fd3bf4e2bf0 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/LibraryThingTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/LibraryThingTest.php @@ -40,7 +40,7 @@ use VuFindCode\ISBN; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class LibraryThingTest extends \PHPUnit_Framework_TestCase +class LibraryThingTest extends \PHPUnit\Framework\TestCase { /** * Test cover loading diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/OpenLibraryTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/OpenLibraryTest.php index 3f5ff2d3903a1675a7e50f51190a4f7e0068e312..5f28f2769005eee56116d1aaa96041cab03f0cd1 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/OpenLibraryTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/OpenLibraryTest.php @@ -40,7 +40,7 @@ use VuFindCode\ISBN; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class OpenLibraryTest extends \PHPUnit_Framework_TestCase +class OpenLibraryTest extends \PHPUnit\Framework\TestCase { /** * Test cover loading diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/SummonTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/SummonTest.php index 76b10a3e95f143d60604b208208b7a18b6c0679d..e7409b421b6b41a4e9ec32831866e5c6b3c0084d 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/SummonTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/Content/Covers/SummonTest.php @@ -40,7 +40,7 @@ use VuFindCode\ISBN; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class SummonTest extends \PHPUnit_Framework_TestCase +class SummonTest extends \PHPUnit\Framework\TestCase { /** * Test cover loading diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/ExportTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/ExportTest.php index 92425b8528c3259b9c18edc8207e609c20e33160..32db1972abe70fa39d165de83d4ea7eb95029c31 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/ExportTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/ExportTest.php @@ -39,7 +39,7 @@ use Zend\Config\Config; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org/wiki/development:testing:unit_tests Wiki */ -class ExportTest extends \PHPUnit_Framework_TestCase +class ExportTest extends \PHPUnit\Framework\TestCase { /** * Test bulk options using legacy (deprecated) configuration. diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/Recommend/RandomRecommendTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/Recommend/RandomRecommendTest.php index 3d9cafc8e3066937e5b974d1bb5407e35d3625da..414b4ce8e814435bc992e7cf379ab5e715938c44 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/Recommend/RandomRecommendTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/Recommend/RandomRecommendTest.php @@ -28,6 +28,7 @@ */ namespace VuFindTest\Recommend; +use PHPUnit\Framework\Assert; use VuFind\Recommend\RandomRecommend as Random; use VuFindTest\Unit\TestCase as TestCase; @@ -65,31 +66,21 @@ class RandomRecommendTest extends TestCase //[backend]:[limit]:[display mode]:[random mode]:[minimumset]:[facet1]:[facetvalue1] $this->recommend->setConfig("SolrWeb:5:mixed:disregard:20:facet1:value1:facet2:value2"); $this->assertEquals( - "SolrWeb", \PHPUnit_Framework_Assert::readAttribute( - $this->recommend, 'backend' - ) + "SolrWeb", Assert::readAttribute($this->recommend, 'backend') ); $this->assertEquals( - "5", \PHPUnit_Framework_Assert::readAttribute( - $this->recommend, 'limit' - ) + "5", Assert::readAttribute($this->recommend, 'limit') ); $this->assertEquals( - "mixed", \PHPUnit_Framework_Assert::readAttribute( - $this->recommend, 'displayMode' - ) + "mixed", Assert::readAttribute($this->recommend, 'displayMode') ); $this->assertEquals( - "disregard", \PHPUnit_Framework_Assert::readAttribute( - $this->recommend, 'mode' - ) + "disregard", Assert::readAttribute($this->recommend, 'mode') ); $this->assertEquals( - "20", \PHPUnit_Framework_Assert::readAttribute( - $this->recommend, 'minimum' - ) + "20", Assert::readAttribute($this->recommend, 'minimum') ); - $filters = \PHPUnit_Framework_Assert::readAttribute($this->recommend, 'filters'); + $filters = Assert::readAttribute($this->recommend, 'filters'); $this->assertInternalType("array", $filters); $this->assertCount(2, $filters); $this->assertEquals("facet1:value1", $filters[0]); @@ -106,34 +97,22 @@ class RandomRecommendTest extends TestCase //[backend]:[limit]:[display mode]:[random mode]:[minimumset]:[facet1]:[facetvalue1] $this->recommend->setConfig(''); $this->assertEquals( - "Solr", \PHPUnit_Framework_Assert::readAttribute( - $this->recommend, 'backend' - ) + "Solr", Assert::readAttribute($this->recommend, 'backend') ); $this->assertEquals( - "10", \PHPUnit_Framework_Assert::readAttribute( - $this->recommend, 'limit' - ) + "10", Assert::readAttribute($this->recommend, 'limit') ); $this->assertEquals( - "standard", \PHPUnit_Framework_Assert::readAttribute( - $this->recommend, 'displayMode' - ) + "standard", Assert::readAttribute($this->recommend, 'displayMode') ); $this->assertEquals( - "retain", \PHPUnit_Framework_Assert::readAttribute( - $this->recommend, 'mode' - ) + "retain", Assert::readAttribute($this->recommend, 'mode') ); $this->assertEquals( - "0", \PHPUnit_Framework_Assert::readAttribute( - $this->recommend, 'minimum' - ) + "0", Assert::readAttribute($this->recommend, 'minimum') ); $this->assertEquals( - [], \PHPUnit_Framework_Assert::readAttribute( - $this->recommend, 'filters' - ) + [], Assert::readAttribute($this->recommend, 'filters') ); } diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/Record/CacheTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/Record/CacheTest.php index be06227c51fc562102756c2079522d5cb7f74167..5629b1bf6ee4dfab429d12c6bf05d8991fae7d13 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/Record/CacheTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/Record/CacheTest.php @@ -230,7 +230,7 @@ class CacheTest extends TestCase /** * Create Record Table * - * @return PHPUnit_Framework_MockObject_MockObject + * @return PHPUnit\Framework\MockObject\MockObject */ protected function getRecordTable() { @@ -281,7 +281,7 @@ class CacheTest extends TestCase /** * Create a Record Factory Manager * - * @return PHPUnit_Framework_MockObject_MockObject + * @return PHPUnit\Framework\MockObject\MockObject */ protected function getRecordFactoryManager() { @@ -321,7 +321,7 @@ class CacheTest extends TestCase * @param string $id id * @param string $source source * - * @return PHPUnit_Framework_MockObject_MockObject + * @return PHPUnit\Framework\MockObject\MockObject */ protected function getDriver($id = 'test', $source = 'Solr') { diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/Search/Solr/V3/ErrorListenerTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/Search/Solr/V3/ErrorListenerTest.php index 1c682d2ba9b1c84c22462e9d344f977fdee43e13..222b478c62d543b4c204f8e55acde74b5bfe7902 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/Search/Solr/V3/ErrorListenerTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/Search/Solr/V3/ErrorListenerTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Search\Solr\V3; -use PHPUnit_Framework_TestCase as TestCase; +use PHPUnit\Framework\TestCase; use RuntimeException; diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/Search/Solr/V4/ErrorListenerTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/Search/Solr/V4/ErrorListenerTest.php index 6938b0e5ff43e42f6be6e70dc03d38401d9478a6..3c24ec373f92560dc99bb5bf977b5a2f7f26b198 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/Search/Solr/V4/ErrorListenerTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/Search/Solr/V4/ErrorListenerTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Search\Solr\V4; -use PHPUnit_Framework_TestCase as TestCase; +use PHPUnit\Framework\TestCase; use RuntimeException; diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/SimpleXMLTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/SimpleXMLTest.php index 65b8f4c14450dd530948847ec6c989ca06509570..d7d6a797da65b0f1e1e9077557e9553f202b3c3d 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/SimpleXMLTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/SimpleXMLTest.php @@ -36,7 +36,7 @@ namespace VuFindTest; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org/wiki/development:testing:unit_tests Wiki */ -class SimpleXMLTest extends \PHPUnit_Framework_TestCase +class SimpleXMLTest extends \PHPUnit\Framework\TestCase { /** * Test attaching one item to another. diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/TagsTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/TagsTest.php index f2d18074c2678960415024464ebe0f20384ef06f..dcc860e00151e88012ac0811d93800fdc75a9dea 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/TagsTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/TagsTest.php @@ -36,7 +36,7 @@ namespace VuFindTest; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org/wiki/development:testing:unit_tests Wiki */ -class TagsTest extends \PHPUnit_Framework_TestCase +class TagsTest extends \PHPUnit\Framework\TestCase { /** * Tag parser diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/CartTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/CartTest.php index 63ce5593b3229d34cf0d5b9aabe769b19b858686..c3472d0dd78c24f4e5293ccf11f15ce4c921ed67 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/CartTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/CartTest.php @@ -36,7 +36,7 @@ namespace VuFindTest\View\Helper\Root; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org/wiki/development:testing:unit_tests Wiki */ -class CartTest extends \PHPUnit_Framework_TestCase +class CartTest extends \PHPUnit\Framework\TestCase { /** * Test the helper diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/RecordTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/RecordTest.php index e5a6bd50cd2cc6f70273f4c151dfd1d3581a7095..6124693ab56621caa950bb136d9f3bba4ee4e568 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/RecordTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/RecordTest.php @@ -39,7 +39,7 @@ use Zend\View\Exception\RuntimeException; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org/wiki/development:testing:unit_tests Wiki */ -class RecordTest extends \PHPUnit_Framework_TestCase +class RecordTest extends \PHPUnit\Framework\TestCase { /** * Test attempting to display a template that does not exist. diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/SafeMoneyFormatTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/SafeMoneyFormatTest.php index f3d7c8164a9bd9a4b19e01b815d39df9124ccb4d..0dc1f8e6848590cd4375c234166fe593406b873d 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/SafeMoneyFormatTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/SafeMoneyFormatTest.php @@ -38,7 +38,7 @@ use VuFind\View\Helper\Root\SafeMoneyFormat; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org/wiki/development:testing:unit_tests Wiki */ -class SafeMoneyFormatTest extends \PHPUnit_Framework_TestCase +class SafeMoneyFormatTest extends \PHPUnit\Framework\TestCase { /** * Locale (for restoration after testing) diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/TranslateTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/TranslateTest.php index 48d074c33fe5326ada6ea0e3b295e24fb06259bf..8b799cd9f177ac5cbc95b59664189131214e5de6 100644 --- a/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/TranslateTest.php +++ b/module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/TranslateTest.php @@ -39,7 +39,7 @@ use VuFind\View\Helper\Root\Translate; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org/wiki/development:testing:unit_tests Wiki */ -class TranslateTest extends \PHPUnit_Framework_TestCase +class TranslateTest extends \PHPUnit\Framework\TestCase { /** * Test translation without a loaded translator diff --git a/module/VuFindConsole/tests/unit-tests/src/VuFindTest/Route/RouteGeneratorTest.php b/module/VuFindConsole/tests/unit-tests/src/VuFindTest/Route/RouteGeneratorTest.php index 493139128e9d5bf96e949ba84dcfb3fe900dd35b..b429e9a071288790efdc1dffd15efd9c4d9049ec 100644 --- a/module/VuFindConsole/tests/unit-tests/src/VuFindTest/Route/RouteGeneratorTest.php +++ b/module/VuFindConsole/tests/unit-tests/src/VuFindTest/Route/RouteGeneratorTest.php @@ -39,7 +39,7 @@ use VuFindConsole\Route\RouteGenerator; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org/wiki/development:testing:unit_tests Wiki */ -class CacheTest extends \PHPUnit_Framework_TestCase +class CacheTest extends \PHPUnit\Framework\TestCase { /** * Test route generation diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/AbstractHandlerMapTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/AbstractHandlerMapTest.php index d21261b5c1e54c67e169c765850cce6f25b7b9b2..45144da36fb2fb18fba1bfa634312dada4c4880d 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/AbstractHandlerMapTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/AbstractHandlerMapTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend; -use PHPUnit_Framework_TestCase as TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\ParamBag; diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/BrowZine/QueryBuilderTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/BrowZine/QueryBuilderTest.php index 3c873c7997eb98def0cb8997b5bc6d15e4e4574f..1179ee762d0af3330209998dc0d121e7458b2835 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/BrowZine/QueryBuilderTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/BrowZine/QueryBuilderTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\BrowZine; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\BrowZine\QueryBuilder; use VuFindSearch\Query\Query; use VuFindSearch\Query\QueryGroup; @@ -42,7 +42,7 @@ use VuFindSearch\Query\QueryGroup; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class QueryBuilderTest extends PHPUnit_Framework_TestCase +class QueryBuilderTest extends TestCase { /** * Test basic query parsing diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/BrowZine/Response/RecordCollectionFactoryTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/BrowZine/Response/RecordCollectionFactoryTest.php index b56e16b9f8d43adaa89fb95bce6d70ca0bdffd72..769ee9a2490c09a206cbffc2097191d314db3672 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/BrowZine/Response/RecordCollectionFactoryTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/BrowZine/Response/RecordCollectionFactoryTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\BrowZine\Response; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\BrowZine\Response\RecordCollectionFactory; /** @@ -40,7 +40,7 @@ use VuFindSearch\Backend\BrowZine\Response\RecordCollectionFactory; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class RecordCollectionFactoryTest extends PHPUnit_Framework_TestCase +class RecordCollectionFactoryTest extends TestCase { /** * Test that the factory creates a collection. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/BrowZine/Response/RecordCollectionTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/BrowZine/Response/RecordCollectionTest.php index 87fc56564e6012d44af59387937b69b6a38ed074..479ff5a6203267ef65635545ff7f66521d9aa448 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/BrowZine/Response/RecordCollectionTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/BrowZine/Response/RecordCollectionTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\BrowZine\Response; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\BrowZine\Response\RecordCollection; /** @@ -40,7 +40,7 @@ use VuFindSearch\Backend\BrowZine\Response\RecordCollection; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class RecordCollectionTest extends PHPUnit_Framework_TestCase +class RecordCollectionTest extends TestCase { /** * Test defaults when given empty data. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EDS/QueryBuilderTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EDS/QueryBuilderTest.php index bb5a4b5fa1458c7312071a272a8646b296ce278f..750d7eee511c0a410c45354c8344c975067ca876 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EDS/QueryBuilderTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EDS/QueryBuilderTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\EDS; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\EDS\QueryBuilder; /** @@ -40,7 +40,7 @@ use VuFindSearch\Backend\EDS\QueryBuilder; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class QueryBuilderTest extends PHPUnit_Framework_TestCase +class QueryBuilderTest extends TestCase { /** * Test query parsing. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EDS/Response/RecordCollectionFactoryTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EDS/Response/RecordCollectionFactoryTest.php index 6c4ca608eadc278279f910f97450ffc6ab2e14b5..64811e0ec3d539d2918cb02be56e6f4518a5fbce 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EDS/Response/RecordCollectionFactoryTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EDS/Response/RecordCollectionFactoryTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\EDS\Response; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\EDS\Response\RecordCollectionFactory; /** @@ -40,7 +40,7 @@ use VuFindSearch\Backend\EDS\Response\RecordCollectionFactory; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class RecordCollectionFactoryTest extends PHPUnit_Framework_TestCase +class RecordCollectionFactoryTest extends TestCase { /** * Test constructor exceptions. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EDS/Response/RecordCollectionTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EDS/Response/RecordCollectionTest.php index 568ebddcfbe038850c54d7113c70f0b859de05d9..7dfa0c2e0eb6d35b3589f05b840f14b931bb59b4 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EDS/Response/RecordCollectionTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EDS/Response/RecordCollectionTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\EDS\Response; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\EDS\Response\RecordCollection; /** @@ -40,7 +40,7 @@ use VuFindSearch\Backend\EDS\Response\RecordCollection; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class RecordCollectionTest extends PHPUnit_Framework_TestCase +class RecordCollectionTest extends TestCase { /** * Test defaults when given empty data. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EIT/QueryBuilderTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EIT/QueryBuilderTest.php index 2b2f35d3f40f7ee9f7afd8b77efc970ca932e32f..804df5df184dff35e84c84ddfdf2491226740a77 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EIT/QueryBuilderTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EIT/QueryBuilderTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\EIT; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\EIT\QueryBuilder; /** @@ -40,7 +40,7 @@ use VuFindSearch\Backend\EIT\QueryBuilder; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class QueryBuilderTest extends PHPUnit_Framework_TestCase +class QueryBuilderTest extends TestCase { /** * Test query parsing. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EIT/Response/XML/RecordCollectionFactoryTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EIT/Response/XML/RecordCollectionFactoryTest.php index e79f7aab1c8b8a55579ab80b7c1879006b156a8f..25e4beb264f70e609865710f01df84b75520cb40 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EIT/Response/XML/RecordCollectionFactoryTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EIT/Response/XML/RecordCollectionFactoryTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\EIT\Response\XML; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\EIT\Response\XML\RecordCollectionFactory; /** @@ -40,7 +40,7 @@ use VuFindSearch\Backend\EIT\Response\XML\RecordCollectionFactory; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class RecordCollectionFactoryTest extends PHPUnit_Framework_TestCase +class RecordCollectionFactoryTest extends TestCase { /** * Test constructor exception. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EIT/Response/XML/RecordCollectionTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EIT/Response/XML/RecordCollectionTest.php index 682cf8109316bcb6f5f0df02f617e56a5a328cd6..e25c97590ef860205a4f80645eaf20919029e0aa 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EIT/Response/XML/RecordCollectionTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EIT/Response/XML/RecordCollectionTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\EIT\Response\XML; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\EIT\Response\XML\RecordCollection; /** @@ -40,7 +40,7 @@ use VuFindSearch\Backend\EIT\Response\XML\RecordCollection; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class RecordCollectionTest extends PHPUnit_Framework_TestCase +class RecordCollectionTest extends TestCase { /** * Test defaults when given empty data. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/LibGuides/QueryBuilderTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/LibGuides/QueryBuilderTest.php index 52193c6a9e72e84eb13c170a35cd91739b19dd1f..fa36620db6b7132debdf3294aec576dfc42b37ec 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/LibGuides/QueryBuilderTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/LibGuides/QueryBuilderTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\LibGuides; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\LibGuides\QueryBuilder; use VuFindSearch\Query\Query; use VuFindSearch\Query\QueryGroup; @@ -42,7 +42,7 @@ use VuFindSearch\Query\QueryGroup; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class QueryBuilderTest extends PHPUnit_Framework_TestCase +class QueryBuilderTest extends TestCase { /** * Test basic query parsing diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/LibGuides/Response/RecordCollectionFactoryTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/LibGuides/Response/RecordCollectionFactoryTest.php index 1f1c06631385bfc76ae140292f69f578e5fd078e..0b70fd602f46b834ac9107842e2b16364dc90be8 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/LibGuides/Response/RecordCollectionFactoryTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/LibGuides/Response/RecordCollectionFactoryTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\LibGuides\Response; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\LibGuides\Response\RecordCollectionFactory; /** @@ -40,7 +40,7 @@ use VuFindSearch\Backend\LibGuides\Response\RecordCollectionFactory; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class RecordCollectionFactoryTest extends PHPUnit_Framework_TestCase +class RecordCollectionFactoryTest extends TestCase { /** * Test that the factory creates a collection. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/LibGuides/Response/RecordCollectionTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/LibGuides/Response/RecordCollectionTest.php index 410afdbd604b021a473d686545864c4836ff8656..27b4a90b5b952066dda928d46d89787d21a9d36e 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/LibGuides/Response/RecordCollectionTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/LibGuides/Response/RecordCollectionTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\LibGuides\Response; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\LibGuides\Response\RecordCollection; /** @@ -40,7 +40,7 @@ use VuFindSearch\Backend\LibGuides\Response\RecordCollection; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class RecordCollectionTest extends PHPUnit_Framework_TestCase +class RecordCollectionTest extends TestCase { /** * Test defaults when given empty data. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/ConnectorTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/ConnectorTest.php index 5521d2e1ba2251502963ae67eb77b3177c662e03..b9b5c4005721ce8c09f5adc5021ae88e80da4fea 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/ConnectorTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/ConnectorTest.php @@ -30,7 +30,7 @@ namespace VuFindTest\Backend\Primo; use InvalidArgumentException; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Primo\Connector; use Zend\Http\Client\Adapter\Test as TestAdapter; @@ -45,7 +45,7 @@ use Zend\Http\Client as HttpClient; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class ConnectorTest extends PHPUnit_Framework_TestCase +class ConnectorTest extends TestCase { /** * Test default timeout value diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/QueryBuilderTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/QueryBuilderTest.php index 3f676bef53af0743d0547820a3e3463eab42ca38..dd8c0b9329f0b794ad2681d6e75173e702e93843 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/QueryBuilderTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/QueryBuilderTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\Primo; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Primo\QueryBuilder; use VuFindSearch\Query\Query; use VuFindSearch\Query\QueryGroup; @@ -42,7 +42,7 @@ use VuFindSearch\Query\QueryGroup; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class QueryBuilderTest extends PHPUnit_Framework_TestCase +class QueryBuilderTest extends TestCase { /** * Test basic query parsing diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/Response/RecordCollectionFactoryTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/Response/RecordCollectionFactoryTest.php index bc2668f69cdac0e35e04e87a6bcd99a50faa0e3d..fb960233bb8ac9887039fbcec67e7699dd38d775 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/Response/RecordCollectionFactoryTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/Response/RecordCollectionFactoryTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\Primo\Response; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Primo\Response\RecordCollectionFactory; /** @@ -40,7 +40,7 @@ use VuFindSearch\Backend\Primo\Response\RecordCollectionFactory; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class RecordCollectionFactoryTest extends PHPUnit_Framework_TestCase +class RecordCollectionFactoryTest extends TestCase { /** * Test constructor exception. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/Response/RecordCollectionTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/Response/RecordCollectionTest.php index f45ee5bd8225d4b99142bc4ed070bd6dfcffe220..d7dd7a6c0d13d9e2ccc1b130f7c1c560a701a5c5 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/Response/RecordCollectionTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/Response/RecordCollectionTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\Primo\Response; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Primo\Response\RecordCollection; /** @@ -40,7 +40,7 @@ use VuFindSearch\Backend\Primo\Response\RecordCollection; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class RecordCollectionTest extends PHPUnit_Framework_TestCase +class RecordCollectionTest extends TestCase { /** * Test defaults when given empty data. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/BackendTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/BackendTest.php index 866451747ac91c01c2bbfdd7f9dc8dbdd29bc542..65fad8eceac36ca1faab8c55d6985d877aa1bc74 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/BackendTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/BackendTest.php @@ -29,7 +29,7 @@ namespace VuFindTest\Backend\Solr; use InvalidArgumentException; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Exception\RemoteErrorException; use VuFindSearch\Backend\Solr\Backend; use VuFindSearch\Backend\Solr\HandlerMap; @@ -47,7 +47,7 @@ use Zend\Http\Response; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class BackendTest extends PHPUnit_Framework_TestCase +class BackendTest extends TestCase { /** * Test retrieving a record. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/ConnectorTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/ConnectorTest.php index 60bdbec484be16bf4aeda9adaf528f915ed824cc..4d5521f608177cbec622e75fae46d0f893b34468 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/ConnectorTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/ConnectorTest.php @@ -29,7 +29,7 @@ namespace VuFindTest\Backend\Solr; use InvalidArgumentException; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Solr\Connector; use VuFindSearch\Backend\Solr\HandlerMap; @@ -46,7 +46,7 @@ use Zend\Http\Client as HttpClient; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class ConnectorTest extends PHPUnit_Framework_TestCase +class ConnectorTest extends TestCase { /** * Current response. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/CommitDocumentTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/CommitDocumentTest.php index 8396bfe2f56d84b3348e780bd60b2a92219605c5..a65bde3370ed1cdc9332fc7427ca5753ab49cfb8 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/CommitDocumentTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/CommitDocumentTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\Solr\Document; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Solr\Document\CommitDocument; @@ -41,7 +41,7 @@ use VuFindSearch\Backend\Solr\Document\CommitDocument; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class CommitDocumentTest extends PHPUnit_Framework_TestCase +class CommitDocumentTest extends TestCase { /** * Test creation of XML document. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/DeleteDocumentTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/DeleteDocumentTest.php index 15699a791347e06067dbdab5eceb7964905c1e97..f51d88874b9a2a30b50879b3c8d18367a045ee7b 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/DeleteDocumentTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/DeleteDocumentTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\Solr\Document; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Solr\Document\DeleteDocument; @@ -41,7 +41,7 @@ use VuFindSearch\Backend\Solr\Document\DeleteDocument; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class DeleteDocumentTest extends PHPUnit_Framework_TestCase +class DeleteDocumentTest extends TestCase { /** * Test creation of XML document. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/OptimizeDocumentTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/OptimizeDocumentTest.php index 752f7a176099e64ee5d775eaaea3a2018bc81e33..901f86116fe3a1891b7c9c006ec0b7be1ad06b5d 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/OptimizeDocumentTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/OptimizeDocumentTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\Solr\Document; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Solr\Document\OptimizeDocument; @@ -41,7 +41,7 @@ use VuFindSearch\Backend\Solr\Document\OptimizeDocument; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class OptimizeDocumentTest extends PHPUnit_Framework_TestCase +class OptimizeDocumentTest extends TestCase { /** * Test creation of XML document. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/RawXMLDocumentTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/RawXMLDocumentTest.php index eac3b142369a41f2634c901448aeda9c6063ec52..bee636607c65c295776f4aff94aac3e2f5f7166c 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/RawXMLDocumentTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/RawXMLDocumentTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\Solr\Document; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Solr\Document\RawXMLDocument; @@ -41,7 +41,7 @@ use VuFindSearch\Backend\Solr\Document\RawXMLDocument; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class RawXMLDocumentTest extends PHPUnit_Framework_TestCase +class RawXMLDocumentTest extends TestCase { /** * Test creation of XML document. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/UpdateDocumentTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/UpdateDocumentTest.php index 7583f08bf4891a95165d9b8482394833842505c4..51aee6ea3d9d9f2c456bbdc508436b12be4f5a88 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/UpdateDocumentTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Document/UpdateDocumentTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\Solr\Document; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Solr\Document\UpdateDocument; @@ -41,7 +41,7 @@ use VuFindSearch\Backend\Solr\Document\UpdateDocument; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class UpdateDocumentTest extends PHPUnit_Framework_TestCase +class UpdateDocumentTest extends TestCase { /** * Test creation of XML document. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/HandlerMapTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/HandlerMapTest.php index 78ef9d3ea71ee89423c51f4ef7499cc6afbc7d78..78e46d85f95366d95ee2544f9682962f868f3976 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/HandlerMapTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/HandlerMapTest.php @@ -30,7 +30,7 @@ namespace VuFindTest\Backend\Solr; use InvalidArgumentException; -use PHPUnit_Framework_TestCase as TestCase; +use PHPUnit\Framework\TestCase; use RuntimeException; use VuFindSearch\Backend\Solr\HandlerMap; diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Record/SerializableRecordTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Record/SerializableRecordTest.php index 96502d7bf2543dd441ebc529e43f35a0ae7da23c..9e4182644cad25513b9c16bf304689a249cc398d 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Record/SerializableRecordTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Record/SerializableRecordTest.php @@ -39,7 +39,7 @@ use VuFindSearch\Backend\Solr\Record\SerializableRecord; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class SerializableRecordTest extends \PHPUnit_Framework_TestCase +class SerializableRecordTest extends \PHPUnit\Framework\TestCase { /** * Test field retrieval diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/FacetsTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/FacetsTest.php index b00c5fa8fdc42416f4c72c1efba5f28271970b9d..ff81684b5d17990d31827ee5fb991fb5b0407355 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/FacetsTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/FacetsTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\Solr\Json\Response; -use PHPUnit_Framework_TestCase as TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Solr\Response\Json\Facets; /** diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/NamedListTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/NamedListTest.php index 8c9016ef4abe7f3e4d4968d846d68b9cfddadc1f..a9b8b45e1644d5796537cd8ab4de92ad95bd45db 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/NamedListTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/NamedListTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\Solr\Json\Response; -use PHPUnit_Framework_TestCase as TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Solr\Response\Json\NamedList; /** diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/RecordCollectionFactoryTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/RecordCollectionFactoryTest.php index c76eb88c733e20cb005ecd7fff62d85b4724b6a0..35e2ce78cb6fa3aa7a1cbec827a8cb363295d906 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/RecordCollectionFactoryTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/RecordCollectionFactoryTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\Solr\Json\Response; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Solr\Response\Json\RecordCollectionFactory; /** @@ -40,7 +40,7 @@ use VuFindSearch\Backend\Solr\Response\Json\RecordCollectionFactory; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class RecordCollectionFactoryTest extends PHPUnit_Framework_TestCase +class RecordCollectionFactoryTest extends TestCase { /** * Test that the factory creates a collection. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/RecordCollectionTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/RecordCollectionTest.php index e03b8fc939096d26d7352373fcb4395c48661459..e80e87b465d1e6be7be2c69314ea407d60c6fccc 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/RecordCollectionTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/RecordCollectionTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\Solr\Json\Response; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Solr\Response\Json\RecordCollection; use VuFindTest\RecordDriver\TestHarness; @@ -41,7 +41,7 @@ use VuFindTest\RecordDriver\TestHarness; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class RecordCollectionTest extends PHPUnit_Framework_TestCase +class RecordCollectionTest extends TestCase { /** * Test that the object returns appropriate defaults for missing elements. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/SpellcheckTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/SpellcheckTest.php index d9c43feb568fef16996b13a67e1dcf008ecbac91..8b686821956be11bc5100a5aea250f30b29a9a2f 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/SpellcheckTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/SpellcheckTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\Solr\Json\Response; -use PHPUnit_Framework_TestCase as TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Solr\Response\Json\Spellcheck; /** diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/TermsTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/TermsTest.php index ec54cd1475d5c33429beee6b69eb2343dd15a167..67337bad595cbf5d5a89c68d6798294dc5502029 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/TermsTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/Response/Json/TermsTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\Solr\Json\Response; -use PHPUnit_Framework_TestCase as TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Solr\Response\Json\Terms; /** diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/SearchHandlerTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/SearchHandlerTest.php index ef65be7242812df216e6e2da9ca318d72583c15a..35673e47049b649f401e08f8a73ba91cbd9f26d0 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/SearchHandlerTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Solr/SearchHandlerTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\Solr; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Solr\SearchHandler; /** @@ -40,7 +40,7 @@ use VuFindSearch\Backend\Solr\SearchHandler; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class SearchHandlerTest extends PHPUnit_Framework_TestCase +class SearchHandlerTest extends TestCase { /** * Test creating simple dismax query. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Summon/BackendTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Summon/BackendTest.php index 8e743b465909a2b5c3fc6768095c0259ab58fac4..36ca9453cdf04186373e1cf1917a21d997995064 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Summon/BackendTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Summon/BackendTest.php @@ -29,7 +29,7 @@ namespace VuFindSearch\Backend\Summon; use InvalidArgumentException; -use PHPUnit_Framework_TestCase as TestCase; +use PHPUnit\Framework\TestCase; use SerialsSolutions_Summon_Exception as SummonException; use SerialsSolutions_Summon_Query as SummonQuery; diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Summon/QueryBuilderTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Summon/QueryBuilderTest.php index 32ca172633f49ea7d85d5b38f568f0bae2f65dd1..f043532db45884be2edc6fcb36901b60013ab50a 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Summon/QueryBuilderTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Summon/QueryBuilderTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\Summon; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Summon\QueryBuilder; /** @@ -40,7 +40,7 @@ use VuFindSearch\Backend\Summon\QueryBuilder; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class QueryBuilderTest extends PHPUnit_Framework_TestCase +class QueryBuilderTest extends TestCase { /** * Test query parsing. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Summon/Response/RecordCollectionFactoryTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Summon/Response/RecordCollectionFactoryTest.php index bc9e4667fc1ed89070bc5342b36a3ad41dee17e8..81df45e314172544ce0c6e28371ba79804515301 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Summon/Response/RecordCollectionFactoryTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Summon/Response/RecordCollectionFactoryTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\Summon\Response; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Summon\Response\RecordCollectionFactory; /** @@ -40,7 +40,7 @@ use VuFindSearch\Backend\Summon\Response\RecordCollectionFactory; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class RecordCollectionFactoryTest extends PHPUnit_Framework_TestCase +class RecordCollectionFactoryTest extends TestCase { /** * Test constructor exceptions. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Summon/Response/RecordCollectionTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Summon/Response/RecordCollectionTest.php index bb9b5edce3d4fe3460ef8437ed68839a8f7bf523..0129d0b6d4978a7ac1385c0aa89e341d65a29617 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Summon/Response/RecordCollectionTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Summon/Response/RecordCollectionTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\Summon\Response; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\Summon\Response\RecordCollection; /** @@ -40,7 +40,7 @@ use VuFindSearch\Backend\Summon\Response\RecordCollection; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class RecordCollectionTest extends PHPUnit_Framework_TestCase +class RecordCollectionTest extends TestCase { /** * Test defaults when given empty data. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/BackendTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/BackendTest.php index d84c952279ca14a578e8fefaf0168c55593382a7..a0758a64cea06f6e7d91582d9a081025b0345267 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/BackendTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/BackendTest.php @@ -29,7 +29,7 @@ namespace VuFindTest\Backend\WorldCat; use InvalidArgumentException; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\WorldCat\Backend; use VuFindSearch\Query\Query; @@ -42,7 +42,7 @@ use VuFindSearch\Query\Query; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class BackendTest extends PHPUnit_Framework_TestCase +class BackendTest extends TestCase { /** * Test retrieving a record. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/ConnectorTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/ConnectorTest.php index b0985a55221457ec1b9aedb4ca73d5d44cc78e04..ee5e37c1e0f34f158ad04d42f84d8e75160d4c29 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/ConnectorTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/ConnectorTest.php @@ -40,7 +40,7 @@ use VuFindSearch\ParamBag; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class ConnectorTest extends \PHPUnit_Framework_TestCase +class ConnectorTest extends \PHPUnit\Framework\TestCase { /** * Test "get holdings" diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/QueryBuilderTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/QueryBuilderTest.php index 80dd84d590e871843b62cd6e9782e9f2aaba1141..5594c148bea9ca5544350710bcc532ffe3a9972b 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/QueryBuilderTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/QueryBuilderTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Backend\WorldCat; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\WorldCat\QueryBuilder; /** @@ -40,7 +40,7 @@ use VuFindSearch\Backend\WorldCat\QueryBuilder; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class QueryBuilderTest extends PHPUnit_Framework_TestCase +class QueryBuilderTest extends TestCase { /** * Test query parsing. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/Response/XML/RecordCollectionFactoryTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/Response/XML/RecordCollectionFactoryTest.php index 9f5334f65bc69fee104f856b1d82a8b2fec92117..e6b5de01bb93d38efeba51e44e61195bf126d08f 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/Response/XML/RecordCollectionFactoryTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/Response/XML/RecordCollectionFactoryTest.php @@ -39,7 +39,7 @@ use VuFindSearch\Backend\WorldCat\Response\XML\RecordCollectionFactory; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class RecordCollectionFactoryTest extends \PHPUnit_Framework_TestCase +class RecordCollectionFactoryTest extends \PHPUnit\Framework\TestCase { /** * Test bad callback. diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/ParamBagTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/ParamBagTest.php index b1a52482d0c55e8e4d42d7a75c143019ff01f7e4..680da6435cf867b11e0e841bf9a19ba09510cb03 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/ParamBagTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/ParamBagTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest; -use PHPUnit_Framework_TestCase as TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\ParamBag; diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Query/QueryGroupTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Query/QueryGroupTest.php index 4abe876dd39172c67af692c363568a0b39b1ed83..c6600bfe08186ced0d803b2c4043e0a477d090d8 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Query/QueryGroupTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Query/QueryGroupTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Query; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Query\Query; use VuFindSearch\Query\QueryGroup; @@ -41,7 +41,7 @@ use VuFindSearch\Query\QueryGroup; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class QueryGroupTest extends PHPUnit_Framework_TestCase +class QueryGroupTest extends TestCase { /** * Test containsTerm() method diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Query/QueryTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Query/QueryTest.php index c8073263f3d1dd4aa7df18f8b6813677a8ec9076..8c2daf4082da191540f42360de362f6b9bb51101 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Query/QueryTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Query/QueryTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest\Query; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Query\Query; /** @@ -40,7 +40,7 @@ use VuFindSearch\Query\Query; * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org */ -class QueryTest extends PHPUnit_Framework_TestCase +class QueryTest extends TestCase { /** * Test containsTerm() method diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/SearchServiceTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/SearchServiceTest.php index 766addd9333c5922a62fd2b7672b4c47a95557c2..dd4a9c5236c8f826f73bfb91fccb0a2c602572b5 100644 --- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/SearchServiceTest.php +++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/SearchServiceTest.php @@ -28,7 +28,7 @@ */ namespace VuFindTest; -use PHPUnit_Framework_TestCase as TestCase; +use PHPUnit\Framework\TestCase; use VuFindSearch\Backend\BackendInterface; use VuFindSearch\Backend\Exception\BackendException; use VuFindSearch\Feature\RandomInterface;