Various code cleanup. Removed executable flags, added newlines.

This commit is contained in:
James Cole 2016-12-22 19:42:45 +01:00
parent 14a0de6b6a
commit b6aa79bb38
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
92 changed files with 51 additions and 52 deletions

0
app/Console/Kernel.php Executable file → Normal file
View File

View File

@ -35,4 +35,4 @@ class DeletedUser extends Event
{
$this->email = $email;
}
}
}

View File

@ -43,4 +43,4 @@ class RequestedNewPassword extends Event
$this->ipAddress = $ipAddress;
}
}
}

0
app/Exceptions/Handler.php Executable file → Normal file
View File

View File

@ -64,4 +64,4 @@ interface ProcessorInterface
* @return Collection
*/
public function getFiles(): Collection;
}
}

View File

@ -134,4 +134,4 @@ class ChartJsGenerator implements GeneratorInterface
return $chartData;
}
}
}

View File

@ -70,4 +70,4 @@ interface GeneratorInterface
*/
public function singleSet(string $setLabel, array $data): array;
}
}

View File

@ -153,4 +153,4 @@ class MonthReportGenerator implements ReportGeneratorInterface
return $this;
}
}
}

View File

@ -24,4 +24,4 @@ class MultiYearReportGenerator extends MonthReportGenerator
/**
* Doesn't do anything different.
*/
}
}

View File

@ -25,4 +25,4 @@ class YearReportGenerator extends MonthReportGenerator
/**
* Doesn't do anything different.
*/
}
}

View File

@ -244,4 +244,4 @@ class MonthReportGenerator extends Support implements ReportGeneratorInterface
return $result;
}
}
}

View File

@ -24,4 +24,4 @@ class MultiYearReportGenerator extends MonthReportGenerator
/**
* Doesn't do anything different.
*/
}
}

View File

@ -25,4 +25,4 @@ class YearReportGenerator extends MonthReportGenerator
/**
* Doesn't do anything different.
*/
}
}

View File

@ -325,4 +325,4 @@ class MonthReportGenerator extends Support implements ReportGeneratorInterface
return $result;
}
}
}

View File

@ -24,4 +24,4 @@ class MultiYearReportGenerator extends MonthReportGenerator
/**
* Doesn't do anything different.
*/
}
}

View File

@ -25,4 +25,4 @@ class YearReportGenerator extends MonthReportGenerator
/**
* Doesn't do anything different.
*/
}
}

View File

@ -57,4 +57,4 @@ class ReportGeneratorFactory
}
throw new FireflyException(sprintf('Cannot generate report. There is no "%s"-report for period "%s".', $type, $period));
}
}
}

View File

@ -64,4 +64,4 @@ interface ReportGeneratorInterface
*/
public function setStartDate(Carbon $date): ReportGeneratorInterface;
}
}

View File

@ -106,4 +106,4 @@ class MonthReportGenerator implements ReportGeneratorInterface
return $this;
}
}
}

View File

@ -103,4 +103,4 @@ class MultiYearReportGenerator implements ReportGeneratorInterface
return $this;
}
}
}

View File

@ -103,4 +103,4 @@ class YearReportGenerator implements ReportGeneratorInterface
return $this;
}
}
}

View File

@ -88,4 +88,4 @@ class Support
return $result;
}
}
}

View File

@ -726,4 +726,4 @@ class JournalCollector implements JournalCollectorInterface
return $query;
}
}
}

View File

@ -173,4 +173,4 @@ interface JournalCollectorInterface
* @return JournalCollectorInterface
*/
public function withoutCategory(): JournalCollectorInterface;
}
}

View File

@ -199,8 +199,7 @@ class AccountController extends Controller
*/
public function index(ARI $repository, string $what)
{
$what = $what ?? 'asset';
$what = $what ?? 'asset';
$subTitle = trans('firefly.' . $what . '_accounts');
$subTitleIcon = config('firefly.subIconsByIdentifier.' . $what);
$types = config('firefly.accountTypesByIdentifier.' . $what);

0
app/Http/Controllers/Auth/ForgotPasswordController.php Executable file → Normal file
View File

0
app/Http/Controllers/Auth/LoginController.php Executable file → Normal file
View File

0
app/Http/Controllers/Auth/RegisterController.php Executable file → Normal file
View File

0
app/Http/Controllers/Auth/ResetPasswordController.php Executable file → Normal file
View File

View File

@ -289,4 +289,4 @@ class BudgetReportController extends Controller
return $grouped;
}
}
}

View File

@ -427,4 +427,4 @@ class CategoryReportController extends Controller
return $grouped;
}
}
}

0
app/Http/Controllers/Controller.php Executable file → Normal file
View File

View File

@ -57,4 +57,4 @@ class BalanceController extends Controller
return $result;
}
}
}

View File

@ -120,4 +120,4 @@ class BudgetController extends Controller
return $data;
}
}
}

View File

@ -170,4 +170,4 @@ class CategoryController extends Controller
}
}
}

View File

@ -241,4 +241,4 @@ class OperationsController extends Controller
return $expenses;
}
}
}

View File

@ -244,4 +244,4 @@ class ConvertController extends Controller
}
}
}

0
app/Http/Kernel.php Executable file → Normal file
View File

0
app/Http/Middleware/EncryptCookies.php Executable file → Normal file
View File

0
app/Http/Middleware/RedirectIfAuthenticated.php Executable file → Normal file
View File

0
app/Http/Middleware/VerifyCsrfToken.php Executable file → Normal file
View File

View File

@ -82,4 +82,4 @@ class TagSplit
return $set;
}
}
}

View File

@ -46,4 +46,4 @@ class AvailableBudget extends Model
{
return $this->belongsTo('FireflyIII\User');
}
}
}

0
app/Providers/AppServiceProvider.php Executable file → Normal file
View File

0
app/Providers/AuthServiceProvider.php Executable file → Normal file
View File

0
app/Providers/BroadcastServiceProvider.php Executable file → Normal file
View File

0
app/Providers/EventServiceProvider.php Executable file → Normal file
View File

0
app/Providers/RouteServiceProvider.php Executable file → Normal file
View File

View File

@ -53,4 +53,4 @@ class ChartColour
return sprintf('rgba(%d, %d, %d, 0.7)', $row[0], $row[1], $row[2]);
}
}
}

0
app/User.php Executable file → Normal file
View File

0
bootstrap/app.php Executable file → Normal file
View File

0
bootstrap/autoload.php Executable file → Normal file
View File

0
bootstrap/cache/.gitignore vendored Executable file → Normal file
View File

0
config/auth.php Executable file → Normal file
View File

0
config/broadcasting.php Executable file → Normal file
View File

0
config/cache.php Executable file → Normal file
View File

0
config/compile.php Executable file → Normal file
View File

0
config/database.php Executable file → Normal file
View File

0
config/filesystems.php Executable file → Normal file
View File

0
config/mail.php Executable file → Normal file
View File

0
config/queue.php Executable file → Normal file
View File

0
config/services.php Executable file → Normal file
View File

0
config/session.php Executable file → Normal file
View File

0
config/view.php Executable file → Normal file
View File

0
database/.gitignore vendored Executable file → Normal file
View File

0
database/factories/ModelFactory.php Executable file → Normal file
View File

0
database/migrations/.gitkeep Executable file → Normal file
View File

0
database/seeds/.gitkeep Executable file → Normal file
View File

0
database/seeds/DatabaseSeeder.php Executable file → Normal file
View File

View File

@ -17,4 +17,4 @@
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
You should be redirected to the index page right away. The link expires in about four hours.
</p>
{% include 'emails.footer-html' %}
{% include 'emails.footer-html' %}

View File

@ -8,4 +8,4 @@ PLEASE verify that this activation link goes to the Firefly III installation you
{{ route }}
You should be redirected to the index page right away. The link expires in about four hours.
{% include 'emails.footer-text' %}
{% include 'emails.footer-text' %}

View File

@ -42,4 +42,4 @@
<p style="font-family: monospace;font-size:11px;color:#aaa">
{{ stackTrace|nl2br }}
</p>
{% include 'emails.footer-html' %}
{% include 'emails.footer-html' %}

View File

@ -26,4 +26,4 @@ https://github.com/JC5/firefly-iii/issues/new
The full stacktrace is below:
{{ stackTrace }}
{% include 'emails.footer-text' %}
{% include 'emails.footer-text' %}

View File

@ -10,4 +10,4 @@
</p>
</body>
</html>
</html>

View File

@ -7,4 +7,4 @@
<body>
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
Hi there,
</p>
</p>

View File

@ -1,3 +1,3 @@
{% include 'emails.header-text' %}
Firefly III has just locked out somebody trying to login with email address {{ email }}.
{% include 'emails.footer-text' %}
{% include 'emails.footer-text' %}

View File

@ -10,4 +10,4 @@
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
<a href="{{ url }}">{{ url }}</a>
</p>
{% include 'emails.footer-html' %}
{% include 'emails.footer-html' %}

View File

@ -4,4 +4,4 @@ Somebody tried to reset your password. If it was you, please follow the link bel
PLEASE verify that the link actually goes to the Firefly III you expect it to go!
{{ url }}
{% include 'emails.footer-text' %}
{% include 'emails.footer-text' %}

View File

@ -18,4 +18,4 @@ https://github.com/JC5/firefly-iii/wiki/First-use
http://jc5.github.io/firefly-iii//description/
The registration has been created from IP {{ ip }}
{% include 'emails.footer-text' %}
{% include 'emails.footer-text' %}

View File

@ -261,4 +261,4 @@
{% block styles %}
<link rel="stylesheet" href="css/bootstrap-sortable.css" type="text/css" media="all"/>
{% endblock %}
{% endblock %}

View File

@ -400,4 +400,4 @@
{% block styles %}
<link rel="stylesheet" href="css/bootstrap-sortable.css" type="text/css" media="all"/>
{% endblock %}
{% endblock %}

View File

@ -193,4 +193,4 @@
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="css/bootstrap-sortable.css" type="text/css" media="all"/>
{% endblock %}
{% endblock %}

View File

@ -1,3 +1,3 @@
<p id="no_extra_options">
<em>{{ 'report_has_no_extra_options'|_ }}</em>
</p>
</p>

View File

@ -35,4 +35,4 @@
</tr>
{% endfor %}
</tbody>
</table>
</table>

View File

@ -113,4 +113,4 @@
{% block styles %}
<link rel="stylesheet" href="css/bootstrap-sortable.css" type="text/css" media="all"/>
{% endblock %}
{% endblock %}

View File

@ -20,4 +20,4 @@
{% endblock %}
{% block scripts %}
<script type="text/javascript" src="js/ff/transactions/list.js"></script>
{% endblock %}
{% endblock %}

View File

@ -20,4 +20,4 @@
{% endblock %}
{% block scripts %}
<script type="text/javascript" src="js/ff/transactions/list.js"></script>
{% endblock %}
{% endblock %}

0
resources/views/vendor/.gitkeep vendored Executable file → Normal file
View File

0
tests/ExampleTest.php Executable file → Normal file
View File

0
tests/TestCase.php Executable file → Normal file
View File

0
tests/acceptance/Controllers/HomeControllerTest.php Executable file → Normal file
View File

0
tests/unit/Models/TransactionTypeTest.php Executable file → Normal file
View File