Passed
Branch master (380e00)
by Greg
20:17
created
app/Http/Controllers/AdminController.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,12 +32,12 @@
 block discarded – undo
32 32
 use Fisharebest\Webtrees\Tree;
33 33
 use Fisharebest\Webtrees\User;
34 34
 use Fisharebest\Webtrees\View;
35
-use stdClass;
36 35
 use Symfony\Component\HttpFoundation\JsonResponse;
37 36
 use Symfony\Component\HttpFoundation\RedirectResponse;
38 37
 use Symfony\Component\HttpFoundation\Request;
39 38
 use Symfony\Component\HttpFoundation\Response;
40 39
 use Symfony\Component\HttpFoundation\ResponseHeaderBag;
40
+use stdClass;
41 41
 
42 42
 /**
43 43
  * Controller for the administration pages
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 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
 
@@ -726,7 +726,7 @@  discard block
 block discarded – undo
726 726
 	 * @return Response
727 727
 	 */
728 728
 	public function changesLogData(Request $request): Response {
729
-		list($select, , $where, $args1) = $this->changesQuery($request);
729
+		list($select,, $where, $args1) = $this->changesQuery($request);
730 730
 		list($order_by, $limit, $args2) = $this->dataTablesPagination($request);
731 731
 
732 732
 		$rows = Database::prepare(
@@ -800,7 +800,7 @@  discard block
 block discarded – undo
800 800
 	 * @return Response
801 801
 	 */
802 802
 	public function changesLogDownload(Request $request): Response {
803
-		list($select, , $where, $args) = $this->changesQuery($request);
803
+		list($select,, $where, $args) = $this->changesQuery($request);
804 804
 
805 805
 		$rows = Database::prepare($select . $where)->execute($args)->fetchAll();
806 806
 
Please login to merge, or discard this patch.
app/Http/Controllers/HomePageController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -492,7 +492,7 @@
 block discarded – undo
492 492
 	 * Take a list of block names, and return block (module) objects.
493 493
 	 *
494 494
 	 * @param string[] $blocks
495
-	 * @param array    $active_blocks
495
+	 * @param ModuleBlockInterface[]    $active_blocks
496 496
 	 *
497 497
 	 * @return ModuleBlockInterface[]
498 498
 	 */
Please login to merge, or discard this 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.
action.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
  */
16 16
 namespace Fisharebest\Webtrees;
17 17
 
18
-use Fisharebest\Webtrees\Functions\Functions;
19 18
 use Fisharebest\Webtrees\Functions\FunctionsDb;
20 19
 use Fisharebest\Webtrees\Functions\FunctionsEdit;
21 20
 use Fisharebest\Webtrees\Functions\FunctionsImport;
Please login to merge, or discard this patch.
app/Controller/PageController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 use Fisharebest\Webtrees\Auth;
19 19
 use Fisharebest\Webtrees\Database;
20
-use Fisharebest\Webtrees\DebugBar;
21 20
 use Fisharebest\Webtrees\Family;
22 21
 use Fisharebest\Webtrees\Functions\Functions;
23 22
 use Fisharebest\Webtrees\I18N;
Please login to merge, or discard this patch.
app/Helpers/functions.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
 use Fisharebest\Webtrees\Filter;
19 19
 use Fisharebest\Webtrees\Html;
Please login to merge, or discard this patch.
app/Http/Controllers/EditController.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/Schema/Migration5.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 namespace Fisharebest\Webtrees\Schema;
17 17
 
18 18
 use Fisharebest\Webtrees\Database;
19
-use Fisharebest\Webtrees\Tree;
20 19
 
21 20
 /**
22 21
  * Upgrade the database schema from version 5 to version 6.
Please login to merge, or discard this patch.
app/Media.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 namespace Fisharebest\Webtrees;
17 17
 
18 18
 use Fisharebest\Webtrees\Functions\FunctionsPrintFacts;
19
-use League\Glide\Urls\UrlBuilderFactory;
20 19
 
21 20
 /**
22 21
  * A GEDCOM media (OBJE) object.
Please login to merge, or discard this patch.
app/Report/ReportPdf.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@
 block discarded – undo
248 248
 	/**
249 249
 	 * Create a new image object from Media Object - ReportPdf
250 250
 	 *
251
-	 * @param MediaFile $mediafile
251
+	 * @param MediaFile $media_file
252 252
 	 * @param mixed     $x
253 253
 	 * @param mixed     $y
254 254
 	 * @param int       $w     Image width
Please login to merge, or discard this patch.