diff --git a/app/Http/Controllers/Chart/TagReportController.php b/app/Http/Controllers/Chart/TagReportController.php index 2aca50bc77..5c3ee98ed1 100644 --- a/app/Http/Controllers/Chart/TagReportController.php +++ b/app/Http/Controllers/Chart/TagReportController.php @@ -364,4 +364,4 @@ class TagReportController extends Controller return $grouped; } -} \ No newline at end of file +} diff --git a/app/Support/Import/Configuration/Csv/Map.php b/app/Support/Import/Configuration/Csv/Map.php index eb51c04e4d..813cecd071 100644 --- a/app/Support/Import/Configuration/Csv/Map.php +++ b/app/Support/Import/Configuration/Csv/Map.php @@ -265,4 +265,4 @@ class Map implements ConfigurationInterface return $column; } -} \ No newline at end of file +} diff --git a/public/browserconfig.xml b/public/browserconfig.xml index 74bb89ac30..b3930d0f04 100644 --- a/public/browserconfig.xml +++ b/public/browserconfig.xml @@ -1,9 +1,9 @@ - - - - #da532c - - + + + + #da532c + + diff --git a/public/css/bootstrap-sortable.css b/public/css/bootstrap-sortable.css index aed89cd62e..fe3fe8ab05 100755 --- a/public/css/bootstrap-sortable.css +++ b/public/css/bootstrap-sortable.css @@ -43,20 +43,20 @@ table.sortable span.arrow, span.reversed, th.arrow.down:after, th.reversedarrow. margin-top: -2px; } - table.sortable span.arrow.up, th.arrow.up:after { - border-color: transparent transparent #ccc transparent; - margin-top: -7px; - } +table.sortable span.arrow.up, th.arrow.up:after { + border-color: transparent transparent #ccc transparent; + margin-top: -7px; +} table.sortable span.reversed, th.reversedarrow.down:after { border-color: transparent transparent #ccc transparent; margin-top: -7px; } - table.sortable span.reversed.up, th.reversedarrow.up:after { - border-color: #ccc transparent transparent transparent; - margin-top: -2px; - } +table.sortable span.reversed.up, th.reversedarrow.up:after { + border-color: #ccc transparent transparent transparent; + margin-top: -2px; +} table.sortable span.az:before, th.az.down:after { content: "a .. z"; @@ -94,17 +94,17 @@ table.sortable span.month.up:before, th.month.up:after { content: "dec .. jan"; } -table.sortable>thead th:not([data-defaultsort=disabled]) { +table.sortable > thead th:not([data-defaultsort=disabled]) { cursor: pointer; position: relative; top: 0; left: 0; } -table.sortable>thead th:hover:not([data-defaultsort=disabled]) { +table.sortable > thead th:hover:not([data-defaultsort=disabled]) { background: #efefef; } -table.sortable>thead th div.mozilla { +table.sortable > thead th div.mozilla { position: relative; } diff --git a/public/css/bootstrap-tagsinput.css b/public/css/bootstrap-tagsinput.css index 7fced3009d..e8f37d2d64 100755 --- a/public/css/bootstrap-tagsinput.css +++ b/public/css/bootstrap-tagsinput.css @@ -4,57 +4,67 @@ */ .bootstrap-tagsinput { - background-color: #fff; - border: 1px solid #ccc; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - display: inline-block; - padding: 4px 6px; - color: #555; - vertical-align: middle; - border-radius: 4px; - max-width: 100%; - line-height: 22px; - cursor: text; + background-color: #fff; + border: 1px solid #ccc; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + display: inline-block; + padding: 4px 6px; + color: #555; + vertical-align: middle; + border-radius: 4px; + max-width: 100%; + line-height: 22px; + cursor: text; } + .bootstrap-tagsinput input { - border: none; - box-shadow: none; - outline: none; - background-color: transparent; - padding: 0 6px; - margin: 0; - width: auto; - max-width: inherit; + border: none; + box-shadow: none; + outline: none; + background-color: transparent; + padding: 0 6px; + margin: 0; + width: auto; + max-width: inherit; } + .bootstrap-tagsinput.form-control input::-moz-placeholder { - color: #777; - opacity: 1; + color: #777; + opacity: 1; } + .bootstrap-tagsinput.form-control input:-ms-input-placeholder { - color: #777; + color: #777; } + .bootstrap-tagsinput.form-control input::-webkit-input-placeholder { - color: #777; + color: #777; } + .bootstrap-tagsinput input:focus { - border: none; - box-shadow: none; + border: none; + box-shadow: none; } + .bootstrap-tagsinput .tag { - margin-right: 2px; - color: white; + margin-right: 2px; + color: white; } + .bootstrap-tagsinput .tag [data-role="remove"] { - margin-left: 8px; - cursor: pointer; + margin-left: 8px; + cursor: pointer; } + .bootstrap-tagsinput .tag [data-role="remove"]:after { - content: "x"; - padding: 0px 2px; + content: "x"; + padding: 0px 2px; } + .bootstrap-tagsinput .tag [data-role="remove"]:hover { - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); } + .bootstrap-tagsinput .tag [data-role="remove"]:hover:active { - box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); } diff --git a/public/css/daterangepicker.css b/public/css/daterangepicker.css index a03ff440aa..23fb4e1c69 100755 --- a/public/css/daterangepicker.css +++ b/public/css/daterangepicker.css @@ -1,141 +1,213 @@ .daterangepicker { - position: absolute; - color: inherit; - background: #fff; - border-radius: 4px; - width: 278px; - padding: 4px; - margin-top: 1px; - top: 100px; - left: 20px; - /* Calendars */ } - .daterangepicker:before, .daterangepicker:after { + position: absolute; + color: inherit; + background: #fff; + border-radius: 4px; + width: 278px; + padding: 4px; + margin-top: 1px; + top: 100px; + left: 20px; + /* Calendars */ +} + +.daterangepicker:before, .daterangepicker:after { position: absolute; display: inline-block; border-bottom-color: rgba(0, 0, 0, 0.2); - content: ''; } - .daterangepicker:before { + content: ''; +} + +.daterangepicker:before { top: -7px; border-right: 7px solid transparent; border-left: 7px solid transparent; - border-bottom: 7px solid #ccc; } - .daterangepicker:after { + border-bottom: 7px solid #ccc; +} + +.daterangepicker:after { top: -6px; border-right: 6px solid transparent; border-bottom: 6px solid #fff; - border-left: 6px solid transparent; } - .daterangepicker.opensleft:before { - right: 9px; } - .daterangepicker.opensleft:after { - right: 10px; } - .daterangepicker.openscenter:before { + border-left: 6px solid transparent; +} + +.daterangepicker.opensleft:before { + right: 9px; +} + +.daterangepicker.opensleft:after { + right: 10px; +} + +.daterangepicker.openscenter:before { left: 0; right: 0; width: 0; margin-left: auto; - margin-right: auto; } - .daterangepicker.openscenter:after { + margin-right: auto; +} + +.daterangepicker.openscenter:after { left: 0; right: 0; width: 0; margin-left: auto; - margin-right: auto; } - .daterangepicker.opensright:before { - left: 9px; } - .daterangepicker.opensright:after { - left: 10px; } - .daterangepicker.dropup { - margin-top: -5px; } - .daterangepicker.dropup:before { - top: initial; - bottom: -7px; - border-bottom: initial; - border-top: 7px solid #ccc; } - .daterangepicker.dropup:after { - top: initial; - bottom: -6px; - border-bottom: initial; - border-top: 6px solid #fff; } - .daterangepicker.dropdown-menu { + margin-right: auto; +} + +.daterangepicker.opensright:before { + left: 9px; +} + +.daterangepicker.opensright:after { + left: 10px; +} + +.daterangepicker.dropup { + margin-top: -5px; +} + +.daterangepicker.dropup:before { + top: initial; + bottom: -7px; + border-bottom: initial; + border-top: 7px solid #ccc; +} + +.daterangepicker.dropup:after { + top: initial; + bottom: -6px; + border-bottom: initial; + border-top: 6px solid #fff; +} + +.daterangepicker.dropdown-menu { max-width: none; - z-index: 3001; } - .daterangepicker.single .ranges, .daterangepicker.single .calendar { - float: none; } - .daterangepicker.show-calendar .calendar { - display: block; } - .daterangepicker .calendar { + z-index: 3001; +} + +.daterangepicker.single .ranges, .daterangepicker.single .calendar { + float: none; +} + +.daterangepicker.show-calendar .calendar { + display: block; +} + +.daterangepicker .calendar { display: none; max-width: 270px; - margin: 4px; } - .daterangepicker .calendar.single .calendar-table { - border: none; } - .daterangepicker .calendar th, .daterangepicker .calendar td { - white-space: nowrap; - text-align: center; - min-width: 32px; } - .daterangepicker .calendar-table { + margin: 4px; +} + +.daterangepicker .calendar.single .calendar-table { + border: none; +} + +.daterangepicker .calendar th, .daterangepicker .calendar td { + white-space: nowrap; + text-align: center; + min-width: 32px; +} + +.daterangepicker .calendar-table { border: 1px solid #fff; padding: 4px; border-radius: 4px; - background: #fff; } - .daterangepicker table { + background: #fff; +} + +.daterangepicker table { width: 100%; - margin: 0; } - .daterangepicker td, .daterangepicker th { + margin: 0; +} + +.daterangepicker td, .daterangepicker th { text-align: center; width: 20px; height: 20px; border-radius: 4px; border: 1px solid transparent; white-space: nowrap; - cursor: pointer; } - .daterangepicker td.available:hover, .daterangepicker th.available:hover { - background-color: #eee; - border-color: transparent; - color: inherit; } - .daterangepicker td.week, .daterangepicker th.week { - font-size: 80%; - color: #ccc; } - .daterangepicker td.off, .daterangepicker td.off.in-range, .daterangepicker td.off.start-date, .daterangepicker td.off.end-date { + cursor: pointer; +} + +.daterangepicker td.available:hover, .daterangepicker th.available:hover { + background-color: #eee; + border-color: transparent; + color: inherit; +} + +.daterangepicker td.week, .daterangepicker th.week { + font-size: 80%; + color: #ccc; +} + +.daterangepicker td.off, .daterangepicker td.off.in-range, .daterangepicker td.off.start-date, .daterangepicker td.off.end-date { background-color: #fff; border-color: transparent; - color: #999; } - .daterangepicker td.in-range { + color: #999; +} + +.daterangepicker td.in-range { background-color: #ebf4f8; border-color: transparent; color: #000; - border-radius: 0; } - .daterangepicker td.start-date { - border-radius: 4px 0 0 4px; } - .daterangepicker td.end-date { - border-radius: 0 4px 4px 0; } - .daterangepicker td.start-date.end-date { - border-radius: 4px; } - .daterangepicker td.active, .daterangepicker td.active:hover { + border-radius: 0; +} + +.daterangepicker td.start-date { + border-radius: 4px 0 0 4px; +} + +.daterangepicker td.end-date { + border-radius: 0 4px 4px 0; +} + +.daterangepicker td.start-date.end-date { + border-radius: 4px; +} + +.daterangepicker td.active, .daterangepicker td.active:hover { background-color: #357ebd; border-color: transparent; - color: #fff; } - .daterangepicker th.month { - width: auto; } - .daterangepicker td.disabled, .daterangepicker option.disabled { + color: #fff; +} + +.daterangepicker th.month { + width: auto; +} + +.daterangepicker td.disabled, .daterangepicker option.disabled { color: #999; cursor: not-allowed; - text-decoration: line-through; } - .daterangepicker select.monthselect, .daterangepicker select.yearselect { + text-decoration: line-through; +} + +.daterangepicker select.monthselect, .daterangepicker select.yearselect { font-size: 12px; padding: 1px; height: auto; margin: 0; - cursor: default; } - .daterangepicker select.monthselect { + cursor: default; +} + +.daterangepicker select.monthselect { margin-right: 2%; - width: 56%; } - .daterangepicker select.yearselect { - width: 40%; } - .daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.secondselect, .daterangepicker select.ampmselect { + width: 56%; +} + +.daterangepicker select.yearselect { + width: 40%; +} + +.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.secondselect, .daterangepicker select.ampmselect { width: 50px; - margin-bottom: 0; } - .daterangepicker .input-mini { + margin-bottom: 0; +} + +.daterangepicker .input-mini { border: 1px solid #ccc; border-radius: 4px; color: #555; @@ -145,43 +217,62 @@ vertical-align: middle; margin: 0 0 5px 0; padding: 0 6px 0 28px; - width: 100%; } - .daterangepicker .input-mini.active { - border: 1px solid #08c; - border-radius: 4px; } - .daterangepicker .daterangepicker_input { - position: relative; } - .daterangepicker .daterangepicker_input i { - position: absolute; - left: 8px; - top: 8px; } - .daterangepicker.rtl .input-mini { + width: 100%; +} + +.daterangepicker .input-mini.active { + border: 1px solid #08c; + border-radius: 4px; +} + +.daterangepicker .daterangepicker_input { + position: relative; +} + +.daterangepicker .daterangepicker_input i { + position: absolute; + left: 8px; + top: 8px; +} + +.daterangepicker.rtl .input-mini { padding-right: 28px; - padding-left: 6px; } - .daterangepicker.rtl .daterangepicker_input i { + padding-left: 6px; +} + +.daterangepicker.rtl .daterangepicker_input i { left: auto; - right: 8px; } - .daterangepicker .calendar-time { + right: 8px; +} + +.daterangepicker .calendar-time { text-align: center; margin: 5px auto; line-height: 30px; position: relative; - padding-left: 28px; } - .daterangepicker .calendar-time select.disabled { - color: #ccc; - cursor: not-allowed; } + padding-left: 28px; +} + +.daterangepicker .calendar-time select.disabled { + color: #ccc; + cursor: not-allowed; +} .ranges { - font-size: 11px; - float: none; - margin: 4px; - text-align: left; } - .ranges ul { + font-size: 11px; + float: none; + margin: 4px; + text-align: left; +} + +.ranges ul { list-style: none; margin: 0 auto; padding: 0; - width: 100%; } - .ranges li { + width: 100%; +} + +.ranges li { font-size: 13px; background: #f5f5f5; border: 1px solid #f5f5f5; @@ -189,81 +280,139 @@ color: #08c; padding: 3px 12px; margin-bottom: 8px; - cursor: pointer; } - .ranges li:hover { - background: #08c; - border: 1px solid #08c; - color: #fff; } - .ranges li.active { - background: #08c; - border: 1px solid #08c; - color: #fff; } + cursor: pointer; +} + +.ranges li:hover { + background: #08c; + border: 1px solid #08c; + color: #fff; +} + +.ranges li.active { + background: #08c; + border: 1px solid #08c; + color: #fff; +} /* Larger Screen Styling */ @media (min-width: 564px) { - .daterangepicker { - width: auto; } + .daterangepicker { + width: auto; + } + .daterangepicker .ranges ul { - width: 160px; } + width: 160px; + } + .daterangepicker.single .ranges ul { - width: 100%; } + width: 100%; + } + .daterangepicker.single .calendar.left { - clear: none; } + clear: none; + } + .daterangepicker.single.ltr .ranges, .daterangepicker.single.ltr .calendar { - float: left; } + float: left; + } + .daterangepicker.single.rtl .ranges, .daterangepicker.single.rtl .calendar { - float: right; } + float: right; + } + .daterangepicker.ltr { - direction: ltr; - text-align: left; } - .daterangepicker.ltr .calendar.left { + direction: ltr; + text-align: left; + } + + .daterangepicker.ltr .calendar.left { clear: left; - margin-right: 0; } - .daterangepicker.ltr .calendar.left .calendar-table { - border-right: none; - border-top-right-radius: 0; - border-bottom-right-radius: 0; } - .daterangepicker.ltr .calendar.right { - margin-left: 0; } - .daterangepicker.ltr .calendar.right .calendar-table { - border-left: none; - border-top-left-radius: 0; - border-bottom-left-radius: 0; } - .daterangepicker.ltr .left .daterangepicker_input { - padding-right: 12px; } - .daterangepicker.ltr .calendar.left .calendar-table { - padding-right: 12px; } - .daterangepicker.ltr .ranges, .daterangepicker.ltr .calendar { - float: left; } + margin-right: 0; + } + + .daterangepicker.ltr .calendar.left .calendar-table { + border-right: none; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + + .daterangepicker.ltr .calendar.right { + margin-left: 0; + } + + .daterangepicker.ltr .calendar.right .calendar-table { + border-left: none; + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + + .daterangepicker.ltr .left .daterangepicker_input { + padding-right: 12px; + } + + .daterangepicker.ltr .calendar.left .calendar-table { + padding-right: 12px; + } + + .daterangepicker.ltr .ranges, .daterangepicker.ltr .calendar { + float: left; + } + .daterangepicker.rtl { - direction: rtl; - text-align: right; } - .daterangepicker.rtl .calendar.left { - clear: right; - margin-left: 0; } - .daterangepicker.rtl .calendar.left .calendar-table { - border-left: none; - border-top-left-radius: 0; - border-bottom-left-radius: 0; } - .daterangepicker.rtl .calendar.right { - margin-right: 0; } - .daterangepicker.rtl .calendar.right .calendar-table { - border-right: none; - border-top-right-radius: 0; - border-bottom-right-radius: 0; } - .daterangepicker.rtl .left .daterangepicker_input { - padding-left: 12px; } - .daterangepicker.rtl .calendar.left .calendar-table { - padding-left: 12px; } - .daterangepicker.rtl .ranges, .daterangepicker.rtl .calendar { + direction: rtl; text-align: right; - float: right; } } + } + + .daterangepicker.rtl .calendar.left { + clear: right; + margin-left: 0; + } + + .daterangepicker.rtl .calendar.left .calendar-table { + border-left: none; + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + + .daterangepicker.rtl .calendar.right { + margin-right: 0; + } + + .daterangepicker.rtl .calendar.right .calendar-table { + border-right: none; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + + .daterangepicker.rtl .left .daterangepicker_input { + padding-left: 12px; + } + + .daterangepicker.rtl .calendar.left .calendar-table { + padding-left: 12px; + } + + .daterangepicker.rtl .ranges, .daterangepicker.rtl .calendar { + text-align: right; + float: right; + } +} + @media (min-width: 730px) { - .daterangepicker .ranges { - width: auto; } - .daterangepicker.ltr .ranges { - float: left; } - .daterangepicker.rtl .ranges { - float: right; } - .daterangepicker .calendar.left { - clear: none !important; } } + .daterangepicker .ranges { + width: auto; + } + + .daterangepicker.ltr .ranges { + float: left; + } + + .daterangepicker.rtl .ranges { + float: right; + } + + .daterangepicker .calendar.left { + clear: none !important; + } +} diff --git a/public/index.php b/public/index.php index 7f21d36fb5..dbab349937 100644 --- a/public/index.php +++ b/public/index.php @@ -9,7 +9,7 @@ * See the LICENSE file for details. */ -declare(strict_types = 1); +declare(strict_types=1); /* |-------------------------------------------------------------------------- @@ -23,7 +23,7 @@ declare(strict_types = 1); | */ -require __DIR__.'/../bootstrap/autoload.php'; +require __DIR__ . '/../bootstrap/autoload.php'; /* |-------------------------------------------------------------------------- @@ -37,7 +37,7 @@ require __DIR__.'/../bootstrap/autoload.php'; | */ -$app = require_once __DIR__.'/../bootstrap/app.php'; +$app = require_once __DIR__ . '/../bootstrap/app.php'; /* |-------------------------------------------------------------------------- diff --git a/public/js/ff/budgets/index.js b/public/js/ff/budgets/index.js index 06e696ebed..79dd675ecd 100644 --- a/public/js/ff/budgets/index.js +++ b/public/js/ff/budgets/index.js @@ -69,13 +69,13 @@ function updateBudgetedAmounts(e) { var spentAmount = parseFloat(spentCell.data('spent')); var newAmountLeft = spentAmount + parseFloat(value); var amountLeftString = accounting.formatMoney(newAmountLeft); - if(newAmountLeft < 0) { + if (newAmountLeft < 0) { leftCell.html('' + amountLeftString + ''); } - if(newAmountLeft > 0) { + if (newAmountLeft > 0) { leftCell.html('' + amountLeftString + ''); } - if(newAmountLeft === 0.0) { + if (newAmountLeft === 0.0) { leftCell.html('' + amountLeftString + ''); } diff --git a/public/js/ff/budgets/show.js b/public/js/ff/budgets/show.js index 01dda2660e..78feb2e782 100644 --- a/public/js/ff/budgets/show.js +++ b/public/js/ff/budgets/show.js @@ -25,6 +25,4 @@ $(function () { pieChart(expenseExpenseUri, 'budget-expense-out'); - - }); diff --git a/public/js/ff/transactions/single/common.js b/public/js/ff/transactions/single/common.js index ec137213ab..d8ecc8d30c 100644 --- a/public/js/ff/transactions/single/common.js +++ b/public/js/ff/transactions/single/common.js @@ -122,7 +122,7 @@ function convertForeignToNative() { function updateNativeAmount(data) { // if native amount is already filled in, even though we do this for the first time: // don't overrule it. - if(countConversions === 0 && $('#ffInput_native_amount').val().length > 0) { + if (countConversions === 0 && $('#ffInput_native_amount').val().length > 0) { countConversions++; return; } diff --git a/public/js/ff/transactions/single/edit.js b/public/js/ff/transactions/single/edit.js index 7d9308e1cb..4bafe1b1c7 100644 --- a/public/js/ff/transactions/single/edit.js +++ b/public/js/ff/transactions/single/edit.js @@ -20,8 +20,8 @@ $(document).ready(function () { $('#ffInput_amount').on('change', convertForeignToNative); // respond to transfer changes: - $('#ffInput_source_account_id').on('change',validateCurrencyForTransfer); - $('#ffInput_destination_account_id').on('change',validateCurrencyForTransfer); + $('#ffInput_source_account_id').on('change', validateCurrencyForTransfer); + $('#ffInput_destination_account_id').on('change', validateCurrencyForTransfer); // convert source currency to destination currency (slightly different routine for transfers) $('#ffInput_source_amount').on('change', convertSourceToDestination); @@ -64,7 +64,6 @@ function updateInitialPage() { } - /** * Get accountID based on some meta info. */ diff --git a/public/js/ff/transactions/split/edit.js b/public/js/ff/transactions/split/edit.js index 735a3c2088..d9e7e22ed9 100644 --- a/public/js/ff/transactions/split/edit.js +++ b/public/js/ff/transactions/split/edit.js @@ -139,10 +139,10 @@ function resetDivSplits() { row.attr('data-split', i); // add or remove class with bg thing - if(i % 2 === 0) { + if (i % 2 === 0) { row.removeClass('bg-gray-light'); } - if(i % 2 === 1) { + if (i % 2 === 1) { row.addClass('bg-gray-light'); } diff --git a/public/manifest.json b/public/manifest.json index 0b22ea1677..e99614ce90 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -17,5 +17,4 @@ "display": "standalone", "start_url": "/", "orientation": "portrait" - } diff --git a/public/safari-pinned-tab.svg b/public/safari-pinned-tab.svg index cfa922579b..b433d7b8ed 100644 --- a/public/safari-pinned-tab.svg +++ b/public/safari-pinned-tab.svg @@ -1,15 +1,15 @@ + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> - -Created by potrace 1.11, written by Peter Selinger 2001-2013 - - - + + Created by potrace 1.11, written by Peter Selinger 2001-2013 + + + - - - - + diff --git a/routes/api.php b/routes/api.php index f5c5fdb62b..ff61db1483 100755 --- a/routes/api.php +++ b/routes/api.php @@ -9,9 +9,7 @@ * See the LICENSE file for details. */ -declare(strict_types = 1); - -use Illuminate\Http\Request; +declare(strict_types=1); /* |-------------------------------------------------------------------------- diff --git a/routes/console.php b/routes/console.php index f0c08dc0c1..d03b78b097 100755 --- a/routes/console.php +++ b/routes/console.php @@ -9,7 +9,7 @@ * See the LICENSE file for details. */ -declare(strict_types = 1); +declare(strict_types=1); /* |-------------------------------------------------------------------------- diff --git a/routes/web.php b/routes/web.php index 2b2c25e5c1..27724470df 100755 --- a/routes/web.php +++ b/routes/web.php @@ -394,15 +394,12 @@ Route::group( Route::post('start/{importJob}', ['uses' => 'ImportController@start', 'as' => 'start']); - - //Route::get('settings/{importJob}', ['uses' => 'ImportController@settings', 'as' => 'settings']); //Route::get('complete/{importJob}', ['uses' => 'ImportController@complete', 'as' => 'complete']); //Route::get('finished/{importJob}', ['uses' => 'ImportController@finished', 'as' => 'finished']); //Route::post('settings/{importJob}', ['uses' => 'ImportController@postSettings', 'as' => 'post-settings']); - } ); diff --git a/tests/Feature/Controllers/Admin/ConfigurationControllerTest.php b/tests/Feature/Controllers/Admin/ConfigurationControllerTest.php index 44bad78766..a581937ea8 100644 --- a/tests/Feature/Controllers/Admin/ConfigurationControllerTest.php +++ b/tests/Feature/Controllers/Admin/ConfigurationControllerTest.php @@ -7,7 +7,7 @@ * See the LICENSE file for details. */ -declare(strict_types = 1); +declare(strict_types=1); namespace Tests\Feature\Controllers\Admin; diff --git a/tests/Feature/Controllers/Admin/HomeControllerTest.php b/tests/Feature/Controllers/Admin/HomeControllerTest.php index b31d833ff4..3602c0851f 100644 --- a/tests/Feature/Controllers/Admin/HomeControllerTest.php +++ b/tests/Feature/Controllers/Admin/HomeControllerTest.php @@ -7,7 +7,7 @@ * See the LICENSE file for details. */ -declare(strict_types = 1); +declare(strict_types=1); namespace Tests\Feature\Controllers\Admin; diff --git a/tests/Feature/Controllers/Admin/UserControllerTest.php b/tests/Feature/Controllers/Admin/UserControllerTest.php index d272442aba..4b656ebe79 100644 --- a/tests/Feature/Controllers/Admin/UserControllerTest.php +++ b/tests/Feature/Controllers/Admin/UserControllerTest.php @@ -81,9 +81,9 @@ class UserControllerTest extends TestCase $repository = $this->mock(UserRepositoryInterface::class); $repository->shouldReceive('changePassword')->once(); $repository->shouldReceive('changeStatus')->once(); - $data = [ + $data = [ 'id' => 1, - 'email' => 'test@example.com', + 'email' => 'test@example.com', 'password' => 'james', 'password_confirmation' => 'james', 'blocked_code' => 'blocked', diff --git a/tests/Feature/Controllers/AttachmentControllerTest.php b/tests/Feature/Controllers/AttachmentControllerTest.php index 271767907a..51d2eddcca 100644 --- a/tests/Feature/Controllers/AttachmentControllerTest.php +++ b/tests/Feature/Controllers/AttachmentControllerTest.php @@ -7,7 +7,7 @@ * See the LICENSE file for details. */ -declare(strict_types = 1); +declare(strict_types=1); namespace Tests\Feature\Controllers; diff --git a/tests/Feature/Controllers/Auth/TwoFactorControllerTest.php b/tests/Feature/Controllers/Auth/TwoFactorControllerTest.php index ef7731b512..5c268d3560 100644 --- a/tests/Feature/Controllers/Auth/TwoFactorControllerTest.php +++ b/tests/Feature/Controllers/Auth/TwoFactorControllerTest.php @@ -101,7 +101,7 @@ class TwoFactorControllerTest extends TestCase */ public function testPostIndex() { - $data = ['code' => '123456']; + $data = ['code' => '123456']; $google = $this->mock(Google2FA::class); $google->shouldReceive('verifyKey')->andReturn(true)->once(); diff --git a/tests/Feature/Controllers/BillControllerTest.php b/tests/Feature/Controllers/BillControllerTest.php index 22296e6820..9b5b6ca88b 100644 --- a/tests/Feature/Controllers/BillControllerTest.php +++ b/tests/Feature/Controllers/BillControllerTest.php @@ -7,7 +7,7 @@ * See the LICENSE file for details. */ -declare(strict_types = 1); +declare(strict_types=1); namespace Tests\Feature\Controllers; diff --git a/tests/Feature/Controllers/BudgetControllerTest.php b/tests/Feature/Controllers/BudgetControllerTest.php index a0f4d2796b..0e707af8d4 100644 --- a/tests/Feature/Controllers/BudgetControllerTest.php +++ b/tests/Feature/Controllers/BudgetControllerTest.php @@ -7,7 +7,7 @@ * See the LICENSE file for details. */ -declare(strict_types = 1); +declare(strict_types=1); namespace Tests\Feature\Controllers; @@ -126,6 +126,46 @@ class BudgetControllerTest extends TestCase $response->assertSee('