From: Kohei Yoshino Date: Fri, 19 Jul 2019 19:48:04 +0000 (-0400) Subject: Bug 1565872 - Fix miscellaneous typos and spelling inconsistencies X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6a74f094d10811e5e8f9c7ac0920556b6c700ff;p=thirdparty%2Fbugzilla.git Bug 1565872 - Fix miscellaneous typos and spelling inconsistencies --- diff --git a/.perlcriticrc b/.perlcriticrc index d5fc03fa0..60500bd0c 100644 --- a/.perlcriticrc +++ b/.perlcriticrc @@ -57,7 +57,7 @@ severity = 2 # This is not a good policy. # Non-explicit return is often easier to read. -# think of javascript arrow functions. +# think of JavaScript arrow functions. [-Subroutines::RequireFinalReturn] # This test is technically correct but I do not care. diff --git a/Bugzilla.pm b/Bugzilla.pm index 6817a0338..4c0708cd4 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -80,9 +80,9 @@ sub init_page { Bugzilla::Logging->fields->{remote_ip} = remote_ip(); } - # Because this function is run live from perl "use" commands of + # Because this function is run live from Perl "use" commands of # other scripts, we're skipping the rest of this function if we get here - # during a perl syntax check (perl -c, like we do during the + # during a Perl syntax check (perl -c, like we do during the # 001compile.t test). return if $^C; @@ -717,7 +717,7 @@ sub local_timezone { ||= DateTime::TimeZone->new(name => 'local'); } -# Send messages to syslog for the auditing systems (eg. mozdef) to pick up. +# Send messages to syslog for the auditing systems (e.g. mozdef) to pick up. sub audit { my (undef, $message) = @_; state $logger = Log::Log4perl->get_logger("audit"); @@ -885,7 +885,7 @@ all passed from the caller, and the caller's caller, and.... =item * -We can reuse objects across requests using mod_perl where appropriate (eg +We can reuse objects across requests using mod_perl where appropriate (e.g. templates), whilst destroying those which are only valid for a single request (such as the current user) @@ -895,7 +895,7 @@ Note that items accessible via this object are demand-loaded when requested. For something to be added to this object, it should either be able to benefit from persistence when run under mod_perl (such as the a C