Skip to content

Commit

Permalink
Update rector/rector requirement from ^0.17.0 to ^0.18.3 (#241)
Browse files Browse the repository at this point in the history
Co-authored-by: Sergei Predvoditelev <[email protected]>
  • Loading branch information
dependabot[bot] and vjik authored Sep 13, 2023
1 parent 78a477f commit 9547650
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
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 composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"require-dev": {
"maglnet/composer-require-checker": "^4.2",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.17.0",
"rector/rector": "^0.18.3",
"roave/infection-static-analysis-plugin": "^1.25",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.30|^5.1",
Expand Down
2 changes: 0 additions & 2 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
use Rector\Config\RectorConfig;
use Rector\Php70\Rector\FuncCall\NonVariableToVariableOnFunctionCallRector;
use Rector\Php71\Rector\FuncCall\RemoveExtraParametersRector;
use Rector\Set\ValueObject\LevelSetList;

Expand All @@ -23,7 +22,6 @@
]);

$rectorConfig->skip([
NonVariableToVariableOnFunctionCallRector::class => [__DIR__ . '/src/PhpTemplateRenderer.php'],
RemoveExtraParametersRector::class => [__DIR__ . '/src/PhpTemplateRenderer.php'],
]);
};
2 changes: 0 additions & 2 deletions src/State/WebViewState.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,6 @@ public function getJsFiles(): array
* Set title in views.
*
* {@see getTitle()}
*
* @param string $value
*/
public function setTitle(string $value): self
{
Expand Down
2 changes: 0 additions & 2 deletions src/WebView.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,6 @@ public function getTitle(): string
* Set title in views.
*
* {@see getTitle()}
*
* @param string $value
*/
public function setTitle(string $value): self
{
Expand Down

0 comments on commit 9547650

Please sign in to comment.