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

Switch to psalm and fix static analysis issues #159

Merged
merged 1 commit into from
Sep 29, 2020

Conversation

hiqsol
Copy link
Member

@hiqsol hiqsol commented Sep 26, 2020

There is one issue in Container still.

$this->rootContainer->attach($container)

It requires more substantial changes.

Q A
Is bugfix? ✔️
New feature?
Breaks BC?

@hiqsol hiqsol changed the title Fix issues found with PHAN Switch to psalm and fix static analysis issues Sep 26, 2020
There is one issue in `Container` still.

`$this->rootContainer->attach($container)`

It requires more substantial changes.
@@ -19,13 +19,10 @@ final class CompositeContainer implements ContainerInterface
*/
private array $containers = [];

public function get($id, array $parameters = [])
public function get($id)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was it redundant?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, we've removed params from get everywhere

@samdark samdark merged commit f7ffed2 into yiisoft:master Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants