[feature/twig] Fixing file header copyrights

PHPBB3-11598
This commit is contained in:
Nathan Guse 2013-06-24 13:37:22 -05:00
parent 1a0819bdc4
commit 309ed5e5c3
5 changed files with 35 additions and 105 deletions

View file

@ -1,21 +1,12 @@
<?php <?php
/*
* This file is part of Twig.
*
* (c) 2009 Fabien Potencier
* (c) 2009 Armin Ronacher
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/** /**
* Represents a for node.
* *
* @package twig * @package phpBB3
* @author Fabien Potencier <fabien.potencier@symfony-project.com> * @copyright (c) 2013 phpBB Group
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/ */
class phpbb_template_twig_node_begin extends Twig_Node class phpbb_template_twig_node_begin extends Twig_Node
{ {
public function __construct($beginName, Twig_NodeInterface $body, Twig_NodeInterface $else = null, $lineno, $tag = null) public function __construct($beginName, Twig_NodeInterface $body, Twig_NodeInterface $else = null, $lineno, $tag = null)

View file

@ -1,26 +1,12 @@
<?php <?php
/*
* This file is part of Twig.
*
* (c) 2009 Fabien Potencier
* (c) 2009 Armin Ronacher
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/** /**
* Loops over each item of a sequence.
* *
* <pre> * @package phpBB3
* <ul> * @copyright (c) 2013 phpBB Group, sections (c) 2009 Fabien Potencier
* {% for user in users %} * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
* <li>{{ user.username|e }}</li> *
* {% endfor %}
* </ul>
* </pre>
*/ */
class phpbb_template_twig_tokenparser_begin extends Twig_TokenParser_For class phpbb_template_twig_tokenparser_begin extends Twig_TokenParser_For
{ {
/** /**

View file

@ -1,31 +1,12 @@
<?php <?php
/*
* This file is part of Twig.
*
* (c) 2009 Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/** /**
* Defines a variable.
* *
* <pre> * @package phpBB3
* {% set foo = 'foo' %} * @copyright (c) 2013 phpBB Group, sections (c) 2009 Fabien Potencier
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
* *
* {% set foo = [1, 2] %}
*
* {% set foo = {'foo': 'bar'} %}
*
* {% set foo = 'foo' ~ 'bar' %}
*
* {% set foo, bar = 'foo', 'bar' %}
*
* {% set foo %}Some content{% endset %}
* </pre>
*/ */
class phpbb_template_twig_tokenparser_define extends Twig_TokenParser_Set class phpbb_template_twig_tokenparser_define extends Twig_TokenParser_Set
{ {
public function decideBlockEnd(Twig_Token $token) public function decideBlockEnd(Twig_Token $token)

View file

@ -1,28 +1,12 @@
<?php <?php
/*
* This file is part of Twig.
*
* (c) 2009 Fabien Potencier
* (c) 2009 Armin Ronacher
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/** /**
* Tests a condition.
* *
* <pre> * @package phpBB3
* {% if users %} * @copyright (c) 2013 phpBB Group, sections (c) 2009 Fabien Potencier
* <ul> * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
* {% for user in users %} *
* <li>{{ user.username|e }}</li>
* {% endfor %}
* </ul>
* {% endif %}
* </pre>
*/ */
class phpbb_template_twig_tokenparser_if extends Twig_TokenParser_If class phpbb_template_twig_tokenparser_if extends Twig_TokenParser_If
{ {
/** /**

View file

@ -1,24 +1,12 @@
<?php <?php
/*
* This file is part of Twig.
*
* (c) 2009 Fabien Potencier
* (c) 2009 Armin Ronacher
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/** /**
* Includes a template.
* *
* <pre> * @package phpBB3
* {% include 'header.html' %} * @copyright (c) 2013 phpBB Group, sections (c) 2009 Fabien Potencier
* Body * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
* {% include 'footer.html' %} *
* </pre>
*/ */
class phpbb_template_twig_tokenparser_include extends Twig_TokenParser_Include class phpbb_template_twig_tokenparser_include extends Twig_TokenParser_Include
{ {
/** /**