diff --git a/.phpcs.xml b/.phpcs.xml index 3839d78..b0464c3 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -1,6 +1,7 @@ - + + . diff --git a/composer.json b/composer.json index f3cbcc4..3a1500c 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "require-dev": { "jakub-onderka/php-parallel-lint": "0.9.2", "jakub-onderka/php-console-highlighter": "0.3.2", - "mediawiki/mediawiki-codesniffer": "15.0.0", + "mediawiki/mediawiki-codesniffer": "16.0.0", "mediawiki/minus-x": "0.2.1" }, "scripts": { diff --git a/tests/phpunit/ApiQueryExtractsTest.php b/tests/phpunit/ApiQueryExtractsTest.php index ebebfcb..8b88411 100644 --- a/tests/phpunit/ApiQueryExtractsTest.php +++ b/tests/phpunit/ApiQueryExtractsTest.php @@ -2,14 +2,13 @@ namespace TextExtracts\Test; use MediaWikiCoversValidator; -use PHPUnit_Framework_TestCase; use TextExtracts\ApiQueryExtracts; /** * @covers \TextExtracts\ApiQueryExtracts * @group TextExtracts */ -class ApiQueryExtractsTest extends PHPUnit_Framework_TestCase { +class ApiQueryExtractsTest extends \PHPUnit\Framework\TestCase { use MediaWikiCoversValidator; private function newInstance() {