Skip to content

Commit

Permalink
Merge pull request #3 from Meyfarth/patch-1
Browse files Browse the repository at this point in the history
Added condition on file namespace
  • Loading branch information
Loïc Chardonnet committed Jun 2, 2015
2 parents 485adb8 + 71744d3 commit 57d8cbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/file.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
{% include 'phpdoc/license_phpdoc.twig' with { 'license_phpdoc': file.licensePhpdoc } only %}
{% endif %}
{% if file.namespace is not empty %}
namespace {{ file.namespace }};
{% endif %}
{% include 'collection/fully_qualified_name_collection.twig' with {
'fully_qualified_name_collection': file.allFullyQualifiedNames
} only %}
Expand Down

0 comments on commit 57d8cbe

Please sign in to comment.