Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4085407
D419.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D419.diff
View Options
diff --git a/app/Console/Commands/AccountReset.php b/app/Console/Commands/AccountReset.php
--- a/app/Console/Commands/AccountReset.php
+++ b/app/Console/Commands/AccountReset.php
@@ -81,7 +81,7 @@
return false;
default:
- throw new Exception("Unhandled password broker response: " . $response);
+ throw new \Exception("Unhandled password broker response: " . $response);
}
}
diff --git a/app/Console/Commands/DatabaseShell.php b/app/Console/Commands/DatabaseShell.php
--- a/app/Console/Commands/DatabaseShell.php
+++ b/app/Console/Commands/DatabaseShell.php
@@ -180,7 +180,7 @@
);
if (!is_resource($proc)) {
- throw new Exception('Failed to passthru a command');
+ throw new \Exception('Failed to passthru a command');
}
proc_close($proc);
diff --git a/app/Http/Middleware/TrustProxy.php b/app/Http/Middleware/TrustProxy.php
--- a/app/Http/Middleware/TrustProxy.php
+++ b/app/Http/Middleware/TrustProxy.php
@@ -35,7 +35,7 @@
break;
default:
- throw new ArgumentException("Unhandled configuration mode: $mode");
+ throw new \ArgumentException("Unhandled configuration mode: $mode");
}
return $next($request);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 3, 04:32 (21 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2392377
Default Alt Text
D419.diff (1 KB)
Attached To
Mode
D419: Specify Exception and ArgumentException are in global space
Attached
Detach File
Event Timeline
Log In to Comment