Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump phpstan/phpstan from 1.11.11 to 1.12.0 #2756

Merged
merged 2 commits into from
Sep 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 0 additions & 40 deletions .phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -7735,46 +7735,6 @@ parameters:
count: 1
path: engine/Shopware/Bundle/PluginInstallerBundle/Struct/BasketPositionStruct.php

-
message: "#^Method Shopware\\\\Bundle\\\\PluginInstallerBundle\\\\Struct\\\\CategoryStruct\\:\\:getName\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: engine/Shopware/Bundle/PluginInstallerBundle/Struct/CategoryStruct.php

-
message: "#^Method Shopware\\\\Bundle\\\\PluginInstallerBundle\\\\Struct\\\\CategoryStruct\\:\\:getName\\(\\) should return array but returns array\\|string\\.$#"
count: 1
path: engine/Shopware/Bundle/PluginInstallerBundle/Struct/CategoryStruct.php

-
message: "#^Method Shopware\\\\Bundle\\\\PluginInstallerBundle\\\\Struct\\\\CategoryStruct\\:\\:setChildren\\(\\) has no return type specified\\.$#"
count: 1
path: engine/Shopware/Bundle/PluginInstallerBundle/Struct/CategoryStruct.php

-
message: "#^Method Shopware\\\\Bundle\\\\PluginInstallerBundle\\\\Struct\\\\CategoryStruct\\:\\:setId\\(\\) has no return type specified\\.$#"
count: 1
path: engine/Shopware/Bundle/PluginInstallerBundle/Struct/CategoryStruct.php

-
message: "#^Method Shopware\\\\Bundle\\\\PluginInstallerBundle\\\\Struct\\\\CategoryStruct\\:\\:setName\\(\\) has no return type specified\\.$#"
count: 1
path: engine/Shopware/Bundle/PluginInstallerBundle/Struct/CategoryStruct.php

-
message: "#^Method Shopware\\\\Bundle\\\\PluginInstallerBundle\\\\Struct\\\\CategoryStruct\\:\\:setName\\(\\) has parameter \\$name with no value type specified in iterable type array\\.$#"
count: 1
path: engine/Shopware/Bundle/PluginInstallerBundle/Struct/CategoryStruct.php

-
message: "#^Method Shopware\\\\Bundle\\\\PluginInstallerBundle\\\\Struct\\\\CategoryStruct\\:\\:setParentId\\(\\) has no return type specified\\.$#"
count: 1
path: engine/Shopware/Bundle/PluginInstallerBundle/Struct/CategoryStruct.php

-
message: "#^Property Shopware\\\\Bundle\\\\PluginInstallerBundle\\\\Struct\\\\CategoryStruct\\:\\:\\$name type has no value type specified in iterable type array\\.$#"
count: 1
path: engine/Shopware/Bundle/PluginInstallerBundle/Struct/CategoryStruct.php

-
message: "#^Method Shopware\\\\Bundle\\\\PluginInstallerBundle\\\\Struct\\\\CommentStruct\\:\\:setAuthor\\(\\) has no return type specified\\.$#"
count: 1
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"friends-of-behat/mink-extension": "2.7.5",
"php-parallel-lint/php-var-dump-check": "^0.5",
"phpstan/extension-installer": "1.4.2",
"phpstan/phpstan": "1.11.11",
"phpstan/phpstan": "1.12.0",
"phpstan/phpstan-doctrine": "1.5.3",
"phpstan/phpstan-phpunit": "1.4.0",
"phpstan/phpstan-symfony": "1.4.8",
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class CategoryStruct implements JsonSerializable
private $id;

/**
* @var array|string
* @var array<string, string>
*/
private $name;

Expand All @@ -60,22 +60,26 @@ public function getId()

/**
* @param int $id
*
* @return void
*/
public function setId($id)
{
$this->id = $id;
}

/**
* @return array
* @return array<string, string>
*/
public function getName()
{
return $this->name;
}

/**
* @param array $name
* @param array<string, string> $name
*
* @return void
*/
public function setName($name)
{
Expand All @@ -92,6 +96,8 @@ public function getParentId()

/**
* @param int $parentId
*
* @return void
*/
public function setParentId($parentId)
{
Expand All @@ -108,6 +114,8 @@ public function getChildren()

/**
* @param CategoryStruct[] $children
*
* @return void
*/
public function setChildren($children)
{
Expand Down
Loading