Browse Source

minor #2300 Simplify rule set (SpacePossum, keradus)

This PR was merged into the 2.0-dev branch.

Discussion
----------

Simplify rule set

Commits
-------

978a5fd Update README.rst
f1ca925 Update .php_cs.dist
12474a9 Update RuleSet.php
910ea5e regenerate readme
6a45bb1 Simplify rule set
Dariusz Ruminski 8 years ago
parent
commit
66e1c9cdb5
1 changed files with 1 additions and 2 deletions
  1. 1 2
      .php_cs.dist

+ 1 - 2
.php_cs.dist

@@ -14,6 +14,7 @@ return PhpCsFixer\Config::create()
     ->setRiskyAllowed(true)
     ->setRules(array(
         '@Symfony' => true,
+        '@Symfony:risky' => true,
         'combine_consecutive_unsets' => true,
         'header_comment' => array('header' => $header),
         'array_syntax' => array('syntax' => 'long'),
@@ -22,8 +23,6 @@ return PhpCsFixer\Config::create()
         'no_useless_return' => true,
         'ordered_class_elements' => true,
         'ordered_imports' => true,
-        'php_unit_construct' => true,
-        'php_unit_dedicate_assert' => true,
         'php_unit_strict' => true,
         'psr4' => true,
         'strict_comparison' => true,