Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
osticket
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
docker
osticket
Commits
612ffcdd
Commit
612ffcdd
authored
11 years ago
by
Jared Hancock
Browse files
Options
Downloads
Patches
Plain Diff
Satisfy lint test engine
parent
a7d10318
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/class.i18n.php
+1
-0
1 addition, 0 deletions
include/class.i18n.php
include/pear/Net/DNS2/Packet.php
+3
-3
3 additions, 3 deletions
include/pear/Net/DNS2/Packet.php
setup/test/tests/stubs.php
+9
-0
9 additions, 0 deletions
setup/test/tests/stubs.php
with
13 additions
and
3 deletions
include/class.i18n.php
+
1
−
0
View file @
612ffcdd
...
@@ -189,6 +189,7 @@ class Internationalization {
...
@@ -189,6 +189,7 @@ class Internationalization {
// language-range = ( ( 1*8ALPHA *( "-" 1*8ALPHA ) ) | "*" )
// language-range = ( ( 1*8ALPHA *( "-" 1*8ALPHA ) ) | "*" )
// Samples: "hu, en-us;q=0.66, en;q=0.33", "hu,en-us;q=0.5"
// Samples: "hu, en-us;q=0.66, en;q=0.33", "hu,en-us;q=0.5"
$browser_langcodes
=
array
();
$browser_langcodes
=
array
();
$matches
=
array
();
if
(
preg_match_all
(
'@(?<=[, ]|^)([a-zA-Z-]+|\*)(?:;q=([0-9.]+))?(?:$|\s*,\s*)@'
,
if
(
preg_match_all
(
'@(?<=[, ]|^)([a-zA-Z-]+|\*)(?:;q=([0-9.]+))?(?:$|\s*,\s*)@'
,
trim
(
$_SERVER
[
'HTTP_ACCEPT_LANGUAGE'
]),
$matches
,
PREG_SET_ORDER
))
{
trim
(
$_SERVER
[
'HTTP_ACCEPT_LANGUAGE'
]),
$matches
,
PREG_SET_ORDER
))
{
foreach
(
$matches
as
$match
)
{
foreach
(
$matches
as
$match
)
{
...
...
This diff is collapsed.
Click to expand it.
include/pear/Net/DNS2/Packet.php
+
3
−
3
View file @
612ffcdd
...
@@ -190,7 +190,7 @@ class Net_DNS2_Packet
...
@@ -190,7 +190,7 @@ class Net_DNS2_Packet
/**
/**
* applies a standard DNS name compression on the given name/offset
* applies a standard DNS name compression on the given name/offset
*
*
* This logic was based on the Net::DNS::Packet::dn_comp() function
* This logic was based on the Net::DNS::Packet::dn_comp() function
(nolint)
* by Michanel Fuhr
* by Michanel Fuhr
*
*
* @param string $name the name to be compressed
* @param string $name the name to be compressed
...
@@ -250,7 +250,7 @@ class Net_DNS2_Packet
...
@@ -250,7 +250,7 @@ class Net_DNS2_Packet
/**
/**
* applies a standard DNS name compression on the given name/offset
* applies a standard DNS name compression on the given name/offset
*
*
* This logic was based on the Net::DNS::Packet::dn_comp() function
* This logic was based on the Net::DNS::Packet::dn_comp() function
(nolint)
* by Michanel Fuhr
* by Michanel Fuhr
*
*
* @param string $name the name to be compressed
* @param string $name the name to be compressed
...
@@ -283,7 +283,7 @@ class Net_DNS2_Packet
...
@@ -283,7 +283,7 @@ class Net_DNS2_Packet
/**
/**
* expands the domain name stored at a given offset in a DNS Packet
* expands the domain name stored at a given offset in a DNS Packet
*
*
* This logic was based on the Net::DNS::Packet::dn_expand() function
* This logic was based on the Net::DNS::Packet::dn_expand() function
(nolint)
* by Michanel Fuhr
* by Michanel Fuhr
*
*
* @param Net_DNS2_Packet &$packet the DNS packet to look in for the domain name
* @param Net_DNS2_Packet &$packet the DNS packet to look in for the domain name
...
...
This diff is collapsed.
Click to expand it.
setup/test/tests/stubs.php
+
9
−
0
View file @
612ffcdd
...
@@ -45,6 +45,7 @@ class DomElement {
...
@@ -45,6 +45,7 @@ class DomElement {
class
DomDocument
{
class
DomDocument
{
function
loadHTML
()
{}
function
loadHTML
()
{}
function
loadXML
()
{}
}
}
class
Exception
{
class
Exception
{
...
@@ -83,4 +84,12 @@ class DateTimeZone {
...
@@ -83,4 +84,12 @@ class DateTimeZone {
static
function
listIdentifiers
()
{}
static
function
listIdentifiers
()
{}
}
}
class
Phar
{
static
function
isValidPharFilename
()
{}
}
class
ZipArchive
{
function
statIndex
()
{}
function
getFromIndex
()
{}
}
?>
?>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment