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

Add support for Symfony 6 #869

Merged
merged 1 commit into from
Oct 13, 2021
Merged

Add support for Symfony 6 #869

merged 1 commit into from
Oct 13, 2021

Conversation

mbabker
Copy link
Contributor

@mbabker mbabker commented Sep 18, 2021

Q A
Bug fix? no
New feature? yes
Doc updated no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets N/A
License MIT

Adds Symfony 6 support and fixes the small issues with the new version installed.

Cache/CacheWarmer.php Outdated Show resolved Hide resolved
@@ -18,7 +18,7 @@ class SerializerHelper extends Helper
{
protected $serializer;

public function getName()
public function getName(): string
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This method is typehinted in 6.0.


$this->assertEquals('bar', $exp->evaluate("service('foo')", ['container' => $container]));
$this->assertEquals($object, $exp->evaluate("service('foo')", ['container' => $container]));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The container is typehinted to return objects from Container::get() in 6.0.

"symfony/finder": "^3.0 || ^4.0 || ^5.0 || ^6.0",
"symfony/form": "^3.0 || ^4.0 || ^5.0 || ^6.0",
"symfony/stopwatch": "^3.0 || ^4.0 || ^5.0 || ^6.0",
"symfony/templating": "^3.0 || ^4.0 || ^5.0 || ^6.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The templating component wasn't being loaded in at all previously, so now it's included for dev and a basic test class added in.

@goetas
Copy link
Collaborator

goetas commented Oct 13, 2021

thanks!

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