-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
70 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
use Sonata\TranslationBundle\Checker\TranslatableChecker; | ||
|
||
/** | ||
* @final since sonata-project/translation-bundle 2.x | ||
* @final since sonata-project/translation-bundle 2.7 | ||
* | ||
* @author Nicolas Bastien <[email protected]> | ||
*/ | ||
|
@@ -52,7 +52,7 @@ public function __construct( | |
if (null === $translatableListener) { | ||
@trigger_error(sprintf( | ||
'Not passing an instance of "%s" as argument 2 to "%s()" is deprecated' | ||
.' since sonata-project/translation-bundle 2.x and will be mandatory in 3.0.', | ||
.' since sonata-project/translation-bundle 2.7 and will be mandatory in 3.0.', | ||
TranslatableListener::class, | ||
__METHOD__ | ||
), E_USER_DEPRECATED); | ||
|
@@ -63,7 +63,7 @@ public function __construct( | |
if (null === $managerRegistry) { | ||
@trigger_error(sprintf( | ||
'Not passing an instance of "%s" as argument 3 to "%s()" is deprecated' | ||
.' since sonata-project/translation-bundle 2.x and will be mandatory in 3.0.', | ||
.' since sonata-project/translation-bundle 2.7 and will be mandatory in 3.0.', | ||
ManagerRegistry::class, | ||
__METHOD__ | ||
), E_USER_DEPRECATED); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
use Sonata\TranslationBundle\Admin\Extension\AbstractTranslatableAdminExtension; | ||
|
||
/** | ||
* @final since sonata-project/translation-bundle 2.x | ||
* @final since sonata-project/translation-bundle 2.7 | ||
* | ||
* @author Alfonso Machado <[email protected]> | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
use Sonata\TranslationBundle\Checker\TranslatableChecker; | ||
|
||
/** | ||
* @final since sonata-project/translation-bundle 2.x | ||
* @final since sonata-project/translation-bundle 2.7 | ||
* | ||
* @author Nicolas Bastien <[email protected]> | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
use Twig\Environment; | ||
|
||
/** | ||
* @final since sonata-project/translation-bundle 2.x | ||
* @final since sonata-project/translation-bundle 2.7 | ||
* | ||
* @author Nicolas Bastien <[email protected]> | ||
*/ | ||
|
@@ -64,7 +64,7 @@ public function __construct( | |
$this->showCountryFlags = $showCountryFlagsOrTemplating; | ||
} elseif (null === $showCountryFlagsOrTemplating || $showCountryFlagsOrTemplating instanceof EngineInterface) { | ||
@trigger_error(sprintf( | ||
'Passing "%s" as argument 2 to "%s()" is deprecated since sonata-project/translation-bundle 2.x' | ||
'Passing "%s" as argument 2 to "%s()" is deprecated since sonata-project/translation-bundle 2.7' | ||
.' and will throw a "%s" error in version 3.0. You must pass a "bool" value instead.', | ||
null === $showCountryFlagsOrTemplating ? 'null' : EngineInterface::class, | ||
__METHOD__, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
use Sonata\TranslationBundle\Traits\TranslatableTrait; | ||
|
||
/** | ||
* @final since sonata-project/translation-bundle 2.x | ||
* @final since sonata-project/translation-bundle 2.7 | ||
* | ||
* @author Nicolas Bastien <[email protected]> | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
use Symfony\Component\DependencyInjection\Reference; | ||
|
||
/** | ||
* @final since sonata-project/translation-bundle 2.x | ||
* @final since sonata-project/translation-bundle 2.7 | ||
* | ||
* @author Nicolas Bastien <[email protected]> | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
use Symfony\Component\DependencyInjection\ContainerBuilder; | ||
|
||
/** | ||
* @final since sonata-project/translation-bundle 2.x | ||
* @final since sonata-project/translation-bundle 2.7 | ||
* | ||
* @author Nicolas Bastien <[email protected]> | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
use Symfony\Component\Config\Definition\ConfigurationInterface; | ||
|
||
/** | ||
* @final since sonata-project/translation-bundle 2.x | ||
* @final since sonata-project/translation-bundle 2.7 | ||
* | ||
* @author Nicolas Bastien <[email protected]> | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ | |
use Symfony\Component\HttpKernel\DependencyInjection\Extension; | ||
|
||
/** | ||
* @final since sonata-project/translation-bundle 2.x | ||
* @final since sonata-project/translation-bundle 2.7 | ||
* | ||
* @author Nicolas Bastien <[email protected]> | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
use Sonata\BlockBundle\Model\Block; | ||
|
||
/** | ||
* @final since sonata-project/translation-bundle 2.x | ||
* @final since sonata-project/translation-bundle 2.7 | ||
* | ||
* @author Nicolas Bastien <[email protected]> | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
use Symfony\Component\HttpKernel\Bundle\Bundle; | ||
|
||
/** | ||
* @final since sonata-project/translation-bundle 2.x | ||
* @final since sonata-project/translation-bundle 2.7 | ||
* | ||
* @author Nicolas Bastien <[email protected]> | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
* | ||
* NEXT_MAJOR: Remove this class. | ||
* | ||
* @deprecated since version 2.x, to be removed in 3.0. It has been moved to Tests namespace. | ||
* @deprecated since version 2.7, to be removed in 3.0. It has been moved to Tests namespace. | ||
* | ||
* @author Dariusz Markowicz <[email protected]> | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
use Twig\TwigTest; | ||
|
||
/** | ||
* @final since sonata-project/translation-bundle 2.x | ||
* @final since sonata-project/translation-bundle 2.7 | ||
* | ||
* @author Nicolas Bastien <[email protected]> | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters