diff --git a/.phpcs.xml b/.phpcs.xml index 3c6931352..db2a13156 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -1,6 +1,10 @@ - + + + + + . diff --git a/SimpleCaptcha/SimpleCaptcha.php b/SimpleCaptcha/SimpleCaptcha.php index 1b06f7d40..0a244ebd3 100644 --- a/SimpleCaptcha/SimpleCaptcha.php +++ b/SimpleCaptcha/SimpleCaptcha.php @@ -13,7 +13,7 @@ use Wikimedia\IPUtils; class SimpleCaptcha { protected static $messagePrefix = 'captcha-'; - /** @var boolean|null Was the CAPTCHA already passed and if yes, with which result? */ + /** @var bool|null Was the CAPTCHA already passed and if yes, with which result? */ private $captchaSolved = null; /** diff --git a/composer.json b/composer.json index aa4eb67fe..2a468db1a 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "require-dev": { - "mediawiki/mediawiki-codesniffer": "31.0.0", + "mediawiki/mediawiki-codesniffer": "32.0.0", "mediawiki/mediawiki-phan-config": "0.10.3", "mediawiki/minus-x": "1.1.0", "php-parallel-lint/php-console-highlighter": "0.5.0",