Skip to content

Commit

Permalink
going to fix according to Codacy, SensioLabs Insights and Scrutinizer CI
Browse files Browse the repository at this point in the history
  • Loading branch information
davispeixoto committed May 4, 2015
1 parent 4cce45d commit d63828f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
Laravel 4 Salesforce
====================
# Laravel 4 Salesforce

This Laravel 4 package provides an interface for using [Salesforce CRM](http://www.salesforce.com/) through its SOAP API.

Installation
------------
[![Latest Stable Version](https://img.shields.io/github/release/davispeixoto/Laravel-4-Salesforce.svg)](https://packagist.org/packages/davispeixoto/laravel-salesforce)
[![Total Downloads](https://img.shields.io/packagist/dt/davispeixoto/Laravel-4-Salesforce.svg)](https://packagist.org/packages/davispeixoto/laravel-salesforce)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/3b9313d5-1340-4459-9973-070e19c289bc/small.png)](https://insight.sensiolabs.com/projects/3b9313d5-1340-4459-9973-070e19c289bc)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/davispeixoto/Laravel-4-Salesforce/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/davispeixoto/Laravel-4-Salesforce/?branch=master)
[![Codacy Badge](https://www.codacy.com/project/badge/a0e8c76d048d441194d4cfb03642bd0c)](https://www.codacy.com/app/davis-peixoto/Laravel-4-Salesforce)
[![Build Status](https://travis-ci.org/davispeixoto/Laravel-4-Salesforce.svg?branch=2.0.5)](https://travis-ci.org/davispeixoto/Laravel-4-Salesforce)

## Installation

Begin by installing this package through Composer. Edit your project's `composer.json` file to require `davispeixoto/laravel-salesforce`.

Expand Down
4 changes: 1 addition & 3 deletions src/Davispeixoto/LaravelSalesforce/Salesforce.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

use Davispeixoto\ForceDotComToolkitForPhp\SforceEnterpriseClient as Client;
use Illuminate\Config\Repository;
use \Log;

/**
* Class Salesforce
Expand Down Expand Up @@ -46,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'));
} catch (\Exception $e) {
Log::error($e->getMessage());
throw new SalesforceException('Exception no Construtor' . $e->getMessage() . "\n\n" . $e->getTraceAsString());
}
}
Expand Down Expand Up @@ -107,7 +105,7 @@ public function upsert($ext_Id, $sObjects, $type = 'Contact')
*
* Merges up to 3 records into one.
*
* @param \stdClass $mergeRequest A mergeRequest object
* @param stdClass $mergeRequest A mergeRequest object
* @param string $type The Salesforce Object Type (actually can merge only Lead, Account and Contact objects)
* @return \Davispeixoto\ForceDotComToolkitForPhp\MergeResult
*/
Expand Down

0 comments on commit d63828f

Please sign in to comment.