Similar looking variables

This is the list of similar looking variables, found across the application. They might be confused one with the other.

One _ : the difference in the name is only _ (underscore); Case : the difference in the name is only the case; One letter : the difference in the name is only one letter;One digit : the difference in the name is only one digit;Partial inversion : the variable name may be broken in two pieces, which were inverted;

VariableVariablesReason
$filesystem
  • $fileSystem
Case
$tempfilename
  • $tempFileName
  • $tempFilename
Case
$hostname
  • $hostName
Case
$realpath
  • $realPath
Case
$filename
  • $fileName
Case
$bitbucketutil
  • $bitbucketUtil
  • $bitBucketUtil
Case
$localname
  • $localName
Case
$newline
  • $newLine
Case
$filesize
  • $fileSize
Case
$classmap
  • $classMap
Case
$php64
  • $php
One digit
$ref1
  • $ref2
  • $ref
One digit
$ref2
  • $ref1
  • $ref
One digit
$match2
  • $match
One digit
$index2
  • $index
  • $index3
One digit
$index3
  • $index
  • $index2
One digit
$package1
  • $package
  • $package2
One digit
$package2
  • $package
  • $package1
One digit
$literal1
  • $literal
  • $literal2
One digit
$literal2
  • $literal
  • $literal1
One digit
$psr0
  • $psr4
  • $psr
One digit
$psr4
  • $psr0
  • $psr
One digit
$logicalPathPsr4
  • $logicalPathPsr0
One digit
$logicalPathPsr0
  • $logicalPathPsr4
One digit
$plural2
  • $plural
  • $plural3
One digit
$plural3
  • $plural
  • $plural2
One digit
$phpunitHack1
  • $phpunitHack2
One digit
$phpunitHack2
  • $phpunitHack1
One digit
$dir
  • $dirs
One letter
$key
  • $keys
One letter
$msg
  • $msgs
One letter
$val
  • $vals
One letter
$url
  • $curl
  • $urls
One letter
$res
  • $resp
  • $refs
  • $reqs
One letter
$req
  • $reqs
One letter
$ext
  • $exit
  • $text
One letter
$tag
  • $tags
One letter
$uid
  • $uids
One letter
$map
  • $maps
One letter
$rev
  • $prev
One letter
$ref
  • $ref1
  • $ref2
  • $refl
  • $refs
One letter
$min
  • $main
One letter
$int
  • $hint
One letter
$rfs
  • $refs
One letter
$bit
  • $bits
One letter
$arg
  • $args
One letter
$pre
  • $prev
One letter
$log
  • $logs
One letter
$bin
  • $bins
One letter
$hit
  • $hint
One letter
$psr
  • $psr0
  • $psr4
One letter
$row
  • $rows
One letter
$set
  • $sets
One letter
$file
  • $files
One letter
$repo
  • $repos
One letter
$path
  • $paths
  • $patch
One letter
$name
  • $names
One letter
$type
  • $types
One letter
$link
  • $links
One letter
$line
  • $lines
One letter
$item
  • $items
One letter
$part
  • $parts
One letter
$auth
  • $oauth
One letter
$rule
  • $rules
One letter
$stat
  • $start
One letter
$time
  • $mtime
One letter
$sync
  • $async
One letter
$task
  • $tasks
One letter
$elem
  • $elems
One letter
$flag
  • $flags
One letter
$hint
  • $hints
One letter
$root
  • $roots
One letter
$pair
  • $pairs
One letter
$value
  • $values
One letter
$index
  • $index2
  • $index3
One letter
$match
  • $match2
One letter
$token
  • $tokens
One letter
$scope
  • $scopes
One letter
$level
  • $levels
One letter
$error
  • $errors
One letter
$input
  • $inputs
One letter
$chunk
  • $chunks
One letter
$group
  • $groups
One letter
$style
  • $styles
One letter
$proto
  • $protos
One letter
$source
  • $sources
One letter
$result
  • $results
One letter
$scheme
  • $schemes
One letter
$update
  • $updates
One letter
$string
  • $strings
One letter
$driver
  • $drivers
One letter
$mirror
  • $mirrors
One letter
$needle
  • $needles
One letter
$header
  • $headers
One letter
$weight
  • $weights
One letter
$plural
  • $plural2
  • $plural3
One letter
$reason
  • $reasons
One letter
$decode
  • $decoded
One letter
$format
  • $formats
One letter
$script
  • $scripts
One letter
$choice
  • $choices
One letter
$filter
  • $filters
One letter
$vendor
  • $vendors
One letter
$option
  • $options
One letter
$author
  • $authors
One letter
$unique
  • $uniques
One letter
$handle
  • $handler
  • $handled
One letter
$message
  • $messages
One letter
$package
  • $packages
  • $package1
  • $package2
One letter
$warning
  • $warnings
One letter
$install
  • $installs
One letter
$content
  • $contents
One letter
$valType
  • $valTypes
One letter
$version
  • $versions
One letter
$replace
  • $replaces
  • $replaced
One letter
$provide
  • $provided
  • $provides
  • $provider
One letter
$aliased
  • $aAliased
One letter
$pattern
  • $patterns
One letter
$include
  • $includes
One letter
$promise
  • $promises
One letter
$rootReq
  • $rootReqs
One letter
$funding
  • $fundings
One letter
$command
  • $commands
One letter
$license
  • $licenses
One letter
$require
  • $required
  • $requires
  • $requirer
One letter
$resolve
  • $resolved
  • $resolver
One letter
$default
  • $defaults
One letter
$archive
  • $archiver
One letter
$literal
  • $literals
  • $literal1
  • $literal2
One letter
$problem
  • $problems
One letter
$exclude
  • $excluded
  • $excludes
One letter
$wildcard
  • $wildcards
One letter
$override
  • $overrides
  • $overrider
One letter
$provides
  • $providers
One letter
$provider
  • $providers
One letter
$template
  • $templates
One letter
$protocol
  • $protocols
One letter
$callback
  • $callbacks
One letter
$argument
  • $arguments
One letter
$listener
  • $listeners
One letter
$conflict
  • $conflicts
One letter
$decision
  • $decisions
One letter
$ruleText
  • $ruleTexts
One letter
$autoload
  • $autoloads
One letter
$operation
  • $operations
One letter
$candidate
  • $candidates
One letter
$packageId
  • $packageIds
One letter
$nameFound
  • $namesFound
One letter
$reference
  • $references
  • $preference
One letter
$cloneLink
  • $cloneLinks
One letter
$component
  • $components
One letter
$cachePath
  • $cachePaths
One letter
$reasonSet
  • $reasonSets
One letter
$suggester
  • $suggesters
One letter
$constraint
  • $constraints
One letter
$repoConfig
  • $repoConfigs
One letter
$references
  • $preferences
One letter
$credential
  • $credentials
One letter
$curlOption
  • $curlOptions
One letter
$preference
  • $preferences
One letter
$suggestion
  • $suggestions
One letter
$optionName
  • $optionNames
One letter
$requireKey
  • $requireKeys
One letter
$packageName
  • $packageNames
One letter
$installPath
  • $installPaths
One letter
$spdxLicense
  • $spdxLicenses
One letter
$authFailure
  • $authFailures
One letter
$problemRule
  • $problemRules
One letter
$requirement
  • $requirements
One letter
$ruleLiteral
  • $ruleLiterals
One letter
$rootRequire
  • $rootRequires
One letter
$includePath
  • $includePaths
One letter
$usedLicense
  • $usedLicenses
One letter
$replacerName
  • $replacerNames
One letter
$installedRepo
  • $installedRepos
One letter
$lockedPackage
  • $lockedPackages
One letter
$packageFilter
  • $packagesFilter
One letter
$resultPackage
  • $resultPackages
One letter
$loadedPackage
  • $loadedPackages
One letter
$latestPackage
  • $latestPackages
One letter
$packageByName
  • $packagesByName
One letter
$learnedLiteral
  • $learnedLiterals
One letter
$presentPackage
  • $presentPackages
One letter
$existingPackage
  • $existingPackages
One letter
$autoloadPackage
  • $autoloadPackages
One letter
$constraintGroup
  • $constraintGroups
One letter
$allReposPackage
  • $allReposPackages
One letter
$rootRequirement
  • $rootRequirements
One letter
$preferredVersion
  • $preferredVersions
One letter
$installedPackage
  • $installedPackages
One letter
$assertRuleLiteral
  • $assertRuleLiterals
One letter
$potentialDuplicate
  • $potentialDuplicates
One letter
$composerFileContent
  • $composerFileContents
One letter