1
0
Fork 0

Shorten if statements

pull/153/head
Felix Becker 2016-11-17 15:56:16 +01:00 committed by GitHub
parent 90c4a5b15e
commit 734adae963
1 changed files with 2 additions and 2 deletions

View File

@ -30,11 +30,11 @@ abstract class Formatter
*/ */
public static function format(string $content, string $uri) public static function format(string $content, string $uri)
{ {
if (defined('PHP_CODESNIFFER_CBF') === false) { if (!defined('PHP_CODESNIFFER_CBF')) {
define('PHP_CODESNIFFER_CBF', true); define('PHP_CODESNIFFER_CBF', true);
} }
if (defined('PHP_CODESNIFFER_VERBOSITY') === false) { if (!defined('PHP_CODESNIFFER_VERBOSITY')) {
define('PHP_CODESNIFFER_VERBOSITY', false); define('PHP_CODESNIFFER_VERBOSITY', false);
} }