Passed
Push — main ( c808ff...64cea5 )
by Jonathan
03:30
created
app/Contracts/Hooks/SosaMissingDatatablesExtenderInterface.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
  /**
4
- * webtrees-lib: MyArtJaub library for webtrees
5
- *
6
- * @package MyArtJaub\Webtrees
7
- * @subpackage Hooks
8
- * @author Jonathan Jaubart <[email protected]>
9
- * @copyright Copyright (c) 2011-2022, Jonathan Jaubart
10
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
11
- */
4
+  * webtrees-lib: MyArtJaub library for webtrees
5
+  *
6
+  * @package MyArtJaub\Webtrees
7
+  * @subpackage Hooks
8
+  * @author Jonathan Jaubart <[email protected]>
9
+  * @copyright Copyright (c) 2011-2022, Jonathan Jaubart
10
+  * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
11
+  */
12 12
 
13 13
 declare(strict_types=1);
14 14
 
@@ -19,11 +19,11 @@  discard block
 block discarded – undo
19 19
  */
20 20
 interface SosaMissingDatatablesExtenderInterface extends HookInterface
21 21
 {
22
-    /**
23
-     * Get the columns to be added to missing ancestors datatables
24
-     *
25
-     * @param iterable<\Fisharebest\Webtrees\Individual> $records
26
-     * @return array<string, array<string, array<string, mixed>>>
27
-     */
28
-    public function sosaMissingColumns(iterable $records): array;
22
+	/**
23
+	 * Get the columns to be added to missing ancestors datatables
24
+	 *
25
+	 * @param iterable<\Fisharebest\Webtrees\Individual> $records
26
+	 * @return array<string, array<string, array<string, mixed>>>
27
+	 */
28
+	public function sosaMissingColumns(iterable $records): array;
29 29
 }
Please login to merge, or discard this patch.
app/Contracts/Hooks/HookInterface.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
  /**
4
- * webtrees-lib: MyArtJaub library for webtrees
5
- *
6
- * @package MyArtJaub\Webtrees
7
- * @subpackage Hooks
8
- * @author Jonathan Jaubart <[email protected]>
9
- * @copyright Copyright (c) 2011-2022, Jonathan Jaubart
10
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
11
- */
4
+  * webtrees-lib: MyArtJaub library for webtrees
5
+  *
6
+  * @package MyArtJaub\Webtrees
7
+  * @subpackage Hooks
8
+  * @author Jonathan Jaubart <[email protected]>
9
+  * @copyright Copyright (c) 2011-2022, Jonathan Jaubart
10
+  * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
11
+  */
12 12
 
13 13
 declare(strict_types=1);
14 14
 
@@ -21,10 +21,10 @@  discard block
 block discarded – undo
21 21
  */
22 22
 interface HookInterface
23 23
 {
24
-    /**
25
-     * Get the module attached to the hook
26
-     *
27
-     * @return ModuleInterface
28
-     */
29
-    public function module(): ModuleInterface;
24
+	/**
25
+	 * Get the module attached to the hook
26
+	 *
27
+	 * @return ModuleInterface
28
+	 */
29
+	public function module(): ModuleInterface;
30 30
 }
Please login to merge, or discard this patch.
app/Contracts/Hooks/FactSourceTextExtenderInterface.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
  /**
4
- * webtrees-lib: MyArtJaub library for webtrees
5
- *
6
- * @package MyArtJaub\Webtrees
7
- * @subpackage Hooks
8
- * @author Jonathan Jaubart <[email protected]>
9
- * @copyright Copyright (c) 2011-2022, Jonathan Jaubart
10
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
11
- */
4
+  * webtrees-lib: MyArtJaub library for webtrees
5
+  *
6
+  * @package MyArtJaub\Webtrees
7
+  * @subpackage Hooks
8
+  * @author Jonathan Jaubart <[email protected]>
9
+  * @copyright Copyright (c) 2011-2022, Jonathan Jaubart
10
+  * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
11
+  */
12 12
 
13 13
 declare(strict_types=1);
14 14
 
@@ -21,21 +21,21 @@  discard block
 block discarded – undo
21 21
  */
22 22
 interface FactSourceTextExtenderInterface extends HookInterface
23 23
 {
24
-    /**
25
-     * Insert some content before the source citation title.
26
-     *
27
-     * @param Tree $tree
28
-     * @param \Fisharebest\Webtrees\Fact|array<array<\Fisharebest\Webtrees\Contracts\ElementInterface|string>> $fact
29
-     * @return string
30
-     */
31
-    public function factSourcePrepend(Tree $tree, $fact): string;
24
+	/**
25
+	 * Insert some content before the source citation title.
26
+	 *
27
+	 * @param Tree $tree
28
+	 * @param \Fisharebest\Webtrees\Fact|array<array<\Fisharebest\Webtrees\Contracts\ElementInterface|string>> $fact
29
+	 * @return string
30
+	 */
31
+	public function factSourcePrepend(Tree $tree, $fact): string;
32 32
 
33
-    /**
34
-     * Insert some content after the source citation title.
35
-     *
36
-     * @param Tree $tree
37
-     * @param \Fisharebest\Webtrees\Fact|array<array<\Fisharebest\Webtrees\Contracts\ElementInterface|string>> $fact
38
-     * @return string
39
-     */
40
-    public function factSourceAppend(Tree $tree, $fact): string;
33
+	/**
34
+	 * Insert some content after the source citation title.
35
+	 *
36
+	 * @param Tree $tree
37
+	 * @param \Fisharebest\Webtrees\Fact|array<array<\Fisharebest\Webtrees\Contracts\ElementInterface|string>> $fact
38
+	 * @return string
39
+	 */
40
+	public function factSourceAppend(Tree $tree, $fact): string;
41 41
 }
Please login to merge, or discard this patch.
app/Contracts/Hooks/SosaFamilyDatatablesExtenderInterface.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
  /**
4
- * webtrees-lib: MyArtJaub library for webtrees
5
- *
6
- * @package MyArtJaub\Webtrees
7
- * @subpackage Hooks
8
- * @author Jonathan Jaubart <[email protected]>
9
- * @copyright Copyright (c) 2011-2022, Jonathan Jaubart
10
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
11
- */
4
+  * webtrees-lib: MyArtJaub library for webtrees
5
+  *
6
+  * @package MyArtJaub\Webtrees
7
+  * @subpackage Hooks
8
+  * @author Jonathan Jaubart <[email protected]>
9
+  * @copyright Copyright (c) 2011-2022, Jonathan Jaubart
10
+  * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
11
+  */
12 12
 
13 13
 declare(strict_types=1);
14 14
 
@@ -19,11 +19,11 @@  discard block
 block discarded – undo
19 19
  */
20 20
 interface SosaFamilyDatatablesExtenderInterface extends HookInterface
21 21
 {
22
-    /**
23
-     * Get the columns to be added to sosa families datatables
24
-     *
25
-     * @param iterable<\Fisharebest\Webtrees\Family> $records
26
-     * @return array<string, array<string, array<string, mixed>>>
27
-     */
28
-    public function sosaFamilyColumns(iterable $records): array;
22
+	/**
23
+	 * Get the columns to be added to sosa families datatables
24
+	 *
25
+	 * @param iterable<\Fisharebest\Webtrees\Family> $records
26
+	 * @return array<string, array<string, array<string, mixed>>>
27
+	 */
28
+	public function sosaFamilyColumns(iterable $records): array;
29 29
 }
Please login to merge, or discard this patch.
app/Contracts/Hooks/RecordNameTextExtenderInterface.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
  /**
4
- * webtrees-lib: MyArtJaub library for webtrees
5
- *
6
- * @package MyArtJaub\Webtrees
7
- * @subpackage Hooks
8
- * @author Jonathan Jaubart <[email protected]>
9
- * @copyright Copyright (c) 2011-2022, Jonathan Jaubart
10
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
11
- */
4
+  * webtrees-lib: MyArtJaub library for webtrees
5
+  *
6
+  * @package MyArtJaub\Webtrees
7
+  * @subpackage Hooks
8
+  * @author Jonathan Jaubart <[email protected]>
9
+  * @copyright Copyright (c) 2011-2022, Jonathan Jaubart
10
+  * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
11
+  */
12 12
 
13 13
 declare(strict_types=1);
14 14
 
@@ -21,23 +21,23 @@  discard block
 block discarded – undo
21 21
  */
22 22
 interface RecordNameTextExtenderInterface extends HookInterface
23 23
 {
24
-    /**
25
-     * Insert some content before the record name text.
26
-     *
27
-     * @param GedcomRecord $record Gedcom record
28
-     * @param bool $use_long Use the long text extender format
29
-     * @param string $size Prepend size
30
-     * @return string
31
-     */
32
-    public function recordNamePrepend(GedcomRecord $record, bool $use_long = false, string $size = ''): string;
24
+	/**
25
+	 * Insert some content before the record name text.
26
+	 *
27
+	 * @param GedcomRecord $record Gedcom record
28
+	 * @param bool $use_long Use the long text extender format
29
+	 * @param string $size Prepend size
30
+	 * @return string
31
+	 */
32
+	public function recordNamePrepend(GedcomRecord $record, bool $use_long = false, string $size = ''): string;
33 33
 
34
-    /**
35
-     * Insert some content after the record name text.
36
-     *
37
-     * @param GedcomRecord $record Gedcom record
38
-     * @param bool $use_long Use the long text extender format
39
-     * @param string $size Append size
40
-     * @return string
41
-     */
42
-    public function recordNameAppend(GedcomRecord $record, bool $use_long = false, string $size = ''): string;
34
+	/**
35
+	 * Insert some content after the record name text.
36
+	 *
37
+	 * @param GedcomRecord $record Gedcom record
38
+	 * @param bool $use_long Use the long text extender format
39
+	 * @param string $size Append size
40
+	 * @return string
41
+	 */
42
+	public function recordNameAppend(GedcomRecord $record, bool $use_long = false, string $size = ''): string;
43 43
 }
Please login to merge, or discard this patch.
app/Contracts/Hooks/HookServiceInterface.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
  /**
4
- * webtrees-lib: MyArtJaub library for webtrees
5
- *
6
- * @package MyArtJaub\Webtrees
7
- * @subpackage Hooks
8
- * @author Jonathan Jaubart <[email protected]>
9
- * @copyright Copyright (c) 2011-2022, Jonathan Jaubart
10
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
11
- */
4
+  * webtrees-lib: MyArtJaub library for webtrees
5
+  *
6
+  * @package MyArtJaub\Webtrees
7
+  * @subpackage Hooks
8
+  * @author Jonathan Jaubart <[email protected]>
9
+  * @copyright Copyright (c) 2011-2022, Jonathan Jaubart
10
+  * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
11
+  */
12 12
 
13 13
 declare(strict_types=1);
14 14
 
@@ -19,12 +19,12 @@  discard block
 block discarded – undo
19 19
  */
20 20
 interface HookServiceInterface
21 21
 {
22
-    /**
23
-     * Select the hook collector to use for a specific hook interface
24
-     *
25
-     * @template THook of HookInterface
26
-     * @param class-string<THook> $hook_interface
27
-     * @return HookCollectorInterface|NULL
28
-     */
29
-    public function use(string $hook_interface): ?HookCollectorInterface;
22
+	/**
23
+	 * Select the hook collector to use for a specific hook interface
24
+	 *
25
+	 * @template THook of HookInterface
26
+	 * @param class-string<THook> $hook_interface
27
+	 * @return HookCollectorInterface|NULL
28
+	 */
29
+	public function use(string $hook_interface): ?HookCollectorInterface;
30 30
 }
Please login to merge, or discard this patch.
app/Contracts/Hooks/IndividualDatatablesExtenderInterface.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
  /**
4
- * webtrees-lib: MyArtJaub library for webtrees
5
- *
6
- * @package MyArtJaub\Webtrees
7
- * @subpackage Hooks
8
- * @author Jonathan Jaubart <[email protected]>
9
- * @copyright Copyright (c) 2011-2022, Jonathan Jaubart
10
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
11
- */
4
+  * webtrees-lib: MyArtJaub library for webtrees
5
+  *
6
+  * @package MyArtJaub\Webtrees
7
+  * @subpackage Hooks
8
+  * @author Jonathan Jaubart <[email protected]>
9
+  * @copyright Copyright (c) 2011-2022, Jonathan Jaubart
10
+  * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
11
+  */
12 12
 
13 13
 declare(strict_types=1);
14 14
 
@@ -19,11 +19,11 @@  discard block
 block discarded – undo
19 19
  */
20 20
 interface IndividualDatatablesExtenderInterface extends HookInterface
21 21
 {
22
-    /**
23
-     * Get the columns to be added to individuals datatables
24
-     *
25
-     * @param iterable<\Fisharebest\Webtrees\Individual> $records
26
-     * @return array<string, array<string, array<string, mixed>>>
27
-     */
28
-    public function individualColumns(iterable $records): array;
22
+	/**
23
+	 * Get the columns to be added to individuals datatables
24
+	 *
25
+	 * @param iterable<\Fisharebest\Webtrees\Individual> $records
26
+	 * @return array<string, array<string, array<string, mixed>>>
27
+	 */
28
+	public function individualColumns(iterable $records): array;
29 29
 }
Please login to merge, or discard this patch.
app/Contracts/Hooks/SosaIndividualDatatablesExtenderInterface.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
  /**
4
- * webtrees-lib: MyArtJaub library for webtrees
5
- *
6
- * @package MyArtJaub\Webtrees
7
- * @subpackage Hooks
8
- * @author Jonathan Jaubart <[email protected]>
9
- * @copyright Copyright (c) 2011-2022, Jonathan Jaubart
10
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
11
- */
4
+  * webtrees-lib: MyArtJaub library for webtrees
5
+  *
6
+  * @package MyArtJaub\Webtrees
7
+  * @subpackage Hooks
8
+  * @author Jonathan Jaubart <[email protected]>
9
+  * @copyright Copyright (c) 2011-2022, Jonathan Jaubart
10
+  * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3
11
+  */
12 12
 
13 13
 declare(strict_types=1);
14 14
 
@@ -19,11 +19,11 @@  discard block
 block discarded – undo
19 19
  */
20 20
 interface SosaIndividualDatatablesExtenderInterface extends HookInterface
21 21
 {
22
-    /**
23
-     * Get the columns to be added to ancestors datatables
24
-     *
25
-     * @param iterable<\Fisharebest\Webtrees\Individual> $records
26
-     * @return array<string, array<string, array<string, mixed>>>
27
-     */
28
-    public function sosaIndividualColumns(iterable $records): array;
22
+	/**
23
+	 * Get the columns to be added to ancestors datatables
24
+	 *
25
+	 * @param iterable<\Fisharebest\Webtrees\Individual> $records
26
+	 * @return array<string, array<string, array<string, mixed>>>
27
+	 */
28
+	public function sosaIndividualColumns(iterable $records): array;
29 29
 }
Please login to merge, or discard this patch.
app/Contracts/GeoDispersion/ModuleGeoAnalysisProviderInterface.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -19,10 +19,10 @@
 block discarded – undo
19 19
  */
20 20
 interface ModuleGeoAnalysisProviderInterface
21 21
 {
22
-    /**
23
-     * List geographical analyses provided by the module as an array.
24
-     *
25
-     * @return string[] List of geographical analyses
26
-     */
27
-    public function listGeoAnalyses(): array;
22
+	/**
23
+	 * List geographical analyses provided by the module as an array.
24
+	 *
25
+	 * @return string[] List of geographical analyses
26
+	 */
27
+	public function listGeoAnalyses(): array;
28 28
 }
Please login to merge, or discard this patch.