-
Notifications
You must be signed in to change notification settings - Fork 10
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
API Remove deprecated code #75
API Remove deprecated code #75
Conversation
a3be8ea
to
40f964d
Compare
@@ -117,9 +115,6 @@ public function checkForDeprecatedConfig($class, $name): void | |||
{ | |||
$deprecated = $this->getClassConfig('__deprecated', true); | |||
$data = $deprecated['config'][strtolower($class)][$name] ?? []; | |||
if (!empty($data)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please restore this block, this is not deprecated code, it's code that helps with identifying deprecated code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
* @param string $class | ||
* @param string $name | ||
* @param array $value - non-array values are @deprecated 1.12.0 | ||
* @param array $value | ||
*/ | ||
public function merge($class, $name, $value) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public function merge($class, $name, $value) | |
public function merge(string $class, string $name, array $value): static |
And delete the docblock @params
now that we're strong typing this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll have to update interface MutableConfigCollectionInterface
as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated method signature in interface MutableConfigCollectionInterface
and class MemoryConfigCollection
667c1c1
to
7474b47
Compare
7474b47
to
7a6bee5
Compare
Parent issue