Skip to content

Commit

Permalink
codacy, sensiolabs and scrutinizar-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
davispeixoto committed May 1, 2015
1 parent de6b7d5 commit 5e23b64
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 41 deletions.
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/vendor
composer.phar
composer.lock
.DS_Store
.settings
.buildpath
.project
.idea
21 changes: 0 additions & 21 deletions LICENSE.txt

This file was deleted.

2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
</phpunit>
</phpunit>
2 changes: 1 addition & 1 deletion src/Davispeixoto/LaravelSalesforce/Facades/Salesforce.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ class Salesforce extends Facade {
protected static function getFacadeAccessor() {
return 'salesforce';
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,3 @@ public function provides()
}

}
?>
9 changes: 3 additions & 6 deletions src/Davispeixoto/LaravelSalesforce/Salesforce.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Salesforce
{

/**
* @var \Davispeixoto\ForceDotComToolkitForPhp\SforceBaseClient sfh The Salesforce Handler
* @var \Davispeixoto\ForceDotComToolkitForPhp\SforceEnterpriseClient sfh The Salesforce Handler
*/
public $sfh;

Expand Down Expand Up @@ -45,7 +45,6 @@ public function __construct(Repository $configExternal)

$this->sfh->login($configExternal->get('laravel-salesforce::username'),
$configExternal->get('laravel-salesforce::password') . $configExternal->get('laravel-salesforce::token'));
return $this;
} catch (\Exception $e) {
Log::error($e->getMessage());
throw new SalesforceException('Exception no Construtor' . $e->getMessage() . "\n\n" . $e->getTraceAsString());
Expand Down Expand Up @@ -200,9 +199,9 @@ public function setMruHeader($header)
$this->sfh->setMruHeader($header);
}

public function setSessionHeader($id)
public function setSessionHeader($sessionId)
{
$this->sfh->setSessionHeader($id);
$this->sfh->setSessionHeader($sessionId);
}

public function setUserTerritoryDeleteHeader($header)
Expand Down Expand Up @@ -523,5 +522,3 @@ public function dump()
print_r($this, true);
}
}

?>
2 changes: 1 addition & 1 deletion src/Davispeixoto/LaravelSalesforce/SalesforceException.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
class SalesforceException extends \Exception
{

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6299,4 +6299,4 @@ All Rights Reserved
<soap:address location="https://login.salesforce.com/services/Soap/c/27.0"/>
</port>
</service>
</definitions>
</definitions>
2 changes: 1 addition & 1 deletion src/Davispeixoto/LaravelSalesforce/Wsdl/metadata.wsdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3334,4 +3334,4 @@ Copyright 2006-2010 Salesforce.com, inc. All Rights Reserved
<soap:address location="https://na7-api.salesforce.com/services/Soap/m/27.0"/>
</port>
</service>
</definitions>
</definitions>
2 changes: 1 addition & 1 deletion src/Davispeixoto/LaravelSalesforce/Wsdl/partner.wsdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3128,4 +3128,4 @@ All Rights Reserved
<soap:address location="https://login.salesforce.com/services/Soap/u/27.0"/>
</port>
</service>
</definitions>
</definitions>
2 changes: 1 addition & 1 deletion src/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
'password' => '',
'token' => '',
'wsdl' => app_path() . '/wsdl/enterprise.wsdl.xml',
);
);
2 changes: 1 addition & 1 deletion src/config/local/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
'password' => '',
'token' => '',
'wsdl' => app_path() . '/wsdl/enterprise.sandbox.wsdl.xml',
);
);

0 comments on commit 5e23b64

Please sign in to comment.