Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3946170
D2489.id6273.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
4 KB
Referenced Files
None
Subscribers
None
D2489.id6273.diff
View Options
diff --git a/.phan/config.php b/.phan/config.php
--- a/.phan/config.php
+++ b/.phan/config.php
@@ -203,7 +203,7 @@
// n.b.: If you'd like to parse but not analyze 3rd
// party code, directories containing that code
// should be added to the `directory_list` as
- // to `excluce_analysis_directory_list`.
+ // to `exclude_analysis_directory_list`.
'exclude_analysis_directory_list' => [
'vendor/',
],
diff --git a/src/Culture/Rome/RomanNumerals.php b/src/Culture/Rome/RomanNumerals.php
--- a/src/Culture/Rome/RomanNumerals.php
+++ b/src/Culture/Rome/RomanNumerals.php
@@ -21,7 +21,7 @@
/**
* Provides a canonical table with hindu arabic numerals as keys,
- * and roman numerals as values.
+ * and Roman numerals as values.
*/
public static function getHinduArabicTable () : array {
return [
diff --git a/src/HTTP/Requests/RemoteAddress.php b/src/HTTP/Requests/RemoteAddress.php
--- a/src/HTTP/Requests/RemoteAddress.php
+++ b/src/HTTP/Requests/RemoteAddress.php
@@ -31,7 +31,7 @@
public function getClientAddress () : string {
// Header contains 'clientIP, proxyIP, anotherProxyIP'
// or 'clientIP proxyIP anotherProxyIP'
- // The first value is so the one to return.
+ // The client address to return is then the first value.
// See draft-ietf-appsawg-http-forwarded-10.
$ips = preg_split("/[\s,]+/", $this->remoteAddress, 2);
return trim($ips[0]);
diff --git a/src/Identifiers/UUID.php b/src/Identifiers/UUID.php
--- a/src/Identifiers/UUID.php
+++ b/src/Identifiers/UUID.php
@@ -8,7 +8,7 @@
const UUID_REGEXP = "/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/";
/**
- * @return string A RFC 4122 compliant v4 UUID
+ * @return string An RFC 4122 compliant v4 UUID
*/
public static function UUIDv4 () : string {
// Code by Andrew Moore
diff --git a/src/OS/CurrentProcess.php b/src/OS/CurrentProcess.php
--- a/src/OS/CurrentProcess.php
+++ b/src/OS/CurrentProcess.php
@@ -14,7 +14,7 @@
public static function isPrivileged () : bool {
if (CurrentOS::isWindows()) {
// `net session` is known to only work as privileged process.
- // To wrap in cmd allows to avoid /dev/null for Cygwin,
+ // To wrap in cmd allows avoiding /dev/null for Cygwin,
// or $null when invoked from PowerShell. NUL: will always be used.
exec('cmd /C "net session >NUL 2>&1"', $_, $exitCode);
diff --git a/src/Strings/Multibyte/StringUtilities.php b/src/Strings/Multibyte/StringUtilities.php
--- a/src/Strings/Multibyte/StringUtilities.php
+++ b/src/Strings/Multibyte/StringUtilities.php
@@ -60,8 +60,8 @@
/**
* Encode a string using a variant of the MIME base64 compatible with URLs.
*
- * The + and / characters used in base64 are replaced by - and _.
- * The = padding is removed.
+ * The '+' and '/' characters used in base64 are replaced by '-' and '_'.
+ * The '=' padding is removed.
*
* @param string $string The string to encode
* @return string The encoded string
diff --git a/tests/Network/IPTest.php b/tests/Network/IPTest.php
--- a/tests/Network/IPTest.php
+++ b/tests/Network/IPTest.php
@@ -11,7 +11,7 @@
///
/// Data providers for IP addresses
///
- /// These data providers methods allow to provide IP addresses
+ /// These data providers methods allow providing IP addresses
/// to validate or invalidate.
///
/// The advanced IPv6 tests have been curated by Stephen Ryan
diff --git a/tests/data/MockLib/Bar.php b/tests/data/MockLib/Bar.php
--- a/tests/data/MockLib/Bar.php
+++ b/tests/data/MockLib/Bar.php
@@ -5,7 +5,7 @@
/**
* Class Bar
*
- * This class allows to check if the autoloader can register
+ * This class allows checking if the autoloader can register
* the Acme\MockLib namespace and include this file.
*
* @package Acme\MockLib
diff --git a/tests/data/MockLib/Foo.php b/tests/data/MockLib/Foo.php
--- a/tests/data/MockLib/Foo.php
+++ b/tests/data/MockLib/Foo.php
@@ -5,7 +5,7 @@
/**
* Class Foo
*
- * This class allows to check if the autoloader can register
+ * This class allows checking if the autoloader can register
* the Acme\MockLib namespace and include this file.
*
* @package Acme\MockLib
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 27, 12:54 (9 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2316236
Default Alt Text
D2489.id6273.diff (4 KB)
Attached To
Mode
D2489: Proofread comments
Attached
Detach File
Event Timeline
Log In to Comment