-
Notifications
You must be signed in to change notification settings - Fork 118
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
reduce deprecation notices #205
Conversation
…on warnings while running tests see symfony/symfony#16276
29d8741
to
1805f03
Compare
@stof, could you give me some hints on those two? |
1805f03
to
d08d311
Compare
Alright, the missing |
</service> | ||
|
||
<service id="craue.form.flow.step_field_extension" class="Craue\FormFlowBundle\Form\Extension\FormFlowStepFieldExtension"> | ||
<tag name="form.type_extension" extended_type="Symfony\Component\Form\Extension\Core\Type\HiddenType" /> |
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.
we use dashes, not underscores in XML in tag attribute names
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.
fixed
…es due to the "empty_value" option
d08d311
to
c138859
Compare
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> | ||
|
||
<services> | ||
<service id="twig.extension.craue_integration_test" class="Craue\FormFlowBundle\Tests\IntegrationTestBundle\Twig\Extension\IntegrationTestTwigExtension"> |
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.
you should make the service private
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
c138859
to
3fc3576
Compare
Thank you for your feedback, @stof. |
At least with Symfony 2.7, I could get rid of all deprecation notices.
With 2.8, this won't be possible due to scopes. But there are two other notices I'm unable to track down yet (Travis log):
choices_as_values
isn't used in the code at all.ArrayKeyChoiceList
isn't used in the code at all.