Skip to content

Commit

Permalink
Merge 2.x into 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
SonataCI committed Mar 31, 2022
2 parents 4d48383 + adfb1c6 commit 67120b0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/Bridge/Symfony/SonataExporterSymfonyBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@

namespace Sonata\Exporter\Bridge\Symfony;

// This file and its class alias is required in order to let Symfony Flex
// autodiscovery to find the bundle.
// The string "Symfony\Component\HttpKernel\Bundle\Bundle" must also be present.
// @see https://github.com/symfony/flex/pull/612/files.
@trigger_error(sprintf(
'The %s\SonataExporterSymfonyBundle class is deprecated since sonata-project/exporter 2.x, to be removed in version 3.0. Use %s instead.',
__NAMESPACE__,
SonataExporterBundle::class
), \E_USER_DEPRECATED);

class_alias(SonataExporterBundle::class, __NAMESPACE__.'\SonataExporterSymfonyBundle');

0 comments on commit 67120b0

Please sign in to comment.