/webtrees/tests/app/Census/ |
H A D | CensusColumnConditionCanadaWidowedTest.php | 37 $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 D | CensusColumnConditionCanadaTest.php | 37 $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 D | CensusColumnConditionUsTest.php | 37 $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 D | CensusColumnConditionCanadaMarriedWidowedTest.php | 37 $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 D | CensusColumnConditionCanadaWidowedMaleTest.php | 37 $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 D | CensusColumnConditionCanadaMarriedSingleTest.php | 37 $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 D | CensusColumnConditionCanadaWidowedFemaleTest.php | 37 $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 D | CensusColumnConditionFrenchVeuveTest.php | 37 $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 D | CensusColumnConditionFrenchGarconTest.php | 37 $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 D | CensusColumnConditionFrenchVeufTest.php | 37 $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 D | CensusColumnConditionFrenchHommeTest.php | 37 $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 D | CensusColumnConditionFrenchFilleTest.php | 37 $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 D | CensusColumnConditionEnglishTest.php | 37 $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 D | CensusColumnConditionDanishTest.php | 37 $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 D | CensusColumnConditionFrenchFemmeTest.php | 37 $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 D | CensusColumnBornForeignPartsTest.php | 37 $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 D | CensusColumnNationalityTest.php | 37 $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 D | CensusColumnMonthIfMarriedWithinYearTest.php | 37 $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 D | CensusColumnMarriedWithinYearTest.php | 37 $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 D | LithuanianSurnameTraditionTest.php | 58 $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 D | PolishSurnameTraditionTest.php | 48 $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 D | PaternalSurnameTraditionTest.php | 47 $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 D | IcelandicSurnameTraditionTest.php | 47 $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 D | phpstan-baseline.neon | 4 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 D | ValidatorTest.php | 35 ->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 …]
|