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
9f3d18d4
Commit
9f3d18d4
authored
Aug 13, 2014
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modules
r=dkl a=sgreen
parent
c19dc4ff
Show whitespace changes
Inline
Side-by-side
Showing
266 changed files
with
561 additions
and
185 deletions
+561
-185
Bugzilla.pm
Bugzilla.pm
+1
-0
Attachment.pm
Bugzilla/Attachment.pm
+1
-0
PatchReader.pm
Bugzilla/Attachment/PatchReader.pm
+1
-0
Auth.pm
Bugzilla/Auth.pm
+2
-0
Login.pm
Bugzilla/Auth/Login.pm
+2
-0
APIKey.pm
Bugzilla/Auth/Login/APIKey.pm
+1
-0
CGI.pm
Bugzilla/Auth/Login/CGI.pm
+1
-0
Cookie.pm
Bugzilla/Auth/Login/Cookie.pm
+1
-0
Env.pm
Bugzilla/Auth/Login/Env.pm
+1
-0
Stack.pm
Bugzilla/Auth/Login/Stack.pm
+1
-0
Cookie.pm
Bugzilla/Auth/Persist/Cookie.pm
+2
-0
Verify.pm
Bugzilla/Auth/Verify.pm
+2
-0
DB.pm
Bugzilla/Auth/Verify/DB.pm
+1
-0
LDAP.pm
Bugzilla/Auth/Verify/LDAP.pm
+1
-0
RADIUS.pm
Bugzilla/Auth/Verify/RADIUS.pm
+1
-0
Stack.pm
Bugzilla/Auth/Verify/Stack.pm
+1
-0
Bug.pm
Bugzilla/Bug.pm
+1
-0
BugMail.pm
Bugzilla/BugMail.pm
+1
-0
BugUrl.pm
Bugzilla/BugUrl.pm
+1
-0
Bugzilla.pm
Bugzilla/BugUrl/Bugzilla.pm
+1
-0
Local.pm
Bugzilla/BugUrl/Bugzilla/Local.pm
+1
-0
Debian.pm
Bugzilla/BugUrl/Debian.pm
+1
-0
GitHub.pm
Bugzilla/BugUrl/GitHub.pm
+1
-0
Google.pm
Bugzilla/BugUrl/Google.pm
+1
-0
JIRA.pm
Bugzilla/BugUrl/JIRA.pm
+1
-0
Launchpad.pm
Bugzilla/BugUrl/Launchpad.pm
+1
-0
MantisBT.pm
Bugzilla/BugUrl/MantisBT.pm
+1
-0
SourceForge.pm
Bugzilla/BugUrl/SourceForge.pm
+1
-0
Trac.pm
Bugzilla/BugUrl/Trac.pm
+1
-0
BugUserLastVisit.pm
Bugzilla/BugUserLastVisit.pm
+1
-0
CGI.pm
Bugzilla/CGI.pm
+1
-0
Chart.pm
Bugzilla/Chart.pm
+1
-0
Classification.pm
Bugzilla/Classification.pm
+1
-0
Comment.pm
Bugzilla/Comment.pm
+1
-0
TagWeights.pm
Bugzilla/Comment/TagWeights.pm
+1
-0
Component.pm
Bugzilla/Component.pm
+1
-0
Config.pm
Bugzilla/Config.pm
+2
-0
Admin.pm
Bugzilla/Config/Admin.pm
+1
-0
Advanced.pm
Bugzilla/Config/Advanced.pm
+1
-0
Attachment.pm
Bugzilla/Config/Attachment.pm
+1
-0
Auth.pm
Bugzilla/Config/Auth.pm
+1
-0
BugChange.pm
Bugzilla/Config/BugChange.pm
+1
-0
BugFields.pm
Bugzilla/Config/BugFields.pm
+1
-0
Common.pm
Bugzilla/Config/Common.pm
+1
-0
Core.pm
Bugzilla/Config/Core.pm
+1
-0
DependencyGraph.pm
Bugzilla/Config/DependencyGraph.pm
+1
-0
General.pm
Bugzilla/Config/General.pm
+1
-0
GroupSecurity.pm
Bugzilla/Config/GroupSecurity.pm
+1
-0
LDAP.pm
Bugzilla/Config/LDAP.pm
+1
-0
MTA.pm
Bugzilla/Config/MTA.pm
+1
-0
Memcached.pm
Bugzilla/Config/Memcached.pm
+1
-0
PatchViewer.pm
Bugzilla/Config/PatchViewer.pm
+1
-0
Query.pm
Bugzilla/Config/Query.pm
+1
-0
RADIUS.pm
Bugzilla/Config/RADIUS.pm
+1
-0
ShadowDB.pm
Bugzilla/Config/ShadowDB.pm
+1
-0
UserMatch.pm
Bugzilla/Config/UserMatch.pm
+1
-0
Constants.pm
Bugzilla/Constants.pm
+1
-0
DB.pm
Bugzilla/DB.pm
+1
-0
Mysql.pm
Bugzilla/DB/Mysql.pm
+1
-0
Oracle.pm
Bugzilla/DB/Oracle.pm
+2
-0
Pg.pm
Bugzilla/DB/Pg.pm
+1
-0
Schema.pm
Bugzilla/DB/Schema.pm
+1
-0
Mysql.pm
Bugzilla/DB/Schema/Mysql.pm
+1
-0
Oracle.pm
Bugzilla/DB/Schema/Oracle.pm
+1
-0
Pg.pm
Bugzilla/DB/Schema/Pg.pm
+1
-0
Sqlite.pm
Bugzilla/DB/Schema/Sqlite.pm
+1
-0
Sqlite.pm
Bugzilla/DB/Sqlite.pm
+1
-0
Error.pm
Bugzilla/Error.pm
+1
-0
Extension.pm
Bugzilla/Extension.pm
+1
-0
Field.pm
Bugzilla/Field.pm
+1
-0
Choice.pm
Bugzilla/Field/Choice.pm
+1
-0
ChoiceInterface.pm
Bugzilla/Field/ChoiceInterface.pm
+1
-0
Flag.pm
Bugzilla/Flag.pm
+1
-0
FlagType.pm
Bugzilla/FlagType.pm
+1
-0
Group.pm
Bugzilla/Group.pm
+1
-0
Hook.pm
Bugzilla/Hook.pm
+1
-0
Install.pm
Bugzilla/Install.pm
+1
-0
CPAN.pm
Bugzilla/Install/CPAN.pm
+1
-0
DB.pm
Bugzilla/Install/DB.pm
+1
-0
Filesystem.pm
Bugzilla/Install/Filesystem.pm
+1
-0
Localconfig.pm
Bugzilla/Install/Localconfig.pm
+1
-0
Requirements.pm
Bugzilla/Install/Requirements.pm
+1
-0
Util.pm
Bugzilla/Install/Util.pm
+1
-0
BugMail.pm
Bugzilla/Job/BugMail.pm
+1
-0
Mailer.pm
Bugzilla/Job/Mailer.pm
+1
-0
JobQueue.pm
Bugzilla/JobQueue.pm
+1
-0
Runner.pm
Bugzilla/JobQueue/Runner.pm
+1
-0
Keyword.pm
Bugzilla/Keyword.pm
+1
-0
Mailer.pm
Bugzilla/Mailer.pm
+1
-0
Migrate.pm
Bugzilla/Migrate.pm
+1
-0
Gnats.pm
Bugzilla/Migrate/Gnats.pm
+1
-0
Milestone.pm
Bugzilla/Milestone.pm
+1
-0
Object.pm
Bugzilla/Object.pm
+1
-0
Product.pm
Bugzilla/Product.pm
+1
-0
RNG.pm
Bugzilla/RNG.pm
+1
-0
Report.pm
Bugzilla/Report.pm
+1
-0
Search.pm
Bugzilla/Search.pm
+1
-0
Clause.pm
Bugzilla/Search/Clause.pm
+1
-0
ClauseGroup.pm
Bugzilla/Search/ClauseGroup.pm
+1
-0
Condition.pm
Bugzilla/Search/Condition.pm
+1
-0
Quicksearch.pm
Bugzilla/Search/Quicksearch.pm
+1
-0
Recent.pm
Bugzilla/Search/Recent.pm
+1
-0
Saved.pm
Bugzilla/Search/Saved.pm
+1
-0
Sendmail.pm
Bugzilla/Send/Sendmail.pm
+1
-0
Series.pm
Bugzilla/Series.pm
+1
-0
Status.pm
Bugzilla/Status.pm
+1
-0
Template.pm
Bugzilla/Template.pm
+1
-0
Context.pm
Bugzilla/Template/Context.pm
+1
-0
Bugzilla.pm
Bugzilla/Template/Plugin/Bugzilla.pm
+1
-0
Hook.pm
Bugzilla/Template/Plugin/Hook.pm
+1
-0
Token.pm
Bugzilla/Token.pm
+1
-0
Update.pm
Bugzilla/Update.pm
+1
-0
User.pm
Bugzilla/User.pm
+1
-0
APIKey.pm
Bugzilla/User/APIKey.pm
+1
-0
Setting.pm
Bugzilla/User/Setting.pm
+1
-0
Lang.pm
Bugzilla/User/Setting/Lang.pm
+1
-0
Skin.pm
Bugzilla/User/Setting/Skin.pm
+1
-0
Timezone.pm
Bugzilla/User/Setting/Timezone.pm
+1
-0
UserAgent.pm
Bugzilla/UserAgent.pm
+1
-0
Util.pm
Bugzilla/Util.pm
+1
-0
Version.pm
Bugzilla/Version.pm
+1
-0
WebService.pm
Bugzilla/WebService.pm
+1
-0
Bug.pm
Bugzilla/WebService/Bug.pm
+1
-0
BugUserLastVisit.pm
Bugzilla/WebService/BugUserLastVisit.pm
+1
-0
Bugzilla.pm
Bugzilla/WebService/Bugzilla.pm
+1
-0
Classification.pm
Bugzilla/WebService/Classification.pm
+1
-0
Component.pm
Bugzilla/WebService/Component.pm
+2
-1
Constants.pm
Bugzilla/WebService/Constants.pm
+1
-0
FlagType.pm
Bugzilla/WebService/FlagType.pm
+1
-0
Group.pm
Bugzilla/WebService/Group.pm
+1
-0
Product.pm
Bugzilla/WebService/Product.pm
+1
-0
Server.pm
Bugzilla/WebService/Server.pm
+1
-0
JSONRPC.pm
Bugzilla/WebService/Server/JSONRPC.pm
+1
-0
REST.pm
Bugzilla/WebService/Server/REST.pm
+1
-0
Bug.pm
Bugzilla/WebService/Server/REST/Resources/Bug.pm
+1
-0
Bugzilla.pm
Bugzilla/WebService/Server/REST/Resources/Bugzilla.pm
+1
-0
Classification.pm
Bugzilla/WebService/Server/REST/Resources/Classification.pm
+1
-0
Component.pm
Bugzilla/WebService/Server/REST/Resources/Component.pm
+1
-0
FlagType.pm
Bugzilla/WebService/Server/REST/Resources/FlagType.pm
+1
-0
Group.pm
Bugzilla/WebService/Server/REST/Resources/Group.pm
+1
-0
Product.pm
Bugzilla/WebService/Server/REST/Resources/Product.pm
+1
-0
User.pm
Bugzilla/WebService/Server/REST/Resources/User.pm
+1
-0
XMLRPC.pm
Bugzilla/WebService/Server/XMLRPC.pm
+4
-0
User.pm
Bugzilla/WebService/User.pm
+1
-0
Util.pm
Bugzilla/WebService/Util.pm
+1
-0
Whine.pm
Bugzilla/Whine.pm
+1
-0
Query.pm
Bugzilla/Whine/Query.pm
+1
-0
Schedule.pm
Bugzilla/Whine/Schedule.pm
+1
-0
admin.cgi
admin.cgi
+3
-1
attachment.cgi
attachment.cgi
+3
-1
buglist.cgi
buglist.cgi
+3
-1
chart.cgi
chart.cgi
+3
-1
checksetup.pl
checksetup.pl
+4
-2
clean-bug-user-last-visit.pl
clean-bug-user-last-visit.pl
+1
-1
colchange.cgi
colchange.cgi
+3
-1
collectstats.pl
collectstats.pl
+3
-1
config.cgi
config.cgi
+3
-1
Bugzilla.pm
contrib/Bugzilla.pm
+1
-0
bz_webservice_demo.pl
contrib/bz_webservice_demo.pl
+4
-1
bzdbcopy.pl
contrib/bzdbcopy.pl
+4
-1
console.pl
contrib/console.pl
+4
-2
convert-workflow.pl
contrib/convert-workflow.pl
+4
-1
extension-convert.pl
contrib/extension-convert.pl
+7
-1
fixperms.pl
contrib/fixperms.pl
+3
-1
merge-users.pl
contrib/merge-users.pl
+3
-1
mysqld-watcher.pl
contrib/mysqld-watcher.pl
+3
-1
recode.pl
contrib/recode.pl
+4
-1
sendbugmail.pl
contrib/sendbugmail.pl
+3
-1
sendunsentbugmail.pl
contrib/sendunsentbugmail.pl
+3
-1
syncLDAP.pl
contrib/syncLDAP.pl
+3
-1
createaccount.cgi
createaccount.cgi
+3
-1
describecomponents.cgi
describecomponents.cgi
+3
-1
describekeywords.cgi
describekeywords.cgi
+3
-1
duplicates.cgi
duplicates.cgi
+3
-1
editclassifications.cgi
editclassifications.cgi
+3
-1
editcomponents.cgi
editcomponents.cgi
+3
-1
editfields.cgi
editfields.cgi
+3
-1
editflagtypes.cgi
editflagtypes.cgi
+3
-1
editgroups.cgi
editgroups.cgi
+3
-1
editkeywords.cgi
editkeywords.cgi
+3
-1
editmilestones.cgi
editmilestones.cgi
+3
-1
editparams.cgi
editparams.cgi
+3
-1
editproducts.cgi
editproducts.cgi
+3
-1
editsettings.cgi
editsettings.cgi
+3
-1
editusers.cgi
editusers.cgi
+3
-1
editvalues.cgi
editvalues.cgi
+3
-5
editversions.cgi
editversions.cgi
+3
-1
editwhines.cgi
editwhines.cgi
+3
-1
editworkflow.cgi
editworkflow.cgi
+3
-1
email_in.pl
email_in.pl
+1
-1
enter_bug.cgi
enter_bug.cgi
+3
-1
Config.pm
extensions/BmpConvert/Config.pm
+2
-0
Extension.pm
extensions/BmpConvert/Extension.pm
+2
-0
Config.pm
extensions/Example/Config.pm
+2
-0
Extension.pm
extensions/Example/Extension.pm
+2
-0
Login.pm
extensions/Example/lib/Auth/Login.pm
+2
-0
Verify.pm
extensions/Example/lib/Auth/Verify.pm
+2
-0
Config.pm
extensions/MoreBugUrl/Config.pm
+1
-0
Extension.pm
extensions/MoreBugUrl/Extension.pm
+2
-0
BitBucket.pm
extensions/MoreBugUrl/lib/BitBucket.pm
+2
-0
GetSatisfaction.pm
extensions/MoreBugUrl/lib/GetSatisfaction.pm
+2
-0
PHP.pm
extensions/MoreBugUrl/lib/PHP.pm
+2
-0
RT.pm
extensions/MoreBugUrl/lib/RT.pm
+2
-0
Redmine.pm
extensions/MoreBugUrl/lib/Redmine.pm
+2
-0
ReviewBoard.pm
extensions/MoreBugUrl/lib/ReviewBoard.pm
+2
-0
Rietveld.pm
extensions/MoreBugUrl/lib/Rietveld.pm
+2
-0
Savane.pm
extensions/MoreBugUrl/lib/Savane.pm
+2
-0
Config.pm
extensions/OldBugMove/Config.pm
+2
-0
Extension.pm
extensions/OldBugMove/Extension.pm
+2
-0
Params.pm
extensions/OldBugMove/lib/Params.pm
+1
-0
Config.pm
extensions/Voting/Config.pm
+1
-0
Extension.pm
extensions/Voting/Extension.pm
+2
-0
create.pl
extensions/create.pl
+3
-1
importxml.pl
importxml.pl
+2
-1
index.cgi
index.cgi
+3
-1
install-module.pl
install-module.pl
+1
-1
jobqueue.pl
jobqueue.pl
+2
-1
jsonrpc.cgi
jsonrpc.cgi
+3
-1
migrate.pl
migrate.pl
+3
-1
mod_perl.pl
mod_perl.pl
+3
-1
page.cgi
page.cgi
+3
-1
post_bug.cgi
post_bug.cgi
+3
-1
process_bug.cgi
process_bug.cgi
+3
-13
query.cgi
query.cgi
+3
-1
quips.cgi
quips.cgi
+3
-1
relogin.cgi
relogin.cgi
+3
-1
report.cgi
report.cgi
+3
-1
reports.cgi
reports.cgi
+3
-1
request.cgi
request.cgi
+3
-1
rest.cgi
rest.cgi
+3
-1
runtests.pl
runtests.pl
+3
-1
sanitycheck.cgi
sanitycheck.cgi
+3
-1
sanitycheck.pl
sanitycheck.pl
+3
-1
search_plugin.cgi
search_plugin.cgi
+3
-1
show_activity.cgi
show_activity.cgi
+3
-1
show_bug.cgi
show_bug.cgi
+3
-1
showdependencygraph.cgi
showdependencygraph.cgi
+3
-1
showdependencytree.cgi
showdependencytree.cgi
+3
-1
summarize_time.cgi
summarize_time.cgi
+3
-1
001compile.t
t/001compile.t
+4
-2
002goodperl.t
t/002goodperl.t
+39
-32
003safesys.t
t/003safesys.t
+3
-1
004template.t
t/004template.t
+3
-1
005whitespace.t
t/005whitespace.t
+2
-0
006spellcheck.t
t/006spellcheck.t
+23
-22
007util.t
t/007util.t
+6
-2
008filter.t
t/008filter.t
+4
-2
009bugwords.t
t/009bugwords.t
+2
-0
010dependencies.t
t/010dependencies.t
+3
-0
011pod.t
t/011pod.t
+3
-1
012throwables.t
t/012throwables.t
+3
-0
013dbschema.t
t/013dbschema.t
+3
-0
Files.pm
t/Support/Files.pm
+12
-6
Systemexec.pm
t/Support/Systemexec.pm
+5
-0
Templates.pm
t/Support/Templates.pm
+11
-20
config.pm.tmpl
template/en/default/extensions/config.pm.tmpl
+1
-0
extension.pm.tmpl
template/en/default/extensions/extension.pm.tmpl
+2
-0
util.pm.tmpl
template/en/default/extensions/util.pm.tmpl
+2
-0
testagent.cgi
testagent.cgi
+2
-1
testserver.pl
testserver.pl
+3
-1
token.cgi
token.cgi
+3
-1
userprefs.cgi
userprefs.cgi
+3
-1
votes.cgi
votes.cgi
+3
-1
whine.pl
whine.pl
+3
-1
whineatnews.pl
whineatnews.pl
+3
-1
xmlrpc.cgi
xmlrpc.cgi
+3
-1
No files found.
Bugzilla.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla;
...
@@ -9,6 +9,7 @@ package Bugzilla;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
# We want any compile errors to get to the browser, if possible.
# We want any compile errors to get to the browser, if possible.
BEGIN
{
BEGIN
{
...
...
Bugzilla/Attachment.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Attachment;
...
@@ -9,6 +9,7 @@ package Bugzilla::Attachment;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
=head1 NAME
=head1 NAME
...
...
Bugzilla/Attachment/PatchReader.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Attachment::PatchReader;
...
@@ -9,6 +9,7 @@ package Bugzilla::Attachment::PatchReader;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Config
;
use
Config
;
use
IO::
Select
;
use
IO::
Select
;
...
...
Bugzilla/Auth.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Auth;
...
@@ -9,6 +9,8 @@ package Bugzilla::Auth;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
fields
qw(
use
fields
qw(
_info_getter
_info_getter
_verifier
_verifier
...
...
Bugzilla/Auth/Login.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Auth::Login;
...
@@ -9,6 +9,8 @@ package Bugzilla::Auth::Login;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
fields
qw()
;
use
fields
qw()
;
# Determines whether or not a user can logout. It's really a subroutine,
# Determines whether or not a user can logout. It's really a subroutine,
...
...
Bugzilla/Auth/Login/APIKey.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Auth::Login::APIKey;
...
@@ -9,6 +9,7 @@ package Bugzilla::Auth::Login::APIKey;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
base
qw(Bugzilla::Auth::Login)
;
use
base
qw(Bugzilla::Auth::Login)
;
...
...
Bugzilla/Auth/Login/CGI.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Auth::Login::CGI;
...
@@ -9,6 +9,7 @@ package Bugzilla::Auth::Login::CGI;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Auth::Login)
;
use
parent
qw(Bugzilla::Auth::Login)
;
use
constant
user_can_create_account
=>
1
;
use
constant
user_can_create_account
=>
1
;
...
...
Bugzilla/Auth/Login/Cookie.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Auth::Login::Cookie;
...
@@ -9,6 +9,7 @@ package Bugzilla::Auth::Login::Cookie;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
base
qw(Bugzilla::Auth::Login)
;
use
base
qw(Bugzilla::Auth::Login)
;
use
fields
qw(_login_token)
;
use
fields
qw(_login_token)
;
...
...
Bugzilla/Auth/Login/Env.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Auth::Login::Env;
...
@@ -9,6 +9,7 @@ package Bugzilla::Auth::Login::Env;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Auth::Login)
;
use
parent
qw(Bugzilla::Auth::Login)
;
...
...
Bugzilla/Auth/Login/Stack.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Auth::Login::Stack;
...
@@ -9,6 +9,7 @@ package Bugzilla::Auth::Login::Stack;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
base
qw(Bugzilla::Auth::Login)
;
use
base
qw(Bugzilla::Auth::Login)
;
use
fields
qw(
use
fields
qw(
...
...
Bugzilla/Auth/Persist/Cookie.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Auth::Persist::Cookie;
...
@@ -9,6 +9,8 @@ package Bugzilla::Auth::Persist::Cookie;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
fields
qw()
;
use
fields
qw()
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Auth/Verify.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Auth::Verify;
...
@@ -9,6 +9,8 @@ package Bugzilla::Auth::Verify;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
fields
qw()
;
use
fields
qw()
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Auth/Verify/DB.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Auth::Verify::DB;
...
@@ -9,6 +9,7 @@ package Bugzilla::Auth::Verify::DB;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Auth::Verify)
;
use
parent
qw(Bugzilla::Auth::Verify)
;
...
...
Bugzilla/Auth/Verify/LDAP.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Auth::Verify::LDAP;
...
@@ -9,6 +9,7 @@ package Bugzilla::Auth::Verify::LDAP;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
base
qw(Bugzilla::Auth::Verify)
;
use
base
qw(Bugzilla::Auth::Verify)
;
use
fields
qw(
use
fields
qw(
...
...
Bugzilla/Auth/Verify/RADIUS.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Auth::Verify::RADIUS;
...
@@ -9,6 +9,7 @@ package Bugzilla::Auth::Verify::RADIUS;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Auth::Verify)
;
use
parent
qw(Bugzilla::Auth::Verify)
;
...
...
Bugzilla/Auth/Verify/Stack.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Auth::Verify::Stack;
...
@@ -9,6 +9,7 @@ package Bugzilla::Auth::Verify::Stack;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
base
qw(Bugzilla::Auth::Verify)
;
use
base
qw(Bugzilla::Auth::Verify)
;
use
fields
qw(
use
fields
qw(
...
...
Bugzilla/Bug.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Bug;
...
@@ -9,6 +9,7 @@ package Bugzilla::Bug;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Attachment
;
use
Bugzilla::
Attachment
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/BugMail.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::BugMail;
...
@@ -9,6 +9,7 @@ package Bugzilla::BugMail;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
User
;
use
Bugzilla::
User
;
...
...
Bugzilla/BugUrl.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl;
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
...
...
Bugzilla/BugUrl/Bugzilla.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::Bugzilla;
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::Bugzilla;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
...
...
Bugzilla/BugUrl/Bugzilla/Local.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::Bugzilla::Local;
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::Bugzilla::Local;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::BugUrl::Bugzilla)
;
use
parent
qw(Bugzilla::BugUrl::Bugzilla)
;
...
...
Bugzilla/BugUrl/Debian.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::Debian;
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::Debian;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
...
...
Bugzilla/BugUrl/GitHub.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::GitHub;
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::GitHub;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
...
...
Bugzilla/BugUrl/Google.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::Google;
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::Google;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
...
...
Bugzilla/BugUrl/JIRA.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::JIRA;
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::JIRA;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
...
...
Bugzilla/BugUrl/Launchpad.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::Launchpad;
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::Launchpad;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
...
...
Bugzilla/BugUrl/MantisBT.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::MantisBT;
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::MantisBT;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
...
...
Bugzilla/BugUrl/SourceForge.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::SourceForge;
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::SourceForge;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
...
...
Bugzilla/BugUrl/Trac.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::Trac;
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUrl::Trac;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
...
...
Bugzilla/BugUserLastVisit.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUserLastVisit;
...
@@ -9,6 +9,7 @@ package Bugzilla::BugUserLastVisit;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
...
...
Bugzilla/CGI.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::CGI;
...
@@ -9,6 +9,7 @@ package Bugzilla::CGI;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(CGI)
;
use
parent
qw(CGI)
;
...
...
Bugzilla/Chart.pm
View file @
9f3d18d4
...
@@ -15,6 +15,7 @@ package Bugzilla::Chart;
...
@@ -15,6 +15,7 @@ package Bugzilla::Chart;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
Util
;
use
Bugzilla::
Util
;
...
...
Bugzilla/Classification.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Classification;
...
@@ -9,6 +9,7 @@ package Bugzilla::Classification;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Field
;
use
Bugzilla::
Field
;
...
...
Bugzilla/Comment.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Comment;
...
@@ -9,6 +9,7 @@ package Bugzilla::Comment;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
...
...
Bugzilla/Comment/TagWeights.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Comment::TagWeights;
...
@@ -9,6 +9,7 @@ package Bugzilla::Comment::TagWeights;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
...
...
Bugzilla/Component.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Component;
...
@@ -9,6 +9,7 @@ package Bugzilla::Component;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object)
;
use
parent
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object)
;
...
...
Bugzilla/Config.pm
View file @
9f3d18d4
...
@@ -9,8 +9,10 @@ package Bugzilla::Config;
...
@@ -9,8 +9,10 @@ package Bugzilla::Config;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Exporter)
;
use
parent
qw(Exporter)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Hook
;
use
Bugzilla::
Hook
;
use
Data::
Dumper
;
use
Data::
Dumper
;
...
...
Bugzilla/Config/Admin.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::Admin;
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::Admin;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/Advanced.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::Advanced;
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::Advanced;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/Attachment.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::Attachment;
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::Attachment;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/Auth.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::Auth;
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::Auth;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/BugChange.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::BugChange;
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::BugChange;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::
Status
;
use
Bugzilla::
Status
;
...
...
Bugzilla/Config/BugFields.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::BugFields;
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::BugFields;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::
Field
;
use
Bugzilla::
Field
;
...
...
Bugzilla/Config/Common.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::Common;
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::Common;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Email::
Address
;
use
Email::
Address
;
use
Socket
;
use
Socket
;
...
...
Bugzilla/Config/Core.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::Core;
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::Core;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/DependencyGraph.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::DependencyGraph;
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::DependencyGraph;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/General.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::General;
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::General;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/GroupSecurity.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::GroupSecurity;
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::GroupSecurity;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::
Group
;
use
Bugzilla::
Group
;
...
...
Bugzilla/Config/LDAP.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::LDAP;
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::LDAP;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/MTA.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::MTA;
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::MTA;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
# Return::Value 1.666002 pollutes the error log with warnings about this
# Return::Value 1.666002 pollutes the error log with warnings about this
...
...
Bugzilla/Config/Memcached.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::Memcached;
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::Memcached;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/PatchViewer.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::PatchViewer;
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::PatchViewer;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/Query.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::Query;
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::Query;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/RADIUS.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::RADIUS;
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::RADIUS;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/ShadowDB.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::ShadowDB;
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::ShadowDB;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/UserMatch.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::UserMatch;
...
@@ -9,6 +9,7 @@ package Bugzilla::Config::UserMatch;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Constants.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Constants;
...
@@ -9,6 +9,7 @@ package Bugzilla::Constants;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Exporter)
;
use
parent
qw(Exporter)
;
...
...
Bugzilla/DB.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::DB;
...
@@ -9,6 +9,7 @@ package Bugzilla::DB;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
DBI
;
use
DBI
;
...
...
Bugzilla/DB/Mysql.pm
View file @
9f3d18d4
...
@@ -23,6 +23,7 @@ package Bugzilla::DB::Mysql;
...
@@ -23,6 +23,7 @@ package Bugzilla::DB::Mysql;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::DB)
;
use
parent
qw(Bugzilla::DB)
;
...
...
Bugzilla/DB/Oracle.pm
View file @
9f3d18d4
...
@@ -23,6 +23,7 @@ package Bugzilla::DB::Oracle;
...
@@ -23,6 +23,7 @@ package Bugzilla::DB::Oracle;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::DB)
;
use
parent
qw(Bugzilla::DB)
;
...
@@ -721,6 +722,7 @@ package Bugzilla::DB::Oracle::st;
...
@@ -721,6 +722,7 @@ package Bugzilla::DB::Oracle::st;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
-
norequire
,
qw(DBI::st)
;
use
parent
-
norequire
,
qw(DBI::st)
;
...
...
Bugzilla/DB/Pg.pm
View file @
9f3d18d4
...
@@ -23,6 +23,7 @@ package Bugzilla::DB::Pg;
...
@@ -23,6 +23,7 @@ package Bugzilla::DB::Pg;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
Version
;
use
Bugzilla::
Version
;
...
...
Bugzilla/DB/Schema.pm
View file @
9f3d18d4
...
@@ -17,6 +17,7 @@ package Bugzilla::DB::Schema;
...
@@ -17,6 +17,7 @@ package Bugzilla::DB::Schema;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
Hook
;
use
Bugzilla::
Hook
;
...
...
Bugzilla/DB/Schema/Mysql.pm
View file @
9f3d18d4
...
@@ -15,6 +15,7 @@ package Bugzilla::DB::Schema::Mysql;
...
@@ -15,6 +15,7 @@ package Bugzilla::DB::Schema::Mysql;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
...
...
Bugzilla/DB/Schema/Oracle.pm
View file @
9f3d18d4
...
@@ -15,6 +15,7 @@ package Bugzilla::DB::Schema::Oracle;
...
@@ -15,6 +15,7 @@ package Bugzilla::DB::Schema::Oracle;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::DB::Schema)
;
use
parent
qw(Bugzilla::DB::Schema)
;
use
Carp
qw(confess)
;
use
Carp
qw(confess)
;
...
...
Bugzilla/DB/Schema/Pg.pm
View file @
9f3d18d4
...
@@ -15,6 +15,7 @@ package Bugzilla::DB::Schema::Pg;
...
@@ -15,6 +15,7 @@ package Bugzilla::DB::Schema::Pg;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::DB::Schema)
;
use
parent
qw(Bugzilla::DB::Schema)
;
use
Storable
qw(dclone)
;
use
Storable
qw(dclone)
;
...
...
Bugzilla/DB/Schema/Sqlite.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::DB::Schema::Sqlite;
...
@@ -9,6 +9,7 @@ package Bugzilla::DB::Schema::Sqlite;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::DB::Schema)
;
use
parent
qw(Bugzilla::DB::Schema)
;
...
...
Bugzilla/DB/Sqlite.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::DB::Sqlite;
...
@@ -9,6 +9,7 @@ package Bugzilla::DB::Sqlite;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::DB)
;
use
parent
qw(Bugzilla::DB)
;
...
...
Bugzilla/Error.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Error;
...
@@ -9,6 +9,7 @@ package Bugzilla::Error;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Exporter)
;
use
parent
qw(Exporter)
;
...
...
Bugzilla/Extension.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Extension;
...
@@ -9,6 +9,7 @@ package Bugzilla::Extension;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
...
...
Bugzilla/Field.pm
View file @
9f3d18d4
...
@@ -59,6 +59,7 @@ package Bugzilla::Field;
...
@@ -59,6 +59,7 @@ package Bugzilla::Field;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Exporter Bugzilla::Object)
;
use
parent
qw(Exporter Bugzilla::Object)
;
@
Bugzilla::Field::
EXPORT
=
qw(check_field get_field_id get_legal_field_values)
;
@
Bugzilla::Field::
EXPORT
=
qw(check_field get_field_id get_legal_field_values)
;
...
...
Bugzilla/Field/Choice.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Field::Choice;
...
@@ -9,6 +9,7 @@ package Bugzilla::Field::Choice;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object)
;
use
parent
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object)
;
...
...
Bugzilla/Field/ChoiceInterface.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Field::ChoiceInterface;
...
@@ -9,6 +9,7 @@ package Bugzilla::Field::ChoiceInterface;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
...
...
Bugzilla/Flag.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Flag;
...
@@ -9,6 +9,7 @@ package Bugzilla::Flag;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
=head1 NAME
=head1 NAME
...
...
Bugzilla/FlagType.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::FlagType;
...
@@ -9,6 +9,7 @@ package Bugzilla::FlagType;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
=head1 NAME
=head1 NAME
...
...
Bugzilla/Group.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Group;
...
@@ -9,6 +9,7 @@ package Bugzilla::Group;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
...
...
Bugzilla/Hook.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Hook;
...
@@ -9,6 +9,7 @@ package Bugzilla::Hook;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
sub
process
{
sub
process
{
my
(
$name
,
$args
)
=
@_
;
my
(
$name
,
$args
)
=
@_
;
...
...
Bugzilla/Install.pm
View file @
9f3d18d4
...
@@ -17,6 +17,7 @@ package Bugzilla::Install;
...
@@ -17,6 +17,7 @@ package Bugzilla::Install;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Component
;
use
Bugzilla::
Component
;
use
Bugzilla::
Config
qw(:admin)
;
use
Bugzilla::
Config
qw(:admin)
;
...
...
Bugzilla/Install/CPAN.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Install::CPAN;
...
@@ -9,6 +9,7 @@ package Bugzilla::Install::CPAN;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Exporter)
;
use
parent
qw(Exporter)
;
our
@EXPORT
=
qw(
our
@EXPORT
=
qw(
...
...
Bugzilla/Install/DB.pm
View file @
9f3d18d4
...
@@ -12,6 +12,7 @@ package Bugzilla::Install::DB;
...
@@ -12,6 +12,7 @@ package Bugzilla::Install::DB;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Hook
;
use
Bugzilla::
Hook
;
...
...
Bugzilla/Install/Filesystem.pm
View file @
9f3d18d4
...
@@ -17,6 +17,7 @@ package Bugzilla::Install::Filesystem;
...
@@ -17,6 +17,7 @@ package Bugzilla::Install::Filesystem;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
...
...
Bugzilla/Install/Localconfig.pm
View file @
9f3d18d4
...
@@ -17,6 +17,7 @@ package Bugzilla::Install::Localconfig;
...
@@ -17,6 +17,7 @@ package Bugzilla::Install::Localconfig;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::Install::
Util
qw(bin_loc install_string)
;
use
Bugzilla::Install::
Util
qw(bin_loc install_string)
;
...
...
Bugzilla/Install/Requirements.pm
View file @
9f3d18d4
...
@@ -15,6 +15,7 @@ package Bugzilla::Install::Requirements;
...
@@ -15,6 +15,7 @@ package Bugzilla::Install::Requirements;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::Install::
Util
qw(install_string bin_loc
use
Bugzilla::Install::
Util
qw(install_string bin_loc
...
...
Bugzilla/Install/Util.pm
View file @
9f3d18d4
...
@@ -13,6 +13,7 @@ package Bugzilla::Install::Util;
...
@@ -13,6 +13,7 @@ package Bugzilla::Install::Util;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Job/BugMail.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Job::BugMail;
...
@@ -9,6 +9,7 @@ package Bugzilla::Job::BugMail;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
BugMail
;
use
Bugzilla::
BugMail
;
BEGIN
{
eval
"use parent qw(Bugzilla::Job::Mailer)"
;
}
BEGIN
{
eval
"use parent qw(Bugzilla::Job::Mailer)"
;
}
...
...
Bugzilla/Job/Mailer.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Job::Mailer;
...
@@ -9,6 +9,7 @@ package Bugzilla::Job::Mailer;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Mailer
;
use
Bugzilla::
Mailer
;
BEGIN
{
eval
"use parent qw(TheSchwartz::Worker)"
;
}
BEGIN
{
eval
"use parent qw(TheSchwartz::Worker)"
;
}
...
...
Bugzilla/JobQueue.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::JobQueue;
...
@@ -9,6 +9,7 @@ package Bugzilla::JobQueue;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
...
...
Bugzilla/JobQueue/Runner.pm
View file @
9f3d18d4
...
@@ -13,6 +13,7 @@ package Bugzilla::JobQueue::Runner;
...
@@ -13,6 +13,7 @@ package Bugzilla::JobQueue::Runner;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Cwd
qw(abs_path)
;
use
Cwd
qw(abs_path)
;
use
File::
Basename
;
use
File::
Basename
;
...
...
Bugzilla/Keyword.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Keyword;
...
@@ -9,6 +9,7 @@ package Bugzilla::Keyword;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
...
...
Bugzilla/Mailer.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Mailer;
...
@@ -9,6 +9,7 @@ package Bugzilla::Mailer;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Exporter)
;
use
parent
qw(Exporter)
;
@
Bugzilla::Mailer::
EXPORT
=
qw(MessageToMTA build_thread_marker)
;
@
Bugzilla::Mailer::
EXPORT
=
qw(MessageToMTA build_thread_marker)
;
...
...
Bugzilla/Migrate.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Migrate;
...
@@ -9,6 +9,7 @@ package Bugzilla::Migrate;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Attachment
;
use
Bugzilla::
Attachment
;
use
Bugzilla::
Bug
qw(LogActivityEntry)
;
use
Bugzilla::
Bug
qw(LogActivityEntry)
;
...
...
Bugzilla/Migrate/Gnats.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Migrate::Gnats;
...
@@ -9,6 +9,7 @@ package Bugzilla::Migrate::Gnats;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Migrate)
;
use
parent
qw(Bugzilla::Migrate)
;
...
...
Bugzilla/Milestone.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Milestone;
...
@@ -9,6 +9,7 @@ package Bugzilla::Milestone;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
...
...
Bugzilla/Object.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Object;
...
@@ -9,6 +9,7 @@ package Bugzilla::Object;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Hook
;
use
Bugzilla::
Hook
;
...
...
Bugzilla/Product.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Product;
...
@@ -9,6 +9,7 @@ package Bugzilla::Product;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object)
;
use
parent
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object)
;
...
...
Bugzilla/RNG.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::RNG;
...
@@ -9,6 +9,7 @@ package Bugzilla::RNG;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Exporter)
;
use
parent
qw(Exporter)
;
use
Bugzilla::
Constants
qw(ON_WINDOWS)
;
use
Bugzilla::
Constants
qw(ON_WINDOWS)
;
...
...
Bugzilla/Report.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Report;
...
@@ -9,6 +9,7 @@ package Bugzilla::Report;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
...
...
Bugzilla/Search.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Search;
...
@@ -9,6 +9,7 @@ package Bugzilla::Search;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Exporter)
;
use
parent
qw(Exporter)
;
@
Bugzilla::Search::
EXPORT
=
qw(
@
Bugzilla::Search::
EXPORT
=
qw(
...
...
Bugzilla/Search/Clause.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Search::Clause;
...
@@ -9,6 +9,7 @@ package Bugzilla::Search::Clause;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::Search::
Condition
qw(condition)
;
use
Bugzilla::Search::
Condition
qw(condition)
;
...
...
Bugzilla/Search/ClauseGroup.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Search::ClauseGroup;
...
@@ -9,6 +9,7 @@ package Bugzilla::Search::ClauseGroup;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Search::Clause)
;
use
parent
qw(Bugzilla::Search::Clause)
;
...
...
Bugzilla/Search/Condition.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Search::Condition;
...
@@ -9,6 +9,7 @@ package Bugzilla::Search::Condition;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Exporter)
;
use
parent
qw(Exporter)
;
our
@EXPORT_OK
=
qw(condition)
;
our
@EXPORT_OK
=
qw(condition)
;
...
...
Bugzilla/Search/Quicksearch.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Search::Quicksearch;
...
@@ -9,6 +9,7 @@ package Bugzilla::Search::Quicksearch;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Search/Recent.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Search::Recent;
...
@@ -9,6 +9,7 @@ package Bugzilla::Search::Recent;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
...
...
Bugzilla/Search/Saved.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Search::Saved;
...
@@ -9,6 +9,7 @@ package Bugzilla::Search::Saved;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
...
...
Bugzilla/Send/Sendmail.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Send::Sendmail;
...
@@ -9,6 +9,7 @@ package Bugzilla::Send::Sendmail;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Email::Send::Sendmail)
;
use
parent
qw(Email::Send::Sendmail)
;
...
...
Bugzilla/Series.pm
View file @
9f3d18d4
...
@@ -16,6 +16,7 @@ package Bugzilla::Series;
...
@@ -16,6 +16,7 @@ package Bugzilla::Series;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
Util
;
use
Bugzilla::
Util
;
...
...
Bugzilla/Status.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Status;
...
@@ -9,6 +9,7 @@ package Bugzilla::Status;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
# This subclasses Bugzilla::Field::Choice instead of implementing
# This subclasses Bugzilla::Field::Choice instead of implementing
# ChoiceInterface, because a bug status literally is a special type
# ChoiceInterface, because a bug status literally is a special type
...
...
Bugzilla/Template.pm
View file @
9f3d18d4
...
@@ -10,6 +10,7 @@ package Bugzilla::Template;
...
@@ -10,6 +10,7 @@ package Bugzilla::Template;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::WebService::
Constants
;
use
Bugzilla::WebService::
Constants
;
...
...
Bugzilla/Template/Context.pm
View file @
9f3d18d4
...
@@ -10,6 +10,7 @@ package Bugzilla::Template::Context;
...
@@ -10,6 +10,7 @@ package Bugzilla::Template::Context;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Template::Context)
;
use
parent
qw(Template::Context)
;
...
...
Bugzilla/Template/Plugin/Bugzilla.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Template::Plugin::Bugzilla;
...
@@ -9,6 +9,7 @@ package Bugzilla::Template::Plugin::Bugzilla;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Template::Plugin)
;
use
parent
qw(Template::Plugin)
;
...
...
Bugzilla/Template/Plugin/Hook.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Template::Plugin::Hook;
...
@@ -9,6 +9,7 @@ package Bugzilla::Template::Plugin::Hook;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Template::Plugin)
;
use
parent
qw(Template::Plugin)
;
...
...
Bugzilla/Token.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Token;
...
@@ -9,6 +9,7 @@ package Bugzilla::Token;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
...
...
Bugzilla/Update.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Update;
...
@@ -9,6 +9,7 @@ package Bugzilla::Update;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/User.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::User;
...
@@ -9,6 +9,7 @@ package Bugzilla::User;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
Util
;
use
Bugzilla::
Util
;
...
...
Bugzilla/User/APIKey.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::User::APIKey;
...
@@ -9,6 +9,7 @@ package Bugzilla::User::APIKey;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
...
...
Bugzilla/User/Setting.pm
View file @
9f3d18d4
...
@@ -10,6 +10,7 @@ package Bugzilla::User::Setting;
...
@@ -10,6 +10,7 @@ package Bugzilla::User::Setting;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Exporter)
;
use
parent
qw(Exporter)
;
...
...
Bugzilla/User/Setting/Lang.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::User::Setting::Lang;
...
@@ -9,6 +9,7 @@ package Bugzilla::User::Setting::Lang;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::User::Setting)
;
use
parent
qw(Bugzilla::User::Setting)
;
...
...
Bugzilla/User/Setting/Skin.pm
View file @
9f3d18d4
...
@@ -10,6 +10,7 @@ package Bugzilla::User::Setting::Skin;
...
@@ -10,6 +10,7 @@ package Bugzilla::User::Setting::Skin;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::User::Setting)
;
use
parent
qw(Bugzilla::User::Setting)
;
...
...
Bugzilla/User/Setting/Timezone.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::User::Setting::Timezone;
...
@@ -9,6 +9,7 @@ package Bugzilla::User::Setting::Timezone;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
DateTime::
TimeZone
;
use
DateTime::
TimeZone
;
...
...
Bugzilla/UserAgent.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::UserAgent;
...
@@ -9,6 +9,7 @@ package Bugzilla::UserAgent;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Exporter)
;
use
parent
qw(Exporter)
;
our
@EXPORT
=
qw(detect_platform detect_op_sys)
;
our
@EXPORT
=
qw(detect_platform detect_op_sys)
;
...
...
Bugzilla/Util.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Util;
...
@@ -9,6 +9,7 @@ package Bugzilla::Util;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Exporter)
;
use
parent
qw(Exporter)
;
@
Bugzilla::Util::
EXPORT
=
qw(trick_taint detaint_natural detaint_signed
@
Bugzilla::Util::
EXPORT
=
qw(trick_taint detaint_natural detaint_signed
...
...
Bugzilla/Version.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Version;
...
@@ -9,6 +9,7 @@ package Bugzilla::Version;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Object Exporter)
;
use
parent
qw(Bugzilla::Object Exporter)
;
...
...
Bugzilla/WebService.pm
View file @
9f3d18d4
...
@@ -11,6 +11,7 @@ package Bugzilla::WebService;
...
@@ -11,6 +11,7 @@ package Bugzilla::WebService;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::WebService::
Server
;
use
Bugzilla::WebService::
Server
;
...
...
Bugzilla/WebService/Bug.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Bug;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Bug;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::WebService)
;
use
parent
qw(Bugzilla::WebService)
;
...
...
Bugzilla/WebService/BugUserLastVisit.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::BugUserLastVisit;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::BugUserLastVisit;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::WebService)
;
use
parent
qw(Bugzilla::WebService)
;
...
...
Bugzilla/WebService/Bugzilla.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Bugzilla;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Bugzilla;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::WebService)
;
use
parent
qw(Bugzilla::WebService)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/WebService/Classification.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Classification;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Classification;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw (Bugzilla::WebService);
use
parent
qw (Bugzilla::WebService);
...
...
Bugzilla/WebService/Component.pm
View file @
9f3d18d4
...
@@ -8,8 +8,9 @@
...
@@ -8,8 +8,9 @@
package
Bugzilla::WebService::
Component
;
package
Bugzilla::WebService::
Component
;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
base
qw(Bugzilla::WebService)
;
use
base
qw(Bugzilla::WebService)
;
use
Bugzilla::
Component
;
use
Bugzilla::
Component
;
...
...
Bugzilla/WebService/Constants.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Constants;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Constants;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Exporter)
;
use
parent
qw(Exporter)
;
...
...
Bugzilla/WebService/FlagType.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::FlagType;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::FlagType;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::WebService)
;
use
parent
qw(Bugzilla::WebService)
;
use
Bugzilla::
Component
;
use
Bugzilla::
Component
;
...
...
Bugzilla/WebService/Group.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Group;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Group;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::WebService)
;
use
parent
qw(Bugzilla::WebService)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/WebService/Product.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Product;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Product;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::WebService)
;
use
parent
qw(Bugzilla::WebService)
;
use
Bugzilla::
Product
;
use
Bugzilla::
Product
;
...
...
Bugzilla/WebService/Server.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
Util
qw(datetime_from)
;
use
Bugzilla::
Util
qw(datetime_from)
;
...
...
Bugzilla/WebService/Server/JSONRPC.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::JSONRPC;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::JSONRPC;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::WebService::
Server
;
use
Bugzilla::WebService::
Server
;
BEGIN
{
BEGIN
{
...
...
Bugzilla/WebService/Server/REST.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::REST;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::REST;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::WebService::Server::JSONRPC)
;
use
parent
qw(Bugzilla::WebService::Server::JSONRPC)
;
...
...
Bugzilla/WebService/Server/REST/Resources/Bug.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::REST::Resources::Bug;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::REST::Resources::Bug;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::WebService::
Constants
;
use
Bugzilla::WebService::
Constants
;
use
Bugzilla::WebService::
Bug
;
use
Bugzilla::WebService::
Bug
;
...
...
Bugzilla/WebService/Server/REST/Resources/Bugzilla.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::REST::Resources::Bugzilla;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::REST::Resources::Bugzilla;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::WebService::
Constants
;
use
Bugzilla::WebService::
Constants
;
use
Bugzilla::WebService::
Bugzilla
;
use
Bugzilla::WebService::
Bugzilla
;
...
...
Bugzilla/WebService/Server/REST/Resources/Classification.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::REST::Resources::Classification;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::REST::Resources::Classification;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::WebService::
Constants
;
use
Bugzilla::WebService::
Constants
;
use
Bugzilla::WebService::
Classification
;
use
Bugzilla::WebService::
Classification
;
...
...
Bugzilla/WebService/Server/REST/Resources/Component.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::REST::Resources::Component;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::REST::Resources::Component;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::WebService::
Constants
;
use
Bugzilla::WebService::
Constants
;
use
Bugzilla::WebService::
Component
;
use
Bugzilla::WebService::
Component
;
...
...
Bugzilla/WebService/Server/REST/Resources/FlagType.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::REST::Resources::FlagType;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::REST::Resources::FlagType;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::WebService::
Constants
;
use
Bugzilla::WebService::
Constants
;
use
Bugzilla::WebService::
FlagType
;
use
Bugzilla::WebService::
FlagType
;
...
...
Bugzilla/WebService/Server/REST/Resources/Group.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::REST::Resources::Group;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::REST::Resources::Group;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::WebService::
Constants
;
use
Bugzilla::WebService::
Constants
;
use
Bugzilla::WebService::
Group
;
use
Bugzilla::WebService::
Group
;
...
...
Bugzilla/WebService/Server/REST/Resources/Product.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::REST::Resources::Product;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::REST::Resources::Product;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::WebService::
Constants
;
use
Bugzilla::WebService::
Constants
;
use
Bugzilla::WebService::
Product
;
use
Bugzilla::WebService::
Product
;
...
...
Bugzilla/WebService/Server/REST/Resources/User.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::REST::Resources::User;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::REST::Resources::User;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::WebService::
Constants
;
use
Bugzilla::WebService::
Constants
;
use
Bugzilla::WebService::
User
;
use
Bugzilla::WebService::
User
;
...
...
Bugzilla/WebService/Server/XMLRPC.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::XMLRPC;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Server::XMLRPC;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
XMLRPC::Transport::
HTTP
;
use
XMLRPC::Transport::
HTTP
;
use
Bugzilla::WebService::
Server
;
use
Bugzilla::WebService::
Server
;
...
@@ -107,6 +108,7 @@ package Bugzilla::XMLRPC::Deserializer;
...
@@ -107,6 +108,7 @@ package Bugzilla::XMLRPC::Deserializer;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
# We can't use "use parent" because XMLRPC::Serializer doesn't return
# We can't use "use parent" because XMLRPC::Serializer doesn't return
# a true value.
# a true value.
...
@@ -205,6 +207,7 @@ package Bugzilla::XMLRPC::SOM;
...
@@ -205,6 +207,7 @@ package Bugzilla::XMLRPC::SOM;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
XMLRPC::
Lite
;
use
XMLRPC::
Lite
;
our
@ISA
=
qw(XMLRPC::SOM)
;
our
@ISA
=
qw(XMLRPC::SOM)
;
...
@@ -231,6 +234,7 @@ package Bugzilla::XMLRPC::Serializer;
...
@@ -231,6 +234,7 @@ package Bugzilla::XMLRPC::Serializer;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Scalar::
Util
qw(blessed reftype)
;
use
Scalar::
Util
qw(blessed reftype)
;
# We can't use "use parent" because XMLRPC::Serializer doesn't return
# We can't use "use parent" because XMLRPC::Serializer doesn't return
...
...
Bugzilla/WebService/User.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::User;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::User;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::WebService)
;
use
parent
qw(Bugzilla::WebService)
;
...
...
Bugzilla/WebService/Util.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Util;
...
@@ -9,6 +9,7 @@ package Bugzilla::WebService::Util;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::
Flag
;
use
Bugzilla::
Flag
;
use
Bugzilla::
FlagType
;
use
Bugzilla::
FlagType
;
...
...
Bugzilla/Whine.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Whine;
...
@@ -9,6 +9,7 @@ package Bugzilla::Whine;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
...
...
Bugzilla/Whine/Query.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Whine::Query;
...
@@ -9,6 +9,7 @@ package Bugzilla::Whine::Query;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
...
...
Bugzilla/Whine/Schedule.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Whine::Schedule;
...
@@ -9,6 +9,7 @@ package Bugzilla::Whine::Schedule;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Object)
;
use
parent
qw(Bugzilla::Object)
;
...
...
admin.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
attachment.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
buglist.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
chart.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -29,6 +29,8 @@
...
@@ -29,6 +29,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
checksetup.pl
View file @
9f3d18d4
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -12,8 +12,10 @@
...
@@ -12,8 +12,10 @@
# Initialization
# Initialization
######################################################################
######################################################################
use
strict
;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
warnings
;
use
File::
Basename
;
use
File::
Basename
;
use
Getopt::
Long
qw(:config bundling)
;
use
Getopt::
Long
qw(:config bundling)
;
use
Pod::
Usage
;
use
Pod::
Usage
;
...
...
clean-bug-user-last-visit.pl
View file @
9f3d18d4
#!/usr/bin/perl
-wT
#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
...
colchange.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
collectstats.pl
View file @
9f3d18d4
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Getopt::
Long
qw(:config bundling)
;
use
Getopt::
Long
qw(:config bundling)
;
...
...
config.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
contrib/Bugzilla.pm
View file @
9f3d18d4
...
@@ -6,6 +6,7 @@ package Bugzilla;
...
@@ -6,6 +6,7 @@ package Bugzilla;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
#######################################################################
#######################################################################
# The goal of this tiny module is to let Bugzilla packagers of #
# The goal of this tiny module is to let Bugzilla packagers of #
...
...
contrib/bz_webservice_demo.pl
View file @
9f3d18d4
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -18,7 +18,10 @@ C<bz_webservice_demo.pl --help> for detailed help
...
@@ -18,7 +18,10 @@ C<bz_webservice_demo.pl --help> for detailed help
=cut
=cut
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(lib)
;
use
lib
qw(lib)
;
use
Getopt::
Long
;
use
Getopt::
Long
;
use
Pod::
Usage
;
use
Pod::
Usage
;
...
...
contrib/bzdbcopy.pl
View file @
9f3d18d4
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
contrib/console.pl
View file @
9f3d18d4
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
warnings
;
use
File::
Basename
;
use
File::
Basename
;
BEGIN
{
chdir
dirname
(
$0
)
.
"/.."
;
}
BEGIN
{
chdir
dirname
(
$0
)
.
"/.."
;
}
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
@@ -51,7 +53,7 @@ sub d {
...
@@ -51,7 +53,7 @@ sub d {
# p: print as a single string (normal behavior puts list items on separate lines)
# p: print as a single string (normal behavior puts list items on separate lines)
sub
p
{
sub
p
{
local
$^W
=
0
;
# suppress possible undefined var message
no
warnings
;
# suppress possible undefined var message
print
(
@_
,
"\n"
);
print
(
@_
,
"\n"
);
return
();
return
();
}
}
...
...
contrib/convert-workflow.pl
View file @
9f3d18d4
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
contrib/extension-convert.pl
View file @
9f3d18d4
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -6,8 +6,10 @@
...
@@ -6,8 +6,10 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
@@ -68,6 +70,8 @@ my ($modules, $subs) = code_files_to_subroutines($to_dir);
...
@@ -68,6 +70,8 @@ my ($modules, $subs) = code_files_to_subroutines($to_dir);
my
$config_pm
=
<<END;
my
$config_pm
=
<<END;
package Bugzilla::Extension::$extension_name;
package Bugzilla::Extension::$extension_name;
use strict;
use strict;
use warnings;
use constant NAME => '$extension_name';
use constant NAME => '$extension_name';
$install_requirements
$install_requirements
__PACKAGE__->NAME;
__PACKAGE__->NAME;
...
@@ -76,6 +80,8 @@ END
...
@@ -76,6 +80,8 @@ END
my
$extension_pm
=
<<END;
my
$extension_pm
=
<<END;
package Bugzilla::Extension::$extension_name;
package Bugzilla::Extension::$extension_name;
use strict;
use strict;
use warnings;
use parent qw(Bugzilla::Extension);
use parent qw(Bugzilla::Extension);
$modules
$modules
...
...
contrib/fixperms.pl
View file @
9f3d18d4
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -6,8 +6,10 @@
...
@@ -6,8 +6,10 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
contrib/merge-users.pl
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -6,7 +6,9 @@
...
@@ -6,7 +6,9 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
=head1 NAME
=head1 NAME
...
...
contrib/mysqld-watcher.pl
View file @
9f3d18d4
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -9,7 +9,9 @@
...
@@ -9,7 +9,9 @@
# mysqld-watcher.pl - a script that watches the running instance of
# mysqld-watcher.pl - a script that watches the running instance of
# mysqld and kills off any long-running SELECTs against the shadow_db
# mysqld and kills off any long-running SELECTs against the shadow_db
#
#
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
# some configurables:
# some configurables:
...
...
contrib/recode.pl
View file @
9f3d18d4
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
contrib/sendbugmail.pl
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
contrib/sendunsentbugmail.pl
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
contrib/syncLDAP.pl
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -6,7 +6,9 @@
...
@@ -6,7 +6,9 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
createaccount.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
describecomponents.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
describekeywords.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
duplicates.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
editclassifications.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
editcomponents.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
editfields.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
editflagtypes.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
editgroups.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
editkeywords.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
editmilestones.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
editparams.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
editproducts.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
editsettings.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
editusers.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
editvalues.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -6,12 +6,10 @@
...
@@ -6,12 +6,10 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
# This is a script to edit the values of fields that have drop-down
# or select boxes. It is largely a copy of editmilestones.cgi, but
# with some cleanup.
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
editversions.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
editwhines.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -12,6 +12,8 @@
...
@@ -12,6 +12,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
editworkflow.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
email_in.pl
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
...
enter_bug.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -18,6 +18,8 @@
...
@@ -18,6 +18,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
extensions/BmpConvert/Config.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::BmpConvert;
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::BmpConvert;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
constant
NAME
=>
'BmpConvert'
;
use
constant
NAME
=>
'BmpConvert'
;
use
constant
REQUIRED_MODULES
=>
[
use
constant
REQUIRED_MODULES
=>
[
{
{
...
...
extensions/BmpConvert/Extension.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::BmpConvert;
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::BmpConvert;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Extension)
;
use
parent
qw(Bugzilla::Extension)
;
use
Image::
Magick
;
use
Image::
Magick
;
...
...
extensions/Example/Config.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::Example;
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::Example;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
constant
NAME
=>
'Example'
;
use
constant
NAME
=>
'Example'
;
use
constant
REQUIRED_MODULES
=>
[
use
constant
REQUIRED_MODULES
=>
[
{
{
...
...
extensions/Example/Extension.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::Example;
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::Example;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Extension)
;
use
parent
qw(Bugzilla::Extension)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
extensions/Example/lib/Auth/Login.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::Example::Auth::Login;
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::Example::Auth::Login;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
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
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
extensions/Example/lib/Auth/Verify.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::Example::Auth::Verify;
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::Example::Auth::Verify;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Auth::Verify)
;
use
parent
qw(Bugzilla::Auth::Verify)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
extensions/MoreBugUrl/Config.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Extension::MoreBugUrl;
...
@@ -9,6 +9,7 @@ package Bugzilla::Extension::MoreBugUrl;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
constant
NAME
=>
'MoreBugUrl'
;
use
constant
NAME
=>
'MoreBugUrl'
;
...
...
extensions/MoreBugUrl/Extension.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl;
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Extension)
;
use
parent
qw(Bugzilla::Extension)
;
use
constant
MORE_SUB_CLASSES
=>
qw(
use
constant
MORE_SUB_CLASSES
=>
qw(
...
...
extensions/MoreBugUrl/lib/BitBucket.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::BitBucket;
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::BitBucket;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
###############################
...
...
extensions/MoreBugUrl/lib/GetSatisfaction.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::GetSatisfaction;
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::GetSatisfaction;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
###############################
...
...
extensions/MoreBugUrl/lib/PHP.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::PHP;
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::PHP;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
###############################
...
...
extensions/MoreBugUrl/lib/RT.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::RT;
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::RT;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
###############################
...
...
extensions/MoreBugUrl/lib/Redmine.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::Redmine;
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::Redmine;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
###############################
...
...
extensions/MoreBugUrl/lib/ReviewBoard.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::ReviewBoard;
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::ReviewBoard;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
###############################
...
...
extensions/MoreBugUrl/lib/Rietveld.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::Rietveld;
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::Rietveld;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
###############################
...
...
extensions/MoreBugUrl/lib/Savane.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::Savane;
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::MoreBugUrl::Savane;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::BugUrl)
;
use
parent
qw(Bugzilla::BugUrl)
;
###############################
###############################
...
...
extensions/OldBugMove/Config.pm
View file @
9f3d18d4
...
@@ -9,5 +9,7 @@ package Bugzilla::Extension::OldBugMove;
...
@@ -9,5 +9,7 @@ package Bugzilla::Extension::OldBugMove;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
constant
NAME
=>
'OldBugMove'
;
use
constant
NAME
=>
'OldBugMove'
;
__PACKAGE__
->
NAME
;
__PACKAGE__
->
NAME
;
extensions/OldBugMove/Extension.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::OldBugMove;
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::OldBugMove;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Extension)
;
use
parent
qw(Bugzilla::Extension)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
...
...
extensions/OldBugMove/lib/Params.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Extension::OldBugMove::Params;
...
@@ -9,6 +9,7 @@ package Bugzilla::Extension::OldBugMove::Params;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
extensions/Voting/Config.pm
View file @
9f3d18d4
...
@@ -9,6 +9,7 @@ package Bugzilla::Extension::Voting;
...
@@ -9,6 +9,7 @@ package Bugzilla::Extension::Voting;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
constant
NAME
=>
'Voting'
;
use
constant
NAME
=>
'Voting'
;
...
...
extensions/Voting/Extension.pm
View file @
9f3d18d4
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::Voting;
...
@@ -9,6 +9,8 @@ package Bugzilla::Extension::Voting;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(Bugzilla::Extension)
;
use
parent
qw(Bugzilla::Extension)
;
use
Bugzilla::
Bug
;
use
Bugzilla::
Bug
;
...
...
extensions/create.pl
View file @
9f3d18d4
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
importxml.pl
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
#####################################################################
#####################################################################
#
#
...
...
index.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
install-module.pl
View file @
9f3d18d4
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
...
jobqueue.pl
View file @
9f3d18d4
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Cwd
qw(abs_path)
;
use
Cwd
qw(abs_path)
;
use
File::
Basename
;
use
File::
Basename
;
...
...
jsonrpc.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
migrate.pl
View file @
9f3d18d4
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
File::
Basename
;
use
File::
Basename
;
BEGIN
{
chdir
dirname
(
$0
);
}
BEGIN
{
chdir
dirname
(
$0
);
}
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
mod_perl.pl
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -112,6 +112,7 @@ package Bugzilla::ModPerl::ResponseHandler;
...
@@ -112,6 +112,7 @@ package Bugzilla::ModPerl::ResponseHandler;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw(ModPerl::Registry)
;
use
parent
qw(ModPerl::Registry)
;
use
Bugzilla
;
use
Bugzilla
;
...
@@ -148,6 +149,7 @@ package Bugzilla::ModPerl::CleanupHandler;
...
@@ -148,6 +149,7 @@ package Bugzilla::ModPerl::CleanupHandler;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
Apache2::
Const
-
compile
=>
qw(OK)
;
use
Apache2::
Const
-
compile
=>
qw(OK)
;
...
...
page.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -15,6 +15,8 @@
...
@@ -15,6 +15,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
post_bug.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
process_bug.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -6,20 +6,10 @@
...
@@ -6,20 +6,10 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
# Implementation notes for this file:
#
# 1) the 'id' form parameter is validated early on, and if it is not a valid
# bugid an error will be reported, so it is OK for later code to simply check
# for a defined form 'id' value, and it can assume a valid bugid.
#
# 2) If the 'id' form parameter is not defined (after the initial validation),
# then we are processing multiple bugs, and @idlist will contain the ids.
#
# 3) If we are processing just the one id, then it is stored in @idlist for
# later processing.
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
query.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
quips.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
relogin.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
report.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
reports.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
request.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
rest.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
runtests.pl
View file @
9f3d18d4
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
use
5.10.1
;
use
5.10.1
;
use
diagnostics
;
use
diagnostics
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(lib)
;
use
lib
qw(lib)
;
use
Test::
Harness
qw(&runtests $verbose)
;
use
Test::
Harness
qw(&runtests $verbose)
;
...
...
sanitycheck.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
sanitycheck.pl
View file @
9f3d18d4
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
search_plugin.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
show_activity.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
show_bug.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
showdependencygraph.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
File::
Temp
;
use
File::
Temp
;
...
...
showdependencytree.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
summarize_time.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Date::
Parse
;
# strptime
use
Date::
Parse
;
# strptime
...
...
t/001compile.t
View file @
9f3d18d4
...
@@ -10,8 +10,10 @@
...
@@ -10,8 +10,10 @@
#Bugzilla Test 1#
#Bugzilla Test 1#
###Compilation###
###Compilation###
use strict;
use 5.10.1;
use 5.10.1;
use strict;
use warnings;
use lib qw(. lib t);
use lib qw(. lib t);
use Config;
use Config;
use Support::Files;
use Support::Files;
...
@@ -52,7 +54,7 @@ sub compile_file {
...
@@ -52,7 +54,7 @@ sub compile_file {
$libs = join " ", map { "-I\"$_\"" } split /$Config{path_sep}/, $ENV{PERL5LIB};
$libs = join " ", map { "-I\"$_\"" } split /$Config{path_sep}/, $ENV{PERL5LIB};
}
}
my $perl = qq{"$^X"};
my $perl = qq{"$^X"};
my $output = `$perl $libs -
w
c$T $file 2>&1`;
my $output = `$perl $libs -c$T $file 2>&1`;
chomp($output);
chomp($output);
my $return_val = $?;
my $return_val = $?;
$output =~ s/^\Q$file\E syntax OK$//ms;
$output =~ s/^\Q$file\E syntax OK$//ms;
...
...
t/002goodperl.t
View file @
9f3d18d4
...
@@ -10,15 +10,19 @@
...
@@ -10,15 +10,19 @@
#Bugzilla Test 2#
#Bugzilla Test 2#
####GoodPerl#####
####GoodPerl#####
use 5.10.1;
use strict;
use strict;
use warnings;
use lib 't';
use lib 't';
use Support::Files;
use Support::Files;
use Test::More tests => (scalar(@Support::Files::testitems) * 4);
use Test::More tests => (scalar(@Support::Files::testitems)
+ scalar(@Support::Files::test_files)) * 5;
my @testitems = @Support::Files::testitems; # get the files to test.
my @testitems = (@Support::Files::test_files, @Support::Files::testitems);
my @require_taint = qw(email_in.pl importxml.pl mod_perl.pl whine.pl);
foreach my $file (@testitems) {
foreach my $file (@testitems) {
$file =~ s/\s.*$//; # nuke everything after the first space (#comment)
$file =~ s/\s.*$//; # nuke everything after the first space (#comment)
...
@@ -38,23 +42,33 @@ foreach my $file (@testitems) {
...
@@ -38,23 +42,33 @@ foreach my $file (@testitems) {
my $flags;
my $flags;
if (!defined $ext || $ext eq "pl") {
if (!defined $ext || $ext eq "pl") {
# standalone programs aren't taint checked yet
# standalone programs aren't taint checked yet
$flags = "w";
if (grep { $file eq $_ } @require_taint) {
$flags = 'T';
}
else {
$flags = '';
}
} elsif ($ext eq "pm") {
} elsif ($ext eq "pm") {
ok(0, "$file is a module, but has a shebang");
ok(0, "$file is a module, but has a shebang");
next;
next;
} elsif ($ext eq "cgi") {
} elsif ($ext eq "cgi") {
# cgi files must be taint checked
# cgi files must be taint checked
$flags =
"wT"
;
$flags =
'T'
;
} else {
} else {
ok(0, "$file has shebang but unknown extension");
ok(0, "$file has shebang but unknown extension");
next;
next;
}
}
if ($file_line1 =~ m#^\#\!/usr/bin/perl\s#) {
if ($file_line1 =~ m#^\#\!/usr/bin/perl(?:\s-(\w+))?$#) {
if ($file_line1 =~ m#\s-$flags#) {
my $file_flags = $1 || '';
ok(1,"$file uses standard perl location and -$flags");
if ($flags eq $file_flags) {
} else {
ok(1, "$file uses standard perl location" . ($flags ? " and -$flags flag" : ""));
ok(0,"$file is MISSING -$flags --WARNING");
}
elsif ($flags) {
ok(0, "$file is MISSING -$flags flag --WARNING");
}
else {
ok(0, "$file has unexpected -$file_flags flag --WARNING");
}
}
} else {
} else {
ok(0,"$file uses non-standard perl location");
ok(0,"$file uses non-standard perl location");
...
@@ -63,7 +77,10 @@ foreach my $file (@testitems) {
...
@@ -63,7 +77,10 @@ foreach my $file (@testitems) {
}
}
foreach my $file (@testitems) {
foreach my $file (@testitems) {
my $found_use_perl = 0;
my $found_use_strict = 0;
my $found_use_strict = 0;
my $found_use_warnings = 0;
$file =~ s/\s.*$//; # nuke everything after the first space (#comment)
$file =~ s/\s.*$//; # nuke everything after the first space (#comment)
next if (!$file); # skip null entries
next if (!$file); # skip null entries
if (! open (FILE, $file)) {
if (! open (FILE, $file)) {
...
@@ -71,38 +88,28 @@ foreach my $file (@testitems) {
...
@@ -71,38 +88,28 @@ foreach my $file (@testitems) {
next;
next;
}
}
while (my $file_line = <FILE>) {
while (my $file_line = <FILE>) {
if ($file_line =~ m/^\s*use strict/) {
$found_use_perl = 1 if $file_line =~ m/^\s*use 5.10.1/;
$found_use_strict = 1
;
$found_use_strict = 1 if $file_line =~ m/^\s*use strict/
;
last
;
$found_use_warnings = 1 if $file_line =~ m/^\s*use warnings/
;
}
last if ($found_use_perl && $found_use_strict && $found_use_warnings);
}
}
close (FILE);
close (FILE);
if ($found_use_perl) {
ok(1,"$file requires Perl 5.10.1");
} else {
ok(0,"$file DOES NOT require Perl 5.10.1 --WARNING");
}
if ($found_use_strict) {
if ($found_use_strict) {
ok(1,"$file uses strict");
ok(1,"$file uses strict");
} else {
} else {
ok(0,"$file DOES NOT use strict --WARNING");
ok(0,"$file DOES NOT use strict --WARNING");
}
}
}
foreach my $file (@testitems) {
if ($found_use_warnings) {
my $found_use_feature = 0;
ok(1,"$file uses warnings");
$file =~ s/\s.*$//; # nuke everything after the first space (#comment)
next if (!$file); # skip null entries
if (! open (FILE, $file)) {
ok(0,"could not open $file --WARNING");
next;
}
while (my $file_line = <FILE>) {
if ($file_line =~ m/^\s*use 5.10.1/) {
$found_use_feature = 1;
last;
}
}
close (FILE);
if ($found_use_feature) {
ok(1,"$file requires Perl 5.10.1");
} else {
} else {
ok(0,"$file DOES NOT
require Perl 5.10.1
--WARNING");
ok(0,"$file DOES NOT
use warnings
--WARNING");
}
}
}
}
...
...
t/003safesys.t
View file @
9f3d18d4
...
@@ -10,7 +10,9 @@
...
@@ -10,7 +10,9 @@
#Bugzilla Test 3#
#Bugzilla Test 3#
###Safesystem####
###Safesystem####
use 5.10.1;
use strict;
use strict;
use warnings;
use lib 't';
use lib 't';
...
@@ -22,7 +24,7 @@ use Test::More tests => scalar(@Support::Files::testitems);
...
@@ -22,7 +24,7 @@ use Test::More tests => scalar(@Support::Files::testitems);
# This will handle verbosity for us automatically.
# This will handle verbosity for us automatically.
my $fh;
my $fh;
{
{
local $^W = 0
; # Don't complain about non-existent filehandles
no warnings qw(unopened)
; # Don't complain about non-existent filehandles
if (-e \*Test::More::TESTOUT) {
if (-e \*Test::More::TESTOUT) {
$fh = \*Test::More::TESTOUT;
$fh = \*Test::More::TESTOUT;
} elsif (-e \*Test::Builder::TESTOUT) {
} elsif (-e \*Test::Builder::TESTOUT) {
...
...
t/004template.t
View file @
9f3d18d4
...
@@ -9,7 +9,9 @@
...
@@ -9,7 +9,9 @@
#Bugzilla Test 4#
#Bugzilla Test 4#
####Templates####
####Templates####
use 5.10.1;
use strict;
use strict;
use warnings;
use lib 't';
use lib 't';
...
@@ -26,7 +28,7 @@ use Test::More tests => ( scalar(@referenced_files) + 2 * $num_actual_files );
...
@@ -26,7 +28,7 @@ use Test::More tests => ( scalar(@referenced_files) + 2 * $num_actual_files );
# This will handle verbosity for us automatically.
# This will handle verbosity for us automatically.
my $fh;
my $fh;
{
{
local $^W = 0
; # Don't complain about non-existent filehandles
no warnings qw(unopened)
; # Don't complain about non-existent filehandles
if (-e \*Test::More::TESTOUT) {
if (-e \*Test::More::TESTOUT) {
$fh = \*Test::More::TESTOUT;
$fh = \*Test::More::TESTOUT;
} elsif (-e \*Test::Builder::TESTOUT) {
} elsif (-e \*Test::Builder::TESTOUT) {
...
...
t/005whitespace.t
View file @
9f3d18d4
...
@@ -9,7 +9,9 @@
...
@@ -9,7 +9,9 @@
#Bugzilla Test 5#
#Bugzilla Test 5#
#####no_tabs#####
#####no_tabs#####
use 5.10.1;
use strict;
use strict;
use warnings;
use lib 't';
use lib 't';
...
...
t/006spellcheck.t
View file @
9f3d18d4
...
@@ -10,29 +10,13 @@
...
@@ -10,29 +10,13 @@
#Bugzilla Test 6#
#Bugzilla Test 6#
####Spelling#####
####Spelling#####
use 5.10.1;
use strict;
use warnings;
use lib 't';
use lib 't';
use Support::Files;
use Support::Files;
BEGIN {
#add the words to check here:
@evilwords = qw(
anyways
appearence
arbitary
cancelled
critera
databasa
dependan
existance
existant
paramater
refered
repsentation
suported
varsion
);
}
# -1 because 006spellcheck.t must not be checked.
# -1 because 006spellcheck.t must not be checked.
use Test::More tests => scalar(@Support::Files::testitems)
use Test::More tests => scalar(@Support::Files::testitems)
+ scalar(@Support::Files::test_files) - 1;
+ scalar(@Support::Files::test_files) - 1;
...
@@ -41,7 +25,7 @@ use Test::More tests => scalar(@Support::Files::testitems)
...
@@ -41,7 +25,7 @@ use Test::More tests => scalar(@Support::Files::testitems)
# This will handle verbosity for us automatically.
# This will handle verbosity for us automatically.
my $fh;
my $fh;
{
{
local $^W = 0
; # Don't complain about non-existent filehandles
no warnings qw(unopened)
; # Don't complain about non-existent filehandles
if (-e \*Test::More::TESTOUT) {
if (-e \*Test::More::TESTOUT) {
$fh = \*Test::More::TESTOUT;
$fh = \*Test::More::TESTOUT;
} elsif (-e \*Test::Builder::TESTOUT) {
} elsif (-e \*Test::Builder::TESTOUT) {
...
@@ -53,7 +37,24 @@ my $fh;
...
@@ -53,7 +37,24 @@ my $fh;
my @testitems = (@Support::Files::testitems, @Support::Files::test_files);
my @testitems = (@Support::Files::testitems, @Support::Files::test_files);
# at last, here we actually run the test...
#add the words to check here:
my @evilwords = qw(
anyways
appearence
arbitary
cancelled
critera
databasa
dependan
existance
existant
paramater
refered
repsentation
suported
varsion
);
my $evilwordsregexp = join('|', @evilwords);
my $evilwordsregexp = join('|', @evilwords);
foreach my $file (@testitems) {
foreach my $file (@testitems) {
...
...
t/007util.t
View file @
9f3d18d4
...
@@ -9,14 +9,18 @@
...
@@ -9,14 +9,18 @@
#Bugzilla Test 7#
#Bugzilla Test 7#
#####Util.pm#####
#####Util.pm#####
use 5.10.1;
use strict;
use warnings;
use lib 't';
use lib 't';
use Support::Files;
use Support::Files;
use Test::More tests => 17;
use Test::More tests => 17;
use DateTime;
use DateTime;
BEGIN {
BEGIN {
use_ok(
Bugzilla
);
use_ok(
'Bugzilla'
);
use_ok(
Bugzilla::Util
);
use_ok(
'Bugzilla::Util'
);
}
}
# We need to override user preferences so we can get an expected value when
# We need to override user preferences so we can get an expected value when
...
...
t/008filter.t
View file @
9f3d18d4
...
@@ -15,10 +15,11 @@
...
@@ -15,10 +15,11 @@
# Sample exploit code: '>"><script>alert('Oh dear...')</script>
# Sample exploit code: '>"><script>alert('Oh dear...')</script>
use 5.10.1;
use strict;
use strict;
use
lib qw(. lib t)
;
use
warnings
;
use
vars qw(%safe
);
use
lib qw(. lib t
);
use Bugzilla::Constants;
use Bugzilla::Constants;
use Support::Templates;
use Support::Templates;
...
@@ -30,6 +31,7 @@ use Cwd;
...
@@ -30,6 +31,7 @@ use Cwd;
my $oldrecsep = $/;
my $oldrecsep = $/;
my $topdir = cwd;
my $topdir = cwd;
$/ = undef;
$/ = undef;
our %safe;
foreach my $path (@Support::Templates::include_paths) {
foreach my $path (@Support::Templates::include_paths) {
$path =~ s|\\|/|g if ON_WINDOWS; # convert \ to / in path if on windows
$path =~ s|\\|/|g if ON_WINDOWS; # convert \ to / in path if on windows
...
...
t/009bugwords.t
View file @
9f3d18d4
...
@@ -15,7 +15,9 @@
...
@@ -15,7 +15,9 @@
# "[% terms.bug %]". This test makes sure the relevant words aren't used
# "[% terms.bug %]". This test makes sure the relevant words aren't used
# bare.
# bare.
use 5.10.1;
use strict;
use strict;
use warnings;
use lib 't';
use lib 't';
...
...
t/010dependencies.t
View file @
9f3d18d4
...
@@ -10,7 +10,10 @@
...
@@ -10,7 +10,10 @@
#Bugzilla Test 10#
#Bugzilla Test 10#
## dependencies ##
## dependencies ##
use 5.10.1;
use strict;
use strict;
use warnings;
use lib qw(. lib t);
use lib qw(. lib t);
use Support::Files;
use Support::Files;
...
...
t/011pod.t
View file @
9f3d18d4
...
@@ -10,7 +10,9 @@
...
@@ -10,7 +10,9 @@
#Bugzilla Test 11#
#Bugzilla Test 11#
##POD validation##
##POD validation##
use 5.10.1;
use strict;
use strict;
use warnings;
use lib 't';
use lib 't';
...
@@ -52,7 +54,7 @@ use constant MODULE_WHITELIST => qw(
...
@@ -52,7 +54,7 @@ use constant MODULE_WHITELIST => qw(
# This will handle verbosity for us automatically.
# This will handle verbosity for us automatically.
my $fh;
my $fh;
{
{
local $^W = 0
; # Don't complain about non-existent filehandles
no warnings qw(unopened)
; # Don't complain about non-existent filehandles
if (-e \*Test::More::TESTOUT) {
if (-e \*Test::More::TESTOUT) {
$fh = \*Test::More::TESTOUT;
$fh = \*Test::More::TESTOUT;
} elsif (-e \*Test::Builder::TESTOUT) {
} elsif (-e \*Test::Builder::TESTOUT) {
...
...
t/012throwables.t
View file @
9f3d18d4
...
@@ -11,7 +11,10 @@
...
@@ -11,7 +11,10 @@
#Bugzilla Test 12#
#Bugzilla Test 12#
######Errors######
######Errors######
use 5.10.1;
use strict;
use strict;
use warnings;
use lib qw(. lib t);
use lib qw(. lib t);
use Bugzilla::Constants;
use Bugzilla::Constants;
...
...
t/013dbschema.t
View file @
9f3d18d4
...
@@ -12,7 +12,10 @@
...
@@ -12,7 +12,10 @@
# Check the Bugzilla database schema to ensure no field names conflict
# Check the Bugzilla database schema to ensure no field names conflict
# with SQL reserved words.
# with SQL reserved words.
use 5.10.1;
use strict;
use strict;
use warnings;
use lib qw(. t lib);
use lib qw(. t lib);
use Bugzilla;
use Bugzilla;
use Bugzilla::DB::Schema;
use Bugzilla::DB::Schema;
...
...
t/Support/Files.pm
View file @
9f3d18d4
...
@@ -8,15 +8,19 @@
...
@@ -8,15 +8,19 @@
package
Support::
Files
;
package
Support::
Files
;
use
5.10.1
;
use
strict
;
use
warnings
;
use
File::
Find
;
use
File::
Find
;
@additional_files
=
();
our
@additional_files
=
();
@files
=
glob
(
'*'
);
our
@files
=
glob
(
'*'
);
find
(
sub
{
push
(
@files
,
$
File::Find::
name
)
if
$_
=~
/\.pm$/
;},
'Bugzilla'
);
find
(
sub
{
push
(
@files
,
$
File::Find::
name
)
if
$_
=~
/\.pm$/
;},
'Bugzilla'
);
push
(
@files
,
'extensions/create.pl'
);
push
(
@files
,
'extensions/create.pl'
);
@extensions
=
our
@extensions
=
grep
{
$_
ne
'extensions/create.pl'
&&
!
-
e
"$_/disabled"
}
grep
{
$_
ne
'extensions/create.pl'
&&
!
-
e
"$_/disabled"
}
glob
(
'extensions/*'
);
glob
(
'extensions/*'
);
...
@@ -24,7 +28,7 @@ foreach my $extension (@extensions) {
...
@@ -24,7 +28,7 @@ foreach my $extension (@extensions) {
find
(
sub
{
push
(
@files
,
$
File::Find::
name
)
if
$_
=~
/\.pm$/
;},
$extension
);
find
(
sub
{
push
(
@files
,
$
File::Find::
name
)
if
$_
=~
/\.pm$/
;},
$extension
);
}
}
@test_files
=
glob
(
't/*.t'
);
our
@test_files
=
glob
(
't/*.t'
);
sub
isTestingFile
{
sub
isTestingFile
{
my
(
$file
)
=
@_
;
my
(
$file
)
=
@_
;
...
@@ -40,9 +44,11 @@ sub isTestingFile {
...
@@ -40,9 +44,11 @@ sub isTestingFile {
return
undef
;
return
undef
;
}
}
foreach
$currentfile
(
@files
)
{
our
(
@testitems
,
@module_files
);
foreach
my
$currentfile
(
@files
)
{
if
(
isTestingFile
(
$currentfile
))
{
if
(
isTestingFile
(
$currentfile
))
{
push
(
@testitems
,
$currentfile
);
push
(
@testitems
,
$currentfile
);
}
}
push
(
@module_files
,
$currentfile
)
if
$currentfile
=~
/\.pm$/
;
push
(
@module_files
,
$currentfile
)
if
$currentfile
=~
/\.pm$/
;
}
}
...
...
t/Support/Systemexec.pm
View file @
9f3d18d4
...
@@ -6,6 +6,11 @@
...
@@ -6,6 +6,11 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Support::
Systemexec
;
package
Support::
Systemexec
;
use
5.10.1
;
use
strict
;
use
warnings
;
require
Exporter
;
require
Exporter
;
@ISA
=
qw(Exporter)
;
@ISA
=
qw(Exporter)
;
@EXPORT
=
qw(system exec)
;
@EXPORT
=
qw(system exec)
;
...
...
t/Support/Templates.pm
View file @
9f3d18d4
...
@@ -7,15 +7,15 @@
...
@@ -7,15 +7,15 @@
package
Support::
Templates
;
package
Support::
Templates
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
't'
;
use
lib
't'
;
use
parent
qw(Exporter)
;
use
parent
qw(Exporter)
;
@
Support::Templates::
EXPORT
=
@
Support::Templates::
EXPORT
=
qw(@languages @include_paths @english_default_include_paths
qw(@languages @include_paths @english_default_include_paths
%include_path @referenced_files %actual_files $num_actual_files)
;
@referenced_files %actual_files $num_actual_files)
;
use
vars
qw(@languages @include_paths @english_default_include_paths
%include_path @referenced_files %actual_files $num_actual_files)
;
use
Bugzilla
;
use
Bugzilla
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
@@ -25,18 +25,9 @@ use Support::Files;
...
@@ -25,18 +25,9 @@ use Support::Files;
use
File::
Find
;
use
File::
Find
;
use
File::
Spec
;
use
File::
Spec
;
# The available template languages
@languages
=
();
# The colon separated includepath per language
%
include_path
=
();
# All include paths
@include_paths
=
();
# English default include paths
# English default include paths
push
@english_default_include_paths
,
our
@english_default_include_paths
=
File::
Spec
->
catdir
(
bz_locations
()
->
{
'templatedir'
},
'en'
,
'default'
);
(
File::
Spec
->
catdir
(
bz_locations
()
->
{
'templatedir'
},
'en'
,
'default'
)
);
# And the extensions too
# And the extensions too
foreach
my
$extension
(
@
Support::Files::
extensions
)
{
foreach
my
$extension
(
@
Support::Files::
extensions
)
{
...
@@ -47,19 +38,19 @@ foreach my $extension (@Support::Files::extensions) {
...
@@ -47,19 +38,19 @@ foreach my $extension (@Support::Files::extensions) {
}
}
# Files which are referenced in the cgi files
# Files which are referenced in the cgi files
@referenced_files
=
();
our
@referenced_files
=
();
# All files sorted by include_path
# All files sorted by include_path
%
actual_files
=
();
our
%
actual_files
=
();
# total number of actual_files
# total number of actual_files
$num_actual_files
=
0
;
our
$num_actual_files
=
0
;
# Set the template available languages and include paths
# Set the template available languages and include paths
@languages
=
@
{
Bugzilla
->
languages
};
our
@languages
=
@
{
Bugzilla
->
languages
};
@include_paths
=
@
{
template_include_path
({
language
=>
Bugzilla
->
languages
})
};
our
@include_paths
=
@
{
template_include_path
({
language
=>
Bugzilla
->
languages
})
};
my
@files
;
our
@files
;
# Local subroutine used with File::Find
# Local subroutine used with File::Find
sub
find_templates
{
sub
find_templates
{
...
...
template/en/default/extensions/config.pm.tmpl
View file @
9f3d18d4
...
@@ -16,6 +16,7 @@ package Bugzilla::Extension::[% name %];
...
@@ -16,6 +16,7 @@ package Bugzilla::Extension::[% name %];
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
constant
NAME
=>
'[% name %]'
;
use
constant
NAME
=>
'[% name %]'
;
...
...
template/en/default/extensions/extension.pm.tmpl
View file @
9f3d18d4
...
@@ -16,6 +16,8 @@ package Bugzilla::Extension::[% name %];
...
@@ -16,6 +16,8 @@ package Bugzilla::Extension::[% name %];
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw
(
Bugzilla
::
Extension
);
use
parent
qw
(
Bugzilla
::
Extension
);
#
This
code
for
this
is
in
[%
path
%]/
lib
/
Util
.
pm
#
This
code
for
this
is
in
[%
path
%]/
lib
/
Util
.
pm
...
...
template/en/default/extensions/util.pm.tmpl
View file @
9f3d18d4
...
@@ -16,6 +16,8 @@ package Bugzilla::Extension::[% name %]::Util;
...
@@ -16,6 +16,8 @@ package Bugzilla::Extension::[% name %]::Util;
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
parent
qw
(
Exporter
);
use
parent
qw
(
Exporter
);
our
@
EXPORT
=
qw
(
our
@
EXPORT
=
qw
(
...
...
testagent.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
say
"content-type:text/plain\n"
;
say
"content-type:text/plain\n"
;
say
"OK "
.
(
$::ENV
{
MOD_PERL
}
||
"mod_cgi"
);
say
"OK "
.
(
$::ENV
{
MOD_PERL
}
||
"mod_cgi"
);
...
...
testserver.pl
View file @
9f3d18d4
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -12,6 +12,8 @@
...
@@ -12,6 +12,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
token.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
userprefs.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
votes.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -11,6 +11,8 @@
...
@@ -11,6 +11,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
whine.pl
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -12,6 +12,8 @@
...
@@ -12,6 +12,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
whineatnews.pl
View file @
9f3d18d4
#!/usr/bin/perl
-w
#!/usr/bin/perl
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -16,6 +16,8 @@
...
@@ -16,6 +16,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
xmlrpc.cgi
View file @
9f3d18d4
#!/usr/bin/perl -
w
T
#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
use
5.10.1
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
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