Skip to content

Commit

Permalink
bug #113 Fix Symfony 6.x deprecations (mgrauwin)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.0-dev branch.

Discussion
----------

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | fixed
| Fixed tickets | -
| License       | MIT

Hey,

Fixed deprecation messages! Pull request ready. Check it out!

Thank you 🙏 


Commits
-------

37b6f98 Fix Symfony 6.x deprecations
  • Loading branch information
sstok authored Aug 5, 2023
2 parents 7f1c259 + 37b6f98 commit 76bc458
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

final class RollerworksPasswordStrengthExtension extends Extension implements PrependExtensionInterface
{
public function load(array $configs, ContainerBuilder $container)
public function load(array $configs, ContainerBuilder $container): void
{
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);
Expand All @@ -50,7 +50,7 @@ public function load(array $configs, ContainerBuilder $container)
/**
* Allow an extension to prepend the extension configurations.
*/
public function prepend(ContainerBuilder $container)
public function prepend(ContainerBuilder $container): void
{
$container->prependExtensionConfig('framework', [
'translator' => [
Expand Down
2 changes: 1 addition & 1 deletion tests/DependencyInjection/MakeAllServicesPublicPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

final class MakeAllServicesPublicPass implements CompilerPassInterface
{
public function process(ContainerBuilder $container)
public function process(ContainerBuilder $container): void
{
foreach ($container->getDefinitions() as $def) {
$def->setPublic(true);
Expand Down

0 comments on commit 76bc458

Please sign in to comment.