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

Update phpstan to 1.0.2 #1363

Merged
merged 1 commit into from
Nov 8, 2021
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
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"doctrine/phpcr-odm": "^1.3|^2.0",
"jackalope/jackalope-doctrine-dbal": "^1.1.5",
"ocramius/proxy-manager": "^1.0|^2.0",
"phpstan/phpstan": "^0.12.65",
"phpstan/phpstan": "^1.0.2",
"phpunit/phpunit": "^8.0||^9.0",
"psr/container": "^1.0",
"symfony/dependency-injection": "^3.0|^4.0|^5.0|^6.0",
Expand Down
1 change: 1 addition & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ parameters:
- '~Class Doctrine\\ODM\\MongoDB\\PersistentCollection not found~'
- '~Class Symfony\\Component\\Translation\\TranslatorInterface not found~'
- '#Constructor of class JMS\\Serializer\\Annotation\\.*? has an unused parameter#'
- '#Class JMS\\Serializer\\Annotation\\ReadOnly extends @final class JMS\\Serializer\\Annotation\\ReadOnlyProperty.#'

paths:
- %currentWorkingDirectory%/src
Expand Down
2 changes: 1 addition & 1 deletion src/JsonSerializationVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ final class JsonSerializationVisitor extends AbstractVisitor implements Serializ
*/
private $dataStack;
/**
* @var \ArrayObject
* @var \ArrayObject|array
*/
private $data;

Expand Down