Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 238) sorted by relevance

12345678910

/webtrees/tests/app/Census/
H A DCensusColumnConditionCanadaWidowedTest.php37 $individual->method('sex')->willReturn('M');
38 $individual->method('spouseFamilies')->willReturn(new Collection());
39 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
42 $census->method('censusDate')->willReturn('30 JUN 1830');
52 $individual->method('sex')->willReturn('F');
53 $individual->method('spouseFamilies')->willReturn(new Collection());
54 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
57 $census->method('censusDate')->willReturn('30 JUN 1830');
67 $family->method('getMarriageDate')->willReturn(new Date(''));
68 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
[all …]
H A DCensusColumnConditionCanadaTest.php37 $individual->method('sex')->willReturn('M');
38 $individual->method('spouseFamilies')->willReturn(new Collection());
39 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
42 $census->method('censusDate')->willReturn('30 JUN 1830');
52 $individual->method('sex')->willReturn('F');
53 $individual->method('spouseFamilies')->willReturn(new Collection());
54 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
57 $census->method('censusDate')->willReturn('30 JUN 1830');
67 $family->method('getMarriageDate')->willReturn(new Date(''));
68 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
[all …]
H A DCensusColumnConditionUsTest.php37 $individual->method('sex')->willReturn('M');
38 $individual->method('spouseFamilies')->willReturn(new Collection());
39 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
42 $census->method('censusDate')->willReturn('30 JUN 1830');
52 $individual->method('sex')->willReturn('F');
53 $individual->method('spouseFamilies')->willReturn(new Collection());
54 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
57 $census->method('censusDate')->willReturn('30 JUN 1830');
67 $family->method('getMarriageDate')->willReturn(new Date(''));
68 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
[all …]
H A DCensusColumnConditionCanadaMarriedWidowedTest.php37 $individual->method('sex')->willReturn('M');
38 $individual->method('spouseFamilies')->willReturn(new Collection());
39 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
42 $census->method('censusDate')->willReturn('30 JUN 1830');
52 $individual->method('sex')->willReturn('F');
53 $individual->method('spouseFamilies')->willReturn(new Collection());
54 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
57 $census->method('censusDate')->willReturn('30 JUN 1830');
67 $family->method('getMarriageDate')->willReturn(new Date(''));
68 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
[all …]
H A DCensusColumnConditionCanadaWidowedMaleTest.php37 $individual->method('sex')->willReturn('M');
38 $individual->method('spouseFamilies')->willReturn(new Collection());
39 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
42 $census->method('censusDate')->willReturn('30 JUN 1830');
52 $individual->method('sex')->willReturn('F');
53 $individual->method('spouseFamilies')->willReturn(new Collection());
54 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
57 $census->method('censusDate')->willReturn('30 JUN 1830');
67 $family->method('getMarriageDate')->willReturn(new Date(''));
68 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
[all …]
H A DCensusColumnConditionCanadaMarriedSingleTest.php37 $individual->method('sex')->willReturn('M');
38 $individual->method('spouseFamilies')->willReturn(new Collection());
39 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
42 $census->method('censusDate')->willReturn('30 JUN 1830');
52 $individual->method('sex')->willReturn('F');
53 $individual->method('spouseFamilies')->willReturn(new Collection());
54 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
57 $census->method('censusDate')->willReturn('30 JUN 1830');
67 $family->method('getMarriageDate')->willReturn(new Date(''));
68 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
[all …]
H A DCensusColumnConditionCanadaWidowedFemaleTest.php37 $individual->method('sex')->willReturn('M');
38 $individual->method('spouseFamilies')->willReturn(new Collection());
39 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
42 $census->method('censusDate')->willReturn('30 JUN 1830');
52 $individual->method('sex')->willReturn('F');
53 $individual->method('spouseFamilies')->willReturn(new Collection());
54 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
57 $census->method('censusDate')->willReturn('30 JUN 1830');
67 $family->method('getMarriageDate')->willReturn(new Date(''));
68 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
[all …]
H A DCensusColumnConditionFrenchVeuveTest.php37 $individual->method('sex')->willReturn('M');
38 $individual->method('spouseFamilies')->willReturn(new Collection());
39 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
42 $census->method('censusDate')->willReturn('30 JUN 1830');
52 $individual->method('sex')->willReturn('F');
53 $individual->method('spouseFamilies')->willReturn(new Collection());
54 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
57 $census->method('censusDate')->willReturn('30 JUN 1830');
67 $family->method('getMarriageDate')->willReturn(new Date(''));
68 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
[all …]
H A DCensusColumnConditionFrenchGarconTest.php37 $individual->method('sex')->willReturn('M');
38 $individual->method('spouseFamilies')->willReturn(new Collection());
39 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
42 $census->method('censusDate')->willReturn('30 JUN 1830');
52 $individual->method('sex')->willReturn('F');
53 $individual->method('spouseFamilies')->willReturn(new Collection());
54 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
57 $census->method('censusDate')->willReturn('30 JUN 1830');
67 $family->method('getMarriageDate')->willReturn(new Date(''));
68 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
[all …]
H A DCensusColumnConditionFrenchVeufTest.php37 $individual->method('sex')->willReturn('M');
38 $individual->method('spouseFamilies')->willReturn(new Collection());
39 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
42 $census->method('censusDate')->willReturn('30 JUN 1830');
52 $individual->method('sex')->willReturn('F');
53 $individual->method('spouseFamilies')->willReturn(new Collection());
54 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
57 $census->method('censusDate')->willReturn('30 JUN 1830');
67 $family->method('getMarriageDate')->willReturn(new Date(''));
68 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
[all …]
H A DCensusColumnConditionFrenchHommeTest.php37 $individual->method('sex')->willReturn('M');
38 $individual->method('spouseFamilies')->willReturn(new Collection());
39 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
42 $census->method('censusDate')->willReturn('30 JUN 1830');
52 $individual->method('sex')->willReturn('F');
53 $individual->method('spouseFamilies')->willReturn(new Collection());
54 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
57 $census->method('censusDate')->willReturn('30 JUN 1830');
67 $family->method('getMarriageDate')->willReturn(new Date(''));
68 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
[all …]
H A DCensusColumnConditionFrenchFilleTest.php37 $individual->method('sex')->willReturn('M');
38 $individual->method('spouseFamilies')->willReturn(new Collection());
39 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
42 $census->method('censusDate')->willReturn('30 JUN 1830');
52 $individual->method('sex')->willReturn('F');
53 $individual->method('spouseFamilies')->willReturn(new Collection());
54 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
57 $census->method('censusDate')->willReturn('30 JUN 1830');
67 $family->method('getMarriageDate')->willReturn(new Date(''));
68 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
[all …]
H A DCensusColumnConditionEnglishTest.php37 $individual->method('sex')->willReturn('M');
38 $individual->method('spouseFamilies')->willReturn(new Collection());
39 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
42 $census->method('censusDate')->willReturn('30 JUN 1830');
52 $individual->method('sex')->willReturn('F');
53 $individual->method('spouseFamilies')->willReturn(new Collection());
54 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
57 $census->method('censusDate')->willReturn('30 JUN 1830');
67 $family->method('getMarriageDate')->willReturn(new Date(''));
68 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
[all …]
H A DCensusColumnConditionDanishTest.php37 $individual->method('sex')->willReturn('M');
38 $individual->method('spouseFamilies')->willReturn(new Collection());
39 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
42 $census->method('censusDate')->willReturn('30 JUN 1830');
52 $individual->method('sex')->willReturn('F');
53 $individual->method('spouseFamilies')->willReturn(new Collection());
54 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
57 $census->method('censusDate')->willReturn('30 JUN 1830');
67 $family->method('getMarriageDate')->willReturn(new Date(''));
68 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
[all …]
H A DCensusColumnConditionFrenchFemmeTest.php37 $individual->method('sex')->willReturn('M');
38 $individual->method('spouseFamilies')->willReturn(new Collection());
39 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
42 $census->method('censusDate')->willReturn('30 JUN 1830');
52 $individual->method('sex')->willReturn('F');
53 $individual->method('spouseFamilies')->willReturn(new Collection());
54 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
57 $census->method('censusDate')->willReturn('30 JUN 1830');
67 $family->method('getMarriageDate')->willReturn(new Date(''));
68 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
[all …]
H A DCensusColumnBornForeignPartsTest.php37 $placeMock->method('gedcomName')->willReturn($place);
38 $placeMock->method('lastParts')->willReturn((new Collection($placeParts))->slice(-1));
46 $individual->method('getBirthPlace')->willReturn($this->getPlaceMock('London, England'));
49 $census->method('censusPlace')->willReturn('England');
59 $individual->method('getBirthPlace')->willReturn($this->getPlaceMock('Cardiff, Wales'));
62 $census->method('censusPlace')->willReturn('England');
72 … $individual->method('getBirthPlace')->willReturn($this->getPlaceMock('Edinburgh, Scotland'));
75 $census->method('censusPlace')->willReturn('England');
85 $individual->method('getBirthPlace')->willReturn($this->getPlaceMock('Dublin, Ireland'));
88 $census->method('censusPlace')->willReturn('England');
[all …]
H A DCensusColumnNationalityTest.php37 $placeMock->method('gedcomName')->willReturn($place);
45 $individual->method('getBirthPlace')->willReturn($this->getPlaceMock(''));
46 … $individual->method('facts')->with(['IMMI', 'EMIG', 'NATU'], true)->willReturn(new Collection());
49 $census->method('censusPlace')->willReturn('Deutschland');
59 $individual->method('getBirthPlace')->willReturn($this->getPlaceMock('Australia'));
60 … $individual->method('facts')->with(['IMMI', 'EMIG', 'NATU'], true)->willReturn(new Collection());
63 $census->method('censusPlace')->willReturn('England');
73 $individual->method('getBirthPlace')->willReturn($this->getPlaceMock('London, England'));
74 … $individual->method('facts')->with(['IMMI', 'EMIG', 'NATU'], true)->willReturn(new Collection());
77 $census->method('censusPlace')->willReturn('England');
[all …]
H A DCensusColumnMonthIfMarriedWithinYearTest.php37 $fact->method('date')->willReturn(new Date('01 DEC 1859'));
40 $family->method('facts')->with(['MARR'])->willReturn(new Collection([$fact]));
43 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
46 $census->method('censusDate')->willReturn('01 JUN 1860');
56 $fact->method('date')->willReturn(new Date('01 JAN 1859'));
59 $family->method('facts')->with(['MARR'])->willReturn(new Collection([$fact]));
62 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
65 $census->method('censusDate')->willReturn('01 JUN 1860');
75 $fact->method('date')->willReturn(new Date('02 JUN 1860'));
78 $family->method('facts')->with(['MARR'])->willReturn(new Collection([$fact]));
[all …]
H A DCensusColumnMarriedWithinYearTest.php37 $fact->method('date')->willReturn(new Date('01 DEC 1859'));
40 $family->method('facts')->with(['MARR'])->willReturn(new Collection([$fact]));
43 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
46 $census->method('censusDate')->willReturn('01 JUN 1860');
56 $fact->method('date')->willReturn(new Date('01 JAN 1859'));
59 $family->method('facts')->with(['MARR'])->willReturn(new Collection([$fact]));
62 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
65 $census->method('censusDate')->willReturn('01 JUN 1860');
75 $fact->method('date')->willReturn(new Date('02 JUN 1860'));
78 $family->method('facts')->with(['MARR'])->willReturn(new Collection([$fact]));
[all …]
/webtrees/tests/app/SurnameTradition/
H A DLithuanianSurnameTraditionTest.php58 $father_fact->method('value')->willReturn('John /White/');
61 $father->method('facts')->willReturn(new Collection([$father_fact]));
64 $mother_fact->method('value')->willReturn('Mary /Black/');
67 $mother->method('facts')->willReturn(new Collection([$mother_fact]));
81 $father_fact->method('value')->willReturn('John /White/');
84 $father->method('facts')->willReturn(new Collection([$father_fact]));
87 $mother_fact->method('value')->willReturn('Mary /Black/');
90 $mother->method('facts')->willReturn(new Collection([$mother_fact]));
104 $father_fact->method('value')->willReturn('John /Whita/');
107 $father->method('facts')->willReturn(new Collection([$father_fact]));
[all …]
H A DPolishSurnameTraditionTest.php48 $father_fact->method('value')->willReturn('John /White/');
51 $father->method('facts')->willReturn(new Collection([$father_fact]));
54 $mother_fact->method('value')->willReturn('Mary /Black/');
57 $mother->method('facts')->willReturn(new Collection([$mother_fact]));
71 $father_fact->method('value')->willReturn('John /White/');
74 $father->method('facts')->willReturn(new Collection([$father_fact]));
77 $mother_fact->method('value')->willReturn('Mary /Black/');
80 $mother->method('facts')->willReturn(new Collection([$mother_fact]));
94 $father_fact->method('value')->willReturn('John /Whitecki/');
97 $father->method('facts')->willReturn(new Collection([$father_fact]));
[all …]
H A DPaternalSurnameTraditionTest.php47 $father_fact->method('value')->willReturn('John /White/');
50 $father->method('facts')->willReturn(new Collection([$father_fact]));
53 $mother_fact->method('value')->willReturn('Mary /Black/');
56 $mother->method('facts')->willReturn(new Collection([$mother_fact]));
80 $father_fact->method('value')->willReturn('John /de White/');
83 $father->method('facts')->willReturn(new Collection([$father_fact]));
86 $mother_fact->method('value')->willReturn('Mary /van Black/');
89 $mother->method('facts')->willReturn(new Collection([$mother_fact]));
103 $father_fact->method('value')->willReturn('John /van der White/');
106 $father->method('facts')->willReturn(new Collection([$father_fact]));
[all …]
H A DIcelandicSurnameTraditionTest.php47 $father_fact->method('value')->willReturn('Jon Einarsson');
50 $father->method('facts')->willReturn(new Collection([$father_fact]));
53 $mother_fact->method('value')->willReturn('Eva Stefansdottir');
56 $mother->method('facts')->willReturn(new Collection([$mother_fact]));
70 $father_fact->method('value')->willReturn('Jon Einarsson');
73 $father->method('facts')->willReturn(new Collection([$father_fact]));
76 $mother_fact->method('value')->willReturn('Eva Stefansdottir');
79 $mother->method('facts')->willReturn(new Collection([$mother_fact]));
93 $father_fact->method('value')->willReturn('Jon Einarsson');
96 $father->method('facts')->willReturn(new Collection([$father_fact]));
[all …]
/webtrees/
H A Dphpstan-baseline.neon4 message: '#^Cannot call method find\(\) on mixed\.$#'
5 identifier: method.nonObject
46 message: '#^Cannot call method getCloseRelationshipName\(\) on mixed\.$#'
47 identifier: method.nonObject
100 …message: '#^Parameter \$name of method Fisharebest\\Webtrees\\Services\\TreeService\:\:create\(\) …
106 …message: '#^Parameter \$title of method Fisharebest\\Webtrees\\Services\\TreeService\:\:create\(\)…
124 …message: '#^Unknown parameter \$suggestedValues in call to method Symfony\\Component\\Console\\Com…
136 …message: '#^Parameter \$email of method Fisharebest\\Webtrees\\Services\\UserService\:\:create\(\)…
142 …message: '#^Parameter \$email of method Fisharebest\\Webtrees\\Services\\UserService\:\:findByEmai…
148 …message: '#^Parameter \$password of method Fisharebest\\Webtrees\\Services\\UserService\:\:create\…
[all …]
/webtrees/tests/app/
H A DValidatorTest.php35 ->method('getAttributes')
45 ->method('getParsedBody')
55 ->method('getQueryParams')
65 ->method('getServerParams')
75 ->method('getQueryParams')
87 ->method('getQueryParams')
99 ->method('getQueryParams')
113 ->method('getQueryParams')
140 ->method('getQueryParams')
165 ->method('getQueryParams')
[all …]

12345678910