Skip to content

Commit

Permalink
Periodic php-cs-fixer cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
loopj committed Mar 11, 2014
1 parent 6da9f66 commit d73a38c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions phpunit.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<phpunit
<phpunit
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
Expand All @@ -13,4 +13,4 @@
</testsuite>
</testsuites>

</phpunit>
</phpunit>
6 changes: 3 additions & 3 deletions src/Bugsnag/Client.php
Expand Up @@ -314,7 +314,7 @@ public function setBatchSending($batchSending)
* Sets the notifier to report as to Bugsnag. This should only be
* set by other notifier libraries.
*
* @param Array $notifier an array of name, version, url.
* @param Array $notifier an array of name, version, url.
*/
public function setNotifier($notifier)
{
Expand Down Expand Up @@ -402,8 +402,8 @@ public function shutdownHandler()
/**
* Batches up errors into notifications for later sending
*
* @param Bugsnag_Error $error the error to batch up
* @param array $metaData optional meta data to send with the error
* @param Bugsnag_Error $error the error to batch up
* @param array $metaData optional meta data to send with the error
*/
public function notify(Bugsnag_Error $error, $metaData = array())
{
Expand Down
3 changes: 1 addition & 2 deletions src/Bugsnag/Notification.php
Expand Up @@ -114,8 +114,7 @@ public function postJSON($url, $data)
error_log('Bugsnag Warning: Couldn\'t notify ('.$responseBody.')');
}

if (curl_errno($http))
{
if (curl_errno($http)) {
error_log('Bugsnag Warning: Couldn\'t notify (' . curl_error($http).')');
}

Expand Down
2 changes: 1 addition & 1 deletion src/Bugsnag/Stacktrace.php
Expand Up @@ -2,7 +2,7 @@

class Bugsnag_Stacktrace
{
public $frames = array();
public $frames = array();
private $config;

public static function generate($config)
Expand Down
3 changes: 2 additions & 1 deletion tests/Bugsnag/ErrorTest.php
Expand Up @@ -107,7 +107,8 @@ public function testInvalidSeverity()
$this->assertEquals($errorArray['severity'], 'error');
}

public function testPreviousException() {
public function testPreviousException()
{
if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
$exception = new Exception("secondly", 65533, new Exception("firstly"));

Expand Down

0 comments on commit d73a38c

Please sign in to comment.