Skip to content

Commit

Permalink
Improve rector CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik committed Jul 21, 2023
1 parent 1f62afe commit 3565330
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/rector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ name: rector
jobs:
rector:
uses: yiisoft/actions/.github/workflows/rector.yml@master
secrets:
token: ${{ secrets.YIISOFT_GITHUB_TOKEN }}
with:
os: >-
['ubuntu-latest']
Expand Down
2 changes: 1 addition & 1 deletion tests/ConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private function createContainer(?string $postfix = null, ?array $params = null)

private function getDiConfig(?string $postfix = null, ?array $params = null): array
{
$params ??= $this->getParams();
$params = $params ?? $this->getParams();
return require dirname(__DIR__) . '/config/di' . ($postfix !== null ? '-' . $postfix : '') . '.php';
}

Expand Down

0 comments on commit 3565330

Please sign in to comment.