summaryrefslogtreecommitdiffstats
path: root/extensions/GitHubAuth
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2016-07-01 05:32:40 +0200
committerDylan William Hardison <dylan@hardison.net>2016-09-13 15:27:19 +0200
commit5f310e5b9e7afbd5badb17178349fefaaabfacce (patch)
tree24a4973f71f38e0cd7788a25817142ab6c05ed3e /extensions/GitHubAuth
parent14bcdce1dc6029c3676c3640d8148c83c14692e5 (diff)
downloadbugzilla-5f310e5b9e7afbd5badb17178349fefaaabfacce.tar.gz
bugzilla-5f310e5b9e7afbd5badb17178349fefaaabfacce.tar.xz
Bug 1283930 - Add Makefile.PL & local/lib/perl5 support to bmo/master + local symlink to data/ directory
Diffstat (limited to 'extensions/GitHubAuth')
-rw-r--r--extensions/GitHubAuth/Config.pm1
-rw-r--r--extensions/GitHubAuth/Extension.pm2
-rw-r--r--extensions/GitHubAuth/lib/Client.pm2
-rw-r--r--extensions/GitHubAuth/lib/Client/Error.pm1
-rw-r--r--extensions/GitHubAuth/lib/Config.pm1
-rw-r--r--extensions/GitHubAuth/lib/Login.pm3
-rw-r--r--extensions/GitHubAuth/lib/Verify.pm3
7 files changed, 13 insertions, 0 deletions
diff --git a/extensions/GitHubAuth/Config.pm b/extensions/GitHubAuth/Config.pm
index 88186a91e..1f64ee8a6 100644
--- a/extensions/GitHubAuth/Config.pm
+++ b/extensions/GitHubAuth/Config.pm
@@ -9,6 +9,7 @@ package Bugzilla::Extension::GitHubAuth;
use 5.10.1;
use strict;
+use warnings;
use constant NAME => 'GitHubAuth';
diff --git a/extensions/GitHubAuth/Extension.pm b/extensions/GitHubAuth/Extension.pm
index b813689cd..24a7cf2f1 100644
--- a/extensions/GitHubAuth/Extension.pm
+++ b/extensions/GitHubAuth/Extension.pm
@@ -9,6 +9,8 @@ package Bugzilla::Extension::GitHubAuth;
use 5.10.1;
use strict;
+use warnings;
+
use parent qw(Bugzilla::Extension);
use Bugzilla::Extension::GitHubAuth::Client;
diff --git a/extensions/GitHubAuth/lib/Client.pm b/extensions/GitHubAuth/lib/Client.pm
index 77c8a6c61..46c070856 100644
--- a/extensions/GitHubAuth/lib/Client.pm
+++ b/extensions/GitHubAuth/lib/Client.pm
@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::GitHubAuth::Client;
+
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/GitHubAuth/lib/Client/Error.pm b/extensions/GitHubAuth/lib/Client/Error.pm
index 358df6938..adb6ec07b 100644
--- a/extensions/GitHubAuth/lib/Client/Error.pm
+++ b/extensions/GitHubAuth/lib/Client/Error.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::GitHubAuth::Client::Error;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/GitHubAuth/lib/Config.pm b/extensions/GitHubAuth/lib/Config.pm
index 0dc78531b..0c8874129 100644
--- a/extensions/GitHubAuth/lib/Config.pm
+++ b/extensions/GitHubAuth/lib/Config.pm
@@ -7,6 +7,7 @@
package Bugzilla::Extension::GitHubAuth::Config;
+use 5.10.1;
use strict;
use warnings;
diff --git a/extensions/GitHubAuth/lib/Login.pm b/extensions/GitHubAuth/lib/Login.pm
index f1effb4e1..3f81467d0 100644
--- a/extensions/GitHubAuth/lib/Login.pm
+++ b/extensions/GitHubAuth/lib/Login.pm
@@ -6,8 +6,11 @@
# defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::GitHubAuth::Login;
+
+use 5.10.1;
use strict;
use warnings;
+
use base qw(Bugzilla::Auth::Login);
use fields qw(github_failure);
diff --git a/extensions/GitHubAuth/lib/Verify.pm b/extensions/GitHubAuth/lib/Verify.pm
index ee66c8904..f399af02e 100644
--- a/extensions/GitHubAuth/lib/Verify.pm
+++ b/extensions/GitHubAuth/lib/Verify.pm
@@ -6,8 +6,11 @@
# defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::GitHubAuth::Verify;
+
+use 5.10.1;
use strict;
use warnings;
+
use base qw(Bugzilla::Auth::Verify);
use Bugzilla::Constants qw( AUTH_NO_SUCH_USER );