Skip to content

Commit 16a1be3

Browse files
author
matheo
committed
add changelog, add missing license, and remove useless comment
1 parent 76b3694 commit 16a1be3

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

src/TwigComponent/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## 2.8.0
44

5+
- Add new HTML syntax <twig:
56
- `true` attribute values now render just the attribute name, `false` excludes it entirely.
67

78
## 2.7.0

src/TwigComponent/src/Twig/TwigEnvironmentConfigurator.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
namespace Symfony\UX\TwigComponent\Twig;
413

514
use Symfony\Bundle\TwigBundle\DependencyInjection\Configurator\EnvironmentConfigurator;

src/TwigComponent/src/Twig/TwigPreLexer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class TwigPreLexer
2020
private int $length;
2121
private int $position = 0;
2222
private int $line;
23-
// each item has a "name" string key and a "hasDefaultBlock" bool key
2423
/** @var array<string: name, bool: hasDefaultBlock> */
2524
private array $currentComponents = [];
2625

0 commit comments

Comments
 (0)