Skip to content
This repository has been archived by the owner on Jan 3, 2020. It is now read-only.

Apply fixes from StyleCI #16

Merged
merged 1 commit into from Feb 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/AbstractServiceProvider.php
Expand Up @@ -122,7 +122,7 @@ protected function loadTranslations()

protected function loadRoutes()
{
if (! $this->app->routesAreCached()) {
if (!$this->app->routesAreCached()) {
require $this->app['loader.routes']->getFileList($this->packagePath);
}
}
Expand Down Expand Up @@ -287,7 +287,7 @@ protected function getFileName($file)
{
$file = basename($file);

if (! ends_with($file, '.php')) {
if (!ends_with($file, '.php')) {
$file = $file.'.php';
}

Expand Down
2 changes: 1 addition & 1 deletion src/Publisher/ConfigPublisher.php
Expand Up @@ -40,7 +40,7 @@ protected function getSource($packagePath): array
]);

// if the destination doesn't exist we can add the file to the queue
if (! $this->files->exists($destinationPath)) {
if (!$this->files->exists($destinationPath)) {
$paths[$file] = $destinationPath;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Publisher/MigrationPublisher.php
Expand Up @@ -38,7 +38,7 @@ protected function getSource($packagePath): array
// iterate through all files
foreach ($files as $file) {
// if the destination doesn't exist we can add the file to the queue
if (! class_exists($this->getClassFromFile($file))) {
if (!class_exists($this->getClassFromFile($file))) {
$paths[$file] = $this->getDestinationPath('migrations', [
date('Y_m_d_His', time()), $this->getFileName($file),
]);
Expand Down
2 changes: 1 addition & 1 deletion src/Publisher/Publisher.php
Expand Up @@ -63,7 +63,7 @@ protected function getFileName($file): string
{
$file = basename($file);

if (! ends_with($file, '.php')) {
if (!ends_with($file, '.php')) {
$file = $file.'.php';
}

Expand Down
2 changes: 1 addition & 1 deletion src/Publisher/SeedPublisher.php
Expand Up @@ -41,7 +41,7 @@ protected function getSource($packagePath): array
]);

// if the destination doesn't exist we can add the file to the queue
if (! $this->files->exists($destinationPath)) {
if (!$this->files->exists($destinationPath)) {
$paths[$file] = $destinationPath;
}
}
Expand Down