summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/extensions/config.pm.tmpl1
-rw-r--r--template/en/default/extensions/extension.pm.tmpl2
-rw-r--r--template/en/default/extensions/util.pm.tmpl2
3 files changed, 5 insertions, 0 deletions
diff --git a/template/en/default/extensions/config.pm.tmpl b/template/en/default/extensions/config.pm.tmpl
index 79fbb995c..68ed260c1 100644
--- a/template/en/default/extensions/config.pm.tmpl
+++ b/template/en/default/extensions/config.pm.tmpl
@@ -16,6 +16,7 @@ package Bugzilla::Extension::[% name %];
use 5.10.1;
use strict;
+use warnings;
use constant NAME => '[% name %]';
diff --git a/template/en/default/extensions/extension.pm.tmpl b/template/en/default/extensions/extension.pm.tmpl
index 637dfdd28..823440421 100644
--- a/template/en/default/extensions/extension.pm.tmpl
+++ b/template/en/default/extensions/extension.pm.tmpl
@@ -16,6 +16,8 @@ package Bugzilla::Extension::[% name %];
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::Extension);
# This code for this is in [% path %]/lib/Util.pm
diff --git a/template/en/default/extensions/util.pm.tmpl b/template/en/default/extensions/util.pm.tmpl
index a5fbde04d..3baab57fd 100644
--- a/template/en/default/extensions/util.pm.tmpl
+++ b/template/en/default/extensions/util.pm.tmpl
@@ -16,6 +16,8 @@ package Bugzilla::Extension::[% name %]::Util;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Exporter);
our @EXPORT = qw(