Passed
Branch master (60084b)
by Greg
10:38
created
app/Http/Controllers/EditRepositoryController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
  * You should have received a copy of the GNU General Public License
14 14
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 15
  */
16
-declare(strict_types=1);
16
+declare(strict_types = 1);
17 17
 
18 18
 namespace Fisharebest\Webtrees\Http\Controllers;
19 19
 
Please login to merge, or discard this patch.
app/Http/Controllers/EditMediaController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
  * You should have received a copy of the GNU General Public License
14 14
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 15
  */
16
-declare(strict_types=1);
16
+declare(strict_types = 1);
17 17
 
18 18
 namespace Fisharebest\Webtrees\Http\Controllers;
19 19
 
Please login to merge, or discard this patch.
app/Http/Controllers/EditSourceController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
  * You should have received a copy of the GNU General Public License
14 14
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 15
  */
16
-declare(strict_types=1);
16
+declare(strict_types = 1);
17 17
 
18 18
 namespace Fisharebest\Webtrees\Http\Controllers;
19 19
 
Please login to merge, or discard this patch.
app/Http/Controllers/HelpTextController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
  * You should have received a copy of the GNU General Public License
14 14
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 15
  */
16
-declare(strict_types=1);
16
+declare(strict_types = 1);
17 17
 
18 18
 namespace Fisharebest\Webtrees\Http\Controllers;
19 19
 
Please login to merge, or discard this patch.
app/Http/Controllers/AdminController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
  * You should have received a copy of the GNU General Public License
14 14
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 15
  */
16
-declare(strict_types=1);
16
+declare(strict_types = 1);
17 17
 
18 18
 namespace Fisharebest\Webtrees\Http\Controllers;
19 19
 
@@ -731,7 +731,7 @@  discard block
 block discarded – undo
731 731
 	 * @return Response
732 732
 	 */
733 733
 	public function changesLogData(Request $request): Response {
734
-		list($select, , $where, $args1) = $this->changesQuery($request);
734
+		list($select,, $where, $args1) = $this->changesQuery($request);
735 735
 		list($order_by, $limit, $args2) = $this->dataTablesPagination($request);
736 736
 
737 737
 		$rows = Database::prepare(
@@ -805,7 +805,7 @@  discard block
 block discarded – undo
805 805
 	 * @return Response
806 806
 	 */
807 807
 	public function changesLogDownload(Request $request): Response {
808
-		list($select, , $where, $args) = $this->changesQuery($request);
808
+		list($select,, $where, $args) = $this->changesQuery($request);
809 809
 
810 810
 		$rows = Database::prepare($select . $where)->execute($args)->fetchAll();
811 811
 
@@ -1135,7 +1135,7 @@  discard block
 block discarded – undo
1135 1135
 		$data = array_map(function (string $thumbnail) {
1136 1136
 			$original = $this->findOriginalFileFromThumbnail($thumbnail);
1137 1137
 
1138
-			$original_url  = route('unused-media-thumbnail', [
1138
+			$original_url = route('unused-media-thumbnail', [
1139 1139
 				'folder' => dirname($original),
1140 1140
 				'file'   => basename($original),
1141 1141
 				'w'      => 100,
Please login to merge, or discard this patch.
app/Http/Controllers/ErrorController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
  * You should have received a copy of the GNU General Public License
14 14
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 15
  */
16
-declare(strict_types=1);
16
+declare(strict_types = 1);
17 17
 
18 18
 namespace Fisharebest\Webtrees\Http\Controllers;
19 19
 
Please login to merge, or discard this patch.
app/Http/Controllers/AutocompleteController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
  * You should have received a copy of the GNU General Public License
14 14
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 15
  */
16
-declare(strict_types=1);
16
+declare(strict_types = 1);
17 17
 
18 18
 namespace Fisharebest\Webtrees\Http\Controllers;
19 19
 
Please login to merge, or discard this patch.
message.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,8 @@  discard block
 block discarded – undo
126 126
 				<div class="form-control"><?= e(Auth::user()->getRealName()) ?></div>
127 127
 			</div>
128 128
 		</div>
129
-	<?php else: ?>
129
+	<?php else {
130
+	: ?>
130 131
 		<div class="form-group row">
131 132
 			<label class="col-sm-3 col-form-label" for="from-name">
132 133
 				<?= I18N::translate('Your name') ?>
@@ -187,6 +188,7 @@  discard block
 block discarded – undo
187 188
 function recipients($to) {
188 189
 	if ($to === 'all') {
189 190
 		$recipients = User::all();
191
+}
190 192
 	} elseif ($to === 'last_6mo') {
191 193
 		$recipients = array_filter(User::all(), function (User $user) {
192 194
 			return $user->getPreference('sessiontime') > 0 && WT_TIMESTAMP - $user->getPreference('sessiontime') > 60 * 60 * 24 * 30 * 6;
Please login to merge, or discard this patch.
app/Module/StoriesModule.php 2 patches
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -382,7 +382,8 @@  discard block
 block discarded – undo
382 382
 						<a href="<?= e($individual->url()) ?>#tab-stories">
383 383
 							<?= $individual->getFullName() ?>
384 384
 						</a>
385
-						<?php else: ?>
385
+						<?php else {
386
+	: ?>
386 387
 							<?= $story->xref ?>
387 388
 						<?php endif ?>
388 389
 						</td>
@@ -411,6 +412,7 @@  discard block
 block discarded – undo
411 412
 	 */
412 413
 	private function showList() {
413 414
 		global $controller, $WT_TREE;
415
+}
414 416
 
415 417
 		$controller = new PageController;
416 418
 		$controller
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
 
95 95
 	/** {@inheritdoc} */
96 96
 	public function hasTabContent(Individual $individual) {
97
-		return Auth::isManager($individual->getTree() )|| !empty($this->getStoriesForIndividual($individual));
97
+		return Auth::isManager($individual->getTree()) || !empty($this->getStoriesForIndividual($individual));
98 98
 	}
99 99
 
100 100
 	/** {@inheritdoc} */
Please login to merge, or discard this patch.