Issues (2560)

app/Census/CensusOfDeutschland1900.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 CensusOfDeutschland1900 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 '01 DEC 1900';
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, 'Lfd.Nr.', 'Laufende Nummer'),
56
            new CensusColumnGivenNames($this, 'Vorname', 'Vorname'),
57
            new CensusColumnSurname($this, 'Familienname', 'Familienname'),
58
            new CensusColumnRelationToHeadGerman($this, 'Stellung', 'Verwandtschaft oder sonstige Stellung 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...
59
            new CensusColumnNull($this, 'männlich', 'Geschlecht männlich'),
60
            new CensusColumnNull($this, 'weiblich', 'Geschlecht weiblich'),
61
            new CensusColumnNull($this, 'Blind', 'Blind auf beiden Augen'),
62
            new CensusColumnNull($this, 'Taubstumm', 'Taubstumm'),
63
            new CensusColumnNull($this, 'Bemerkungen', 'Bemerkungen'),
64
            new CensusColumnNull($this, '', 'Nachfolgend die detaillierten Zählkartenangaben'),
65
            new CensusColumnFullName($this, 'ZK 1.Name', '1. Vor- und Familienname:'),
66
            new CensusColumnNull($this, 'ZK 2.Geschlecht', '2. Geschlecht:'),
67
            new CensusColumnNull($this, 'ZK 3.Familienstand', '3. Familienstand:'),
68
            new CensusColumnBirthDayDotMonthYear($this, 'ZK 4.Alter', '4. Alter: geboren den ... im Jahre ...'),
69
            new CensusColumnBirthPlace($this, 'ZK 5.Geburtsort', '5. Geburtsort: ... im Bezirk (Amt) ...'),
70
            new CensusColumnNull($this, 'ZK 5.Land/Provinz', 'für außerhalb des Großherzogthums Geborene auch Geburtsland, für in Preußen Geborene auch Provinz: ...'),
71
            new CensusColumnOccupation($this, 'ZK 6.Beruf/Stand', '6. Beruf, Stand, Erwerb, Gewerbe, Geschäft oder Nahrungszweig:'),
72
            new CensusColumnNull($this, 'ZK 7a.Gemeinde Wohnort', '7.a. Gemeinde (Ortschaft), in welcher der Wohnort (Wohnung), bei verheiratheten Personen der Familienwohnsitz liegt:'),
73
            new CensusColumnNull($this, 'ZK 7a.Land/Provinz', 'für außerhalb des Großherzogthums Wohnende auch Staat und für in Preußen Wohnende auch Provinz: ...'),
74
            new CensusColumnNull($this, 'ZK 7b.Gemeinde Erwerbsort', '7.b. Gemeinde (Ortschaft), in welcher der Beruf (die Erwerbsthätigkeit) zur Zeit ausgeübt wird oder zuletzt ausgeübt wurde:'),
75
            new CensusColumnNull($this, 'ZK 7b.Land/Provinz', 'für außerhalb des Großherzogthums Arbeitende auch Staat und für in Preußen Arbeitende auch Provinz: ...'),
76
            new CensusColumnReligion($this, 'ZK 8.Religion', '8. Religionsbekenntnis:'),
77
            new CensusColumnNull($this, 'ZK 9.Muttersprache', '9. Muttersprache (ob deutsch oder welche andere Sprache?):'),
78
            new CensusColumnNull($this, 'ZK 10.StA', '10. Staatsangehörigkeit:'),
79
            new CensusColumnNull($this, 'ZK 11.Dienstgrad', '11. Für Militärpersonen im aktiven Dienste: Dienstgrad:'),
80
            new CensusColumnNull($this, 'ZK 11.Einheit', 'Truppentheil, Kommando- oder Verwaltungsbehörde:'),
81
            new CensusColumnNull($this, 'ZK 12.Gebrechen', '12. Etwaige körperliche Mängel und Gebrechen:'),
82
        ];
83
    }
84
}
85