Skip to content

Commit

Permalink
Replace ::class constant with the fully qualified class name
Browse files Browse the repository at this point in the history
The currently installed version of JMSTranslationBundle requires an old version
of the nikic/php-parser package, which doesn't support the ::class keyword
introduced in PHP 5.5.

This should be fixed by upgrading JMSTranslationBundle to a more recent version.

See nikic/PHP-Parser#200 for more information.
  • Loading branch information
nicwortel committed Mar 3, 2017
1 parent db20bc4 commit eb56708
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private function parseSecondFactorTestIdentityProviderConfiguration(
array $identityProvider,
ContainerBuilder $container
) {
$definition = new Definition(IdentityProvider::class);
$definition = new Definition('Surfnet\SamlBundle\Entity\IdentityProvider');
$configuration = [
'entityId' => $identityProvider['entity_id'],
'ssoUrl' => $identityProvider['sso_url'],
Expand Down

0 comments on commit eb56708

Please sign in to comment.