forked from symfony/ux
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TwigComponent] Deprecate
cva
twig function
- Loading branch information
Showing
4 changed files
with
23 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,8 @@ | |
* @author Mathéo Daninos <[email protected]> | ||
* | ||
* @experimental | ||
* | ||
* @deprecated since 2.20, use CVA from the "twig/html-extra:^3.12.0" package instead. | ||
*/ | ||
final class CVA | ||
{ | ||
|
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 |
---|---|---|
|
@@ -15,7 +15,11 @@ | |
use Symfony\UX\TwigComponent\CVA; | ||
|
||
/** | ||
* To remove in TwigComponent 3.0. | ||
* | ||
* @author Mathéo Daninos <[email protected]> | ||
* | ||
* @group legacy | ||
*/ | ||
class CVATest extends TestCase | ||
{ | ||
|