Skip to content

Commit

Permalink
feature #52449 [TwigBridge] Mark CodeExtension as @internal (fabpot)
Browse files Browse the repository at this point in the history
This PR was merged into the 6.4 branch.

Discussion
----------

[TwigBridge] Mark CodeExtension as `@internal`

| Q             | A
| ------------- | ---
| Branch?       | 6.4
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Issues        | n/a
| License       | MIT

This is really just internal code used by our own tools. Let's make it clear that nobody should use it in production.

Commits
-------

d3f178b [TwigBridge] Mark CodeExtension as `@internal`
  • Loading branch information
fabpot committed Nov 4, 2023
2 parents ed105f1 + d3f178b commit 68e6af4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Symfony/Bridge/Twig/Extension/CodeExtension.php
Expand Up @@ -18,7 +18,12 @@
/**
* Twig extension relate to PHP code and used by the profiler and the default exception templates.
*
* This extension should only be used for debugging tools code
* that is never executed in a production environment.
*
* @author Fabien Potencier <fabien@symfony.com>
*
* @internal
*/
final class CodeExtension extends AbstractExtension
{
Expand Down

0 comments on commit 68e6af4

Please sign in to comment.