Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
b4adb1ab
Commit
b4adb1ab
authored
Dec 01, 2012
by
Matt Selsky
Committed by
Frédéric Buclin
Dec 01, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 787668: Use |use parent| instead of |use base|
r/a=LpSolit
parent
45f67203
Show whitespace changes
Inline
Side-by-side
Showing
117 changed files
with
121 additions
and
121 deletions
+121
-121
Attachment.pm
Bugzilla/Attachment.pm
+1
-1
CGI.pm
Bugzilla/Auth/Login/CGI.pm
+1
-1
Cookie.pm
Bugzilla/Auth/Login/Cookie.pm
+1
-1
Env.pm
Bugzilla/Auth/Login/Env.pm
+1
-1
DB.pm
Bugzilla/Auth/Verify/DB.pm
+1
-1
RADIUS.pm
Bugzilla/Auth/Verify/RADIUS.pm
+1
-1
Bug.pm
Bugzilla/Bug.pm
+1
-1
BugUrl.pm
Bugzilla/BugUrl.pm
+1
-1
Bugzilla.pm
Bugzilla/BugUrl/Bugzilla.pm
+1
-1
Local.pm
Bugzilla/BugUrl/Bugzilla/Local.pm
+1
-1
Debian.pm
Bugzilla/BugUrl/Debian.pm
+1
-1
GitHub.pm
Bugzilla/BugUrl/GitHub.pm
+1
-1
Google.pm
Bugzilla/BugUrl/Google.pm
+1
-1
JIRA.pm
Bugzilla/BugUrl/JIRA.pm
+1
-1
Launchpad.pm
Bugzilla/BugUrl/Launchpad.pm
+1
-1
MantisBT.pm
Bugzilla/BugUrl/MantisBT.pm
+1
-1
SourceForge.pm
Bugzilla/BugUrl/SourceForge.pm
+1
-1
Trac.pm
Bugzilla/BugUrl/Trac.pm
+1
-1
CGI.pm
Bugzilla/CGI.pm
+1
-1
Classification.pm
Bugzilla/Classification.pm
+1
-1
Comment.pm
Bugzilla/Comment.pm
+1
-1
Component.pm
Bugzilla/Component.pm
+1
-1
Config.pm
Bugzilla/Config.pm
+1
-1
Common.pm
Bugzilla/Config/Common.pm
+1
-1
Constants.pm
Bugzilla/Constants.pm
+1
-1
DB.pm
Bugzilla/DB.pm
+1
-1
Mysql.pm
Bugzilla/DB/Mysql.pm
+1
-1
Oracle.pm
Bugzilla/DB/Oracle.pm
+2
-2
Pg.pm
Bugzilla/DB/Pg.pm
+1
-1
Mysql.pm
Bugzilla/DB/Schema/Mysql.pm
+1
-1
Oracle.pm
Bugzilla/DB/Schema/Oracle.pm
+1
-1
Pg.pm
Bugzilla/DB/Schema/Pg.pm
+1
-1
Sqlite.pm
Bugzilla/DB/Schema/Sqlite.pm
+1
-1
Sqlite.pm
Bugzilla/DB/Sqlite.pm
+1
-1
Error.pm
Bugzilla/Error.pm
+1
-1
Extension.pm
Bugzilla/Extension.pm
+1
-1
Field.pm
Bugzilla/Field.pm
+1
-1
Choice.pm
Bugzilla/Field/Choice.pm
+2
-2
Flag.pm
Bugzilla/Flag.pm
+1
-1
FlagType.pm
Bugzilla/FlagType.pm
+1
-1
Group.pm
Bugzilla/Group.pm
+1
-1
CPAN.pm
Bugzilla/Install/CPAN.pm
+1
-1
Filesystem.pm
Bugzilla/Install/Filesystem.pm
+1
-1
Localconfig.pm
Bugzilla/Install/Localconfig.pm
+1
-1
Requirements.pm
Bugzilla/Install/Requirements.pm
+1
-1
Util.pm
Bugzilla/Install/Util.pm
+1
-1
Mailer.pm
Bugzilla/Job/Mailer.pm
+1
-1
JobQueue.pm
Bugzilla/JobQueue.pm
+1
-1
Runner.pm
Bugzilla/JobQueue/Runner.pm
+1
-1
Keyword.pm
Bugzilla/Keyword.pm
+1
-1
Mailer.pm
Bugzilla/Mailer.pm
+1
-1
Gnats.pm
Bugzilla/Migrate/Gnats.pm
+1
-1
Milestone.pm
Bugzilla/Milestone.pm
+1
-1
Product.pm
Bugzilla/Product.pm
+1
-1
RNG.pm
Bugzilla/RNG.pm
+1
-1
Report.pm
Bugzilla/Report.pm
+1
-1
Search.pm
Bugzilla/Search.pm
+1
-1
Condition.pm
Bugzilla/Search/Condition.pm
+1
-1
Quicksearch.pm
Bugzilla/Search/Quicksearch.pm
+1
-1
Recent.pm
Bugzilla/Search/Recent.pm
+1
-1
Saved.pm
Bugzilla/Search/Saved.pm
+1
-1
Sendmail.pm
Bugzilla/Send/Sendmail.pm
+1
-1
Status.pm
Bugzilla/Status.pm
+1
-1
Template.pm
Bugzilla/Template.pm
+1
-1
Context.pm
Bugzilla/Template/Context.pm
+1
-1
Bugzilla.pm
Bugzilla/Template/Plugin/Bugzilla.pm
+1
-1
Hook.pm
Bugzilla/Template/Plugin/Hook.pm
+1
-1
Token.pm
Bugzilla/Token.pm
+1
-1
User.pm
Bugzilla/User.pm
+1
-1
Setting.pm
Bugzilla/User/Setting.pm
+1
-1
Lang.pm
Bugzilla/User/Setting/Lang.pm
+1
-1
Skin.pm
Bugzilla/User/Setting/Skin.pm
+1
-1
Timezone.pm
Bugzilla/User/Setting/Timezone.pm
+1
-1
UserAgent.pm
Bugzilla/UserAgent.pm
+1
-1
Util.pm
Bugzilla/Util.pm
+1
-1
Version.pm
Bugzilla/Version.pm
+1
-1
Bug.pm
Bugzilla/WebService/Bug.pm
+1
-1
Bugzilla.pm
Bugzilla/WebService/Bugzilla.pm
+1
-1
Classification.pm
Bugzilla/WebService/Classification.pm
+1
-1
Constants.pm
Bugzilla/WebService/Constants.pm
+1
-1
Group.pm
Bugzilla/WebService/Group.pm
+1
-1
Product.pm
Bugzilla/WebService/Product.pm
+1
-1
README
Bugzilla/WebService/README
+1
-1
XMLRPC.pm
Bugzilla/WebService/Server/XMLRPC.pm
+2
-2
User.pm
Bugzilla/WebService/User.pm
+1
-1
Util.pm
Bugzilla/WebService/Util.pm
+1
-1
Whine.pm
Bugzilla/Whine.pm
+1
-1
Query.pm
Bugzilla/Whine/Query.pm
+1
-1
Schedule.pm
Bugzilla/Whine/Schedule.pm
+1
-1
extension-convert.pl
contrib/extension-convert.pl
+1
-1
Bugzilla.pm
docs/lib/Pod/Simple/HTML/Bugzilla.pm
+1
-1
Bugzilla.pm
docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm
+1
-1
Extension.pm
extensions/BmpConvert/Extension.pm
+1
-1
Extension.pm
extensions/Example/Extension.pm
+1
-1
Login.pm
extensions/Example/lib/Auth/Login.pm
+1
-1
Verify.pm
extensions/Example/lib/Auth/Verify.pm
+1
-1
WebService.pm
extensions/Example/lib/WebService.pm
+1
-1
Extension.pm
extensions/MoreBugUrl/Extension.pm
+1
-1
GetSatisfaction.pm
extensions/MoreBugUrl/lib/GetSatisfaction.pm
+1
-1
PHP.pm
extensions/MoreBugUrl/lib/PHP.pm
+1
-1
RT.pm
extensions/MoreBugUrl/lib/RT.pm
+1
-1
ReviewBoard.pm
extensions/MoreBugUrl/lib/ReviewBoard.pm
+1
-1
Rietveld.pm
extensions/MoreBugUrl/lib/Rietveld.pm
+1
-1
Extension.pm
extensions/OldBugMove/Extension.pm
+1
-1
Extension.pm
extensions/Voting/Extension.pm
+1
-1
mod_perl.pl
mod_perl.pl
+1
-1
010dependencies.t
t/010dependencies.t
+2
-2
Templates.pm
t/Support/Templates.pm
+1
-1
extension.pm.tmpl
template/en/default/extensions/extension.pm.tmpl
+1
-1
util.pm.tmpl
template/en/default/extensions/util.pm.tmpl
+1
-1
AndTest.pm
xt/lib/Bugzilla/Test/Search/AndTest.pm
+1
-1
Constants.pm
xt/lib/Bugzilla/Test/Search/Constants.pm
+1
-1
CustomTest.pm
xt/lib/Bugzilla/Test/Search/CustomTest.pm
+1
-1
FieldTestNormal.pm
xt/lib/Bugzilla/Test/Search/FieldTestNormal.pm
+1
-1
InjectionTest.pm
xt/lib/Bugzilla/Test/Search/InjectionTest.pm
+1
-1
NotTest.pm
xt/lib/Bugzilla/Test/Search/NotTest.pm
+1
-1
OrTest.pm
xt/lib/Bugzilla/Test/Search/OrTest.pm
+1
-1
No files found.
Bugzilla/Attachment.pm
View file @
b4adb1ab
...
...
@@ -46,7 +46,7 @@ use Bugzilla::Hook;
use
File::
Copy
;
use
List::
Util
qw(max)
;
use
base
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
###############################
#### Initialization ####
...
...
Bugzilla/Auth/Login/CGI.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Auth::Login::CGI;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Auth::Login)
;
use
parent
qw(Bugzilla::Auth::Login)
;
use
constant
user_can_create_account
=>
1
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Auth/Login/Cookie.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Auth::Login::Cookie;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Auth::Login)
;
use
parent
qw(Bugzilla::Auth::Login)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Util
;
...
...
Bugzilla/Auth/Login/Env.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Auth::Login::Env;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Auth::Login)
;
use
parent
qw(Bugzilla::Auth::Login)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
...
...
Bugzilla/Auth/Verify/DB.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Auth::Verify::DB;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Auth::Verify)
;
use
parent
qw(Bugzilla::Auth::Verify)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Token
;
...
...
Bugzilla/Auth/Verify/RADIUS.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Auth::Verify::RADIUS;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Auth::Verify)
;
use
parent
qw(Bugzilla::Auth::Verify)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
...
...
Bugzilla/Bug.pm
View file @
b4adb1ab
...
...
@@ -36,7 +36,7 @@ use URI;
use
URI::
QueryParam
;
use
Scalar::
Util
qw(blessed)
;
use
base
qw(Bugzilla::Object Exporter)
;
use
parent
qw(Bugzilla::Object Exporter)
;
@
Bugzilla::Bug::
EXPORT
=
qw(
bug_alias_to_id
LogActivityEntry
...
...
Bugzilla/BugUrl.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::BugUrl;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
use
Bugzilla::
Util
;
use
Bugzilla::
Error
;
...
...
Bugzilla/BugUrl/Bugzilla.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::BugUrl::Bugzilla;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
use
Bugzilla::
Error
;
use
Bugzilla::
Util
;
...
...
Bugzilla/BugUrl/Bugzilla/Local.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::BugUrl::Bugzilla::Local;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::BugUrl::Bugzilla)
;
use
parent
qw(Bugzilla::BugUrl::Bugzilla)
;
use
Bugzilla::
Error
;
use
Bugzilla::
Util
;
...
...
Bugzilla/BugUrl/Debian.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::BugUrl::Debian;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
#### Methods ####
...
...
Bugzilla/BugUrl/GitHub.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::BugUrl::GitHub;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
#### Methods ####
...
...
Bugzilla/BugUrl/Google.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::BugUrl::Google;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
#### Methods ####
...
...
Bugzilla/BugUrl/JIRA.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::BugUrl::JIRA;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
#### Methods ####
...
...
Bugzilla/BugUrl/Launchpad.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::BugUrl::Launchpad;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
#### Methods ####
...
...
Bugzilla/BugUrl/MantisBT.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::BugUrl::MantisBT;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
#### Methods ####
...
...
Bugzilla/BugUrl/SourceForge.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::BugUrl::SourceForge;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
#### Methods ####
...
...
Bugzilla/BugUrl/Trac.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::BugUrl::Trac;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
#### Methods ####
...
...
Bugzilla/CGI.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::CGI;
use
5.10.1
;
use
strict
;
use
base
qw(CGI)
;
use
parent
qw(CGI)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
...
...
Bugzilla/Classification.pm
View file @
b4adb1ab
...
...
@@ -16,7 +16,7 @@ use Bugzilla::Util;
use
Bugzilla::
Error
;
use
Bugzilla::
Product
;
use
base
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object Exporter)
;
use
parent
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object Exporter)
;
@
Bugzilla::Classification::
EXPORT
=
qw(sort_products_by_classification)
;
###############################
...
...
Bugzilla/Comment.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Comment;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
use
Bugzilla::
Attachment
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Component.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Component;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object)
;
use
parent
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Util
;
...
...
Bugzilla/Config.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Config;
use
5.10.1
;
use
strict
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Hook
;
use
Data::
Dumper
;
...
...
Bugzilla/Config/Common.pm
View file @
b4adb1ab
...
...
@@ -19,7 +19,7 @@ use Bugzilla::Field;
use
Bugzilla::
Group
;
use
Bugzilla::
Status
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
@
Bugzilla::Config::Common::
EXPORT
=
qw(check_multi check_numeric check_regexp check_url check_group
check_sslbase check_priority check_severity check_platform
...
...
Bugzilla/Constants.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Constants;
use
5.10.1
;
use
strict
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
# For bz_locations
use
File::
Basename
;
...
...
Bugzilla/DB.pm
View file @
b4adb1ab
...
...
@@ -13,7 +13,7 @@ use strict;
use
DBI
;
# Inherit the DB class from DBI::db.
use
base
qw(DBI::db)
;
use
parent
-
norequire
,
qw(DBI::db)
;
use
Bugzilla::
Constants
;
use
Bugzilla::Install::
Requirements
;
...
...
Bugzilla/DB/Mysql.pm
View file @
b4adb1ab
...
...
@@ -24,7 +24,7 @@ package Bugzilla::DB::Mysql;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::DB)
;
use
parent
qw(Bugzilla::DB)
;
use
Bugzilla::
Constants
;
use
Bugzilla::Install::
Util
qw(install_string)
;
...
...
Bugzilla/DB/Oracle.pm
View file @
b4adb1ab
...
...
@@ -24,7 +24,7 @@ package Bugzilla::DB::Oracle;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::DB)
;
use
parent
qw(Bugzilla::DB)
;
use
DBD::
Oracle
;
use
DBD::
Oracle
qw(:ora_types)
;
...
...
@@ -720,7 +720,7 @@ package Bugzilla::DB::Oracle::st;
use
5.10.1
;
use
strict
;
use
base
qw(DBI::st)
;
use
parent
qw(DBI::st)
;
sub
fetchrow_arrayref
{
my
$self
=
shift
;
...
...
Bugzilla/DB/Pg.pm
View file @
b4adb1ab
...
...
@@ -28,7 +28,7 @@ use Bugzilla::Error;
use
DBD::
Pg
;
# This module extends the DB interface via inheritance
use
base
qw(Bugzilla::DB)
;
use
parent
qw(Bugzilla::DB)
;
use
constant
BLOB_TYPE
=>
{
pg_type
=>
DBD::Pg::
PG_BYTEA
};
...
...
Bugzilla/DB/Schema/Mysql.pm
View file @
b4adb1ab
...
...
@@ -18,7 +18,7 @@ use strict;
use
Bugzilla::
Error
;
use
base
qw(Bugzilla::DB::Schema)
;
use
parent
qw(Bugzilla::DB::Schema)
;
# This is for column_info_to_column, to know when a tinyint is a
# boolean and when it's really a tinyint. This only has to be accurate
...
...
Bugzilla/DB/Schema/Oracle.pm
View file @
b4adb1ab
...
...
@@ -16,7 +16,7 @@ package Bugzilla::DB::Schema::Oracle;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::DB::Schema)
;
use
parent
qw(Bugzilla::DB::Schema)
;
use
Carp
qw(confess)
;
use
Bugzilla::
Util
;
...
...
Bugzilla/DB/Schema/Pg.pm
View file @
b4adb1ab
...
...
@@ -16,7 +16,7 @@ package Bugzilla::DB::Schema::Pg;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::DB::Schema)
;
use
parent
qw(Bugzilla::DB::Schema)
;
use
Storable
qw(dclone)
;
#------------------------------------------------------------------------------
...
...
Bugzilla/DB/Schema/Sqlite.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::DB::Schema::Sqlite;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::DB::Schema)
;
use
parent
qw(Bugzilla::DB::Schema)
;
use
Bugzilla::
Error
;
use
Bugzilla::
Util
qw(generate_random_password)
;
...
...
Bugzilla/DB/Sqlite.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::DB::Sqlite;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::DB)
;
use
parent
qw(Bugzilla::DB)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
...
...
Bugzilla/Error.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Error;
use
5.10.1
;
use
strict
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
@
Bugzilla::Error::
EXPORT
=
qw(ThrowCodeError ThrowTemplateError ThrowUserError)
;
...
...
Bugzilla/Extension.pm
View file @
b4adb1ab
...
...
@@ -240,7 +240,7 @@ F<extensions/Foo.pm>:
package Bugzilla::Extension::Foo
use strict;
use
base
qw(Bugzilla::Extension);
use
parent
qw(Bugzilla::Extension);
our $VERSION = '0.02';
use constant NAME => 'Foo';
...
...
Bugzilla/Field.pm
View file @
b4adb1ab
...
...
@@ -60,7 +60,7 @@ package Bugzilla::Field;
use
5.10.1
;
use
strict
;
use
base
qw(Exporter Bugzilla::Object)
;
use
parent
qw(Exporter Bugzilla::Object)
;
@
Bugzilla::Field::
EXPORT
=
qw(check_field get_field_id get_legal_field_values)
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Field/Choice.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Field::Choice;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object)
;
use
parent
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object)
;
use
Bugzilla::
Config
qw(SetParam write_params)
;
use
Bugzilla::
Constants
;
...
...
@@ -95,7 +95,7 @@ sub type {
if
(
!
defined
*
{
"${package}::DB_TABLE"
})
{
eval
<<EOC;
package $package;
use
base
qw(Bugzilla::Field::Choice);
use
parent
qw(Bugzilla::Field::Choice);
use constant DB_TABLE => '$field_name';
EOC
}
...
...
Bugzilla/Flag.pm
View file @
b4adb1ab
...
...
@@ -50,7 +50,7 @@ use Bugzilla::Mailer;
use
Bugzilla::
Constants
;
use
Bugzilla::
Field
;
use
base
qw(Bugzilla::Object Exporter)
;
use
parent
qw(Bugzilla::Object Exporter)
;
@
Bugzilla::Flag::
EXPORT
=
qw(SKIP_REQUESTEE_ON_ERROR)
;
###############################
...
...
Bugzilla/FlagType.pm
View file @
b4adb1ab
...
...
@@ -41,7 +41,7 @@ use Bugzilla::Group;
use
Email::
Address
;
use
base
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
###############################
#### Initialization ####
...
...
Bugzilla/Group.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Group;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Util
;
...
...
Bugzilla/Install/CPAN.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Install::CPAN;
use
5.10.1
;
use
strict
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
our
@EXPORT
=
qw(
BZ_LIB
...
...
Bugzilla/Install/Filesystem.pm
View file @
b4adb1ab
...
...
@@ -33,7 +33,7 @@ use File::Spec;
use
IO::
File
;
use
POSIX
();
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
our
@EXPORT
=
qw(
update_filesystem
create_htaccess
...
...
Bugzilla/Install/Localconfig.pm
View file @
b4adb1ab
...
...
@@ -27,7 +27,7 @@ use File::Basename qw(dirname);
use
Safe
;
use
Term::
ANSIColor
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
our
@EXPORT_OK
=
qw(
read_localconfig
...
...
Bugzilla/Install/Requirements.pm
View file @
b4adb1ab
...
...
@@ -23,7 +23,7 @@ use List::Util qw(max);
use
Safe
;
use
Term::
ANSIColor
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
our
@EXPORT
=
qw(
REQUIRED_MODULES
OPTIONAL_MODULES
...
...
Bugzilla/Install/Util.pm
View file @
b4adb1ab
...
...
@@ -24,7 +24,7 @@ use Scalar::Util qw(tainted);
use
Term::
ANSIColor
qw(colored)
;
use
PerlIO
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
our
@EXPORT_OK
=
qw(
bin_loc
get_version_and_os
...
...
Bugzilla/Job/Mailer.pm
View file @
b4adb1ab
...
...
@@ -11,7 +11,7 @@ use 5.10.1;
use
strict
;
use
Bugzilla::
Mailer
;
BEGIN
{
eval
"use
base
qw(TheSchwartz::Worker)"
;
}
BEGIN
{
eval
"use
parent
qw(TheSchwartz::Worker)"
;
}
# The longest we expect a job to possibly take, in seconds.
use
constant
grab_for
=>
300
;
...
...
Bugzilla/JobQueue.pm
View file @
b4adb1ab
...
...
@@ -13,7 +13,7 @@ use strict;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
use
Bugzilla::Install::
Util
qw(install_string)
;
use
base
qw(TheSchwartz)
;
use
parent
qw(TheSchwartz)
;
# This maps job names for Bugzilla::JobQueue to the appropriate modules.
# If you add new types of jobs, you should add a mapping here.
...
...
Bugzilla/JobQueue/Runner.pm
View file @
b4adb1ab
...
...
@@ -22,7 +22,7 @@ use Pod::Usage;
use
Bugzilla::
Constants
;
use
Bugzilla::
JobQueue
;
use
Bugzilla::
Util
qw(get_text)
;
BEGIN
{
eval
"use
base
qw(Daemon::Generic)"
;
}
BEGIN
{
eval
"use
parent
qw(Daemon::Generic)"
;
}
our
$VERSION
=
BUGZILLA_VERSION
;
...
...
Bugzilla/Keyword.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Keyword;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
use
Bugzilla::
Error
;
use
Bugzilla::
Util
;
...
...
Bugzilla/Mailer.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Mailer;
use
5.10.1
;
use
strict
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
@
Bugzilla::Mailer::
EXPORT
=
qw(MessageToMTA build_thread_marker)
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Migrate/Gnats.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Migrate::Gnats;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Migrate)
;
use
parent
qw(Bugzilla::Migrate)
;
use
Bugzilla::
Constants
;
use
Bugzilla::Install::
Util
qw(indicate_progress)
;
...
...
Bugzilla/Milestone.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Milestone;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Util
;
...
...
Bugzilla/Product.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Product;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object)
;
use
parent
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Util
;
...
...
Bugzilla/RNG.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::RNG;
use
5.10.1
;
use
strict
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
use
Bugzilla::
Constants
qw(ON_WINDOWS)
;
use
Math::Random::
ISAAC
;
...
...
Bugzilla/Report.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Report;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
use
Bugzilla::
CGI
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Search.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Search;
use
5.10.1
;
use
strict
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
@
Bugzilla::Search::
EXPORT
=
qw(
IsValidQueryType
split_order_term
...
...
Bugzilla/Search/Condition.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Search::Condition;
use
5.10.1
;
use
strict
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
our
@EXPORT_OK
=
qw(condition)
;
sub
new
{
...
...
Bugzilla/Search/Quicksearch.pm
View file @
b4adb1ab
...
...
@@ -21,7 +21,7 @@ use List::Util qw(min max);
use
List::
MoreUtils
qw(firstidx)
;
use
Text::
ParseWords
qw(parse_line)
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
@
Bugzilla::Search::Quicksearch::
EXPORT
=
qw(quicksearch)
;
# Custom mappings for some fields.
...
...
Bugzilla/Search/Recent.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Search::Recent;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
...
...
Bugzilla/Search/Saved.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Search::Saved;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
use
Bugzilla::
CGI
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Send/Sendmail.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Send::Sendmail;
use
5.10.1
;
use
strict
;
use
base
qw(Email::Send::Sendmail)
;
use
parent
qw(Email::Send::Sendmail)
;
use
Return::
Value
;
use
Symbol
qw(gensym)
;
...
...
Bugzilla/Status.pm
View file @
b4adb1ab
...
...
@@ -14,7 +14,7 @@ use strict;
# ChoiceInterface, because a bug status literally is a special type
# of Field::Choice, not just an object that happens to have the same
# methods.
use
base
qw(Bugzilla::Field::Choice Exporter)
;
use
parent
qw(Bugzilla::Field::Choice Exporter)
;
@
Bugzilla::Status::
EXPORT
=
qw(
BUG_STATE_OPEN
SPECIAL_STATUS_WORKFLOW_ACTIONS
...
...
Bugzilla/Template.pm
View file @
b4adb1ab
...
...
@@ -34,7 +34,7 @@ use IO::Dir;
use
List::
MoreUtils
qw(firstidx)
;
use
Scalar::
Util
qw(blessed)
;
use
base
qw(Template)
;
use
parent
qw(Template)
;
use
constant
FORMAT_TRIPLE
=>
'%19s|%-28s|%-28s'
;
use
constant
FORMAT_3_SIZE
=>
[
19
,
28
,
28
];
...
...
Bugzilla/Template/Context.pm
View file @
b4adb1ab
...
...
@@ -11,7 +11,7 @@ package Bugzilla::Template::Context;
use
5.10.1
;
use
strict
;
use
base
qw(Template::Context)
;
use
parent
qw(Template::Context)
;
use
Bugzilla::
Hook
;
use
Scalar::
Util
qw(blessed)
;
...
...
Bugzilla/Template/Plugin/Bugzilla.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Template::Plugin::Bugzilla;
use
5.10.1
;
use
strict
;
use
base
qw(Template::Plugin)
;
use
parent
qw(Template::Plugin)
;
use
Bugzilla
;
...
...
Bugzilla/Template/Plugin/Hook.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Template::Plugin::Hook;
use
5.10.1
;
use
strict
;
use
base
qw(Template::Plugin)
;
use
parent
qw(Template::Plugin)
;
use
Bugzilla::
Constants
;
use
Bugzilla::Install::
Util
qw(template_include_path)
;
...
...
Bugzilla/Token.pm
View file @
b4adb1ab
...
...
@@ -21,7 +21,7 @@ use Date::Parse;
use
File::
Basename
;
use
Digest::
SHA
qw(hmac_sha256_base64)
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
@
Bugzilla::Token::
EXPORT
=
qw(issue_session_token check_token_data delete_token
issue_hash_token check_hash_token)
;
...
...
Bugzilla/User.pm
View file @
b4adb1ab
...
...
@@ -27,7 +27,7 @@ use Storable qw(dclone);
use
URI
;
use
URI::
QueryParam
;
use
base
qw(Bugzilla::Object Exporter)
;
use
parent
qw(Bugzilla::Object Exporter)
;
@
Bugzilla::User::
EXPORT
=
qw(is_available_username
login_to_id user_id_to_login validate_password
USER_MATCH_MULTIPLE USER_MATCH_FAILED USER_MATCH_SUCCESS
...
...
Bugzilla/User/Setting.pm
View file @
b4adb1ab
...
...
@@ -11,7 +11,7 @@ package Bugzilla::User::Setting;
use
5.10.1
;
use
strict
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
# Module stuff
...
...
Bugzilla/User/Setting/Lang.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::User::Setting::Lang;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::User::Setting)
;
use
parent
qw(Bugzilla::User::Setting)
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/User/Setting/Skin.pm
View file @
b4adb1ab
...
...
@@ -11,7 +11,7 @@ package Bugzilla::User::Setting::Skin;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::User::Setting)
;
use
parent
qw(Bugzilla::User::Setting)
;
use
Bugzilla::
Constants
;
use
File::Spec::
Functions
;
...
...
Bugzilla/User/Setting/Timezone.pm
View file @
b4adb1ab
...
...
@@ -12,7 +12,7 @@ use strict;
use
DateTime::
TimeZone
;
use
base
qw(Bugzilla::User::Setting)
;
use
parent
qw(Bugzilla::User::Setting)
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/UserAgent.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::UserAgent;
use
5.10.1
;
use
strict
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
our
@EXPORT
=
qw(detect_platform detect_op_sys)
;
use
Bugzilla::
Field
;
...
...
Bugzilla/Util.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Util;
use
5.10.1
;
use
strict
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
@
Bugzilla::Util::
EXPORT
=
qw(trick_taint detaint_natural detaint_signed
html_quote url_quote xml_quote
css_class_quote html_light_quote
...
...
Bugzilla/Version.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Version;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
use
Bugzilla::Install::
Util
qw(vers_cmp)
;
use
Bugzilla::
Util
;
...
...
Bugzilla/WebService/Bug.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::WebService::Bug;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::WebService)
;
use
parent
qw(Bugzilla::WebService)
;
use
Bugzilla::
Comment
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/WebService/Bugzilla.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::WebService::Bugzilla;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::WebService)
;
use
parent
qw(Bugzilla::WebService)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Util
qw(datetime_from)
;
use
Bugzilla::WebService::
Util
qw(validate filter_wants)
;
...
...
Bugzilla/WebService/Classification.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::WebService::Classification;
use
5.10.1
;
use
strict
;
use
base
qw (Bugzilla::WebService);
use
parent
qw (Bugzilla::WebService);
use
Bugzilla::
Classification
;
use
Bugzilla::
Error
;
...
...
Bugzilla/WebService/Constants.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::WebService::Constants;
use
5.10.1
;
use
strict
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
our
@EXPORT
=
qw(
WS_ERROR_CODE
...
...
Bugzilla/WebService/Group.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::WebService::Group;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::WebService)
;
use
parent
qw(Bugzilla::WebService)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
use
Bugzilla::WebService::
Util
qw(validate translate params_to_objects)
;
...
...
Bugzilla/WebService/Product.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::WebService::Product;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::WebService)
;
use
parent
qw(Bugzilla::WebService)
;
use
Bugzilla::
Product
;
use
Bugzilla::
User
;
use
Bugzilla::
Error
;
...
...
Bugzilla/WebService/README
View file @
b4adb1ab
...
...
@@ -11,7 +11,7 @@ When XMLRPC::Lite calls a method, $self is the name of the *class* the
method is in. For example, if we call Bugzilla.version(), the first argument
is Bugzilla::WebService::Bugzilla. So in order to have $self
(our first argument) act correctly in XML-RPC, we make all WebService
classes use
base
qw(Bugzilla::WebService).
classes use
parent
qw(Bugzilla::WebService).
When JSON::RPC calls a method, $self is the JSON-RPC *server object*. In other
words, it's an instance of Bugzilla::WebService::Server::JSONRPC. So we have
...
...
Bugzilla/WebService/Server/XMLRPC.pm
View file @
b4adb1ab
...
...
@@ -79,7 +79,7 @@ package Bugzilla::XMLRPC::Deserializer;
use
5.10.1
;
use
strict
;
# We can't use "use
base
" because XMLRPC::Serializer doesn't return
# We can't use "use
parent
" because XMLRPC::Serializer doesn't return
# a true value.
use
XMLRPC::
Lite
;
our
@ISA
=
qw(XMLRPC::Deserializer)
;
...
...
@@ -204,7 +204,7 @@ use 5.10.1;
use
strict
;
use
Scalar::
Util
qw(blessed)
;
# We can't use "use
base
" because XMLRPC::Serializer doesn't return
# We can't use "use
parent
" because XMLRPC::Serializer doesn't return
# a true value.
use
XMLRPC::
Lite
;
our
@ISA
=
qw(XMLRPC::Serializer)
;
...
...
Bugzilla/WebService/User.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::WebService::User;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::WebService)
;
use
parent
qw(Bugzilla::WebService)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
...
...
Bugzilla/WebService/Util.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::WebService::Util;
use
5.10.1
;
use
strict
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
# We have to "require", not "use" this, because otherwise it tries to
# use features of Test::More during import().
...
...
Bugzilla/Whine.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Whine;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
...
...
Bugzilla/Whine/Query.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Whine::Query;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
use
Bugzilla::
Constants
;
use
Bugzilla::Search::
Saved
;
...
...
Bugzilla/Whine/Schedule.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Bugzilla::Whine::Schedule;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
use
Bugzilla::
Constants
;
...
...
contrib/extension-convert.pl
View file @
b4adb1ab
...
...
@@ -76,7 +76,7 @@ END
my
$extension_pm
=
<<END;
package Bugzilla::Extension::$extension_name;
use strict;
use
base
qw(Bugzilla::Extension);
use
parent
qw(Bugzilla::Extension);
$modules
...
...
docs/lib/Pod/Simple/HTML/Bugzilla.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Pod::Simple::HTML::Bugzilla;
use
5.10.1
;
use
strict
;
use
base
qw(Pod::Simple::HTML)
;
use
parent
qw(Pod::Simple::HTML)
;
# Without this constant, HTMLBatch will throw undef warnings.
use
constant
VERSION
=>
$
Pod::Simple::HTML::
VERSION
;
...
...
docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Pod::Simple::HTMLBatch::Bugzilla;
use
5.10.1
;
use
strict
;
use
base
qw(Pod::Simple::HTMLBatch)
;
use
parent
qw(Pod::Simple::HTMLBatch)
;
# This is the same hack that HTMLBatch does to "import" this subroutine.
BEGIN
{
*
esc
=
\&
Pod::Simple::HTML::
esc
}
...
...
extensions/BmpConvert/Extension.pm
View file @
b4adb1ab
...
...
@@ -7,7 +7,7 @@
package
Bugzilla::Extension::
BmpConvert
;
use
strict
;
use
base
qw(Bugzilla::Extension)
;
use
parent
qw(Bugzilla::Extension)
;
use
Image::
Magick
;
...
...
extensions/Example/Extension.pm
View file @
b4adb1ab
...
...
@@ -7,7 +7,7 @@
package
Bugzilla::Extension::
Example
;
use
strict
;
use
base
qw(Bugzilla::Extension)
;
use
parent
qw(Bugzilla::Extension)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
...
...
extensions/Example/lib/Auth/Login.pm
View file @
b4adb1ab
...
...
@@ -7,7 +7,7 @@
package
Bugzilla::Extension::Example::Auth::
Login
;
use
strict
;
use
base
qw(Bugzilla::Auth::Login)
;
use
parent
qw(Bugzilla::Auth::Login)
;
use
constant
user_can_create_account
=>
0
;
use
Bugzilla::
Constants
;
...
...
extensions/Example/lib/Auth/Verify.pm
View file @
b4adb1ab
...
...
@@ -7,7 +7,7 @@
package
Bugzilla::Extension::Example::Auth::
Verify
;
use
strict
;
use
base
qw(Bugzilla::Auth::Verify)
;
use
parent
qw(Bugzilla::Auth::Verify)
;
use
Bugzilla::
Constants
;
# A verifier that always fails.
...
...
extensions/Example/lib/WebService.pm
View file @
b4adb1ab
...
...
@@ -8,7 +8,7 @@
package
Bugzilla::Extension::Example::
WebService
;
use
strict
;
use
warnings
;
use
base
qw(Bugzilla::WebService)
;
use
parent
qw(Bugzilla::WebService)
;
use
Bugzilla::
Error
;
# This can be called as Example.hello() from the WebService.
...
...
extensions/MoreBugUrl/Extension.pm
View file @
b4adb1ab
...
...
@@ -7,7 +7,7 @@
package
Bugzilla::Extension::
MoreBugUrl
;
use
strict
;
use
base
qw(Bugzilla::Extension)
;
use
parent
qw(Bugzilla::Extension)
;
use
constant
MORE_SUB_CLASSES
=>
qw(
Bugzilla::Extension::MoreBugUrl::ReviewBoard
...
...
extensions/MoreBugUrl/lib/GetSatisfaction.pm
View file @
b4adb1ab
...
...
@@ -7,7 +7,7 @@
package
Bugzilla::Extension::MoreBugUrl::
GetSatisfaction
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
#### Methods ####
...
...
extensions/MoreBugUrl/lib/PHP.pm
View file @
b4adb1ab
...
...
@@ -7,7 +7,7 @@
package
Bugzilla::Extension::MoreBugUrl::
PHP
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
#### Methods ####
...
...
extensions/MoreBugUrl/lib/RT.pm
View file @
b4adb1ab
...
...
@@ -7,7 +7,7 @@
package
Bugzilla::Extension::MoreBugUrl::
RT
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
#### Methods ####
...
...
extensions/MoreBugUrl/lib/ReviewBoard.pm
View file @
b4adb1ab
...
...
@@ -7,7 +7,7 @@
package
Bugzilla::Extension::MoreBugUrl::
ReviewBoard
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
#### Methods ####
...
...
extensions/MoreBugUrl/lib/Rietveld.pm
View file @
b4adb1ab
...
...
@@ -7,7 +7,7 @@
package
Bugzilla::Extension::MoreBugUrl::
Rietveld
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
#### Methods ####
...
...
extensions/OldBugMove/Extension.pm
View file @
b4adb1ab
...
...
@@ -7,7 +7,7 @@
package
Bugzilla::Extension::
OldBugMove
;
use
strict
;
use
base
qw(Bugzilla::Extension)
;
use
parent
qw(Bugzilla::Extension)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
use
Bugzilla::Field::
Choice
;
...
...
extensions/Voting/Extension.pm
View file @
b4adb1ab
...
...
@@ -7,7 +7,7 @@
package
Bugzilla::Extension::
Voting
;
use
strict
;
use
base
qw(Bugzilla::Extension)
;
use
parent
qw(Bugzilla::Extension)
;
use
Bugzilla::
Bug
;
use
Bugzilla::
BugMail
;
...
...
mod_perl.pl
View file @
b4adb1ab
...
...
@@ -113,7 +113,7 @@ package Bugzilla::ModPerl::ResponseHandler;
use
5.10.1
;
use
strict
;
use
base
qw(ModPerl::Registry)
;
use
parent
qw(ModPerl::Registry)
;
use
Bugzilla
;
sub
handler
: method {
...
...
t/010dependencies.t
View file @
b4adb1ab
...
...
@@ -27,7 +27,7 @@ use constant MODULE_REGEX => qr/
['"]?
([\w:\.\\]+)
/x;
use constant BASE_REGEX => qr/^use
base
qw\(([^\)]+)/;
use constant BASE_REGEX => qr/^use
(?:base|parent) (?:-norequire, )?
qw\(([^\)]+)/;
# Extract all Perl modules.
foreach my $file (@Support::Files::testitems) {
...
...
@@ -59,7 +59,7 @@ foreach my $module (keys %mods) {
}
elsif ($line =~ BASE_REGEX or $line =~ MODULE_REGEX) {
my $used_string = $1;
# "use base" can have multiple modules
# "use base"
/"use parent"
can have multiple modules
my @used_array = split(/\s+/, $used_string);
foreach my $used (@used_array) {
next if $used !~ /^Bugzilla/;
...
...
t/Support/Templates.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@ package Support::Templates;
use
strict
;
use
lib
't'
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
@
Support::Templates::
EXPORT
=
qw(@languages @include_paths $english_default_include_path
%include_path @referenced_files %actual_files $num_actual_files)
;
...
...
template/en/default/extensions/extension.pm.tmpl
View file @
b4adb1ab
...
...
@@ -14,7 +14,7 @@
package
B
[%
%]
ugzilla
::
Extension
::[%
name
%];
use
strict
;
use
base
qw
(
B
[%
%]
ugzilla
::
Extension
);
use
parent
qw
(
B
[%
%]
ugzilla
::
Extension
);
#
This
code
for
this
is
in
[%
path
%]/
lib
/
Util
.
pm
use
B
[%
%]
ugzilla
::
Extension
::[%
name
%]::
Util
;
...
...
template/en/default/extensions/util.pm.tmpl
View file @
b4adb1ab
...
...
@@ -14,7 +14,7 @@
package
B
[%
%]
ugzilla
::
Extension
::[%
name
%]::
Util
;
use
strict
;
use
base
qw
(
Exporter
);
use
parent
qw
(
Exporter
);
our
@
EXPORT
=
qw
(
);
...
...
xt/lib/Bugzilla/Test/Search/AndTest.pm
View file @
b4adb1ab
...
...
@@ -8,7 +8,7 @@
# This test combines two field/operator combinations using AND in
# a single boolean chart.
package
Bugzilla::Test::Search::
AndTest
;
use
base
qw(Bugzilla::Test::Search::OrTest)
;
use
parent
qw(Bugzilla::Test::Search::OrTest)
;
use
Bugzilla::Test::Search::
Constants
;
use
List::
MoreUtils
qw(all)
;
...
...
xt/lib/Bugzilla/Test/Search/Constants.pm
View file @
b4adb1ab
...
...
@@ -12,7 +12,7 @@
# More detailed information on each constant is available in the comments
# in this file.
package
Bugzilla::Test::Search::
Constants
;
use
base
qw(Exporter)
;
use
parent
qw(Exporter)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Util
qw(generate_random_password)
;
...
...
xt/lib/Bugzilla/Test/Search/CustomTest.pm
View file @
b4adb1ab
...
...
@@ -9,7 +9,7 @@
# Tests like this are specified in CUSTOM_SEARCH_TESTS in
# Bugzilla::Test::Search::Constants.
package
Bugzilla::Test::Search::
CustomTest
;
use
base
qw(Bugzilla::Test::Search::FieldTest)
;
use
parent
qw(Bugzilla::Test::Search::FieldTest)
;
use
strict
;
use
warnings
;
...
...
xt/lib/Bugzilla/Test/Search/FieldTestNormal.pm
View file @
b4adb1ab
...
...
@@ -10,7 +10,7 @@
package
Bugzilla::Test::Search::
FieldTestNormal
;
use
strict
;
use
warnings
;
use
base
qw(Bugzilla::Test::Search::FieldTest)
;
use
parent
qw(Bugzilla::Test::Search::FieldTest)
;
use
Scalar::
Util
qw(blessed)
;
...
...
xt/lib/Bugzilla/Test/Search/InjectionTest.pm
View file @
b4adb1ab
...
...
@@ -8,7 +8,7 @@
# This module represents the SQL Injection tests that get run on a single
# operator/field combination for Bugzilla::Test::Search.
package
Bugzilla::Test::Search::
InjectionTest
;
use
base
qw(Bugzilla::Test::Search::FieldTest)
;
use
parent
qw(Bugzilla::Test::Search::FieldTest)
;
use
strict
;
use
warnings
;
...
...
xt/lib/Bugzilla/Test/Search/NotTest.pm
View file @
b4adb1ab
...
...
@@ -12,7 +12,7 @@
# it to OrTest and AndTest, but without Moose there isn't much of an
# easy way to do that.
package
Bugzilla::Test::Search::
NotTest
;
use
base
qw(Bugzilla::Test::Search::FieldTest)
;
use
parent
qw(Bugzilla::Test::Search::FieldTest)
;
use
strict
;
use
warnings
;
use
Bugzilla::Test::Search::
Constants
;
...
...
xt/lib/Bugzilla/Test/Search/OrTest.pm
View file @
b4adb1ab
...
...
@@ -8,7 +8,7 @@
# This test combines two field/operator combinations using OR in
# a single boolean chart.
package
Bugzilla::Test::Search::
OrTest
;
use
base
qw(Bugzilla::Test::Search::FieldTest)
;
use
parent
qw(Bugzilla::Test::Search::FieldTest)
;
use
Bugzilla::Test::Search::
Constants
;
use
List::
MoreUtils
qw(all any uniq)
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment