summaryrefslogtreecommitdiffstats
path: root/extensions/Example
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Example')
-rw-r--r--extensions/Example/Config.pm2
-rw-r--r--extensions/Example/Extension.pm2
-rw-r--r--extensions/Example/lib/Auth/Login.pm2
-rw-r--r--extensions/Example/lib/Auth/Verify.pm2
4 files changed, 8 insertions, 0 deletions
diff --git a/extensions/Example/Config.pm b/extensions/Example/Config.pm
index 13635dc7f..e7782ef6c 100644
--- a/extensions/Example/Config.pm
+++ b/extensions/Example/Config.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::Example;
use 5.10.1;
use strict;
+use warnings;
+
use constant NAME => 'Example';
use constant REQUIRED_MODULES => [
{
diff --git a/extensions/Example/Extension.pm b/extensions/Example/Extension.pm
index c9449d8b0..256589dab 100644
--- a/extensions/Example/Extension.pm
+++ b/extensions/Example/Extension.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::Example;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::Extension);
use Bugzilla::Constants;
diff --git a/extensions/Example/lib/Auth/Login.pm b/extensions/Example/lib/Auth/Login.pm
index c1cfe62cc..15c58a881 100644
--- a/extensions/Example/lib/Auth/Login.pm
+++ b/extensions/Example/lib/Auth/Login.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::Example::Auth::Login;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::Auth::Login);
use constant user_can_create_account => 0;
use Bugzilla::Constants;
diff --git a/extensions/Example/lib/Auth/Verify.pm b/extensions/Example/lib/Auth/Verify.pm
index df5059a05..49fd9fbb7 100644
--- a/extensions/Example/lib/Auth/Verify.pm
+++ b/extensions/Example/lib/Auth/Verify.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::Example::Auth::Verify;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::Auth::Verify);
use Bugzilla::Constants;