Skip to content

Commit

Permalink
Update rector/rector requirement from ^0.14.3 to ^0.15.0 (#28)
Browse files Browse the repository at this point in the history
* Update rector/rector requirement from ^0.14.3 to ^0.15.0

Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@0.14.3...0.15.0)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update rector/rector requirement from ^0.14.3 to ^0.15.0

Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@0.14.3...0.15.0)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix changelog

* CS fix

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergei Predvoditelev <sergei@predvoditelev.ru>
  • Loading branch information
dependabot[bot] and vjik committed Dec 13, 2022
1 parent 761b9dc commit 2e3a314
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 18 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -2,4 +2,4 @@

## 1.0.0 under development

- Enh: Add composer require checker into CI
- Initial release.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -30,7 +30,7 @@
"require-dev": {
"maglnet/composer-require-checker": "^4.3",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.14.3",
"rector/rector": "^0.15.0",
"roave/infection-static-analysis-plugin": "^1.25",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.30|^5.2"
Expand Down
12 changes: 5 additions & 7 deletions src/AssignmentsStorage.php
Expand Up @@ -15,13 +15,11 @@ final class AssignmentsStorage implements AssignmentsStorageInterface
{
private DatabaseInterface $database;

/**
* @param non-empty-string $tableName
*/
public function __construct(/**
* @psalm-var non-empty-string
*/
private string $tableName,
public function __construct(
/**
* @psalm-var non-empty-string
*/
private string $tableName,
DatabaseProviderInterface $dbal
) {
$this->database = $dbal->database();
Expand Down
13 changes: 9 additions & 4 deletions src/Command/RbacCycleInit.php
Expand Up @@ -17,10 +17,15 @@ final class RbacCycleInit extends Command
{
protected static $defaultName = 'rbac/cycle/init';

public function __construct(/**
* @psalm-var array{itemsTable: non-empty-string, assignmentsTable: non-empty-string, itemsChildrenTable?: non-empty-string}
*/
private array $config,
public function __construct(
/**
* @psalm-var array{
* itemsTable: non-empty-string,
* assignmentsTable: non-empty-string,
* itemsChildrenTable?: non-empty-string
* }
*/
private array $config,
private DatabaseProviderInterface $dbal
) {
parent::__construct();
Expand Down
10 changes: 5 additions & 5 deletions src/ItemsStorage.php
Expand Up @@ -23,13 +23,13 @@ final class ItemsStorage implements ItemsStorageInterface
private string $childrenTableName;

/**
* @param non-empty-string $tableName
* @param non-empty-string|null $childrenTableName
*/
public function __construct(/**
* @psalm-var non-empty-string
*/
private string $tableName,
public function __construct(
/**
* @psalm-var non-empty-string
*/
private string $tableName,
DatabaseProviderInterface $dbal,
?string $childrenTableName = null
) {
Expand Down

0 comments on commit 2e3a314

Please sign in to comment.