Passed
Push — main ( 4197a4...465e30 )
by Jonathan
05:10
created
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-2021, 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-2021, 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 string $source_record
29
-     * @return string
30
-     */
31
-    public function factSourcePrepend(Tree $tree, string $source_record, int $level): string;
24
+	/**
25
+	 * Insert some content before the source citation title.
26
+	 *
27
+	 * @param Tree $tree
28
+	 * @param string $source_record
29
+	 * @return string
30
+	 */
31
+	public function factSourcePrepend(Tree $tree, string $source_record, int $level): string;
32 32
 
33
-    /**
34
-     * Insert some content after the source citation title.
35
-     *
36
-     * @param Tree $tree
37
-     * @param string $source_record
38
-     * @return string
39
-     */
40
-    public function factSourceAppend(Tree $tree, string $source_record, int $level): string;
33
+	/**
34
+	 * Insert some content after the source citation title.
35
+	 *
36
+	 * @param Tree $tree
37
+	 * @param string $source_record
38
+	 * @return string
39
+	 */
40
+	public function factSourceAppend(Tree $tree, string $source_record, int $level): string;
41 41
 }
Please login to merge, or discard this patch.
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-2021, 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-2021, 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/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-2021, 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-2021, 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
 
@@ -22,23 +22,23 @@  discard block
 block discarded – undo
22 22
 interface RecordNameTextExtenderInterface extends HookInterface
23 23
 {
24 24
 
25
-    /**
26
-     * Insert some content before the record name text.
27
-     *
28
-     * @param GedcomRecord $record Gedcom record
29
-     * @param bool $use_long Use the long text extender format
30
-     * @param string $size Prepend size
31
-     * @return string
32
-     */
33
-    public function recordNamePrepend(GedcomRecord $record, bool $use_long = false, string $size = ''): string;
25
+	/**
26
+	 * Insert some content before the record name text.
27
+	 *
28
+	 * @param GedcomRecord $record Gedcom record
29
+	 * @param bool $use_long Use the long text extender format
30
+	 * @param string $size Prepend size
31
+	 * @return string
32
+	 */
33
+	public function recordNamePrepend(GedcomRecord $record, bool $use_long = false, string $size = ''): string;
34 34
 
35
-    /**
36
-     * Insert some content after the record name text.
37
-     *
38
-     * @param GedcomRecord $record Gedcom record
39
-     * @param bool $use_long Use the long text extender format
40
-     * @param string $size Append size
41
-     * @return string
42
-     */
43
-    public function recordNameAppend(GedcomRecord $record, bool $use_long = false, string $size = ''): string;
35
+	/**
36
+	 * Insert some content after the record name text.
37
+	 *
38
+	 * @param GedcomRecord $record Gedcom record
39
+	 * @param bool $use_long Use the long text extender format
40
+	 * @param string $size Append size
41
+	 * @return string
42
+	 */
43
+	public function recordNameAppend(GedcomRecord $record, bool $use_long = false, string $size = ''): string;
44 44
 }
Please login to merge, or discard this patch.
app/Contracts/Hooks/ModuleHookSubscriberInterface.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-2021, 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-2021, 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
 
@@ -20,10 +20,10 @@  discard block
 block discarded – undo
20 20
 interface ModuleHookSubscriberInterface
21 21
 {
22 22
 
23
-    /**
24
-     * List hooks to be subscribed by the module as an array.
25
-     *
26
-     * @return HookInterface[]
27
-     */
28
-    public function listSubscribedHooks(): array;
23
+	/**
24
+	 * List hooks to be subscribed by the module as an array.
25
+	 *
26
+	 * @return HookInterface[]
27
+	 */
28
+	public function listSubscribedHooks(): 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-2021, 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-2021, 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/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-2021, 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-2021, 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/HookCollectorInterface.php 1 patch
Indentation   +45 added lines, -45 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-2021, 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-2021, 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
 
@@ -24,46 +24,46 @@  discard block
 block discarded – undo
24 24
 interface HookCollectorInterface
25 25
 {
26 26
 
27
-    /**
28
-     * Get the unique internal name for the hook collector
29
-     *
30
-     * @return string
31
-     */
32
-    public function name(): string;
27
+	/**
28
+	 * Get the unique internal name for the hook collector
29
+	 *
30
+	 * @return string
31
+	 */
32
+	public function name(): string;
33 33
 
34
-    /**
35
-     * Get the title to be displayed to idenfity the hook collector
36
-     *
37
-     * @return string
38
-     */
39
-    public function title(): string;
34
+	/**
35
+	 * Get the title to be displayed to idenfity the hook collector
36
+	 *
37
+	 * @return string
38
+	 */
39
+	public function title(): string;
40 40
 
41
-    /**
42
-     * Get a short description for the hook collector
43
-     *
44
-     * @return string
45
-     */
46
-    public function description(): string;
41
+	/**
42
+	 * Get a short description for the hook collector
43
+	 *
44
+	 * @return string
45
+	 */
46
+	public function description(): string;
47 47
 
48
-    /**
49
-     * Get the interface collated by the hook collector
50
-     *
51
-     * @return class-string<THook>
52
-     */
53
-    public function hookInterface(): string;
48
+	/**
49
+	 * Get the interface collated by the hook collector
50
+	 *
51
+	 * @return class-string<THook>
52
+	 */
53
+	public function hookInterface(): string;
54 54
 
55
-    /**
56
-     * Register a hook instance in the hook collector
57
-     *
58
-     * @param THook $hook_instance
59
-     * @param int $order
60
-     */
61
-    public function register(HookInterface $hook_instance, int $order): void;
55
+	/**
56
+	 * Register a hook instance in the hook collector
57
+	 *
58
+	 * @param THook $hook_instance
59
+	 * @param int $order
60
+	 */
61
+	public function register(HookInterface $hook_instance, int $order): void;
62 62
 
63
-    /**
64
-     * Get the list of hooks registered against the hook collector
65
-     *
66
-     * @return Collection<THook>
67
-     */
68
-    public function hooks(): Collection;
63
+	/**
64
+	 * Get the list of hooks registered against the hook collector
65
+	 *
66
+	 * @return Collection<THook>
67
+	 */
68
+	public function hooks(): Collection;
69 69
 }
Please login to merge, or discard this patch.
app/Contracts/Hooks/NameAccordionExtenderInterface.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-2021, 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-2021, 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
 
@@ -22,11 +22,11 @@  discard block
 block discarded – undo
22 22
 interface NameAccordionExtenderInterface extends HookInterface
23 23
 {
24 24
 
25
-    /**
26
-     * Add a new card to the names accordion.
27
-     *
28
-     * @param Individual $individual
29
-     * @return string
30
-     */
31
-    public function accordionCard(Individual $individual): string;
25
+	/**
26
+	 * Add a new card to the names accordion.
27
+	 *
28
+	 * @param Individual $individual
29
+	 * @return string
30
+	 */
31
+	public function accordionCard(Individual $individual): string;
32 32
 }
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-2021, 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-2021, 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.