Code-TidyAll

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

  modified. Note that this does not change the tidyall script's "-g" flag,
  which still operates on all modified files in the repo.

- Check the exit code when running js-beautify and throw an error if this is
  non-zero. Patch by Graham Knop. GitHub #61.


0.46     2016-04-17

- Fix a use line which specified the required version of Text::Diff as
  "v1.44". This caused weirdness to cascade in the Makefile.PL. Reported by
  Olaf Alders. GitHub #60.


0.45     2016-04-11

- Some changes intended to be internal-only in the last release broke the
  handling of ignore and select config lines with multiple space-separated
  values. This should now work again (and is tested). Reported by Martin
  Gruner. GitHub #44.

php/PHP_CodeSniffer/src/Standards/Squiz/Tests/Formatting/OperatorBracketUnitTest.inc  view on Meta::CPAN


switch ($number % 10) {
    case -1:
        $suffix = 'st';
    break;
}

$expectedPermission = array(
                       'granted'        => 4,
                       'denied'         => 1,
                       'cascade'        => TRUE,
                       'blockergranted' => 2,
                       'blockerdenied'  => - 3,
                       'effective'      => TRUE,
                      );

$value = (int) isset($blah) + 2;
$value = (int) isset($blah) + (int) isset($foo) + (int) isset($bar);

doSomething(getValue($var, 2)) - $y;

php/PHP_CodeSniffer/src/Standards/Squiz/Tests/Formatting/OperatorBracketUnitTest.inc.fixed  view on Meta::CPAN


switch ($number % 10) {
    case -1:
        $suffix = 'st';
    break;
}

$expectedPermission = array(
                       'granted'        => 4,
                       'denied'         => 1,
                       'cascade'        => TRUE,
                       'blockergranted' => 2,
                       'blockerdenied'  => - 3,
                       'effective'      => TRUE,
                      );

$value = ((int) isset($blah) + 2);
$value = ((int) isset($blah) + (int) isset($foo) + (int) isset($bar));

(doSomething(getValue($var, 2)) - $y);



( run in 1.313 second using v1.01-cache-2.11-cpan-49f99fa48dc )