Commit 91ad0813 authored by Matt Selsky's avatar Matt Selsky Committed by Frédéric Buclin

Bug 816870: All extensions must require Perl 5.10.1 to pass tests

r/a=LpSolit
parent 4663186f
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::BmpConvert; package Bugzilla::Extension::BmpConvert;
use 5.10.1;
use strict; use strict;
use constant NAME => 'BmpConvert'; use constant NAME => 'BmpConvert';
use constant REQUIRED_MODULES => [ use constant REQUIRED_MODULES => [
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::BmpConvert; package Bugzilla::Extension::BmpConvert;
use 5.10.1;
use strict; use strict;
use parent qw(Bugzilla::Extension); use parent qw(Bugzilla::Extension);
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::Example; package Bugzilla::Extension::Example;
use 5.10.1;
use strict; use strict;
use constant NAME => 'Example'; use constant NAME => 'Example';
use constant REQUIRED_MODULES => [ use constant REQUIRED_MODULES => [
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::Example; package Bugzilla::Extension::Example;
use 5.10.1;
use strict; use strict;
use parent qw(Bugzilla::Extension); use parent qw(Bugzilla::Extension);
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::Example::Auth::Login; package Bugzilla::Extension::Example::Auth::Login;
use 5.10.1;
use strict; use strict;
use parent qw(Bugzilla::Auth::Login); use parent qw(Bugzilla::Auth::Login);
use constant user_can_create_account => 0; use constant user_can_create_account => 0;
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::Example::Auth::Verify; package Bugzilla::Extension::Example::Auth::Verify;
use 5.10.1;
use strict; use strict;
use parent qw(Bugzilla::Auth::Verify); use parent qw(Bugzilla::Auth::Verify);
use Bugzilla::Constants; use Bugzilla::Constants;
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::Example::Config; package Bugzilla::Extension::Example::Config;
use 5.10.1;
use strict; use strict;
use warnings; use warnings;
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::Example::Util; package Bugzilla::Extension::Example::Util;
use 5.10.1;
use strict; use strict;
use warnings; use warnings;
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::Example::WebService; package Bugzilla::Extension::Example::WebService;
use 5.10.1;
use strict; use strict;
use warnings; use warnings;
use parent qw(Bugzilla::WebService); use parent qw(Bugzilla::WebService);
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::MoreBugUrl; package Bugzilla::Extension::MoreBugUrl;
use 5.10.1;
use strict; use strict;
use constant NAME => 'MoreBugUrl'; use constant NAME => 'MoreBugUrl';
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::MoreBugUrl; package Bugzilla::Extension::MoreBugUrl;
use 5.10.1;
use strict; use strict;
use parent qw(Bugzilla::Extension); use parent qw(Bugzilla::Extension);
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::MoreBugUrl::GetSatisfaction; package Bugzilla::Extension::MoreBugUrl::GetSatisfaction;
use 5.10.1;
use strict; use strict;
use parent qw(Bugzilla::BugUrl); use parent qw(Bugzilla::BugUrl);
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::MoreBugUrl::PHP; package Bugzilla::Extension::MoreBugUrl::PHP;
use 5.10.1;
use strict; use strict;
use parent qw(Bugzilla::BugUrl); use parent qw(Bugzilla::BugUrl);
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::MoreBugUrl::RT; package Bugzilla::Extension::MoreBugUrl::RT;
use 5.10.1;
use strict; use strict;
use parent qw(Bugzilla::BugUrl); use parent qw(Bugzilla::BugUrl);
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::MoreBugUrl::ReviewBoard; package Bugzilla::Extension::MoreBugUrl::ReviewBoard;
use 5.10.1;
use strict; use strict;
use parent qw(Bugzilla::BugUrl); use parent qw(Bugzilla::BugUrl);
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::MoreBugUrl::Rietveld; package Bugzilla::Extension::MoreBugUrl::Rietveld;
use 5.10.1;
use strict; use strict;
use parent qw(Bugzilla::BugUrl); use parent qw(Bugzilla::BugUrl);
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::OldBugMove; package Bugzilla::Extension::OldBugMove;
use 5.10.1;
use strict; use strict;
use constant NAME => 'OldBugMove'; use constant NAME => 'OldBugMove';
__PACKAGE__->NAME; __PACKAGE__->NAME;
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::OldBugMove; package Bugzilla::Extension::OldBugMove;
use 5.10.1;
use strict; use strict;
use parent qw(Bugzilla::Extension); use parent qw(Bugzilla::Extension);
use Bugzilla::Constants; use Bugzilla::Constants;
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
package Bugzilla::Extension::OldBugMove::Params; package Bugzilla::Extension::OldBugMove::Params;
use 5.10.1;
use strict; use strict;
use Bugzilla::Config::Common; use Bugzilla::Config::Common;
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::Voting; package Bugzilla::Extension::Voting;
use 5.10.1;
use strict; use strict;
use constant NAME => 'Voting'; use constant NAME => 'Voting';
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0. # defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Extension::Voting; package Bugzilla::Extension::Voting;
use 5.10.1;
use strict; use strict;
use parent qw(Bugzilla::Extension); use parent qw(Bugzilla::Extension);
......
...@@ -13,6 +13,8 @@ ...@@ -13,6 +13,8 @@
[% PROCESS extensions/license.txt.tmpl %] [% PROCESS extensions/license.txt.tmpl %]
package B[% %]ugzilla::Extension::[% name %]; package B[% %]ugzilla::Extension::[% name %];
use 5.10.1;
use strict; use strict;
use constant NAME => '[% name %]'; use constant NAME => '[% name %]';
......
...@@ -13,6 +13,8 @@ ...@@ -13,6 +13,8 @@
[% PROCESS extensions/license.txt.tmpl %] [% PROCESS extensions/license.txt.tmpl %]
package B[% %]ugzilla::Extension::[% name %]; package B[% %]ugzilla::Extension::[% name %];
use 5.10.1;
use strict; use strict;
use parent qw(B[% %]ugzilla::Extension); use parent qw(B[% %]ugzilla::Extension);
......
...@@ -13,6 +13,8 @@ ...@@ -13,6 +13,8 @@
[% PROCESS extensions/license.txt.tmpl %] [% PROCESS extensions/license.txt.tmpl %]
package B[% %]ugzilla::Extension::[% name %]::Util; package B[% %]ugzilla::Extension::[% name %]::Util;
use 5.10.1;
use strict; use strict;
use parent qw(Exporter); use parent qw(Exporter);
our @EXPORT = qw( our @EXPORT = qw(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment