Commit 9f3d18d4 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modules

r=dkl a=sgreen
parent c19dc4ff
......@@ -9,6 +9,7 @@ package Bugzilla;
use 5.10.1;
use strict;
use warnings;
# We want any compile errors to get to the browser, if possible.
BEGIN {
......
......@@ -9,6 +9,7 @@ package Bugzilla::Attachment;
use 5.10.1;
use strict;
use warnings;
=head1 NAME
......
......@@ -9,6 +9,7 @@ package Bugzilla::Attachment::PatchReader;
use 5.10.1;
use strict;
use warnings;
use Config;
use IO::Select;
......
......@@ -9,6 +9,8 @@ package Bugzilla::Auth;
use 5.10.1;
use strict;
use warnings;
use fields qw(
_info_getter
_verifier
......
......@@ -9,6 +9,8 @@ package Bugzilla::Auth::Login;
use 5.10.1;
use strict;
use warnings;
use fields qw();
# Determines whether or not a user can logout. It's really a subroutine,
......
......@@ -9,6 +9,7 @@ package Bugzilla::Auth::Login::APIKey;
use 5.10.1;
use strict;
use warnings;
use base qw(Bugzilla::Auth::Login);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Auth::Login::CGI;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::Auth::Login);
use constant user_can_create_account => 1;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Auth::Login::Cookie;
use 5.10.1;
use strict;
use warnings;
use base qw(Bugzilla::Auth::Login);
use fields qw(_login_token);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Auth::Login::Env;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::Auth::Login);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Auth::Login::Stack;
use 5.10.1;
use strict;
use warnings;
use base qw(Bugzilla::Auth::Login);
use fields qw(
......
......@@ -9,6 +9,8 @@ package Bugzilla::Auth::Persist::Cookie;
use 5.10.1;
use strict;
use warnings;
use fields qw();
use Bugzilla::Constants;
......
......@@ -9,6 +9,8 @@ package Bugzilla::Auth::Verify;
use 5.10.1;
use strict;
use warnings;
use fields qw();
use Bugzilla::Constants;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Auth::Verify::DB;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::Auth::Verify);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Auth::Verify::LDAP;
use 5.10.1;
use strict;
use warnings;
use base qw(Bugzilla::Auth::Verify);
use fields qw(
......
......@@ -9,6 +9,7 @@ package Bugzilla::Auth::Verify::RADIUS;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::Auth::Verify);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Auth::Verify::Stack;
use 5.10.1;
use strict;
use warnings;
use base qw(Bugzilla::Auth::Verify);
use fields qw(
......
......@@ -9,6 +9,7 @@ package Bugzilla::Bug;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Attachment;
use Bugzilla::Constants;
......
......@@ -9,6 +9,7 @@ package Bugzilla::BugMail;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Error;
use Bugzilla::User;
......
......@@ -9,6 +9,7 @@ package Bugzilla::BugUrl;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::Object);
......
......@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::Bugzilla;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::BugUrl);
......
......@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::Bugzilla::Local;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::BugUrl::Bugzilla);
......
......@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::Debian;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::BugUrl);
......
......@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::GitHub;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::BugUrl);
......
......@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::Google;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::BugUrl);
......
......@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::JIRA;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::BugUrl);
......
......@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::Launchpad;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::BugUrl);
......
......@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::MantisBT;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::BugUrl);
......
......@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::SourceForge;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::BugUrl);
......
......@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::Trac;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::BugUrl);
......
......@@ -9,6 +9,7 @@ package Bugzilla::BugUserLastVisit;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::Object);
......
......@@ -9,6 +9,7 @@ package Bugzilla::CGI;
use 5.10.1;
use strict;
use warnings;
use parent qw(CGI);
......
......@@ -15,6 +15,7 @@ package Bugzilla::Chart;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Error;
use Bugzilla::Util;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Classification;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Constants;
use Bugzilla::Field;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Comment;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::Object);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Comment::TagWeights;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::Object);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Component;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object);
......
......@@ -9,8 +9,10 @@ package Bugzilla::Config;
use 5.10.1;
use strict;
use warnings;
use parent qw(Exporter);
use Bugzilla::Constants;
use Bugzilla::Hook;
use Data::Dumper;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Config::Admin;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Config::Common;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Config::Advanced;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Config::Common;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Config::Attachment;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Config::Common;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Config::Auth;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Config::Common;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Config::BugChange;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Config::Common;
use Bugzilla::Status;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Config::BugFields;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Config::Common;
use Bugzilla::Field;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Config::Common;
use 5.10.1;
use strict;
use warnings;
use Email::Address;
use Socket;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Config::Core;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Config::Common;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Config::DependencyGraph;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Config::Common;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Config::General;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Config::Common;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Config::GroupSecurity;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Config::Common;
use Bugzilla::Group;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Config::LDAP;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Config::Common;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Config::MTA;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Config::Common;
# Return::Value 1.666002 pollutes the error log with warnings about this
......
......@@ -9,6 +9,7 @@ package Bugzilla::Config::Memcached;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Config::Common;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Config::PatchViewer;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Config::Common;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Config::Query;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Config::Common;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Config::RADIUS;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Config::Common;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Config::ShadowDB;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Config::Common;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Config::UserMatch;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Config::Common;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Constants;
use 5.10.1;
use strict;
use warnings;
use parent qw(Exporter);
......
......@@ -9,6 +9,7 @@ package Bugzilla::DB;
use 5.10.1;
use strict;
use warnings;
use DBI;
......
......@@ -23,6 +23,7 @@ package Bugzilla::DB::Mysql;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::DB);
......
......@@ -23,6 +23,7 @@ package Bugzilla::DB::Oracle;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::DB);
......@@ -721,6 +722,7 @@ package Bugzilla::DB::Oracle::st;
use 5.10.1;
use strict;
use warnings;
use parent -norequire, qw(DBI::st);
......
......@@ -23,6 +23,7 @@ package Bugzilla::DB::Pg;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Error;
use Bugzilla::Version;
......
......@@ -17,6 +17,7 @@ package Bugzilla::DB::Schema;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Error;
use Bugzilla::Hook;
......
......@@ -15,6 +15,7 @@ package Bugzilla::DB::Schema::Mysql;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Error;
......
......@@ -15,6 +15,7 @@ package Bugzilla::DB::Schema::Oracle;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::DB::Schema);
use Carp qw(confess);
......
......@@ -15,6 +15,7 @@ package Bugzilla::DB::Schema::Pg;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::DB::Schema);
use Storable qw(dclone);
......
......@@ -9,6 +9,7 @@ package Bugzilla::DB::Schema::Sqlite;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::DB::Schema);
......
......@@ -9,6 +9,7 @@ package Bugzilla::DB::Sqlite;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::DB);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Error;
use 5.10.1;
use strict;
use warnings;
use parent qw(Exporter);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Extension;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Constants;
use Bugzilla::Error;
......
......@@ -59,6 +59,7 @@ package Bugzilla::Field;
use 5.10.1;
use strict;
use warnings;
use parent qw(Exporter Bugzilla::Object);
@Bugzilla::Field::EXPORT = qw(check_field get_field_id get_legal_field_values);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Field::Choice;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Field::ChoiceInterface;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Constants;
use Bugzilla::Error;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Flag;
use 5.10.1;
use strict;
use warnings;
=head1 NAME
......
......@@ -9,6 +9,7 @@ package Bugzilla::FlagType;
use 5.10.1;
use strict;
use warnings;
=head1 NAME
......
......@@ -9,6 +9,7 @@ package Bugzilla::Group;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::Object);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Hook;
use 5.10.1;
use strict;
use warnings;
sub process {
my ($name, $args) = @_;
......
......@@ -17,6 +17,7 @@ package Bugzilla::Install;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Component;
use Bugzilla::Config qw(:admin);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Install::CPAN;
use 5.10.1;
use strict;
use warnings;
use parent qw(Exporter);
our @EXPORT = qw(
......
......@@ -12,6 +12,7 @@ package Bugzilla::Install::DB;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Constants;
use Bugzilla::Hook;
......
......@@ -17,6 +17,7 @@ package Bugzilla::Install::Filesystem;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Constants;
use Bugzilla::Error;
......
......@@ -17,6 +17,7 @@ package Bugzilla::Install::Localconfig;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Constants;
use Bugzilla::Install::Util qw(bin_loc install_string);
......
......@@ -15,6 +15,7 @@ package Bugzilla::Install::Requirements;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Constants;
use Bugzilla::Install::Util qw(install_string bin_loc
......
......@@ -13,6 +13,7 @@ package Bugzilla::Install::Util;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Constants;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Job::BugMail;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::BugMail;
BEGIN { eval "use parent qw(Bugzilla::Job::Mailer)"; }
......
......@@ -9,6 +9,7 @@ package Bugzilla::Job::Mailer;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Mailer;
BEGIN { eval "use parent qw(TheSchwartz::Worker)"; }
......
......@@ -9,6 +9,7 @@ package Bugzilla::JobQueue;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Constants;
use Bugzilla::Error;
......
......@@ -13,6 +13,7 @@ package Bugzilla::JobQueue::Runner;
use 5.10.1;
use strict;
use warnings;
use Cwd qw(abs_path);
use File::Basename;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Keyword;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::Object);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Mailer;
use 5.10.1;
use strict;
use warnings;
use parent qw(Exporter);
@Bugzilla::Mailer::EXPORT = qw(MessageToMTA build_thread_marker);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Migrate;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Attachment;
use Bugzilla::Bug qw(LogActivityEntry);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Migrate::Gnats;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::Migrate);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Milestone;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::Object);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Object;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Constants;
use Bugzilla::Hook;
......
......@@ -9,6 +9,7 @@ package Bugzilla::Product;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object);
......
......@@ -9,6 +9,7 @@ package Bugzilla::RNG;
use 5.10.1;
use strict;
use warnings;
use parent qw(Exporter);
use Bugzilla::Constants qw(ON_WINDOWS);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Report;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::Object);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Search;
use 5.10.1;
use strict;
use warnings;
use parent qw(Exporter);
@Bugzilla::Search::EXPORT = qw(
......
......@@ -9,6 +9,7 @@ package Bugzilla::Search::Clause;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Error;
use Bugzilla::Search::Condition qw(condition);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Search::ClauseGroup;
use 5.10.1;
use strict;
use warnings;
use parent qw(Bugzilla::Search::Clause);
......
......@@ -9,6 +9,7 @@ package Bugzilla::Search::Condition;
use 5.10.1;
use strict;
use warnings;
use parent qw(Exporter);
our @EXPORT_OK = qw(condition);
......
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