Skip to content

Commit

Permalink
[Backport 3.x] Removed skipping of CountOnNull rector rule. (#191)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Dorison <[email protected]>
Fixed upstream: rectorphp/rector-src#4556
  • Loading branch information
github-actions[bot] authored Dec 7, 2023
1 parent 48f2ea5 commit 024d32c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: # yamllint disable-line rule:truthy
# Trigger the workflow on pushes to the main branch and all pull requests.
push:
branches:
- "**.x"
- "[0-9].x"
pull_request:

jobs:
Expand Down
7 changes: 1 addition & 6 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
declare(strict_types=1);

use Rector\Config\RectorConfig;
use Rector\Php71\Rector\FuncCall\CountOnNullRector;
use Rector\Php80\Rector\FunctionLike\MixedTypeRector;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;
Expand All @@ -20,10 +19,6 @@
]);

$rectorConfig->skip([
MixedTypeRector::class,
CountOnNullRector::class => [
// @see https://github.com/rectorphp/rector/issues/8016
__DIR__ . '/src/Robo/Plugin/Traits/SitesConfigTrait.php',
],
MixedTypeRector::class
]);
};

0 comments on commit 024d32c

Please sign in to comment.