Skip to content

Commit

Permalink
Merge pull request #68 from antonioribeiro/analysis-Xl41PW
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI

[ci skip] [skip ci]
  • Loading branch information
antonioribeiro authored Aug 31, 2018
2 parents d279e45 + c7a6032 commit f6c69e1
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 20 deletions.
8 changes: 4 additions & 4 deletions src/package/Data/Models/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

namespace PragmaRX\Tddd\Package\Data\Models;

use PragmaRX\Tddd\Package\Support\Constants;
use PragmaRX\Tddd\Package\Events\DataUpdated;
use PragmaRX\Tddd\Package\Data\Repositories\Data as DataRepository;
use Illuminate\Database\Eloquent\Model as Eloquent;
use PragmaRX\Tddd\Package\Data\Repositories\Data as DataRepository;
use PragmaRX\Tddd\Package\Events\DataUpdated;

class Model extends Eloquent
{
Expand All @@ -19,7 +18,8 @@ private function broadcastDataUpdated()
/**
* Save the model to the database.
*
* @param array $options
* @param array $options
*
* @return bool
*/
public function save(array $options = [])
Expand Down
2 changes: 1 addition & 1 deletion src/package/Data/Repositories/Support/Projects.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function getProjects()
/**
* Get a SHA1 for all projects.
*
* @return boolean
* @return bool
*/
public function projectSha1HasChanged()
{
Expand Down
14 changes: 7 additions & 7 deletions src/package/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@

use Illuminate\Support\Facades\Event;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\ServiceProvider as IlluminateServiceProvider;
use PragmaRX\Tddd\Package\Console\Commands\TestCommand;
use PragmaRX\Tddd\Package\Console\Commands\WatchCommand;
use PragmaRX\Tddd\Package\Events\TestsFailed;
use PragmaRX\Tddd\Package\Events\UserNotifiedOfFailure;
use PragmaRX\Tddd\Package\Listeners\MarkAsNotified;
use PragmaRX\Tddd\Package\Listeners\Notify;
use PragmaRX\Tddd\Package\Services\Cache;
use PragmaRX\Tddd\Package\Services\Config;
use PragmaRX\Tddd\Package\Listeners\Notify;
use PragmaRX\Tddd\Package\Support\Notifier;
use PragmaRX\Tddd\Package\Events\TestsFailed;
use PragmaRX\Tddd\Package\Listeners\MarkAsNotified;
use PragmaRX\Tddd\Package\Events\UserNotifiedOfFailure;
use PragmaRX\Tddd\Package\Console\Commands\TestCommand;
use PragmaRX\Tddd\Package\Console\Commands\WatchCommand;
use Illuminate\Support\ServiceProvider as IlluminateServiceProvider;

class ServiceProvider extends IlluminateServiceProvider
{
Expand Down
13 changes: 8 additions & 5 deletions src/package/Services/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ class Cache extends Base
protected $cache;

/**
* Put a value to the cache store
* Put a value to the cache store.
*
* @return mixed
* @throws \Exception
*
* @return mixed
*/
public function put($key, $value, $minutes = 525600)
{
Expand All @@ -25,10 +26,11 @@ public function put($key, $value, $minutes = 525600)
}

/**
* Get a value from the cache store
* Get a value from the cache store.
*
* @return mixed
* @throws \Exception
*
* @return mixed
*/
public function get($key)
{
Expand All @@ -40,8 +42,9 @@ public function get($key)
/**
* Get the cache instance.
*
* @return array|\Illuminate\Foundation\Application|mixed
* @throws \Exception
*
* @return array|\Illuminate\Foundation\Application|mixed
*/
protected function getCacheInstance()
{
Expand Down
2 changes: 1 addition & 1 deletion src/package/Services/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace PragmaRX\Tddd\Package\Services;

use PragmaRX\Tddd\Package\Facades\Config;
use PragmaRX\Tddd\Package\Data\Repositories\Data as DataRepository;
use PragmaRX\Tddd\Package\Facades\Config;

class Loader extends Base
{
Expand Down
4 changes: 2 additions & 2 deletions src/package/Services/Tester.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
namespace PragmaRX\Tddd\Package\Services;

use Closure;
use Symfony\Component\Process\Process;
use PragmaRX\Tddd\Package\Support\Executor;
use PragmaRX\Tddd\Package\Console\Commands\BaseCommand as Command;
use PragmaRX\Tddd\Package\Data\Repositories\Data as DataRepository;
use PragmaRX\Tddd\Package\Support\Executor;
use Symfony\Component\Process\Process;

class Tester extends Base
{
Expand Down

0 comments on commit f6c69e1

Please sign in to comment.