Issues (2560)

app/Census/CensusOfDeutschland1867.php (1 issue)

Labels
Severity
1
<?php
2
3
/**
4
 * webtrees: online genealogy
5
 * Copyright (C) 2025 webtrees development team
6
 * This program is free software: you can redistribute it and/or modify
7
 * it under the terms of the GNU General Public License as published by
8
 * the Free Software Foundation, either version 3 of the License, or
9
 * (at your option) any later version.
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
 * GNU General Public License for more details.
14
 * You should have received a copy of the GNU General Public License
15
 * along with this program. If not, see <https://www.gnu.org/licenses/>.
16
 */
17
18
declare(strict_types=1);
19
20
namespace Fisharebest\Webtrees\Census;
21
22
/**
23
 * Definitions for a census
24
 */
25
class CensusOfDeutschland1867 extends CensusOfDeutschland implements CensusInterface
26
{
27
    /**
28
     * When did this census occur.
29
     *
30
     * @return string
31
     */
32
    public function censusDate(): string
33
    {
34
        return '03 DEC 1867';
35
    }
36
37
    /**
38
     * Where did this census occur, in GEDCOM format.
39
     *
40
     * @return string
41
     */
42
    public function censusPlace(): string
43
    {
44
        return 'Mecklenburg-Schwerin, Deutschland';
45
    }
46
47
    /**
48
     * The columns of the census.
49
     *
50
     * @return array<CensusColumnInterface>
51
     */
52
    public function columns(): array
53
    {
54
        return [
55
            new CensusColumnNull($this, '1.Nr.', 'Ordnungs-Nummer (1-15).'),
56
            new CensusColumnGivenNames($this, '2.Vorname', 'I. Vor- und Familien-Name jeder Person. Vorname'),
57
            new CensusColumnSurname($this, '3.Familienname', 'I. Vor- und Familien-Name jeder Person. Familienname.'),
58
            new CensusColumnNull($this, '4.männlich', 'II. Geschlecht männlich.'),
59
            new CensusColumnNull($this, '5.weiblich', 'II. Geschlecht weiblich.'),
60
            new CensusColumnBirthYear($this, '6.Geburtsjahr', 'III. Alter.'),
61
            new CensusColumnReligion($this, '7.Religion', 'IV. Religionsbekenntnis.'),
62
            new CensusColumnNull($this, '8.ledig', 'V. Familienstand. ledig.'),
63
            new CensusColumnNull($this, '9.verehelicht', 'V. Familienstand. verehelicht.'),
64
            new CensusColumnNull($this, '10.verwittwet', 'V. Familienstand. verwittwet.'),
65
            new CensusColumnNull($this, '11.geschieden', 'V. Familienstand. geschieden.'),
66
            new CensusColumnRelationToHeadGerman($this, '12.Stellung', 'V. Familienstand. Verhältnis der Familienglieder zum Haushaltungsvorstand.'),
0 ignored issues
show
The type Fisharebest\Webtrees\Cen...umnRelationToHeadGerman was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
67
            new CensusColumnOccupation($this, '13.Stand/Beruf', 'VI. Stand, Beruf oder Vorbereitung zum Beruf, Arbeits- und Dienstverhältnis.'),
68
            new CensusColumnNull($this, '14.StA_M-S', 'VII. Staatsangehörigkeit. Mecklenburg-Schwerinscher Unterthan.'),
69
            new CensusColumnNull($this, '15.StA', 'VII. Staatsangehörigkeit. Anderen Staaten angehörig. Welchem Staat?'),
70
            new CensusColumnNull($this, '16.', 'VIII. Art des Aufenthalts am Zählungsort. Norddeutscher und Zollvereins- See- und Flußschiffer.'),
71
            new CensusColumnNull($this, '17.', 'VIII. Art des Aufenthalts am Zählungsort. Reisender im Gasthof.'),
72
            new CensusColumnNull($this, '18.', 'VIII. Art des Aufenthalts am Zählungsort. Gast der Familie (zum Besuch aus).'),
73
            new CensusColumnNull($this, '19.', 'VIII. Art des Aufenthalts am Zählungsort. Alle übrigen Anwesenden.'),
74
            new CensusColumnNull($this, '20.blind', 'IX. Besondere Mängel einzelner Individuen. blind auf beiden Augen.'),
75
            new CensusColumnNull($this, '21.taubstumm', 'IX. Besondere Mängel einzelner Individuen. taubstumm.'),
76
            new CensusColumnNull($this, '22.blödsinnig', 'IX. Besondere Mängel einzelner Individuen. blödsinnig.'),
77
            new CensusColumnNull($this, '23.irrsinnig', 'IX. Besondere Mängel einzelner Individuen. irrsinnig.'),
78
        ];
79
    }
80
}
81