From 2f41c55b4165e611db611215a65ae7ae2a69be44 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Tue, 3 Oct 2023 22:34:25 +0100 Subject: [PATCH] Merge testcase fixes from main --- composer.json | 3 +- tests/MockGlobalFunctions.php | 7 - tests/TestCase.php | 161 +++++++----------- tests/app/AgeTest.php | 22 --- tests/app/AuthTest.php | 2 +- tests/app/CacheTest.php | 2 +- .../CensusColumnAgeFemale5YearsTest.php | 12 -- .../app/Census/CensusColumnAgeFemaleTest.php | 8 - .../Census/CensusColumnAgeMale5YearsTest.php | 12 -- tests/app/Census/CensusColumnAgeMaleTest.php | 8 - .../app/Census/CensusColumnAgeMarriedTest.php | 8 - .../CensusColumnAgeNextBirthDayTest.php | 2 - tests/app/Census/CensusColumnAgeTest.php | 2 - .../app/Census/CensusColumnBirthDateTest.php | 2 - .../CensusColumnBirthDayDotMonthYearTest.php | 2 - .../CensusColumnBirthDayMonthYearTest.php | 2 - .../CensusColumnBirthDaySlashMonthTest.php | 2 - ...CensusColumnBirthDaySlashMonthYearTest.php | 2 - tests/app/Census/CensusColumnBirthDayTest.php | 2 - .../Census/CensusColumnBirthMonthDayTest.php | 2 - .../app/Census/CensusColumnBirthMonthTest.php | 2 - .../CensusColumnBirthPlaceSimpleTest.php | 15 -- .../app/Census/CensusColumnBirthPlaceTest.php | 13 -- .../app/Census/CensusColumnBirthYearTest.php | 2 - .../CensusColumnBornForeignPartsTest.php | 53 ------ .../CensusColumnChildrenBornAliveTest.php | 4 - .../Census/CensusColumnChildrenDiedTest.php | 4 - .../Census/CensusColumnChildrenLivingTest.php | 4 - ...ColumnConditionCanadaMarriedSingleTest.php | 62 ++----- ...olumnConditionCanadaMarriedWidowedTest.php | 62 ++----- .../CensusColumnConditionCanadaTest.php | 62 ++----- ...ColumnConditionCanadaWidowedFemaleTest.php | 62 ++----- ...usColumnConditionCanadaWidowedMaleTest.php | 62 ++----- ...CensusColumnConditionCanadaWidowedTest.php | 62 ++----- .../CensusColumnConditionDanishTest.php | 44 +---- .../CensusColumnConditionEnglishTest.php | 44 +---- .../CensusColumnConditionFrenchFemmeTest.php | 44 +---- .../CensusColumnConditionFrenchFilleTest.php | 44 +---- .../CensusColumnConditionFrenchGarconTest.php | 44 +---- .../CensusColumnConditionFrenchHommeTest.php | 44 +---- .../CensusColumnConditionFrenchVeufTest.php | 44 +---- .../CensusColumnConditionFrenchVeuveTest.php | 44 +---- .../Census/CensusColumnConditionUsTest.php | 62 ++----- ...CensusColumnFatherBirthPlaceSimpleTest.php | 9 - .../CensusColumnFatherBirthPlaceTest.php | 15 -- .../Census/CensusColumnFatherForeignTest.php | 15 -- tests/app/Census/CensusColumnFullNameTest.php | 4 - .../CensusColumnGivenNameInitialTest.php | 6 - .../app/Census/CensusColumnGivenNamesTest.php | 4 - .../CensusColumnMarriedWithinYearTest.php | 10 -- .../CensusColumnMonthIfBornWithinYearTest.php | 8 - ...nsusColumnMonthIfMarriedWithinYearTest.php | 10 -- ...CensusColumnMotherBirthPlaceSimpleTest.php | 9 - .../CensusColumnMotherBirthPlaceTest.php | 15 -- .../Census/CensusColumnMotherForeignTest.php | 15 -- .../Census/CensusColumnNationalityTest.php | 15 -- tests/app/Census/CensusColumnNullTest.php | 2 - .../app/Census/CensusColumnOccupationTest.php | 4 - .../CensusColumnRelationToHeadEnglishTest.php | 2 - .../CensusColumnRelationToHeadGermanTest.php | 2 - .../Census/CensusColumnRelationToHeadTest.php | 2 - tests/app/Census/CensusColumnReligionTest.php | 10 +- tests/app/Census/CensusColumnSexFTest.php | 6 - tests/app/Census/CensusColumnSexMFTest.php | 6 - tests/app/Census/CensusColumnSexMKTest.php | 6 - tests/app/Census/CensusColumnSexMTest.php | 6 - tests/app/Census/CensusColumnSexMZTest.php | 6 - ...ensusColumnSurnameGivenNameInitialTest.php | 4 - .../CensusColumnSurnameGivenNamesTest.php | 6 - tests/app/Census/CensusColumnSurnameTest.php | 4 - .../Census/CensusColumnYearsMarriedTest.php | 10 -- tests/app/Census/CensusOfCanada1851Test.php | 4 - tests/app/Census/CensusOfCanada1861Test.php | 4 - tests/app/Census/CensusOfCanada1871Test.php | 4 - tests/app/Census/CensusOfCanada1881Test.php | 4 - tests/app/Census/CensusOfCanada1891Test.php | 4 - tests/app/Census/CensusOfCanada1901Test.php | 4 - tests/app/Census/CensusOfCanada1911Test.php | 4 - tests/app/Census/CensusOfCanada1921Test.php | 4 - tests/app/Census/CensusOfCanada1931Test.php | 4 - .../Census/CensusOfCanadaPraries1916Test.php | 4 - .../Census/CensusOfCanadaPraries1926Test.php | 4 - tests/app/Census/CensusOfCanadaTest.php | 6 - .../Census/CensusOfCzechRepublic1880Test.php | 4 - .../Census/CensusOfCzechRepublic1890Test.php | 4 - .../Census/CensusOfCzechRepublic1900Test.php | 4 - .../Census/CensusOfCzechRepublic1910Test.php | 4 - .../Census/CensusOfCzechRepublic1921Test.php | 4 - .../app/Census/CensusOfCzechRepublicTest.php | 6 - tests/app/Census/CensusOfDenmark1787Test.php | 4 - tests/app/Census/CensusOfDenmark1801Test.php | 4 - tests/app/Census/CensusOfDenmark1803Test.php | 4 - tests/app/Census/CensusOfDenmark1834Test.php | 4 - tests/app/Census/CensusOfDenmark1835Test.php | 4 - tests/app/Census/CensusOfDenmark1840Test.php | 4 - tests/app/Census/CensusOfDenmark1845Test.php | 4 - tests/app/Census/CensusOfDenmark1850Test.php | 4 - tests/app/Census/CensusOfDenmark1855Test.php | 4 - tests/app/Census/CensusOfDenmark1860Test.php | 4 - tests/app/Census/CensusOfDenmark1870Test.php | 4 - tests/app/Census/CensusOfDenmark1880Test.php | 4 - tests/app/Census/CensusOfDenmark1885Test.php | 4 - tests/app/Census/CensusOfDenmark1890Test.php | 4 - tests/app/Census/CensusOfDenmark1901Test.php | 4 - tests/app/Census/CensusOfDenmark1906Test.php | 4 - tests/app/Census/CensusOfDenmark1911Test.php | 4 - tests/app/Census/CensusOfDenmark1916Test.php | 4 - tests/app/Census/CensusOfDenmark1921Test.php | 4 - tests/app/Census/CensusOfDenmark1925Test.php | 4 - tests/app/Census/CensusOfDenmark1930Test.php | 4 - tests/app/Census/CensusOfDenmark1940Test.php | 4 - tests/app/Census/CensusOfDenmarkTest.php | 6 - .../Census/CensusOfDeutschland1819Test.php | 4 - .../Census/CensusOfDeutschland1867Test.php | 4 - .../Census/CensusOfDeutschland1900Test.php | 4 - .../Census/CensusOfDeutschland1919Test.php | 4 - .../Census/CensusOfDeutschlandNL1867Test.php | 4 - tests/app/Census/CensusOfDeutschlandTest.php | 6 - tests/app/Census/CensusOfEngland1841Test.php | 4 - tests/app/Census/CensusOfEngland1851Test.php | 4 - tests/app/Census/CensusOfEngland1861Test.php | 4 - tests/app/Census/CensusOfEngland1871Test.php | 4 - tests/app/Census/CensusOfEngland1881Test.php | 4 - tests/app/Census/CensusOfEngland1891Test.php | 4 - tests/app/Census/CensusOfEngland1901Test.php | 4 - tests/app/Census/CensusOfEngland1911Test.php | 4 - tests/app/Census/CensusOfEnglandTest.php | 6 - tests/app/Census/CensusOfFrance1831Test.php | 4 - tests/app/Census/CensusOfFrance1836Test.php | 4 - tests/app/Census/CensusOfFrance1841Test.php | 4 - tests/app/Census/CensusOfFrance1846Test.php | 4 - tests/app/Census/CensusOfFrance1851Test.php | 4 - tests/app/Census/CensusOfFrance1856Test.php | 4 - tests/app/Census/CensusOfFrance1861Test.php | 4 - tests/app/Census/CensusOfFrance1866Test.php | 4 - tests/app/Census/CensusOfFrance1872Test.php | 4 - tests/app/Census/CensusOfFrance1876Test.php | 4 - tests/app/Census/CensusOfFrance1881Test.php | 4 - tests/app/Census/CensusOfFrance1886Test.php | 4 - tests/app/Census/CensusOfFrance1891Test.php | 4 - tests/app/Census/CensusOfFrance1896Test.php | 4 - tests/app/Census/CensusOfFrance1901Test.php | 4 - tests/app/Census/CensusOfFrance1906Test.php | 4 - tests/app/Census/CensusOfFrance1911Test.php | 4 - tests/app/Census/CensusOfFrance1921Test.php | 4 - tests/app/Census/CensusOfFrance1926Test.php | 4 - tests/app/Census/CensusOfFrance1931Test.php | 4 - tests/app/Census/CensusOfFrance1936Test.php | 4 - tests/app/Census/CensusOfFrance1946Test.php | 4 - tests/app/Census/CensusOfFranceTest.php | 6 - .../Census/CensusOfRhodeIsland1905Test.php | 4 - .../Census/CensusOfRhodeIsland1915Test.php | 4 - .../Census/CensusOfRhodeIsland1925Test.php | 4 - tests/app/Census/CensusOfRhodeIslandTest.php | 6 - tests/app/Census/CensusOfScotland1841Test.php | 4 - tests/app/Census/CensusOfScotland1851Test.php | 4 - tests/app/Census/CensusOfScotland1861Test.php | 4 - tests/app/Census/CensusOfScotland1871Test.php | 4 - tests/app/Census/CensusOfScotland1881Test.php | 4 - tests/app/Census/CensusOfScotland1891Test.php | 4 - tests/app/Census/CensusOfScotland1901Test.php | 4 - tests/app/Census/CensusOfScotland1911Test.php | 4 - tests/app/Census/CensusOfScotlandTest.php | 6 - tests/app/Census/CensusOfSlovakia1869Test.php | 4 - tests/app/Census/CensusOfSlovakia1930Test.php | 4 - tests/app/Census/CensusOfSlovakia1940Test.php | 4 - tests/app/Census/CensusOfSlovakiaTest.php | 6 - .../Census/CensusOfUnitedStates1790Test.php | 4 - .../Census/CensusOfUnitedStates1800Test.php | 4 - .../Census/CensusOfUnitedStates1810Test.php | 4 - .../Census/CensusOfUnitedStates1820Test.php | 4 - .../Census/CensusOfUnitedStates1830Test.php | 4 - .../Census/CensusOfUnitedStates1840Test.php | 4 - .../Census/CensusOfUnitedStates1850Test.php | 4 - .../Census/CensusOfUnitedStates1860Test.php | 4 - .../Census/CensusOfUnitedStates1870Test.php | 4 - .../Census/CensusOfUnitedStates1880Test.php | 4 - .../Census/CensusOfUnitedStates1890Test.php | 4 - .../Census/CensusOfUnitedStates1900Test.php | 4 - .../Census/CensusOfUnitedStates1910Test.php | 4 - .../Census/CensusOfUnitedStates1920Test.php | 4 - .../Census/CensusOfUnitedStates1930Test.php | 4 - .../Census/CensusOfUnitedStates1940Test.php | 4 - .../Census/CensusOfUnitedStates1950Test.php | 4 - tests/app/Census/CensusOfUnitedStatesTest.php | 6 - tests/app/Census/CensusOfWales1841Test.php | 4 - tests/app/Census/CensusOfWales1851Test.php | 4 - tests/app/Census/CensusOfWales1861Test.php | 4 - tests/app/Census/CensusOfWales1871Test.php | 4 - tests/app/Census/CensusOfWales1881Test.php | 4 - tests/app/Census/CensusOfWales1891Test.php | 4 - tests/app/Census/CensusOfWales1901Test.php | 4 - tests/app/Census/CensusOfWales1911Test.php | 4 - tests/app/Census/CensusOfWalesTest.php | 6 - tests/app/Census/CensusTest.php | 20 --- .../app/Census/RegisterOfEngland1939Test.php | 4 - .../app/Census/RegisterOfScotland1939Test.php | 4 - tests/app/Census/RegisterOfWales1939Test.php | 4 - tests/app/ColorGeneratorTest.php | 2 +- .../CensusTableContinueParserTest.php | 2 +- .../CommonMark/CensusTableExtensionTest.php | 2 +- .../CommonMark/CensusTableStartParserTest.php | 2 +- tests/app/CommonMark/XrefExtensionTest.php | 2 +- tests/app/CommonMark/XrefNodeTest.php | 2 +- tests/app/CommonMark/XrefParserTest.php | 2 +- tests/app/CommonMark/XrefRendererTest.php | 2 +- tests/app/Console/ComposerScriptsTest.php | 2 +- tests/app/CustomTags/AldfaerTest.php | 2 +- tests/app/CustomTags/AncestryTest.php | 2 +- tests/app/CustomTags/BrothersKeeperTest.php | 2 +- tests/app/CustomTags/FamilySearchTest.php | 2 +- .../app/CustomTags/FamilyTreeBuilderTest.php | 2 +- tests/app/CustomTags/FamilyTreeMakerTest.php | 2 +- tests/app/CustomTags/Gedcom7Test.php | 2 +- tests/app/CustomTags/GedcomLTest.php | 2 +- tests/app/CustomTags/GenPlusWinTest.php | 2 +- tests/app/CustomTags/GeneatiqueTest.php | 2 +- tests/app/CustomTags/HeredisTest.php | 2 +- tests/app/CustomTags/LegacyTest.php | 2 +- tests/app/CustomTags/MyHeritageTest.php | 2 +- .../CustomTags/PersonalAncestralFileTest.php | 2 +- tests/app/CustomTags/PhpGedViewTest.php | 2 +- tests/app/CustomTags/ProGenTest.php | 2 +- tests/app/CustomTags/ReunionTest.php | 2 +- tests/app/CustomTags/RootsMagicTest.php | 2 +- .../CustomTags/TheMasterGenealogistTest.php | 2 +- tests/app/Date/AbstractCalendarDateTest.php | 3 - tests/app/Date/FrenchDateTest.php | 2 - tests/app/Date/GregorianDateTest.php | 2 - tests/app/Date/HijriDateTest.php | 2 - tests/app/Date/JalaliDateTest.php | 2 - tests/app/Date/JewishDateTest.php | 2 - tests/app/Date/JulianDateTest.php | 2 - tests/app/Date/RomanDateTest.php | 2 - tests/app/DateTest.php | 2 - tests/app/DefaultUserTest.php | 2 - ...ntTest.php => AbstractElementTestCase.php} | 23 +-- ...t.php => AbstractEventElementTestCase.php} | 2 +- ...st.php => AbstractXrefElementTestCase.php} | 2 +- tests/app/Elements/AddressCityTest.php | 2 +- tests/app/Elements/AddressCountryTest.php | 2 +- tests/app/Elements/AddressEmailTest.php | 2 +- tests/app/Elements/AddressFaxTest.php | 2 +- tests/app/Elements/AddressLine1Test.php | 2 +- tests/app/Elements/AddressLine2Test.php | 2 +- tests/app/Elements/AddressLine3Test.php | 2 +- tests/app/Elements/AddressLineTest.php | 5 +- tests/app/Elements/AddressPostalCodeTest.php | 5 +- tests/app/Elements/AddressStateTest.php | 2 +- tests/app/Elements/AddressWebPageTest.php | 2 +- .../app/Elements/AdoptedByWhichParentTest.php | 5 +- tests/app/Elements/AdoptionTest.php | 2 +- tests/app/Elements/AdultChristeningTest.php | 2 +- tests/app/Elements/AgeAtEventTest.php | 8 +- .../app/Elements/AncestralFileNumberTest.php | 5 +- tests/app/Elements/AnnulmentTest.php | 2 +- tests/app/Elements/ApprovedSystemIdTest.php | 2 +- .../app/Elements/AttributeDescriptorTest.php | 2 +- tests/app/Elements/AutomatedRecordIdTest.php | 2 +- tests/app/Elements/BaptismTest.php | 2 +- tests/app/Elements/BarMitzvahTest.php | 2 +- tests/app/Elements/BasMitzvahTest.php | 2 +- tests/app/Elements/BirthTest.php | 2 +- tests/app/Elements/BlessingTest.php | 2 +- tests/app/Elements/BurialTest.php | 2 +- tests/app/Elements/CasteNameTest.php | 2 +- tests/app/Elements/CauseOfEventTest.php | 2 +- tests/app/Elements/CensusTest.php | 4 +- .../app/Elements/CertaintyAssessmentTest.php | 2 +- tests/app/Elements/ChangeDateTest.php | 2 +- tests/app/Elements/ChangeTest.php | 2 +- tests/app/Elements/CharacterSetTest.php | 5 +- tests/app/Elements/ChildLinkageStatusTest.php | 5 +- tests/app/Elements/ChristeningTest.php | 2 +- tests/app/Elements/ConfirmationTest.php | 2 +- tests/app/Elements/ContentDescriptionTest.php | 5 +- tests/app/Elements/CoordinatesTest.php | 2 +- tests/app/Elements/CopyrightFileTest.php | 2 +- .../app/Elements/CopyrightSourceDataTest.php | 2 +- tests/app/Elements/CountOfChildrenFamTest.php | 2 +- tests/app/Elements/CountOfChildrenTest.php | 2 +- tests/app/Elements/CountOfMarriagesTest.php | 2 +- tests/app/Elements/CreationTest.php | 2 +- tests/app/Elements/CremationTest.php | 2 +- tests/app/Elements/CustomElementTest.php | 2 +- tests/app/Elements/CustomEventTest.php | 2 +- tests/app/Elements/CustomFactTest.php | 2 +- tests/app/Elements/CustomFamilyEventTest.php | 2 +- .../Elements/CustomIndividualEventTest.php | 2 +- tests/app/Elements/DateLdsOrdTest.php | 2 +- tests/app/Elements/DateValueExactTest.php | 2 +- tests/app/Elements/DateValueTest.php | 5 +- tests/app/Elements/DateValueTodayTest.php | 2 +- tests/app/Elements/DeathTest.php | 2 +- .../app/Elements/DemographicDataTypeTest.php | 5 +- tests/app/Elements/DescriptiveTitleTest.php | 5 +- tests/app/Elements/DivorceFiledTest.php | 2 +- tests/app/Elements/DivorceTest.php | 2 +- tests/app/Elements/EmigrationTest.php | 2 +- tests/app/Elements/EmptyElementTest.php | 2 +- tests/app/Elements/EngagementTest.php | 2 +- tests/app/Elements/EventAttributeTypeTest.php | 2 +- .../EventOrFactClassificationTest.php | 2 +- tests/app/Elements/EventTypeCitedFromTest.php | 2 +- tests/app/Elements/EventsRecordedTest.php | 5 +- tests/app/Elements/ExternalIdentifierTest.php | 2 +- .../Elements/ExternalIdentifierTypeTest.php | 2 +- tests/app/Elements/FamilyCensusTest.php | 2 +- tests/app/Elements/FamilyEventTest.php | 2 +- tests/app/Elements/FamilyFactTest.php | 2 +- tests/app/Elements/FamilyNonEventTest.php | 2 +- tests/app/Elements/FamilyRecordTest.php | 2 +- .../Elements/FamilySearchFamilyTreeIdTest.php | 5 +- tests/app/Elements/FamilyStatusTextTest.php | 2 +- tests/app/Elements/FileNameTest.php | 5 +- tests/app/Elements/FirstCommunionTest.php | 2 +- tests/app/Elements/FormTest.php | 5 +- tests/app/Elements/GedcomElementTest.php | 2 +- .../Elements/GenerationsOfAncestorsTest.php | 2 +- .../Elements/GenerationsOfDescendantsTest.php | 2 +- tests/app/Elements/GovIdTypeTest.php | 2 +- tests/app/Elements/GovIdentifierTest.php | 5 +- tests/app/Elements/GraduationTest.php | 2 +- tests/app/Elements/HeaderRecordTest.php | 2 +- .../Elements/HierarchicalRelationshipTest.php | 5 +- tests/app/Elements/ImmigrationTest.php | 2 +- tests/app/Elements/IndividualEventTest.php | 2 +- tests/app/Elements/IndividualFactTest.php | 2 +- tests/app/Elements/IndividualNonEventTest.php | 2 +- tests/app/Elements/IndividualRecordTest.php | 2 +- tests/app/Elements/LanguageIdTest.php | 5 +- .../app/Elements/LdsBaptismDateStatusTest.php | 5 +- tests/app/Elements/LdsBaptismTest.php | 2 +- .../LdsChildSealingDateStatusTest.php | 5 +- tests/app/Elements/LdsChildSealingTest.php | 2 +- tests/app/Elements/LdsConfirmationTest.php | 2 +- .../Elements/LdsEndowmentDateStatusTest.php | 5 +- tests/app/Elements/LdsEndowmentTest.php | 2 +- tests/app/Elements/LdsInitiatoryTest.php | 2 +- tests/app/Elements/LdsOrdinanceStatusTest.php | 2 +- .../LdsSpouseSealingDateStatusTest.php | 5 +- tests/app/Elements/LdsSpouseSealingTest.php | 2 +- tests/app/Elements/LocationRecordTest.php | 2 +- tests/app/Elements/MaidenheadLocatorTest.php | 5 +- tests/app/Elements/MarriageBannsTest.php | 2 +- tests/app/Elements/MarriageContractTest.php | 2 +- tests/app/Elements/MarriageLicenceTest.php | 2 +- tests/app/Elements/MarriageSettlementTest.php | 2 +- tests/app/Elements/MarriageTest.php | 2 +- tests/app/Elements/MarriageTypeTest.php | 5 +- tests/app/Elements/MediaRecordTest.php | 2 +- .../Elements/MultimediaFileReferenceTest.php | 5 +- tests/app/Elements/MultimediaFormatTest.php | 5 +- tests/app/Elements/NameOfBusinessTest.php | 2 +- tests/app/Elements/NameOfFamilyFileTest.php | 2 +- tests/app/Elements/NameOfProductTest.php | 2 +- tests/app/Elements/NameOfRepositoryTest.php | 2 +- tests/app/Elements/NameOfSourceDataTest.php | 2 +- tests/app/Elements/NamePersonalTest.php | 2 +- .../Elements/NamePhoneticVariationTest.php | 2 +- tests/app/Elements/NamePieceGivenTest.php | 2 +- tests/app/Elements/NamePieceNicknameTest.php | 2 +- tests/app/Elements/NamePiecePrefixTest.php | 2 +- tests/app/Elements/NamePieceSuffixTest.php | 2 +- .../Elements/NamePieceSurnamePrefixTest.php | 2 +- tests/app/Elements/NamePieceSurnameTest.php | 2 +- .../Elements/NameRomanizedVariationTest.php | 2 +- tests/app/Elements/NameTypeTest.php | 5 +- tests/app/Elements/NationalIdNumberTest.php | 2 +- .../Elements/NationalOrTribalOriginTest.php | 2 +- tests/app/Elements/NaturalizationTest.php | 2 +- tests/app/Elements/NobilityTypeTitleTest.php | 2 +- tests/app/Elements/NoteRecordTest.php | 2 +- tests/app/Elements/NoteStructureTest.php | 5 +- tests/app/Elements/OccupationTest.php | 2 +- .../app/Elements/OrdinanceProcessFlagTest.php | 5 +- tests/app/Elements/OrdinationTest.php | 2 +- tests/app/Elements/PafUidTest.php | 2 +- .../app/Elements/PedigreeLinkageTypeTest.php | 5 +- .../PermanentRecordFileNumberTest.php | 2 +- tests/app/Elements/PhoneNumberTest.php | 2 +- tests/app/Elements/PhoneticTypeTest.php | 5 +- .../app/Elements/PhysicalDescriptionTest.php | 2 +- tests/app/Elements/PlaceHierarchyTest.php | 5 +- tests/app/Elements/PlaceLatitudeTest.php | 2 +- .../app/Elements/PlaceLivingOrdinanceTest.php | 2 +- tests/app/Elements/PlaceLongtitudeTest.php | 2 +- tests/app/Elements/PlaceNameTest.php | 2 +- .../Elements/PlacePhoneticVariationTest.php | 2 +- .../Elements/PlaceRomanizedVariationTest.php | 2 +- tests/app/Elements/PossessionsTest.php | 2 +- tests/app/Elements/ProbateTest.php | 2 +- tests/app/Elements/PublicationDateTest.php | 2 +- .../app/Elements/ReceivingSystemNameTest.php | 2 +- .../app/Elements/RelationIsDescriptorTest.php | 2 +- .../app/Elements/ReligiousAffiliationTest.php | 2 +- tests/app/Elements/RepositoryRecordTest.php | 2 +- .../app/Elements/ResearchTaskPriorityTest.php | 2 +- tests/app/Elements/ResearchTaskStatusTest.php | 2 +- tests/app/Elements/ResearchTaskTest.php | 5 +- tests/app/Elements/ResearchTaskTypeTest.php | 2 +- tests/app/Elements/ResidenceTest.php | 2 +- tests/app/Elements/ResidenceWithValueTest.php | 2 +- tests/app/Elements/ResponsibleAgencyTest.php | 2 +- tests/app/Elements/RestrictionNoticeTest.php | 5 +- tests/app/Elements/RetirementTest.php | 2 +- tests/app/Elements/RoleInEventTest.php | 5 +- tests/app/Elements/RomanizedTypeTest.php | 5 +- .../Elements/ScholasticAchievementTest.php | 2 +- tests/app/Elements/SexValueTest.php | 5 +- tests/app/Elements/SexXValueTest.php | 5 +- .../app/Elements/SocialSecurityNumberTest.php | 2 +- tests/app/Elements/SourceCallNumberTest.php | 2 +- tests/app/Elements/SourceDataTest.php | 2 +- .../Elements/SourceDescriptiveTitleTest.php | 2 +- tests/app/Elements/SourceFiledByEntryTest.php | 2 +- .../Elements/SourceJurisdictionPlaceTest.php | 2 +- tests/app/Elements/SourceMediaTypeTest.php | 5 +- tests/app/Elements/SourceOriginatorTest.php | 5 +- .../Elements/SourcePublicationFactsTest.php | 5 +- tests/app/Elements/SourceRecordTest.php | 2 +- tests/app/Elements/SubmissionRecordTest.php | 2 +- tests/app/Elements/SubmitterNameTest.php | 2 +- tests/app/Elements/SubmitterRecordTest.php | 2 +- .../Elements/SubmitterRegisteredRfnTest.php | 2 +- tests/app/Elements/SubmitterTextTest.php | 5 +- tests/app/Elements/TempleCodeTest.php | 5 +- tests/app/Elements/TextFromSourceTest.php | 5 +- tests/app/Elements/TimeValueNowTest.php | 2 +- tests/app/Elements/TimeValueTest.php | 2 +- tests/app/Elements/TransmissionDateTest.php | 2 +- tests/app/Elements/UidTest.php | 2 +- tests/app/Elements/UnknownElementTest.php | 2 +- .../app/Elements/UserReferenceNumberTest.php | 2 +- tests/app/Elements/UserReferenceTypeTest.php | 2 +- tests/app/Elements/VersionNumberTest.php | 2 +- tests/app/Elements/WebtreesUserTest.php | 2 +- tests/app/Elements/WhereWithinSourceTest.php | 2 +- tests/app/Elements/WillTest.php | 2 +- tests/app/Elements/XrefAssociateTest.php | 2 +- tests/app/Elements/XrefFamilyTest.php | 18 +- tests/app/Elements/XrefIndividualTest.php | 20 +-- tests/app/Elements/XrefLocationTest.php | 20 +-- tests/app/Elements/XrefMediaTest.php | 20 +-- tests/app/Elements/XrefNoteTest.php | 15 -- tests/app/Elements/XrefRepositoryTest.php | 20 +-- tests/app/Elements/XrefSharedNoteTest.php | 15 -- tests/app/Elements/XrefSourceTest.php | 30 +--- tests/app/Elements/XrefSubmissionTest.php | 20 +-- tests/app/Elements/XrefSubmitterTest.php | 20 +-- tests/app/Encodings/ASCIITest.php | 2 - tests/app/Encodings/AnselTest.php | 10 -- tests/app/Encodings/CP437Test.php | 2 - tests/app/Encodings/CP850Test.php | 2 - tests/app/Encodings/ISO88591Test.php | 2 - tests/app/Encodings/ISO88592Test.php | 2 - tests/app/Encodings/MacRomanTest.php | 4 - tests/app/Encodings/UTF16BETest.php | 2 - tests/app/Encodings/UTF16LETest.php | 2 - tests/app/Encodings/UTF8Test.php | 4 - tests/app/Encodings/Windows1250Test.php | 2 - tests/app/Encodings/Windows1251Test.php | 2 - tests/app/Encodings/Windows1252Test.php | 2 - .../Exceptions/FileUploadExceptionTest.php | 2 +- .../Exceptions/GedcomErrorExceptionTest.php | 2 +- .../InvalidGedcomEncodingExceptionTest.php | 2 +- tests/app/FactTest.php | 5 - tests/app/Factories/CacheFactoryTest.php | 2 +- tests/app/Factories/ElementFactoryTest.php | 2 +- tests/app/Factories/FamilyFactoryTest.php | 2 +- tests/app/Factories/FilesystemFactoryTest.php | 2 +- .../app/Factories/GedcomRecordFactoryTest.php | 2 +- tests/app/Factories/HeaderFactoryTest.php | 2 +- tests/app/Factories/IdFactoryTest.php | 2 +- tests/app/Factories/ImageFactoryTest.php | 2 +- tests/app/Factories/IndividualFactoryTest.php | 2 +- tests/app/Factories/LocationFactoryTest.php | 2 +- tests/app/Factories/MediaFactoryTest.php | 2 +- tests/app/Factories/NoteFactoryTest.php | 2 +- tests/app/Factories/RepositoryFactoryTest.php | 2 +- tests/app/Factories/ResponseFactoryTest.php | 2 +- tests/app/Factories/SharedNoteFactoryTest.php | 2 +- tests/app/Factories/SlugFactoryTest.php | 2 +- tests/app/Factories/SourceFactoryTest.php | 2 +- tests/app/Factories/SubmissionFactoryTest.php | 2 +- tests/app/Factories/SubmitterFactoryTest.php | 2 +- .../Factories/SurnameTraditionFactoryTest.php | 3 - tests/app/Factories/TimeFactoryTest.php | 2 +- tests/app/Factories/TimestampFactoryTest.php | 2 +- tests/app/Factories/XrefFactoryTest.php | 2 +- tests/app/FamilyTest.php | 2 - tests/app/FlashMessagesTest.php | 2 - .../GedcomEncodingFilterTest.php | 2 +- tests/app/GedcomRecordTest.php | 2 - tests/app/GedcomTest.php | 2 +- tests/app/GuestUserTest.php | 3 - tests/app/HeaderTest.php | 2 +- tests/app/HtmlTest.php | 2 +- .../HttpAccessDeniedExceptionTest.php | 2 +- .../HttpBadRequestExceptionTest.php | 2 +- .../app/Http/Exceptions/HttpExceptionTest.php | 2 +- .../Exceptions/HttpNotFoundExceptionTest.php | 2 +- .../HttpServerErrorExceptionTest.php | 2 +- .../HttpServiceUnavailableExceptionTest.php | 2 +- .../HttpTooManyRequestsExceptionTest.php | 2 +- .../Http/Middleware/AuthAdministratorTest.php | 9 - tests/app/Http/Middleware/AuthEditorTest.php | 9 - .../app/Http/Middleware/AuthLoggedInTest.php | 2 +- tests/app/Http/Middleware/AuthManagerTest.php | 9 - tests/app/Http/Middleware/AuthMemberTest.php | 9 - .../app/Http/Middleware/AuthModeratorTest.php | 9 - .../app/Http/Middleware/BadBotBlockerTest.php | 2 +- tests/app/Http/Middleware/BaseUrlTest.php | 2 +- tests/app/Http/Middleware/BootModulesTest.php | 3 - tests/app/Http/Middleware/CheckCsrfTest.php | 7 +- .../CheckForMaintenanceModeTest.php | 3 - .../Middleware/CheckForNewVersionTest.php | 2 +- tests/app/Http/Middleware/ClientIpTest.php | 2 +- .../Http/Middleware/CompressResponseTest.php | 2 +- .../app/Http/Middleware/ContentLengthTest.php | 2 +- .../Http/Middleware/DoHousekeepingTest.php | 5 +- .../app/Http/Middleware/EmitResponseTest.php | 2 +- .../Http/Middleware/HandleExceptionsTest.php | 14 +- tests/app/Http/Middleware/LoadRoutesTest.php | 2 +- .../app/Http/Middleware/NoRouteFoundTest.php | 3 - .../app/Http/Middleware/ReadConfigIniTest.php | 2 +- .../Middleware/RegisterGedcomTagsTest.php | 2 +- .../Http/Middleware/RequestHandlerTest.php | 2 +- tests/app/Http/Middleware/RouterTest.php | 2 +- .../Http/Middleware/SecurityHeadersTest.php | 2 +- .../Middleware/UpdateDatabaseSchemaTest.php | 2 +- tests/app/Http/Middleware/UseDatabaseTest.php | 2 +- tests/app/Http/Middleware/UseLanguageTest.php | 2 +- tests/app/Http/Middleware/UseSessionTest.php | 2 +- tests/app/Http/Middleware/UseThemeTest.php | 2 +- .../Http/Middleware/UseTransactionTest.php | 2 +- .../RequestHandlers/AccountDeleteTest.php | 3 - .../Http/RequestHandlers/AccountEditTest.php | 3 - .../RequestHandlers/AccountUpdateTest.php | 11 +- .../AddChildToFamilyActionTest.php | 2 +- .../AddChildToFamilyPageTest.php | 2 +- .../AddChildToIndividualActionTest.php | 2 +- .../AddChildToIndividualPageTest.php | 2 +- .../AddMediaFileActionTest.php | 2 +- .../RequestHandlers/AddMediaFileModalTest.php | 2 +- .../Http/RequestHandlers/AddNewFactTest.php | 2 +- .../AddParentToIndividualActionTest.php | 2 +- .../AddParentToIndividualPageTest.php | 2 +- .../AddSpouseToFamilyActionTest.php | 2 +- .../AddSpouseToFamilyPageTest.php | 2 +- .../AddSpouseToIndividualActionTest.php | 2 +- .../AddSpouseToIndividualPageTest.php | 2 +- .../RequestHandlers/AddUnlinkedActionTest.php | 2 +- .../RequestHandlers/AddUnlinkedPageTest.php | 2 +- .../AdminMediaFileDownloadTest.php | 2 +- .../AdminMediaFileThumbnailTest.php | 2 +- tests/app/Http/RequestHandlers/AdsTxtTest.php | 2 +- .../Http/RequestHandlers/AppAdsTxtTest.php | 2 +- .../RequestHandlers/AppleTouchIconPngTest.php | 2 +- .../AutoCompleteCitationTest.php | 2 +- .../AutoCompleteFolderTest.php | 2 +- .../RequestHandlers/AutoCompletePlaceTest.php | 2 +- .../AutoCompleteSurnameTest.php | 2 +- .../RequestHandlers/BroadcastActionTest.php | 2 +- .../RequestHandlers/BroadcastPageTest.php | 6 - .../RequestHandlers/BrowserconfigXmlTest.php | 2 +- .../RequestHandlers/CalendarActionTest.php | 2 +- .../RequestHandlers/CalendarEventsTest.php | 2 +- .../Http/RequestHandlers/CalendarPageTest.php | 2 +- .../ChangeFamilyMembersActionTest.php | 2 +- .../ChangeFamilyMembersPageTest.php | 2 +- .../CheckForNewVersionNowTest.php | 2 +- .../Http/RequestHandlers/CheckTreeTest.php | 2 +- .../RequestHandlers/CleanDataFolderTest.php | 2 +- .../RequestHandlers/ContactActionTest.php | 2 +- .../Http/RequestHandlers/ContactPageTest.php | 2 +- .../ControlPanelControllerTest.php | 3 - .../Http/RequestHandlers/ControlPanelTest.php | 2 +- .../app/Http/RequestHandlers/CopyFactTest.php | 2 +- .../CreateLocationActionTest.php | 2 +- .../CreateLocationModalTest.php | 2 +- .../CreateMediaObjectActionTest.php | 2 +- .../CreateMediaObjectFromFileTest.php | 2 +- .../CreateMediaObjectModalTest.php | 2 +- .../RequestHandlers/CreateNoteActionTest.php | 2 +- .../RequestHandlers/CreateNoteModalTest.php | 2 +- .../CreateRepositoryActionTest.php | 2 +- .../CreateRepositoryModalTest.php | 2 +- .../CreateSourceActionTest.php | 2 +- .../RequestHandlers/CreateSourceModalTest.php | 2 +- .../CreateSubmissionActionTest.php | 2 +- .../CreateSubmissionModalTest.php | 2 +- .../CreateSubmitterActionTest.php | 2 +- .../CreateSubmitterModalTest.php | 2 +- .../RequestHandlers/CreateTreeActionTest.php | 2 +- .../RequestHandlers/CreateTreePageTest.php | 2 +- .../RequestHandlers/DataFixChooseTest.php | 2 +- .../Http/RequestHandlers/DataFixPageTest.php | 2 +- .../RequestHandlers/DataFixPreviewTest.php | 2 +- .../RequestHandlers/DataFixSelectTest.php | 2 +- .../RequestHandlers/DataFixUpdateAllTest.php | 2 +- .../RequestHandlers/DataFixUpdateTest.php | 2 +- .../Http/RequestHandlers/DeleteFactTest.php | 2 +- .../Http/RequestHandlers/DeletePathTest.php | 2 +- .../Http/RequestHandlers/DeleteRecordTest.php | 2 +- .../RequestHandlers/DeleteTreeActionTest.php | 2 +- .../Http/RequestHandlers/DeleteUserTest.php | 9 - .../RequestHandlers/EditFactActionTest.php | 2 +- .../Http/RequestHandlers/EditFactPageTest.php | 2 +- .../EditMediaFileActionTest.php | 2 +- .../EditMediaFileModalTest.php | 2 +- .../RequestHandlers/EditNoteActionTest.php | 2 +- .../Http/RequestHandlers/EditNotePageTest.php | 2 +- .../RequestHandlers/EditRawFactActionTest.php | 2 +- .../RequestHandlers/EditRawFactPageTest.php | 2 +- .../EditRawRecordActionTest.php | 2 +- .../RequestHandlers/EditRawRecordPageTest.php | 2 +- .../RequestHandlers/EditRecordActionTest.php | 2 +- .../RequestHandlers/EditRecordPageTest.php | 2 +- .../EmailPreferencesActionTest.php | 2 +- .../EmailPreferencesPageTest.php | 2 +- .../RequestHandlers/EmptyClipboardTest.php | 2 +- .../ExportGedcomClientTest.php | 2 +- .../RequestHandlers/ExportGedcomPageTest.php | 2 +- .../ExportGedcomServerTest.php | 2 +- .../Http/RequestHandlers/FamilyPageTest.php | 2 +- .../Http/RequestHandlers/FaviconIcoTest.php | 2 +- .../FindDuplicateRecordsTest.php | 2 +- .../FixLevel0MediaActionTest.php | 3 - .../FixLevel0MediaDataTest.php | 3 - .../FixLevel0MediaPageTest.php | 5 +- .../Http/RequestHandlers/GedcomLoadTest.php | 2 +- .../RequestHandlers/GedcomRecordPageTest.php | 2 +- .../Http/RequestHandlers/HeaderPageTest.php | 2 +- .../app/Http/RequestHandlers/HelpTextTest.php | 2 +- .../app/Http/RequestHandlers/HomePageTest.php | 2 +- .../ImportGedcomActionTest.php | 2 +- .../RequestHandlers/ImportGedcomPageTest.php | 2 +- .../ImportThumbnailsActionTest.php | 3 - .../ImportThumbnailsDataTest.php | 3 - .../ImportThumbnailsPageTest.php | 3 - .../RequestHandlers/IndividualPageTest.php | 2 +- .../LinkChildToFamilyActionTest.php | 2 +- .../LinkChildToFamilyPageTest.php | 2 +- .../LinkMediaToFamilyModalTest.php | 2 +- .../LinkMediaToIndividualModalTest.php | 2 +- .../LinkMediaToRecordActionTest.php | 2 +- .../LinkMediaToSourceModalTest.php | 2 +- .../LinkSpouseToIndividualActionTest.php | 2 +- .../LinkSpouseToIndividualPageTest.php | 2 +- .../Http/RequestHandlers/LocationPageTest.php | 2 +- .../Http/RequestHandlers/LoginActionTest.php | 2 +- .../Http/RequestHandlers/LoginPageTest.php | 8 +- tests/app/Http/RequestHandlers/LogoutTest.php | 2 +- .../RequestHandlers/ManageMediaActionTest.php | 2 +- .../RequestHandlers/ManageMediaDataTest.php | 9 - .../RequestHandlers/ManageMediaPageTest.php | 3 - .../Http/RequestHandlers/ManageTreesTest.php | 2 +- .../Http/RequestHandlers/MapDataAddTest.php | 2 +- .../RequestHandlers/MapDataDeleteTest.php | 2 +- .../MapDataDeleteUnusedTest.php | 2 +- .../Http/RequestHandlers/MapDataEditTest.php | 2 +- .../RequestHandlers/MapDataExportCSVTest.php | 3 - .../MapDataExportGeoJsonTest.php | 3 - .../MapDataImportActionTest.php | 3 - .../RequestHandlers/MapDataImportPageTest.php | 3 - .../Http/RequestHandlers/MapDataListTest.php | 2 +- .../Http/RequestHandlers/MapDataSaveTest.php | 2 +- .../Http/RequestHandlers/MasqueradeTest.php | 11 +- .../RequestHandlers/MediaFileDownloadTest.php | 2 +- .../MediaFileThumbnailTest.php | 2 +- .../Http/RequestHandlers/MediaPageTest.php | 2 +- .../RequestHandlers/MergeFactsActionTest.php | 2 +- .../RequestHandlers/MergeFactsPageTest.php | 2 +- .../MergeRecordsActionTest.php | 2 +- .../RequestHandlers/MergeRecordsPageTest.php | 2 +- .../RequestHandlers/MergeTreesActionTest.php | 2 +- .../RequestHandlers/MergeTreesPageTest.php | 2 +- .../RequestHandlers/MessageActionTest.php | 2 +- .../Http/RequestHandlers/MessagePageTest.php | 2 +- .../RequestHandlers/MessageSelectTest.php | 2 +- .../Http/RequestHandlers/ModuleActionTest.php | 12 -- .../ModuleDeleteSettingsTest.php | 2 +- .../RequestHandlers/ModulesAllActionTest.php | 2 +- .../RequestHandlers/ModulesAllPageTest.php | 2 +- .../ModulesAnalyticsActionTest.php | 2 +- .../ModulesAnalyticsPageTest.php | 2 +- .../ModulesBlocksActionTest.php | 2 +- .../RequestHandlers/ModulesBlocksPageTest.php | 2 +- .../ModulesChartsActionTest.php | 2 +- .../RequestHandlers/ModulesChartsPageTest.php | 2 +- .../ModulesDataFixesActionTest.php | 2 +- .../ModulesDataFixesPageTest.php | 2 +- .../ModulesFootersActionTest.php | 2 +- .../ModulesFootersPageTest.php | 2 +- .../ModulesHistoricEventsActionTest.php | 2 +- .../ModulesHistoricEventsPageTest.php | 2 +- .../ModulesLanguagesActionTest.php | 2 +- .../ModulesLanguagesPageTest.php | 2 +- .../ModulesListsActionTest.php | 2 +- .../RequestHandlers/ModulesListsPageTest.php | 2 +- .../ModulesMapAutocompleteActionTest.php | 2 +- .../ModulesMapAutocompletePageTest.php | 2 +- .../ModulesMapGeoLocationsActionTest.php | 2 +- .../ModulesMapGeoLocationsPageTest.php | 2 +- .../ModulesMapLinksActionTest.php | 2 +- .../ModulesMapLinksPageTest.php | 2 +- .../ModulesMapProvidersActionTest.php | 2 +- .../ModulesMapProvidersPageTest.php | 2 +- .../ModulesMenusActionTest.php | 2 +- .../RequestHandlers/ModulesMenusPageTest.php | 2 +- .../ModulesReportsActionTest.php | 2 +- .../ModulesReportsPageTest.php | 2 +- .../ModulesSharesActionTest.php | 2 +- .../RequestHandlers/ModulesSharesPageTest.php | 2 +- .../ModulesSidebarsActionTest.php | 2 +- .../ModulesSidebarsPageTest.php | 2 +- .../RequestHandlers/ModulesTabsActionTest.php | 2 +- .../RequestHandlers/ModulesTabsPageTest.php | 2 +- .../ModulesThemesActionTest.php | 2 +- .../RequestHandlers/ModulesThemesPageTest.php | 2 +- .../app/Http/RequestHandlers/NotePageTest.php | 2 +- .../PasswordRequestActionTest.php | 2 +- .../PasswordRequestPageTest.php | 8 +- .../PasswordResetActionTest.php | 2 +- .../RequestHandlers/PasswordResetPageTest.php | 8 +- .../Http/RequestHandlers/PasteFactTest.php | 2 +- .../PendingChangesAcceptChangeTest.php | 2 +- .../PendingChangesAcceptRecordTest.php | 2 +- .../PendingChangesAcceptTreeTest.php | 2 +- .../PendingChangesLogActionTest.php | 2 +- .../PendingChangesLogDataTest.php | 2 +- .../PendingChangesLogDeleteTest.php | 2 +- .../PendingChangesLogDownloadTest.php | 2 +- .../PendingChangesLogPageTest.php | 2 +- .../PendingChangesRejectChangeTest.php | 2 +- .../PendingChangesRejectRecordTest.php | 2 +- .../PendingChangesRejectTreeTest.php | 2 +- .../RequestHandlers/PendingChangesTest.php | 2 +- .../RequestHandlers/PhpInformationTest.php | 2 +- tests/app/Http/RequestHandlers/PingTest.php | 9 - .../RedirectAncestryPhpTest.php | 11 +- .../RedirectBranchesPhpTest.php | 11 +- .../RedirectCalendarPhpTest.php | 8 +- .../RedirectCompactPhpTest.php | 11 +- .../RedirectDescendancyPhpTest.php | 11 +- .../RedirectDescendencyPhpTest.php | 35 ---- .../RedirectFamListPhpTest.php | 11 +- .../RedirectFamilyBookPhpTest.php | 11 +- .../RequestHandlers/RedirectFamilyPhpTest.php | 11 +- .../RedirectFanChartPhpTest.php | 11 +- .../RedirectGedRecordPhpTest.php | 11 +- .../RedirectHourGlassPhpTest.php | 11 +- .../RedirectIndiListPhpTest.php | 11 +- .../RedirectIndividualPhpTest.php | 14 +- .../RedirectLifeSpanPhpTest.php | 11 +- .../RedirectMediaListPhpTest.php | 11 +- .../RedirectMediaViewerPhpTest.php | 17 +- .../RequestHandlers/RedirectModulePhpTest.php | 20 +-- .../RedirectNoteListPhpTest.php | 11 +- .../RequestHandlers/RedirectNotePhpTest.php | 11 +- .../RedirectPedigreePhpTest.php | 11 +- .../RedirectPlaceListPhpTest.php | 11 +- .../RedirectRelationshipPhpTest.php | 11 +- .../RedirectRepoListPhpTest.php | 11 +- .../RedirectReportEnginePhpTest.php | 8 +- .../RedirectRepositoryPhpTest.php | 11 +- .../RedirectSourceListPhpTest.php | 11 +- .../RequestHandlers/RedirectSourcePhpTest.php | 11 +- .../RedirectStatisticsPhpTest.php | 11 +- .../RedirectTimeLinePhpTest.php | 11 +- .../RequestHandlers/RegisterActionTest.php | 2 +- .../Http/RequestHandlers/RegisterPageTest.php | 2 +- .../RenumberTreeActionTest.php | 2 +- .../RequestHandlers/RenumberTreePageTest.php | 2 +- .../ReorderChildrenActionTest.php | 2 +- .../ReorderChildrenPageTest.php | 2 +- .../ReorderFamiliesActionTest.php | 2 +- .../ReorderFamiliesPageTest.php | 2 +- .../ReorderMediaActionTest.php | 2 +- .../ReorderMediaFilesActionTest.php | 2 +- .../ReorderMediaFilesPageTest.php | 2 +- .../RequestHandlers/ReorderMediaPageTest.php | 2 +- .../ReorderNamesActionTest.php | 2 +- .../RequestHandlers/ReorderNamesPageTest.php | 2 +- .../RequestHandlers/ReportGenerateTest.php | 2 +- .../RequestHandlers/ReportListActionTest.php | 2 +- .../RequestHandlers/ReportListPageTest.php | 2 +- .../RequestHandlers/ReportSetupActionTest.php | 2 +- .../RequestHandlers/ReportSetupPageTest.php | 2 +- .../RequestHandlers/RepositoryPageTest.php | 2 +- .../Http/RequestHandlers/RobotsTxtTest.php | 2 +- .../SearchAdvancedActionTest.php | 2 +- .../SearchAdvancedPageTest.php | 2 +- .../SearchGeneralActionTest.php | 2 +- .../RequestHandlers/SearchGeneralPageTest.php | 2 +- .../SearchPhoneticActionTest.php | 2 +- .../SearchPhoneticPageTest.php | 2 +- .../RequestHandlers/SearchQuickActionTest.php | 2 +- .../SearchReplaceActionTest.php | 2 +- .../RequestHandlers/SearchReplacePageTest.php | 2 +- .../RequestHandlers/SelectDefaultTreeTest.php | 2 +- .../RequestHandlers/SelectLanguageTest.php | 8 +- .../RequestHandlers/SelectNewFactTest.php | 2 +- .../Http/RequestHandlers/SelectThemeTest.php | 6 - .../Http/RequestHandlers/SetupWizardTest.php | 2 +- .../RequestHandlers/SharedNotePageTest.php | 2 +- .../RequestHandlers/SiteLogsActionTest.php | 2 +- .../Http/RequestHandlers/SiteLogsDataTest.php | 3 - .../RequestHandlers/SiteLogsDeleteTest.php | 3 - .../RequestHandlers/SiteLogsDownloadTest.php | 3 - .../Http/RequestHandlers/SiteLogsPageTest.php | 5 +- .../SitePreferencesActionTest.php | 2 +- .../SitePreferencesPageTest.php | 2 +- .../SiteRegistrationActionTest.php | 2 +- .../SiteRegistrationPageTest.php | 2 +- .../RequestHandlers/SiteTagsActionTest.php | 2 +- .../Http/RequestHandlers/SiteTagsPageTest.php | 2 +- .../Http/RequestHandlers/SourcePageTest.php | 2 +- .../RequestHandlers/SubmissionPageTest.php | 2 +- .../RequestHandlers/SubmitterPageTest.php | 2 +- .../RequestHandlers/SynchronizeTreesTest.php | 2 +- .../RequestHandlers/TomSelectFamilyTest.php | 2 +- .../TomSelectIndividualTest.php | 2 +- .../RequestHandlers/TomSelectLocationTest.php | 2 +- .../TomSelectMediaObjectTest.php | 2 +- .../RequestHandlers/TomSelectNoteTest.php | 2 +- .../RequestHandlers/TomSelectPlaceTest.php | 2 +- .../TomSelectRepositoryTest.php | 2 +- .../TomSelectSharedNoteTest.php | 2 +- .../RequestHandlers/TomSelectSourceTest.php | 2 +- .../TomSelectSubmissionTest.php | 2 +- .../TomSelectSubmitterTest.php | 2 +- .../RequestHandlers/TreePageBlockEditTest.php | 2 +- .../RequestHandlers/TreePageBlockTest.php | 2 +- .../TreePageBlockUpdateTest.php | 2 +- .../TreePageDefaultEditTest.php | 2 +- .../TreePageDefaultUpdateTest.php | 2 +- .../Http/RequestHandlers/TreePageEditTest.php | 2 +- .../app/Http/RequestHandlers/TreePageTest.php | 2 +- .../RequestHandlers/TreePageUpdateTest.php | 2 +- .../TreePreferencesActionTest.php | 2 +- .../TreePreferencesPageTest.php | 2 +- .../RequestHandlers/TreePrivacyActionTest.php | 2 +- .../RequestHandlers/TreePrivacyPageTest.php | 2 +- .../RequestHandlers/UnconnectedActionTest.php | 2 +- .../RequestHandlers/UnconnectedPageTest.php | 2 +- .../UpgradeWizardConfirmTest.php | 3 - .../RequestHandlers/UpgradeWizardPageTest.php | 3 - .../RequestHandlers/UpgradeWizardStepTest.php | 33 ---- .../RequestHandlers/UploadMediaActionTest.php | 3 - .../RequestHandlers/UploadMediaPageTest.php | 3 - .../RequestHandlers/UserAddActionTest.php | 3 - .../Http/RequestHandlers/UserAddPageTest.php | 3 - .../RequestHandlers/UserEditActionTest.php | 3 - .../Http/RequestHandlers/UserEditPageTest.php | 3 - .../Http/RequestHandlers/UserListDataTest.php | 3 - .../Http/RequestHandlers/UserListPageTest.php | 2 +- .../app/Http/RequestHandlers/UserListTest.php | 3 - .../RequestHandlers/UserPageBlockEditTest.php | 2 +- .../RequestHandlers/UserPageBlockTest.php | 2 +- .../UserPageBlockUpdateTest.php | 2 +- .../UserPageDefaultEditTest.php | 2 +- .../UserPageDefaultUpdateTest.php | 2 +- .../Http/RequestHandlers/UserPageEditTest.php | 2 +- .../app/Http/RequestHandlers/UserPageTest.php | 2 +- .../RequestHandlers/UserPageUpdateTest.php | 2 +- .../UsersCleanupActionTest.php | 2 +- .../RequestHandlers/UsersCleanupPageTest.php | 2 +- .../Http/RequestHandlers/VerifyEmailTest.php | 2 +- .../RequestHandlers/WebmanifestJsonTest.php | 2 +- tests/app/Http/Routes/ApiRoutesTest.php | 2 +- tests/app/Http/Routes/WebRoutesTest.php | 2 +- tests/app/I18NTest.php | 8 - tests/app/IndividualTest.php | 2 - tests/app/LocationTest.php | 2 +- tests/app/LogTest.php | 2 - tests/app/MediaFileTest.php | 2 +- tests/app/MediaTest.php | 2 - tests/app/MenuTest.php | 14 -- tests/app/MimeTest.php | 2 +- .../app/Module/AhnentafelReportModuleTest.php | 13 +- tests/app/Module/AlbumModuleTest.php | 2 - tests/app/Module/AncestorsChartModuleTest.php | 2 - .../app/Module/AustrianHistoricEventsTest.php | 2 +- tests/app/Module/AustrianPresidentsTest.php | 2 +- tests/app/Module/BingMapsTest.php | 2 +- .../Module/BingWebmasterToolsModuleTest.php | 2 +- .../BirthDeathMarriageReportModuleTest.php | 13 +- tests/app/Module/BirthReportModuleTest.php | 15 +- tests/app/Module/BranchesListModuleTest.php | 2 +- tests/app/Module/BritishMonarchsTest.php | 2 +- .../app/Module/BritishPrimeMinistersTest.php | 2 +- tests/app/Module/BritishSocialHistoryTest.php | 2 +- tests/app/Module/CalendarMenuModuleTest.php | 2 +- tests/app/Module/CemeteryReportModuleTest.php | 15 +- .../app/Module/CensusAssistantModuleTest.php | 2 - tests/app/Module/ChangeReportModuleTest.php | 15 +- tests/app/Module/ChartsBlockModuleTest.php | 2 - tests/app/Module/ChartsMenuModuleTest.php | 2 +- tests/app/Module/CheckForNewVersionTest.php | 2 +- tests/app/Module/CkeditorModuleTest.php | 2 - tests/app/Module/ClippingsCartModuleTest.php | 2 - tests/app/Module/CloudsThemeTest.php | 2 +- tests/app/Module/ColorsThemeTest.php | 2 +- .../app/Module/CompactTreeChartModuleTest.php | 2 - tests/app/Module/ContactsFooterModuleTest.php | 2 +- tests/app/Module/CustomCssJsModuleTest.php | 2 +- .../Module/CzechMonarchsAndPresidentsTest.php | 2 +- tests/app/Module/DeathReportModuleTest.php | 15 +- .../app/Module/DescendancyChartModuleTest.php | 2 - tests/app/Module/DescendancyModuleTest.php | 2 - .../Module/DescendancyReportModuleTest.php | 13 +- tests/app/Module/DutchMonarchsTest.php | 2 +- tests/app/Module/DutchPrimeMinistersTest.php | 2 +- tests/app/Module/EsriMapsTest.php | 2 +- tests/app/Module/FabThemeTest.php | 2 +- .../Module/FactSourcesReportModuleTest.php | 15 +- .../app/Module/FamilyBookChartModuleTest.php | 2 - .../Module/FamilyGroupReportModuleTest.php | 15 +- tests/app/Module/FamilyListModuleTest.php | 2 +- .../app/Module/FamilyNavigatorModuleTest.php | 2 - .../Module/FamilyTreeFavoritesModuleTest.php | 2 - tests/app/Module/FamilyTreeNewsModuleTest.php | 2 - .../Module/FamilyTreeStatisticsModuleTest.php | 2 - tests/app/Module/FanChartModuleTest.php | 2 - tests/app/Module/FixCemeteryTagTest.php | 2 +- tests/app/Module/FixMissingDeathsTest.php | 2 +- .../Module/FixNameSlashesAndSpacesTest.php | 2 +- tests/app/Module/FixNameTagsTest.php | 2 +- tests/app/Module/FixPlaceNamesTest.php | 2 +- tests/app/Module/FixPrimaryTagTest.php | 2 +- tests/app/Module/FixSearchAndReplaceTest.php | 2 +- tests/app/Module/FixWtObjeSortTagTest.php | 2 +- tests/app/Module/FrenchHistoryTest.php | 2 +- .../FrequentlyAskedQuestionsModuleTest.php | 2 - tests/app/Module/GeonamesAutocompleteTest.php | 2 +- .../app/Module/GoogleAnalyticsModuleTest.php | 2 +- tests/app/Module/GoogleMapsTest.php | 2 +- .../Module/GoogleWebmasterToolsModuleTest.php | 2 +- tests/app/Module/HereMapsTest.php | 2 +- tests/app/Module/HitCountFooterModuleTest.php | 2 +- tests/app/Module/HourglassChartModuleTest.php | 2 - tests/app/Module/HtmlBlockModuleTest.php | 2 - .../Module/IndividualFactsTabModuleTest.php | 2 - .../IndividualFamiliesReportModuleTest.php | 13 +- tests/app/Module/IndividualListModuleTest.php | 2 +- .../Module/IndividualMetadataModuleTest.php | 2 - .../app/Module/IndividualReportModuleTest.php | 13 +- .../Module/InteractiveTree/TreeViewTest.php | 2 - .../app/Module/InteractiveTreeModuleTest.php | 2 - tests/app/Module/LanguageAfrikaansTest.php | 2 +- tests/app/Module/LanguageAlbanianTest.php | 2 +- tests/app/Module/LanguageArabicTest.php | 2 +- tests/app/Module/LanguageBosnianTest.php | 2 +- tests/app/Module/LanguageBulgarianTest.php | 2 +- tests/app/Module/LanguageCatalanTest.php | 2 +- .../Module/LanguageChineseSimplifiedTest.php | 2 +- .../Module/LanguageChineseTraditionalTest.php | 2 +- tests/app/Module/LanguageCroatianTest.php | 2 +- tests/app/Module/LanguageCzechTest.php | 2 +- tests/app/Module/LanguageDanishTest.php | 2 +- tests/app/Module/LanguageDivehiTest.php | 2 +- tests/app/Module/LanguageDutchTest.php | 2 +- .../Module/LanguageEnglishAustraliaTest.php | 2 +- .../LanguageEnglishGreatBritainTest.php | 2 +- .../LanguageEnglishUnitedStatesTest.php | 2 +- tests/app/Module/LanguageEstonianTest.php | 2 +- tests/app/Module/LanguageFaroeseTest.php | 2 +- tests/app/Module/LanguageFarsiTest.php | 2 +- tests/app/Module/LanguageFinnishTest.php | 2 +- tests/app/Module/LanguageFrenchCanadaTest.php | 2 +- tests/app/Module/LanguageFrenchTest.php | 2 +- tests/app/Module/LanguageGalicianTest.php | 2 +- tests/app/Module/LanguageGeorgianTest.php | 2 +- tests/app/Module/LanguageGermanTest.php | 2 +- tests/app/Module/LanguageGreekTest.php | 2 +- tests/app/Module/LanguageHebrewTest.php | 2 +- tests/app/Module/LanguageHindiTest.php | 2 +- tests/app/Module/LanguageHungarianTest.php | 2 +- tests/app/Module/LanguageIcelandicTest.php | 2 +- tests/app/Module/LanguageIndonesianTest.php | 2 +- tests/app/Module/LanguageItalianTest.php | 2 +- tests/app/Module/LanguageJapaneseTest.php | 2 +- tests/app/Module/LanguageJavaneseTest.php | 2 +- tests/app/Module/LanguageKazhakTest.php | 2 +- tests/app/Module/LanguageKoreanTest.php | 2 +- tests/app/Module/LanguageKurdishTest.php | 2 +- tests/app/Module/LanguageLatvianTest.php | 2 +- tests/app/Module/LanguageLingalaTest.php | 2 +- tests/app/Module/LanguageLithuanianTest.php | 2 +- tests/app/Module/LanguageMalayTest.php | 2 +- tests/app/Module/LanguageMaoriTest.php | 2 +- tests/app/Module/LanguageMarathiTest.php | 2 +- tests/app/Module/LanguageNepaleseTest.php | 2 +- .../Module/LanguageNorwegianBokmalTest.php | 2 +- .../Module/LanguageNorwegianNynorskTest.php | 2 +- tests/app/Module/LanguageOccitanTest.php | 2 +- tests/app/Module/LanguagePolishTest.php | 2 +- .../Module/LanguagePortugueseBrazilTest.php | 2 +- tests/app/Module/LanguagePortugueseTest.php | 2 +- tests/app/Module/LanguageRomanianTest.php | 2 +- tests/app/Module/LanguageRussianTest.php | 2 +- tests/app/Module/LanguageSerbianLatinTest.php | 2 +- tests/app/Module/LanguageSerbianTest.php | 2 +- tests/app/Module/LanguageSlovakianTest.php | 2 +- tests/app/Module/LanguageSlovenianTest.php | 2 +- tests/app/Module/LanguageSpanishTest.php | 2 +- tests/app/Module/LanguageSundaneseTest.php | 2 +- tests/app/Module/LanguageSwahiliTest.php | 2 +- tests/app/Module/LanguageSwedishTest.php | 2 +- tests/app/Module/LanguageTagalogTest.php | 2 +- tests/app/Module/LanguageTamilTest.php | 2 +- tests/app/Module/LanguageTatarTest.php | 2 +- tests/app/Module/LanguageThaiTest.php | 2 +- tests/app/Module/LanguageTurkishTest.php | 2 +- tests/app/Module/LanguageUkranianTest.php | 2 +- tests/app/Module/LanguageUrduTest.php | 2 +- tests/app/Module/LanguageVietnameseTest.php | 2 +- tests/app/Module/LanguageWelshTest.php | 2 +- tests/app/Module/LanguageYiddishTest.php | 2 +- tests/app/Module/LifespansChartModuleTest.php | 2 - tests/app/Module/ListsMenuModuleTest.php | 2 +- tests/app/Module/LocationListModuleTest.php | 2 +- tests/app/Module/LoggedInUsersModuleTest.php | 2 - tests/app/Module/LoginBlockModuleTest.php | 2 - tests/app/Module/LowCountriesRulersTest.php | 2 +- tests/app/Module/MapBoxTest.php | 2 +- .../app/Module/MapGeoLocationGeonamesTest.php | 2 +- .../Module/MapGeoLocationNominatimTest.php | 2 +- .../MapGeoLocationOpenRouteServiceTest.php | 2 +- tests/app/Module/MapLinkBingTest.php | 5 - tests/app/Module/MapLinkGoogleTest.php | 6 - tests/app/Module/MapLinkOpenStreetMapTest.php | 6 - tests/app/Module/MarriageReportModuleTest.php | 13 +- .../app/Module/MatomoAnalyticsModuleTest.php | 2 +- tests/app/Module/MediaListModuleTest.php | 2 +- tests/app/Module/MediaTabModuleTest.php | 2 - tests/app/Module/MinimalThemeTest.php | 2 +- .../Module/MissingFactsReportModuleTest.php | 13 +- tests/app/Module/NoteListModuleTest.php | 2 +- tests/app/Module/NotesTabModuleTest.php | 2 - .../app/Module/OccupationReportModuleTest.php | 13 +- tests/app/Module/OnThisDayModuleTest.php | 2 - .../OpenRouteServiceAutocompleteTest.php | 2 +- tests/app/Module/OpenStreetMapTest.php | 2 +- tests/app/Module/PedigreeChartModuleTest.php | 2 - tests/app/Module/PedigreeMapModuleTest.php | 2 +- tests/app/Module/PedigreeReportModuleTest.php | 13 +- .../Module/PlaceHierarchyListModuleTest.php | 2 +- tests/app/Module/PlacesModuleTest.php | 2 +- .../Module/PoweredByWebtreesModuleTest.php | 2 +- tests/app/Module/PrivacyPolicyTest.php | 2 +- tests/app/Module/RecentChangesModuleTest.php | 2 - .../Module/RedirectLegacyUrlsModuleTest.php | 2 +- .../RelatedIndividualsReportModuleTest.php | 13 +- .../Module/RelationshipsChartModuleTest.php | 2 - tests/app/Module/RelativesTabModuleTest.php | 2 - tests/app/Module/ReportsMenuModuleTest.php | 2 +- tests/app/Module/RepositoryListModuleTest.php | 2 +- tests/app/Module/ResearchTaskModuleTest.php | 2 - tests/app/Module/ReviewChangesModuleTest.php | 2 - tests/app/Module/SearchMenuModuleTest.php | 2 +- .../app/Module/ShareAnniversaryModuleTest.php | 2 +- tests/app/Module/ShareUrlModuleTest.php | 2 +- tests/app/Module/SiteMapModuleTest.php | 2 - tests/app/Module/SlideShowModuleTest.php | 2 - tests/app/Module/SourceListModuleTest.php | 2 +- tests/app/Module/SourcesTabModuleTest.php | 2 - tests/app/Module/StatcounterModuleTest.php | 2 +- .../app/Module/StatisticsChartModuleTest.php | 2 - tests/app/Module/StoriesModuleTest.php | 2 - tests/app/Module/SubmitterListModuleTest.php | 2 +- tests/app/Module/ThemeSelectModuleTest.php | 2 - tests/app/Module/TimelineChartModuleTest.php | 2 - tests/app/Module/TopGivenNamesModuleTest.php | 2 - tests/app/Module/TopPageViewsModuleTest.php | 2 - tests/app/Module/TopSurnamesModuleTest.php | 2 - tests/app/Module/TreesMenuModuleTest.php | 2 +- tests/app/Module/USPresidentsTest.php | 2 +- .../UpcomingAnniversariesModuleTest.php | 3 - tests/app/Module/UserFavoritesModuleTest.php | 2 - tests/app/Module/UserJournalModuleTest.php | 2 - tests/app/Module/UserMessagesModuleTest.php | 2 - tests/app/Module/UserWelcomeModuleTest.php | 2 - tests/app/Module/WebtreesThemeTest.php | 2 +- tests/app/Module/WelcomeBlockModuleTest.php | 2 - tests/app/Module/XeneaThemeTest.php | 2 +- tests/app/Module/YahrzeitModuleTest.php | 2 - tests/app/NoReplyUserTest.php | 2 - tests/app/NoteTest.php | 8 - tests/app/PlaceLocationTest.php | 2 +- tests/app/PlaceTest.php | 2 - tests/app/RegistryTest.php | 2 +- tests/app/RelationshipTest.php | 2 +- tests/app/Report/HtmlRendererTest.php | 2 +- tests/app/Report/PdfRendererTest.php | 2 +- tests/app/Report/ReportBaseCellTest.php | 2 +- tests/app/Report/ReportBaseElementTest.php | 2 +- tests/app/Report/ReportBaseFootnoteTest.php | 2 +- tests/app/Report/ReportBaseImageTest.php | 2 +- tests/app/Report/ReportBaseLineTest.php | 2 +- tests/app/Report/ReportBaseTextTest.php | 2 +- tests/app/Report/ReportBaseTextboxTest.php | 2 +- .../ReportExpressionLanguageProviderTest.php | 2 +- tests/app/Report/ReportHtmlCellTest.php | 2 +- tests/app/Report/ReportHtmlFootnoteTest.php | 2 +- tests/app/Report/ReportHtmlImageTest.php | 2 +- tests/app/Report/ReportHtmlLineTest.php | 2 +- tests/app/Report/ReportHtmlTextTest.php | 2 +- tests/app/Report/ReportHtmlTextboxTest.php | 2 +- tests/app/Report/ReportParserBaseTest.php | 2 +- tests/app/Report/ReportParserGenerateTest.php | 2 +- tests/app/Report/ReportParserSetupTest.php | 2 +- tests/app/Report/ReportPdfCellTest.php | 2 +- tests/app/Report/ReportPdfFootnoteTest.php | 2 +- tests/app/Report/ReportPdfImageTest.php | 2 +- tests/app/Report/ReportPdfLineTest.php | 2 +- tests/app/Report/ReportPdfTextBoxTest.php | 2 +- tests/app/Report/ReportPdfTextTest.php | 2 +- tests/app/Report/RightToLeftSupportTest.php | 2 +- tests/app/Report/TcpdfWrapperTest.php | 2 +- tests/app/Reports/RightToLeftSupportTest.php | 20 --- tests/app/RepositoryTest.php | 2 - tests/app/Schema/Migration0Test.php | 2 +- tests/app/Schema/Migration10Test.php | 2 +- tests/app/Schema/Migration11Test.php | 2 +- tests/app/Schema/Migration12Test.php | 2 +- tests/app/Schema/Migration13Test.php | 2 +- tests/app/Schema/Migration14Test.php | 2 +- tests/app/Schema/Migration15Test.php | 2 +- tests/app/Schema/Migration16Test.php | 2 +- tests/app/Schema/Migration17Test.php | 2 +- tests/app/Schema/Migration18Test.php | 2 +- tests/app/Schema/Migration19Test.php | 2 +- tests/app/Schema/Migration1Test.php | 2 +- tests/app/Schema/Migration20Test.php | 2 +- tests/app/Schema/Migration21Test.php | 2 +- tests/app/Schema/Migration22Test.php | 2 +- tests/app/Schema/Migration23Test.php | 2 +- tests/app/Schema/Migration24Test.php | 2 +- tests/app/Schema/Migration25Test.php | 2 +- tests/app/Schema/Migration26Test.php | 2 +- tests/app/Schema/Migration27Test.php | 2 +- tests/app/Schema/Migration28Test.php | 2 +- tests/app/Schema/Migration29Test.php | 2 +- tests/app/Schema/Migration2Test.php | 2 +- tests/app/Schema/Migration30Test.php | 2 +- tests/app/Schema/Migration31Test.php | 2 +- tests/app/Schema/Migration32Test.php | 2 +- tests/app/Schema/Migration33Test.php | 2 +- tests/app/Schema/Migration34Test.php | 2 +- tests/app/Schema/Migration35Test.php | 2 +- tests/app/Schema/Migration36Test.php | 2 +- tests/app/Schema/Migration37Test.php | 2 +- tests/app/Schema/Migration38Test.php | 2 +- tests/app/Schema/Migration39Test.php | 2 +- tests/app/Schema/Migration3Test.php | 2 +- tests/app/Schema/Migration40Test.php | 2 +- tests/app/Schema/Migration41Test.php | 2 +- tests/app/Schema/Migration42Test.php | 2 +- tests/app/Schema/Migration43Test.php | 2 +- tests/app/Schema/Migration44Test.php | 2 +- tests/app/Schema/Migration4Test.php | 2 +- tests/app/Schema/Migration5Test.php | 2 +- tests/app/Schema/Migration6Test.php | 2 +- tests/app/Schema/Migration7Test.php | 2 +- tests/app/Schema/Migration8Test.php | 2 +- tests/app/Schema/Migration9Test.php | 2 +- tests/app/Schema/SeedDefaultResnTableTest.php | 2 +- tests/app/Schema/SeedGedcomTableTest.php | 2 +- tests/app/Schema/SeedUserTableTest.php | 2 +- tests/app/Services/AdminServiceTest.php | 2 +- tests/app/Services/CalendarServiceTest.php | 2 +- tests/app/Services/CaptchaServiceTest.php | 2 +- tests/app/Services/ChartServiceTest.php | 2 +- tests/app/Services/ClipboardServiceTest.php | 2 +- tests/app/Services/DataFixServiceTest.php | 2 +- tests/app/Services/DatatablesServiceTest.php | 2 +- tests/app/Services/EmailServiceTest.php | 5 +- tests/app/Services/GedcomEditServiceTest.php | 4 +- .../app/Services/GedcomExportServiceTest.php | 2 +- .../app/Services/GedcomImportServiceTest.php | 2 +- tests/app/Services/GedcomServiceTest.php | 2 +- tests/app/Services/HomePageServiceTest.php | 2 +- .../app/Services/HousekeepingServiceTest.php | 2 +- tests/app/Services/HtmlServiceTest.php | 4 - .../Services/IndividualFactsServiceTest.php | 2 +- tests/app/Services/LeafletJsServiceTest.php | 2 +- .../app/Services/LinkedRecordServiceTest.php | 2 +- tests/app/Services/MapDataServiceTest.php | 2 +- tests/app/Services/MediaFileServiceTest.php | 2 +- tests/app/Services/MessageServiceTest.php | 2 +- tests/app/Services/MigrationServiceTest.php | 2 +- tests/app/Services/ModuleServiceTest.php | 5 - .../Services/PendingChangesServiceTest.php | 2 +- tests/app/Services/RateLimitServiceTest.php | 8 - .../app/Services/RelationshipServiceTest.php | 2 +- .../app/Services/RomanNumeralsServiceTest.php | 2 +- tests/app/Services/SearchServiceTest.php | 3 - tests/app/Services/ServerCheckServiceTest.php | 2 +- tests/app/Services/SiteLogsServiceTest.php | 2 +- tests/app/Services/TimeoutServiceTest.php | 16 -- tests/app/Services/TreeServiceTest.php | 2 +- tests/app/Services/UpgradeServiceTest.php | 2 +- tests/app/Services/UserServiceTest.php | 13 -- tests/app/SessionDatabaseHandlerTest.php | 2 +- tests/app/SessionTest.php | 2 +- tests/app/SharedNoteTest.php | 2 +- tests/app/SiteTest.php | 6 - tests/app/SiteUserTest.php | 2 - tests/app/SoundexTest.php | 2 - tests/app/SourceTest.php | 2 - tests/app/Statistics/Google/ChartAgeTest.php | 2 +- .../app/Statistics/Google/ChartBirthTest.php | 2 +- .../Statistics/Google/ChartChildrenTest.php | 2 +- .../Google/ChartCommonGivenTest.php | 2 +- .../Google/ChartCommonSurnameTest.php | 2 +- .../app/Statistics/Google/ChartDeathTest.php | 2 +- .../Google/ChartDistributionTest.php | 2 +- .../Statistics/Google/ChartDivorceTest.php | 2 +- .../Google/ChartFamilyLargestTest.php | 2 +- .../Google/ChartFamilyWithSourcesTest.php | 2 +- .../Google/ChartIndividualWithSourcesTest.php | 2 +- .../Google/ChartMarriageAgeTest.php | 2 +- .../Statistics/Google/ChartMarriageTest.php | 2 +- .../app/Statistics/Google/ChartMediaTest.php | 2 +- .../Statistics/Google/ChartMortalityTest.php | 2 +- .../Google/ChartNoChildrenFamiliesTest.php | 2 +- tests/app/Statistics/Google/ChartSexTest.php | 2 +- .../Repository/BrowserRepositoryTest.php | 2 +- .../Repository/ContactRepositoryTest.php | 2 +- .../Repository/EventRepositoryTest.php | 2 +- .../Repository/FamilyDatesRepositoryTest.php | 2 +- .../Repository/FamilyRepositoryTest.php | 2 +- .../Repository/FavoritesRepositoryTest.php | 2 +- .../Repository/GedcomRepositoryTest.php | 2 +- .../Repository/HitCountRepositoryTest.php | 2 +- .../Repository/IndividualRepositoryTest.php | 2 +- .../Repository/LatestUserRepositoryTest.php | 2 +- .../Repository/MediaRepositoryTest.php | 2 +- .../Repository/MessageRepositoryTest.php | 2 +- .../Repository/NewsRepositoryTest.php | 2 +- .../Repository/PlaceRepositoryTest.php | 2 +- .../Repository/ServerRepositoryTest.php | 2 +- .../Repository/UserRepositoryTest.php | 2 +- .../Statistics/Service/CenturyServiceTest.php | 2 +- .../Statistics/Service/ColorServiceTest.php | 2 +- .../Statistics/Service/CountryServiceTest.php | 2 +- tests/app/StatisticsTest.php | 2 +- tests/app/StatsTest.php | 2 - tests/app/SubmissionTest.php | 2 +- tests/app/SubmitterTest.php | 2 +- .../DefaultSurnameTraditionTest.php | 10 -- .../IcelandicSurnameTraditionTest.php | 18 -- .../LithuanianSurnameTraditionTest.php | 28 --- .../MatrilinealSurnameTraditionTest.php | 14 -- .../PaternalSurnameTraditionTest.php | 28 --- .../PatrilinealSurnameTraditionTest.php | 14 -- .../PolishSurnameTraditionTest.php | 24 --- .../PortugueseSurnameTraditionTest.php | 14 -- .../SpanishSurnameTraditionTest.php | 14 -- tests/app/TimestampTest.php | 2 +- tests/app/TreeTest.php | 15 -- tests/app/TreeUserTest.php | 2 - tests/app/UserTest.php | 3 - tests/app/ViewTest.php | 2 +- tests/app/WebtreesTest.php | 1 - tests/feature/EmbeddedVariablesTest.php | 6 - tests/feature/ImportGedcomTest.php | 3 - tests/feature/IndividualListTest.php | 66 +++---- tests/feature/Privacy.php | 3 - tests/feature/RelationshipNamesTest.php | 3 - tests/views/AbstractViewTest.php | 9 +- 1274 files changed, 1253 insertions(+), 4189 deletions(-) rename tests/app/Elements/{AbstractElementTest.php => AbstractElementTestCase.php} (91%) rename tests/app/Elements/{AbstractEventElementTest.php => AbstractEventElementTestCase.php} (94%) rename tests/app/Elements/{AbstractXrefElementTest.php => AbstractXrefElementTestCase.php} (94%) delete mode 100644 tests/app/Http/RequestHandlers/RedirectDescendencyPhpTest.php diff --git a/composer.json b/composer.json index aad557f1877..8a028a49d6e 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,8 @@ "autoload-dev": { "classmap": [ "tests/TestCase.php", - "tests/MockGlobalFunctions.php" + "tests/MockGlobalFunctions.php", + "tests/app/Elements/AbstractElementTestCase.php" ] }, "config": { diff --git a/tests/MockGlobalFunctions.php b/tests/MockGlobalFunctions.php index cebad88e59f..e536b03cb6f 100644 --- a/tests/MockGlobalFunctions.php +++ b/tests/MockGlobalFunctions.php @@ -24,12 +24,5 @@ */ abstract class MockGlobalFunctions { - /** - * Mock version of ini_get() - * - * @param string $varname - * - * @return string - */ abstract public function iniGet(string $varname): string; } diff --git a/tests/TestCase.php b/tests/TestCase.php index 94410ebaf1e..372cf5d36bb 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -34,6 +34,7 @@ use Fisharebest\Webtrees\Services\TreeService; use Illuminate\Database\Capsule\Manager as DB; use Nyholm\Psr7\Factory\Psr17Factory; +use PHPUnit\Framework\Constraint\Callback; use Psr\Http\Message\ResponseFactoryInterface; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestFactoryInterface; @@ -43,7 +44,7 @@ use Psr\Http\Message\UploadedFileInterface; use Psr\Http\Message\UriFactoryInterface; -use function app; +use function array_shift; use function basename; use function filesize; use function http_build_query; @@ -66,63 +67,10 @@ class TestCase extends \PHPUnit\Framework\TestCase protected static bool $uses_database = false; - /** - * Things to run once, before all the tests. - */ - public static function setUpBeforeClass(): void - { - parent::setUpBeforeClass(); - - $webtrees = new Webtrees(); - $webtrees->bootstrap(); - - // PSR7 messages and PSR17 message-factories - Webtrees::set(ResponseFactoryInterface::class, Psr17Factory::class); - Webtrees::set(ServerRequestFactoryInterface::class, Psr17Factory::class); - Webtrees::set(StreamFactoryInterface::class, Psr17Factory::class); - Webtrees::set(UploadedFileFactoryInterface::class, Psr17Factory::class); - Webtrees::set(UriFactoryInterface::class, Psr17Factory::class); - - // This is normally set in middleware. - Webtrees::set(ModuleThemeInterface::class, WebtreesTheme::class); - - // Need the routing table, to generate URLs. - $router_container = new RouterContainer('/'); - (new WebRoutes())->load($router_container->getMap()); - Webtrees::set(RouterContainer::class, $router_container); - - if (static::$uses_database) { - static::createTestDatabase(); - - I18N::init('en-US'); - - // This is normally set in middleware. - (new Gedcom())->registerTags(Registry::elementFactory(), true); - - // Boot modules - (new ModuleService())->bootModules(new WebtreesTheme()); - } else { - I18N::init('en-US', true); - } - } - - /** - * Things to run once, AFTER all the tests. - */ - public static function tearDownAfterClass(): void - { - if (static::$uses_database) { - $pdo = DB::connection()->getPdo(); - unset($pdo); - } - - parent::tearDownAfterClass(); - } - /** * Create an SQLite in-memory database for testing */ - protected static function createTestDatabase(): void + private static function createTestDatabase(): void { $capsule = new DB(); $capsule->addConnection([ @@ -131,9 +79,6 @@ protected static function createTestDatabase(): void ]); $capsule->setAsGlobal(); - // Migrations create logs, which requires an IP address, which requires a request - self::createRequest(); - // Create tables $migration_service = new MigrationService(); $migration_service->updateSchema('\Fisharebest\Webtrees\Schema', 'WT_SCHEMA_VERSION', Webtrees::SCHEMA_VERSION); @@ -149,7 +94,7 @@ protected static function createTestDatabase(): void * @param array $query * @param array $params * @param array $files - * @param array $attributes + * @param array $attributes * * @return ServerRequestInterface */ @@ -160,8 +105,7 @@ protected static function createRequest( array $files = [], array $attributes = [] ): ServerRequestInterface { - /** @var ServerRequestFactoryInterface */ - $server_request_factory = app(ServerRequestFactoryInterface::class); + $server_request_factory = Webtrees::make(ServerRequestFactoryInterface::class); $uri = 'https://webtrees.test/index.php?' . http_build_query($query); @@ -179,11 +123,11 @@ protected static function createRequest( $request = $request->withAttribute($key, $value); if ($key === 'tree') { - app()->instance(Tree::class, $value); + Webtrees::set(Tree::class, $value); } } - app()->instance(ServerRequestInterface::class, $request); + Webtrees::set(ServerRequestInterface::class, $request); return $request; } @@ -195,9 +139,41 @@ protected function setUp(): void { parent::setUp(); + $webtrees = new Webtrees(); + $webtrees->bootstrap(); + + // PSR7 messages and PSR17 message-factories + Webtrees::set(ResponseFactoryInterface::class, Psr17Factory::class); + Webtrees::set(ServerRequestFactoryInterface::class, Psr17Factory::class); + Webtrees::set(StreamFactoryInterface::class, Psr17Factory::class); + Webtrees::set(UploadedFileFactoryInterface::class, Psr17Factory::class); + Webtrees::set(UriFactoryInterface::class, Psr17Factory::class); + + // This is normally set in middleware. + Webtrees::set(ModuleThemeInterface::class, new WebtreesTheme()); + + // Need the routing table, to generate URLs. + $router_container = new RouterContainer('/'); + (new WebRoutes())->load($router_container->getMap()); + Webtrees::set(RouterContainer::class, $router_container); + $module_service = new ModuleService(); + Webtrees::set(ModuleService::class, $module_service); + if (static::$uses_database) { - DB::connection()->beginTransaction(); + static::createTestDatabase(); + + // This is normally set in middleware. + (new Gedcom())->registerTags(Registry::elementFactory(), true); + + // Boot modules + $module_service->bootModules(new WebtreesTheme()); + + I18N::init('en-US'); + } else { + I18N::init('en-US', true); } + + self::createRequest(); } /** @@ -206,27 +182,19 @@ protected function setUp(): void protected function tearDown(): void { if (static::$uses_database) { - DB::connection()->rollBack(); + DB::connection()->disconnect(); } - Site::$preferences = []; - - Auth::logout(); + Session::clear(); // Session data is stored in the super-global + Site::$preferences = []; // These are cached from the database } - /** - * Import a GEDCOM file into the test database. - * - * @param string $gedcom_file - * - * @return Tree - */ protected function importTree(string $gedcom_file): Tree { $gedcom_import_service = new GedcomImportService(); $tree_service = new TreeService($gedcom_import_service); $tree = $tree_service->create(basename($gedcom_file), basename($gedcom_file)); - $stream = app(StreamFactoryInterface::class)->createStreamFromFile(__DIR__ . '/data/' . $gedcom_file); + $stream = Webtrees::make(StreamFactoryInterface::class)->createStreamFromFile(__DIR__ . '/data/' . $gedcom_file); $tree_service->importGedcomFile($tree, $stream, $gedcom_file, ''); @@ -243,21 +211,10 @@ protected function importTree(string $gedcom_file): Tree return $tree; } - /** - * Create an uploaded file for a request. - * - * @param string $filename - * @param string $mime_type - * - * @return UploadedFileInterface - */ protected function createUploadedFile(string $filename, string $mime_type): UploadedFileInterface { - /** @var StreamFactoryInterface */ - $stream_factory = app(StreamFactoryInterface::class); - - /** @var UploadedFileFactoryInterface */ - $uploaded_file_factory = app(UploadedFileFactoryInterface::class); + $stream_factory = Webtrees::make(StreamFactoryInterface::class); + $uploaded_file_factory = Webtrees::make(UploadedFileFactoryInterface::class); $stream = $stream_factory->createStreamFromFile($filename); $size = filesize($filename); @@ -267,11 +224,6 @@ protected function createUploadedFile(string $filename, string $mime_type): Uplo return $uploaded_file_factory->createUploadedFile($stream, $size, $status, $client_name, $mime_type); } - /** - * Assert that a response contains valid HTML - either a full page or a fragment. - * - * @param ResponseInterface $response - */ protected function validateHtmlResponse(ResponseInterface $response): void { self::assertSame(StatusCodeInterface::STATUS_OK, $response->getStatusCode()); @@ -285,11 +237,6 @@ protected function validateHtmlResponse(ResponseInterface $response): void $this->validateHtml(substr($html, strlen(''))); } - /** - * Assert that a response contains valid HTML - either a full page or a fragment. - * - * @param string $html - */ protected function validateHtml(string $html): void { $stack = []; @@ -343,4 +290,20 @@ protected function validateHtml(string $html): void static::assertSame([], $stack); } + + /** + * Workaround for removal of withConsecutive in phpunit 10. + * + * @param array $parameters + */ + protected static function withConsecutive(array $parameters): Callback + { + return self::callback(static function (mixed $parameter) use ($parameters): bool { + static $array = null; + + $array ??= $parameters; + + return $parameter === array_shift($array); + }); + } } diff --git a/tests/app/AgeTest.php b/tests/app/AgeTest.php index 0568074a55b..08c24267061 100644 --- a/tests/app/AgeTest.php +++ b/tests/app/AgeTest.php @@ -32,8 +32,6 @@ class AgeTest extends TestCase * @covers \Fisharebest\Webtrees\Age::ageYears * @covers \Fisharebest\Webtrees\Age::ageYearsString * @covers \Fisharebest\Webtrees\Age::__toString - * - * @return void */ public function testSameDayMonthYear(): void { @@ -53,8 +51,6 @@ public function testSameDayMonthYear(): void * @covers \Fisharebest\Webtrees\Age::ageYears * @covers \Fisharebest\Webtrees\Age::ageYearsString * @covers \Fisharebest\Webtrees\Age::__toString - * - * @return void */ public function testSameMonthYear(): void { @@ -74,8 +70,6 @@ public function testSameMonthYear(): void * @covers \Fisharebest\Webtrees\Age::ageYears * @covers \Fisharebest\Webtrees\Age::ageYearsString * @covers \Fisharebest\Webtrees\Age::__toString - * - * @return void */ public function testSameYear(): void { @@ -95,8 +89,6 @@ public function testSameYear(): void * @covers \Fisharebest\Webtrees\Age::ageYears * @covers \Fisharebest\Webtrees\Age::ageYearsString * @covers \Fisharebest\Webtrees\Age::__toString - * - * @return void */ public function testReversed(): void { @@ -116,8 +108,6 @@ public function testReversed(): void * @covers \Fisharebest\Webtrees\Age::ageYears * @covers \Fisharebest\Webtrees\Age::ageYearsString * @covers \Fisharebest\Webtrees\Age::__toString - * - * @return void */ public function testStartDateInvalid(): void { @@ -137,8 +127,6 @@ public function testStartDateInvalid(): void * @covers \Fisharebest\Webtrees\Age::ageYears * @covers \Fisharebest\Webtrees\Age::ageYearsString * @covers \Fisharebest\Webtrees\Age::__toString - * - * @return void */ public function testEndDateInvalid(): void { @@ -158,8 +146,6 @@ public function testEndDateInvalid(): void * @covers \Fisharebest\Webtrees\Age::ageYears * @covers \Fisharebest\Webtrees\Age::ageYearsString * @covers \Fisharebest\Webtrees\Age::__toString - * - * @return void */ public function testOverlappingDates1(): void { @@ -179,8 +165,6 @@ public function testOverlappingDates1(): void * @covers \Fisharebest\Webtrees\Age::ageYears * @covers \Fisharebest\Webtrees\Age::ageYearsString * @covers \Fisharebest\Webtrees\Age::__toString - * - * @return void */ public function testOverlappingDates2(): void { @@ -200,8 +184,6 @@ public function testOverlappingDates2(): void * @covers \Fisharebest\Webtrees\Age::ageYears * @covers \Fisharebest\Webtrees\Age::ageYearsString * @covers \Fisharebest\Webtrees\Age::__toString - * - * @return void */ public function testDifferentDay(): void { @@ -221,8 +203,6 @@ public function testDifferentDay(): void * @covers \Fisharebest\Webtrees\Age::ageYears * @covers \Fisharebest\Webtrees\Age::ageYearsString * @covers \Fisharebest\Webtrees\Age::__toString - * - * @return void */ public function testDifferentMonth(): void { @@ -242,8 +222,6 @@ public function testDifferentMonth(): void * @covers \Fisharebest\Webtrees\Age::ageYears * @covers \Fisharebest\Webtrees\Age::ageYearsString * @covers \Fisharebest\Webtrees\Age::__toString - * - * @return void */ public function testDifferentYear(): void { diff --git a/tests/app/AuthTest.php b/tests/app/AuthTest.php index 7c5e9815d72..ab9d8cd5062 100644 --- a/tests/app/AuthTest.php +++ b/tests/app/AuthTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Auth * - * @covers \Fisharebest\Webtrees\Auth + * @covers Fisharebest\Webtrees\Auth */ class AuthTest extends TestCase { diff --git a/tests/app/CacheTest.php b/tests/app/CacheTest.php index fd3b2778081..a10bf1aea7e 100644 --- a/tests/app/CacheTest.php +++ b/tests/app/CacheTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Cache * - * @covers \Fisharebest\Webtrees\Cache + * @covers Fisharebest\Webtrees\Cache */ class CacheTest extends TestCase { diff --git a/tests/app/Census/CensusColumnAgeFemale5YearsTest.php b/tests/app/Census/CensusColumnAgeFemale5YearsTest.php index d5827e40640..a48cdb75592 100644 --- a/tests/app/Census/CensusColumnAgeFemale5YearsTest.php +++ b/tests/app/Census/CensusColumnAgeFemale5YearsTest.php @@ -31,8 +31,6 @@ class CensusColumnAgeFemale5YearsTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeFemale5Years * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMale(): void { @@ -49,8 +47,6 @@ public function testMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeFemale5Years * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testFemale(): void { @@ -69,8 +65,6 @@ public function testFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeFemale5Years * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testUnknownSex(): void { @@ -89,8 +83,6 @@ public function testUnknownSex(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeFemale5Years * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testLessThanOneYear(): void { @@ -109,8 +101,6 @@ public function testLessThanOneYear(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeFemale5Years * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testLessThanFifteenYears(): void { @@ -129,8 +119,6 @@ public function testLessThanFifteenYears(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeFemale5Years * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testRoundedDownToFiveYears(): void { diff --git a/tests/app/Census/CensusColumnAgeFemaleTest.php b/tests/app/Census/CensusColumnAgeFemaleTest.php index 553620a8d15..62ce74414f1 100644 --- a/tests/app/Census/CensusColumnAgeFemaleTest.php +++ b/tests/app/Census/CensusColumnAgeFemaleTest.php @@ -31,8 +31,6 @@ class CensusColumnAgeFemaleTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeFemale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMale(): void { @@ -49,8 +47,6 @@ public function testMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeFemale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testFemale(): void { @@ -69,8 +65,6 @@ public function testFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeFemale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testUnknownSex(): void { @@ -89,8 +83,6 @@ public function testUnknownSex(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeFemale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testLessThanOneYear(): void { diff --git a/tests/app/Census/CensusColumnAgeMale5YearsTest.php b/tests/app/Census/CensusColumnAgeMale5YearsTest.php index 089cb17f8e5..249b3770860 100644 --- a/tests/app/Census/CensusColumnAgeMale5YearsTest.php +++ b/tests/app/Census/CensusColumnAgeMale5YearsTest.php @@ -31,8 +31,6 @@ class CensusColumnAgeMale5YearsTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeMale5Years * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMale(): void { @@ -51,8 +49,6 @@ public function testMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeMale5Years * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testFemale(): void { @@ -69,8 +65,6 @@ public function testFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeMale5Years * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testUnknownSex(): void { @@ -89,8 +83,6 @@ public function testUnknownSex(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeMale5Years * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testLessThanOneYear(): void { @@ -109,8 +101,6 @@ public function testLessThanOneYear(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeMale5Years * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testLessThanFifteenYears(): void { @@ -129,8 +119,6 @@ public function testLessThanFifteenYears(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeMale5Years * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testRoundedDownToFiveYears(): void { diff --git a/tests/app/Census/CensusColumnAgeMaleTest.php b/tests/app/Census/CensusColumnAgeMaleTest.php index 165c1c9ce71..ab4b1ed1a04 100644 --- a/tests/app/Census/CensusColumnAgeMaleTest.php +++ b/tests/app/Census/CensusColumnAgeMaleTest.php @@ -31,8 +31,6 @@ class CensusColumnAgeMaleTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeMale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMale(): void { @@ -51,8 +49,6 @@ public function testMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeMale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testFemale(): void { @@ -69,8 +65,6 @@ public function testFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeMale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testUnknownSex(): void { @@ -89,8 +83,6 @@ public function testUnknownSex(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeMale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testLessThanOneYear(): void { diff --git a/tests/app/Census/CensusColumnAgeMarriedTest.php b/tests/app/Census/CensusColumnAgeMarriedTest.php index c18bfe14056..bd554a93f14 100644 --- a/tests/app/Census/CensusColumnAgeMarriedTest.php +++ b/tests/app/Census/CensusColumnAgeMarriedTest.php @@ -34,8 +34,6 @@ class CensusColumnAgeMarriedTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeMarried * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testAgeMarried(): void { @@ -60,8 +58,6 @@ public function testAgeMarried(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeMarried * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNoBirthDate(): void { @@ -80,8 +76,6 @@ public function testNoBirthDate(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeMarried * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNoMarriage(): void { @@ -103,8 +97,6 @@ public function testNoMarriage(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeMarried * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNoSpouseFamily(): void { diff --git a/tests/app/Census/CensusColumnAgeNextBirthDayTest.php b/tests/app/Census/CensusColumnAgeNextBirthDayTest.php index 880692f8b1d..149f938fe55 100644 --- a/tests/app/Census/CensusColumnAgeNextBirthDayTest.php +++ b/tests/app/Census/CensusColumnAgeNextBirthDayTest.php @@ -31,8 +31,6 @@ class CensusColumnAgeNextBirthDayTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAgeNextBirthDay * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testGenerateColumn(): void { diff --git a/tests/app/Census/CensusColumnAgeTest.php b/tests/app/Census/CensusColumnAgeTest.php index 4887dbfceaa..bde2a10a2d9 100644 --- a/tests/app/Census/CensusColumnAgeTest.php +++ b/tests/app/Census/CensusColumnAgeTest.php @@ -31,8 +31,6 @@ class CensusColumnAgeTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnAge * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testGenerateColumn(): void { diff --git a/tests/app/Census/CensusColumnBirthDateTest.php b/tests/app/Census/CensusColumnBirthDateTest.php index 6f77123aee2..0d95833e236 100644 --- a/tests/app/Census/CensusColumnBirthDateTest.php +++ b/tests/app/Census/CensusColumnBirthDateTest.php @@ -31,8 +31,6 @@ class CensusColumnBirthDateTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBirthDate * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testGenerateColumn(): void { diff --git a/tests/app/Census/CensusColumnBirthDayDotMonthYearTest.php b/tests/app/Census/CensusColumnBirthDayDotMonthYearTest.php index 7590e983f3a..ca85765fe6b 100644 --- a/tests/app/Census/CensusColumnBirthDayDotMonthYearTest.php +++ b/tests/app/Census/CensusColumnBirthDayDotMonthYearTest.php @@ -31,8 +31,6 @@ class CensusColumnBirthDayDotMonthYearTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBirthDayDotMonthYear * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testGenerateColumn(): void { diff --git a/tests/app/Census/CensusColumnBirthDayMonthYearTest.php b/tests/app/Census/CensusColumnBirthDayMonthYearTest.php index 21acb921b17..2c31565a676 100644 --- a/tests/app/Census/CensusColumnBirthDayMonthYearTest.php +++ b/tests/app/Census/CensusColumnBirthDayMonthYearTest.php @@ -31,8 +31,6 @@ class CensusColumnBirthDayMonthYearTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBirthDayMonthYear * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testGenerateColumn(): void { diff --git a/tests/app/Census/CensusColumnBirthDaySlashMonthTest.php b/tests/app/Census/CensusColumnBirthDaySlashMonthTest.php index a44de6a3abd..e737cc79cc7 100644 --- a/tests/app/Census/CensusColumnBirthDaySlashMonthTest.php +++ b/tests/app/Census/CensusColumnBirthDaySlashMonthTest.php @@ -31,8 +31,6 @@ class CensusColumnBirthDaySlashMonthTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBirthDaySlashMonth * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testGenerateColumn(): void { diff --git a/tests/app/Census/CensusColumnBirthDaySlashMonthYearTest.php b/tests/app/Census/CensusColumnBirthDaySlashMonthYearTest.php index 7f640df7b94..77d019b7f4b 100644 --- a/tests/app/Census/CensusColumnBirthDaySlashMonthYearTest.php +++ b/tests/app/Census/CensusColumnBirthDaySlashMonthYearTest.php @@ -31,8 +31,6 @@ class CensusColumnBirthDaySlashMonthYearTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBirthDaySlashMonthYear * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testGenerateColumn(): void { diff --git a/tests/app/Census/CensusColumnBirthDayTest.php b/tests/app/Census/CensusColumnBirthDayTest.php index 190da3dac0d..43be7e6790f 100644 --- a/tests/app/Census/CensusColumnBirthDayTest.php +++ b/tests/app/Census/CensusColumnBirthDayTest.php @@ -32,8 +32,6 @@ class CensusColumnBirthDayTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBirthDay * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testGenerateColumn(): void { diff --git a/tests/app/Census/CensusColumnBirthMonthDayTest.php b/tests/app/Census/CensusColumnBirthMonthDayTest.php index 7574a26b464..7ea366cc590 100644 --- a/tests/app/Census/CensusColumnBirthMonthDayTest.php +++ b/tests/app/Census/CensusColumnBirthMonthDayTest.php @@ -31,8 +31,6 @@ class CensusColumnBirthMonthDayTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBirthMonthDay * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testGenerateColumn(): void { diff --git a/tests/app/Census/CensusColumnBirthMonthTest.php b/tests/app/Census/CensusColumnBirthMonthTest.php index 9a4a863efac..29f75f5ecd5 100644 --- a/tests/app/Census/CensusColumnBirthMonthTest.php +++ b/tests/app/Census/CensusColumnBirthMonthTest.php @@ -32,8 +32,6 @@ class CensusColumnBirthMonthTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBirthMonth * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testGenerateColumn(): void { diff --git a/tests/app/Census/CensusColumnBirthPlaceSimpleTest.php b/tests/app/Census/CensusColumnBirthPlaceSimpleTest.php index 3857695eaab..4f66a1715ce 100644 --- a/tests/app/Census/CensusColumnBirthPlaceSimpleTest.php +++ b/tests/app/Census/CensusColumnBirthPlaceSimpleTest.php @@ -28,13 +28,6 @@ */ class CensusColumnBirthPlaceSimpleTest extends TestCase { - /** - * Get place mock. - * - * @param string $place Gedcom Place - * - * @return Place - */ private function getPlaceMock(string $place): Place { $placeMock = $this->createMock(Place::class); @@ -46,8 +39,6 @@ private function getPlaceMock(string $place): Place /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBirthPlaceSimple * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testForeignCountry(): void { @@ -65,8 +56,6 @@ public function testForeignCountry(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBirthPlaceSimple * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testJustCountry(): void { @@ -84,8 +73,6 @@ public function testJustCountry(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBirthPlaceSimple * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testKnownState(): void { @@ -103,8 +90,6 @@ public function testKnownState(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBirthPlaceSimple * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testKnownStateAndTown(): void { diff --git a/tests/app/Census/CensusColumnBirthPlaceTest.php b/tests/app/Census/CensusColumnBirthPlaceTest.php index fe465ad7e39..1651e42e245 100644 --- a/tests/app/Census/CensusColumnBirthPlaceTest.php +++ b/tests/app/Census/CensusColumnBirthPlaceTest.php @@ -28,13 +28,6 @@ */ class CensusColumnBirthPlaceTest extends TestCase { - /** - * Get place mock. - * - * @param string $place Gedcom Place - * - * @return Place - */ private function getPlaceMock(string $place): Place { $placeMock = $this->createMock(Place::class); @@ -46,8 +39,6 @@ private function getPlaceMock(string $place): Place /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBirthPlace * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testPlaceCountry(): void { @@ -65,8 +56,6 @@ public function testPlaceCountry(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBirthPlace * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testPlaceAndCountry(): void { @@ -84,8 +73,6 @@ public function testPlaceAndCountry(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBirthPlace * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testDifferentCountry(): void { diff --git a/tests/app/Census/CensusColumnBirthYearTest.php b/tests/app/Census/CensusColumnBirthYearTest.php index d586a36cebb..e8b14c54880 100644 --- a/tests/app/Census/CensusColumnBirthYearTest.php +++ b/tests/app/Census/CensusColumnBirthYearTest.php @@ -32,8 +32,6 @@ class CensusColumnBirthYearTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBirthYear * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testGenerateColumn(): void { diff --git a/tests/app/Census/CensusColumnBornForeignPartsTest.php b/tests/app/Census/CensusColumnBornForeignPartsTest.php index b9ca6dd83d4..beafec70b16 100644 --- a/tests/app/Census/CensusColumnBornForeignPartsTest.php +++ b/tests/app/Census/CensusColumnBornForeignPartsTest.php @@ -29,13 +29,6 @@ */ class CensusColumnBornForeignPartsTest extends TestCase { - /** - * Get place mock. - * - * @param string $place Gedcom Place - * - * @return Place - */ private function getPlaceMock(string $place): Place { $placeParts = explode(', ', $place); @@ -50,8 +43,6 @@ private function getPlaceMock(string $place): Place /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornEnglandCensusEngland(): void { @@ -69,8 +60,6 @@ public function testBornEnglandCensusEngland(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornWalesCensusEngland(): void { @@ -88,8 +77,6 @@ public function testBornWalesCensusEngland(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornScotlandCensusEngland(): void { @@ -107,8 +94,6 @@ public function testBornScotlandCensusEngland(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornIrelandCensusEngland(): void { @@ -126,8 +111,6 @@ public function testBornIrelandCensusEngland(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornForeignCensusEngland(): void { @@ -145,8 +128,6 @@ public function testBornForeignCensusEngland(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornEnglandCensusIreland(): void { @@ -164,8 +145,6 @@ public function testBornEnglandCensusIreland(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornWalesCensusIreland(): void { @@ -183,8 +162,6 @@ public function testBornWalesCensusIreland(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornScotlandCensusIreland(): void { @@ -202,8 +179,6 @@ public function testBornScotlandCensusIreland(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornIrelandCensusIreland(): void { @@ -221,8 +196,6 @@ public function testBornIrelandCensusIreland(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornForeignCensusIreland(): void { @@ -240,8 +213,6 @@ public function testBornForeignCensusIreland(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornEnglandCensusScotland(): void { @@ -259,8 +230,6 @@ public function testBornEnglandCensusScotland(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornWalesCensusScotland(): void { @@ -278,8 +247,6 @@ public function testBornWalesCensusScotland(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornScotlandCensusScotland(): void { @@ -297,8 +264,6 @@ public function testBornScotlandCensusScotland(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornIrelandCensusScotland(): void { @@ -316,8 +281,6 @@ public function testBornIrelandCensusScotland(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornForeignCensusScotland(): void { @@ -335,8 +298,6 @@ public function testBornForeignCensusScotland(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornEnglandCensusWales(): void { @@ -354,8 +315,6 @@ public function testBornEnglandCensusWales(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornWalesCensusWales(): void { @@ -373,8 +332,6 @@ public function testBornWalesCensusWales(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornScotlandCensusWales(): void { @@ -392,8 +349,6 @@ public function testBornScotlandCensusWales(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornIrelandCensusWales(): void { @@ -411,8 +366,6 @@ public function testBornIrelandCensusWales(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornForeignCensusWales(): void { @@ -430,8 +383,6 @@ public function testBornForeignCensusWales(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornNowhereCensusEngland(): void { @@ -449,8 +400,6 @@ public function testBornNowhereCensusEngland(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornNowhereCensusWales(): void { @@ -468,8 +417,6 @@ public function testBornNowhereCensusWales(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnBornForeignParts * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornNowhereCensusScotland(): void { diff --git a/tests/app/Census/CensusColumnChildrenBornAliveTest.php b/tests/app/Census/CensusColumnChildrenBornAliveTest.php index 6de2c317e1b..a18d9a1b89c 100644 --- a/tests/app/Census/CensusColumnChildrenBornAliveTest.php +++ b/tests/app/Census/CensusColumnChildrenBornAliveTest.php @@ -33,8 +33,6 @@ class CensusColumnChildrenBornAliveTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnChildrenBornAlive * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMale(): void { @@ -52,8 +50,6 @@ public function testMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnChildrenBornAlive * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testCountChildren(): void { diff --git a/tests/app/Census/CensusColumnChildrenDiedTest.php b/tests/app/Census/CensusColumnChildrenDiedTest.php index 7b8c6e1ca52..02a36855da3 100644 --- a/tests/app/Census/CensusColumnChildrenDiedTest.php +++ b/tests/app/Census/CensusColumnChildrenDiedTest.php @@ -33,8 +33,6 @@ class CensusColumnChildrenDiedTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnChildrenDied * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMale(): void { @@ -52,8 +50,6 @@ public function testMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnChildrenDied * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testCountChildren(): void { diff --git a/tests/app/Census/CensusColumnChildrenLivingTest.php b/tests/app/Census/CensusColumnChildrenLivingTest.php index 6feaa711457..c2310c99b82 100644 --- a/tests/app/Census/CensusColumnChildrenLivingTest.php +++ b/tests/app/Census/CensusColumnChildrenLivingTest.php @@ -33,8 +33,6 @@ class CensusColumnChildrenLivingTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnChildrenLiving * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMale(): void { @@ -52,8 +50,6 @@ public function testMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnChildrenLiving * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testCountChildren(): void { diff --git a/tests/app/Census/CensusColumnConditionCanadaMarriedSingleTest.php b/tests/app/Census/CensusColumnConditionCanadaMarriedSingleTest.php index f0719cfa258..307ca2b7b74 100644 --- a/tests/app/Census/CensusColumnConditionCanadaMarriedSingleTest.php +++ b/tests/app/Census/CensusColumnConditionCanadaMarriedSingleTest.php @@ -34,8 +34,6 @@ class CensusColumnConditionCanadaMarriedSingleTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedSingle * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesMale(): void { @@ -55,8 +53,6 @@ public function testNoSpouseFamiliesMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedSingle * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesFemale(): void { @@ -76,8 +72,6 @@ public function testNoSpouseFamiliesFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedSingle * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsMale(): void { @@ -101,8 +95,6 @@ public function testNoFamilyFactsMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedSingle * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsFemale(): void { @@ -126,8 +118,6 @@ public function testNoFamilyFactsFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedSingle * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadMale(): void { @@ -140,10 +130,7 @@ public function testSpouseDeadMale(): void $family->expects(self::once())->method('getMarriageDate')->willReturn(new Date('')); $family->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -165,8 +152,6 @@ public function testSpouseDeadMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedSingle * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadFemale(): void { @@ -180,10 +165,7 @@ public function testSpouseDeadFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -205,8 +187,6 @@ public function testSpouseDeadFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedSingle * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedMale(): void { @@ -230,8 +210,6 @@ public function testNoFamilyUnmarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedSingle * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedFemale(): void { @@ -255,8 +233,6 @@ public function testNoFamilyUnmarriedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedSingle * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildMale(): void { @@ -280,8 +256,6 @@ public function testChildMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedSingle * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildFemale(): void { @@ -305,8 +279,6 @@ public function testChildFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedSingle * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedMale(): void { @@ -317,10 +289,8 @@ public function testDivorcedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection([$fact]) ); @@ -340,8 +310,6 @@ public function testDivorcedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedSingle * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedFemale(): void { @@ -352,10 +320,8 @@ public function testDivorcedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection([$fact]) ); @@ -375,8 +341,6 @@ public function testDivorcedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedSingle * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testMarriedMale(): void { @@ -387,10 +351,8 @@ public function testMarriedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() ); @@ -410,8 +372,6 @@ public function testMarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedSingle * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testMarriedFemale(): void { @@ -422,10 +382,8 @@ public function testMarriedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() ); diff --git a/tests/app/Census/CensusColumnConditionCanadaMarriedWidowedTest.php b/tests/app/Census/CensusColumnConditionCanadaMarriedWidowedTest.php index 0ad06bd26f6..786339dd754 100644 --- a/tests/app/Census/CensusColumnConditionCanadaMarriedWidowedTest.php +++ b/tests/app/Census/CensusColumnConditionCanadaMarriedWidowedTest.php @@ -34,8 +34,6 @@ class CensusColumnConditionCanadaMarriedWidowedTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesMale(): void { @@ -55,8 +53,6 @@ public function testNoSpouseFamiliesMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesFemale(): void { @@ -76,8 +72,6 @@ public function testNoSpouseFamiliesFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsMale(): void { @@ -101,8 +95,6 @@ public function testNoFamilyFactsMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsFemale(): void { @@ -126,8 +118,6 @@ public function testNoFamilyFactsFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadMale(): void { @@ -140,10 +130,7 @@ public function testSpouseDeadMale(): void $family->expects(self::once())->method('getMarriageDate')->willReturn(new Date('')); $family->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -165,8 +152,6 @@ public function testSpouseDeadMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadFemale(): void { @@ -180,10 +165,7 @@ public function testSpouseDeadFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -205,8 +187,6 @@ public function testSpouseDeadFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedMale(): void { @@ -230,8 +210,6 @@ public function testNoFamilyUnmarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedFemale(): void { @@ -255,8 +233,6 @@ public function testNoFamilyUnmarriedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildMale(): void { @@ -280,8 +256,6 @@ public function testChildMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildFemale(): void { @@ -305,8 +279,6 @@ public function testChildFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedMale(): void { @@ -317,10 +289,8 @@ public function testDivorcedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection([$fact]) ); @@ -340,8 +310,6 @@ public function testDivorcedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedFemale(): void { @@ -352,10 +320,8 @@ public function testDivorcedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection([$fact]) ); @@ -375,8 +341,6 @@ public function testDivorcedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testMarriedMale(): void { @@ -387,10 +351,8 @@ public function testMarriedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() ); @@ -410,8 +372,6 @@ public function testMarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaMarriedWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testMarriedFemale(): void { @@ -422,10 +382,8 @@ public function testMarriedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() ); diff --git a/tests/app/Census/CensusColumnConditionCanadaTest.php b/tests/app/Census/CensusColumnConditionCanadaTest.php index dac5991acac..52644e70663 100644 --- a/tests/app/Census/CensusColumnConditionCanadaTest.php +++ b/tests/app/Census/CensusColumnConditionCanadaTest.php @@ -35,8 +35,6 @@ class CensusColumnConditionCanadaTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanada * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesMale(): void { @@ -56,8 +54,6 @@ public function testNoSpouseFamiliesMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanada * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesFemale(): void { @@ -77,8 +73,6 @@ public function testNoSpouseFamiliesFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanada * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsMale(): void { @@ -102,8 +96,6 @@ public function testNoFamilyFactsMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanada * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsFemale(): void { @@ -127,8 +119,6 @@ public function testNoFamilyFactsFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanada * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadMale(): void { @@ -141,10 +131,7 @@ public function testSpouseDeadMale(): void $family->expects(self::once())->method('getMarriageDate')->willReturn(new Date('')); $family->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -166,8 +153,6 @@ public function testSpouseDeadMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanada * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadFemale(): void { @@ -181,10 +166,7 @@ public function testSpouseDeadFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -206,8 +188,6 @@ public function testSpouseDeadFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanada * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedMale(): void { @@ -231,8 +211,6 @@ public function testNoFamilyUnmarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanada * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedFemale(): void { @@ -256,8 +234,6 @@ public function testNoFamilyUnmarriedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanada * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildMale(): void { @@ -281,8 +257,6 @@ public function testChildMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanada * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildFemale(): void { @@ -306,8 +280,6 @@ public function testChildFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanada * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedMale(): void { @@ -318,10 +290,8 @@ public function testDivorcedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection([$fact]) ); @@ -341,8 +311,6 @@ public function testDivorcedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanada * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedFemale(): void { @@ -353,10 +321,8 @@ public function testDivorcedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection([$fact]) ); @@ -376,8 +342,6 @@ public function testDivorcedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanada * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testMarriedMale(): void { @@ -388,10 +352,8 @@ public function testMarriedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() ); @@ -411,8 +373,6 @@ public function testMarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanada * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testMarriedFemale(): void { @@ -423,10 +383,8 @@ public function testMarriedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() ); diff --git a/tests/app/Census/CensusColumnConditionCanadaWidowedFemaleTest.php b/tests/app/Census/CensusColumnConditionCanadaWidowedFemaleTest.php index 639b6bde61a..1644f0604b5 100644 --- a/tests/app/Census/CensusColumnConditionCanadaWidowedFemaleTest.php +++ b/tests/app/Census/CensusColumnConditionCanadaWidowedFemaleTest.php @@ -34,8 +34,6 @@ class CensusColumnConditionCanadaWidowedFemaleTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedFemale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesMale(): void { @@ -55,8 +53,6 @@ public function testNoSpouseFamiliesMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedFemale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesFemale(): void { @@ -76,8 +72,6 @@ public function testNoSpouseFamiliesFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedFemale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsMale(): void { @@ -101,8 +95,6 @@ public function testNoFamilyFactsMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedFemale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsFemale(): void { @@ -126,8 +118,6 @@ public function testNoFamilyFactsFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedFemale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadMale(): void { @@ -140,10 +130,7 @@ public function testSpouseDeadMale(): void $family->expects(self::once())->method('getMarriageDate')->willReturn(new Date('')); $family->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -165,8 +152,6 @@ public function testSpouseDeadMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedFemale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadFemale(): void { @@ -180,10 +165,7 @@ public function testSpouseDeadFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -205,8 +187,6 @@ public function testSpouseDeadFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedFemale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedMale(): void { @@ -230,8 +210,6 @@ public function testNoFamilyUnmarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedFemale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedFemale(): void { @@ -255,8 +233,6 @@ public function testNoFamilyUnmarriedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedFemale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildMale(): void { @@ -280,8 +256,6 @@ public function testChildMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedFemale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildFemale(): void { @@ -305,8 +279,6 @@ public function testChildFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedFemale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedMale(): void { @@ -317,10 +289,8 @@ public function testDivorcedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection([$fact]) ); @@ -340,8 +310,6 @@ public function testDivorcedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedFemale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedFemale(): void { @@ -352,10 +320,8 @@ public function testDivorcedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection([$fact]) ); @@ -375,8 +341,6 @@ public function testDivorcedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedFemale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testMarriedMale(): void { @@ -387,10 +351,8 @@ public function testMarriedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() ); @@ -410,8 +372,6 @@ public function testMarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedFemale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testMarriedFemale(): void { @@ -422,10 +382,8 @@ public function testMarriedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() ); diff --git a/tests/app/Census/CensusColumnConditionCanadaWidowedMaleTest.php b/tests/app/Census/CensusColumnConditionCanadaWidowedMaleTest.php index 5ee7f35e68a..09efe424769 100644 --- a/tests/app/Census/CensusColumnConditionCanadaWidowedMaleTest.php +++ b/tests/app/Census/CensusColumnConditionCanadaWidowedMaleTest.php @@ -34,8 +34,6 @@ class CensusColumnConditionCanadaWidowedMaleTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedMale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesMale(): void { @@ -55,8 +53,6 @@ public function testNoSpouseFamiliesMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedMale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesFemale(): void { @@ -76,8 +72,6 @@ public function testNoSpouseFamiliesFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedMale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsMale(): void { @@ -101,8 +95,6 @@ public function testNoFamilyFactsMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedMale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsFemale(): void { @@ -126,8 +118,6 @@ public function testNoFamilyFactsFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedMale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadMale(): void { @@ -140,10 +130,7 @@ public function testSpouseDeadMale(): void $family->expects(self::once())->method('getMarriageDate')->willReturn(new Date('')); $family->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -165,8 +152,6 @@ public function testSpouseDeadMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedMale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadFemale(): void { @@ -180,10 +165,7 @@ public function testSpouseDeadFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -205,8 +187,6 @@ public function testSpouseDeadFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedMale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedMale(): void { @@ -230,8 +210,6 @@ public function testNoFamilyUnmarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedMale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedFemale(): void { @@ -255,8 +233,6 @@ public function testNoFamilyUnmarriedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedMale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildMale(): void { @@ -280,8 +256,6 @@ public function testChildMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedMale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildFemale(): void { @@ -305,8 +279,6 @@ public function testChildFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedMale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedMale(): void { @@ -317,10 +289,8 @@ public function testDivorcedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection([$fact]) ); @@ -340,8 +310,6 @@ public function testDivorcedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedMale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedFemale(): void { @@ -352,10 +320,8 @@ public function testDivorcedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection([$fact]) ); @@ -375,8 +341,6 @@ public function testDivorcedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedMale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testMarriedMale(): void { @@ -387,10 +351,8 @@ public function testMarriedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() ); @@ -410,8 +372,6 @@ public function testMarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowedMale * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testMarriedFemale(): void { @@ -422,10 +382,8 @@ public function testMarriedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() ); diff --git a/tests/app/Census/CensusColumnConditionCanadaWidowedTest.php b/tests/app/Census/CensusColumnConditionCanadaWidowedTest.php index cfbec150fbf..f6dff74ce11 100644 --- a/tests/app/Census/CensusColumnConditionCanadaWidowedTest.php +++ b/tests/app/Census/CensusColumnConditionCanadaWidowedTest.php @@ -34,8 +34,6 @@ class CensusColumnConditionCanadaWidowedTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesMale(): void { @@ -55,8 +53,6 @@ public function testNoSpouseFamiliesMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesFemale(): void { @@ -76,8 +72,6 @@ public function testNoSpouseFamiliesFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsMale(): void { @@ -101,8 +95,6 @@ public function testNoFamilyFactsMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsFemale(): void { @@ -126,8 +118,6 @@ public function testNoFamilyFactsFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadMale(): void { @@ -140,10 +130,7 @@ public function testSpouseDeadMale(): void $family->expects(self::once())->method('getMarriageDate')->willReturn(new Date('')); $family->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -165,8 +152,6 @@ public function testSpouseDeadMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadFemale(): void { @@ -180,10 +165,7 @@ public function testSpouseDeadFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -205,8 +187,6 @@ public function testSpouseDeadFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedMale(): void { @@ -230,8 +210,6 @@ public function testNoFamilyUnmarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedFemale(): void { @@ -255,8 +233,6 @@ public function testNoFamilyUnmarriedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildMale(): void { @@ -280,8 +256,6 @@ public function testChildMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildFemale(): void { @@ -305,8 +279,6 @@ public function testChildFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedMale(): void { @@ -317,10 +289,8 @@ public function testDivorcedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection([$fact]) ); @@ -340,8 +310,6 @@ public function testDivorcedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedFemale(): void { @@ -352,10 +320,8 @@ public function testDivorcedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection([$fact]) ); @@ -375,8 +341,6 @@ public function testDivorcedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testMarriedMale(): void { @@ -387,10 +351,8 @@ public function testMarriedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() ); @@ -410,8 +372,6 @@ public function testMarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionCanadaWidowed * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testMarriedFemale(): void { @@ -422,10 +382,8 @@ public function testMarriedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() ); diff --git a/tests/app/Census/CensusColumnConditionDanishTest.php b/tests/app/Census/CensusColumnConditionDanishTest.php index 5474c4109df..0be596e1f6f 100644 --- a/tests/app/Census/CensusColumnConditionDanishTest.php +++ b/tests/app/Census/CensusColumnConditionDanishTest.php @@ -34,8 +34,6 @@ class CensusColumnConditionDanishTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionDanish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesMale(): void { @@ -55,8 +53,6 @@ public function testNoSpouseFamiliesMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionDanish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesFemale(): void { @@ -76,8 +72,6 @@ public function testNoSpouseFamiliesFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionDanish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsMale(): void { @@ -101,8 +95,6 @@ public function testNoFamilyFactsMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionDanish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsFemale(): void { @@ -126,8 +118,6 @@ public function testNoFamilyFactsFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionDanish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadMale(): void { @@ -140,10 +130,7 @@ public function testSpouseDeadMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -165,8 +152,6 @@ public function testSpouseDeadMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionDanish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadFemale(): void { @@ -179,10 +164,7 @@ public function testSpouseDeadFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -204,8 +186,6 @@ public function testSpouseDeadFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionDanish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedMale(): void { @@ -229,8 +209,6 @@ public function testNoFamilyUnmarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionDanish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedFemale(): void { @@ -254,8 +232,6 @@ public function testNoFamilyUnmarriedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionDanish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildMale(): void { @@ -279,8 +255,6 @@ public function testChildMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionDanish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildFemale(): void { @@ -304,8 +278,6 @@ public function testChildFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionDanish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedMale(): void { @@ -315,10 +287,7 @@ public function testDivorcedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturn( new Collection([$fact]), new Collection([$fact]) @@ -339,8 +308,6 @@ public function testDivorcedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionDanish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedFemale(): void { @@ -350,10 +317,7 @@ public function testDivorcedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturn( new Collection([$fact]), new Collection([$fact]) diff --git a/tests/app/Census/CensusColumnConditionEnglishTest.php b/tests/app/Census/CensusColumnConditionEnglishTest.php index 601b22dba58..ff2fa18a4fb 100644 --- a/tests/app/Census/CensusColumnConditionEnglishTest.php +++ b/tests/app/Census/CensusColumnConditionEnglishTest.php @@ -34,8 +34,6 @@ class CensusColumnConditionEnglishTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionEnglish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesMale(): void { @@ -55,8 +53,6 @@ public function testNoSpouseFamiliesMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionEnglish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesFemale(): void { @@ -76,8 +72,6 @@ public function testNoSpouseFamiliesFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionEnglish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsMale(): void { @@ -101,8 +95,6 @@ public function testNoFamilyFactsMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionEnglish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsFemale(): void { @@ -126,8 +118,6 @@ public function testNoFamilyFactsFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionEnglish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadMale(): void { @@ -140,10 +130,7 @@ public function testSpouseDeadMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -165,8 +152,6 @@ public function testSpouseDeadMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionEnglish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadFemale(): void { @@ -179,10 +164,7 @@ public function testSpouseDeadFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -204,8 +186,6 @@ public function testSpouseDeadFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionEnglish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedMale(): void { @@ -229,8 +209,6 @@ public function testNoFamilyUnmarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionEnglish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedFemale(): void { @@ -254,8 +232,6 @@ public function testNoFamilyUnmarriedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionEnglish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildMale(): void { @@ -279,8 +255,6 @@ public function testChildMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionEnglish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildFemale(): void { @@ -304,8 +278,6 @@ public function testChildFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionEnglish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedMale(): void { @@ -315,10 +287,7 @@ public function testDivorcedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturn( new Collection([$fact]), new Collection([$fact]) @@ -339,8 +308,6 @@ public function testDivorcedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionEnglish * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedFemale(): void { @@ -350,10 +317,7 @@ public function testDivorcedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturn( new Collection([$fact]), new Collection([$fact]) diff --git a/tests/app/Census/CensusColumnConditionFrenchFemmeTest.php b/tests/app/Census/CensusColumnConditionFrenchFemmeTest.php index 80fd885b305..ded467c112f 100644 --- a/tests/app/Census/CensusColumnConditionFrenchFemmeTest.php +++ b/tests/app/Census/CensusColumnConditionFrenchFemmeTest.php @@ -34,8 +34,6 @@ class CensusColumnConditionFrenchFemmeTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesMale(): void { @@ -55,8 +53,6 @@ public function testNoSpouseFamiliesMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesFemale(): void { @@ -76,8 +72,6 @@ public function testNoSpouseFamiliesFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsMale(): void { @@ -101,8 +95,6 @@ public function testNoFamilyFactsMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsFemale(): void { @@ -126,8 +118,6 @@ public function testNoFamilyFactsFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadMale(): void { @@ -140,10 +130,7 @@ public function testSpouseDeadMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -165,8 +152,6 @@ public function testSpouseDeadMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadFemale(): void { @@ -179,10 +164,7 @@ public function testSpouseDeadFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -204,8 +186,6 @@ public function testSpouseDeadFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedMale(): void { @@ -229,8 +209,6 @@ public function testNoFamilyUnmarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedFemale(): void { @@ -254,8 +232,6 @@ public function testNoFamilyUnmarriedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildMale(): void { @@ -279,8 +255,6 @@ public function testChildMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildFemale(): void { @@ -304,8 +278,6 @@ public function testChildFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedMale(): void { @@ -315,10 +287,7 @@ public function testDivorcedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturn( new Collection([$fact]), new Collection([$fact]) @@ -339,8 +308,6 @@ public function testDivorcedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedFemale(): void { @@ -350,10 +317,7 @@ public function testDivorcedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturn( new Collection([$fact]), new Collection([$fact]) diff --git a/tests/app/Census/CensusColumnConditionFrenchFilleTest.php b/tests/app/Census/CensusColumnConditionFrenchFilleTest.php index 5673241b787..40815dfa772 100644 --- a/tests/app/Census/CensusColumnConditionFrenchFilleTest.php +++ b/tests/app/Census/CensusColumnConditionFrenchFilleTest.php @@ -34,8 +34,6 @@ class CensusColumnConditionFrenchFilleTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFille * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesMale(): void { @@ -55,8 +53,6 @@ public function testNoSpouseFamiliesMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFille * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesFemale(): void { @@ -76,8 +72,6 @@ public function testNoSpouseFamiliesFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFille * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsMale(): void { @@ -101,8 +95,6 @@ public function testNoFamilyFactsMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFille * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsFemale(): void { @@ -126,8 +118,6 @@ public function testNoFamilyFactsFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFille * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadMale(): void { @@ -140,10 +130,7 @@ public function testSpouseDeadMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -165,8 +152,6 @@ public function testSpouseDeadMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFille * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadFemale(): void { @@ -179,10 +164,7 @@ public function testSpouseDeadFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -204,8 +186,6 @@ public function testSpouseDeadFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFille * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedMale(): void { @@ -229,8 +209,6 @@ public function testNoFamilyUnmarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFille * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedFemale(): void { @@ -254,8 +232,6 @@ public function testNoFamilyUnmarriedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFille * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildMale(): void { @@ -279,8 +255,6 @@ public function testChildMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFille * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildFemale(): void { @@ -304,8 +278,6 @@ public function testChildFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFille * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedMale(): void { @@ -315,10 +287,7 @@ public function testDivorcedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturn( new Collection([$fact]), new Collection([$fact]) @@ -339,8 +308,6 @@ public function testDivorcedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFille * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedFemale(): void { @@ -350,10 +317,7 @@ public function testDivorcedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturn( new Collection([$fact]), new Collection([$fact]) diff --git a/tests/app/Census/CensusColumnConditionFrenchGarconTest.php b/tests/app/Census/CensusColumnConditionFrenchGarconTest.php index 3a26ba22d98..290f9e50d65 100644 --- a/tests/app/Census/CensusColumnConditionFrenchGarconTest.php +++ b/tests/app/Census/CensusColumnConditionFrenchGarconTest.php @@ -34,8 +34,6 @@ class CensusColumnConditionFrenchGarconTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchGarcon * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesMale(): void { @@ -55,8 +53,6 @@ public function testNoSpouseFamiliesMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchGarcon * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesFemale(): void { @@ -76,8 +72,6 @@ public function testNoSpouseFamiliesFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchGarcon * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsMale(): void { @@ -101,8 +95,6 @@ public function testNoFamilyFactsMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchGarcon * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsFemale(): void { @@ -126,8 +118,6 @@ public function testNoFamilyFactsFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchGarcon * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadMale(): void { @@ -140,10 +130,7 @@ public function testSpouseDeadMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -165,8 +152,6 @@ public function testSpouseDeadMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchGarcon * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadFemale(): void { @@ -179,10 +164,7 @@ public function testSpouseDeadFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -204,8 +186,6 @@ public function testSpouseDeadFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchGarcon * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedMale(): void { @@ -229,8 +209,6 @@ public function testNoFamilyUnmarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchGarcon * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedFemale(): void { @@ -254,8 +232,6 @@ public function testNoFamilyUnmarriedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchGarcon * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildMale(): void { @@ -279,8 +255,6 @@ public function testChildMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchGarcon * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildFemale(): void { @@ -304,8 +278,6 @@ public function testChildFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchGarcon * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedMale(): void { @@ -315,10 +287,7 @@ public function testDivorcedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturn( new Collection([$fact]), new Collection([$fact]) @@ -339,8 +308,6 @@ public function testDivorcedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchGarcon * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedFemale(): void { @@ -350,10 +317,7 @@ public function testDivorcedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturn( new Collection([$fact]), new Collection([$fact]) diff --git a/tests/app/Census/CensusColumnConditionFrenchHommeTest.php b/tests/app/Census/CensusColumnConditionFrenchHommeTest.php index 442c4bfe2d5..d89c9f82ff9 100644 --- a/tests/app/Census/CensusColumnConditionFrenchHommeTest.php +++ b/tests/app/Census/CensusColumnConditionFrenchHommeTest.php @@ -34,8 +34,6 @@ class CensusColumnConditionFrenchHommeTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchHomme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesMale(): void { @@ -55,8 +53,6 @@ public function testNoSpouseFamiliesMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchHomme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesFemale(): void { @@ -76,8 +72,6 @@ public function testNoSpouseFamiliesFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchHomme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsMale(): void { @@ -101,8 +95,6 @@ public function testNoFamilyFactsMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchHomme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsFemale(): void { @@ -126,8 +118,6 @@ public function testNoFamilyFactsFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchHomme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadMale(): void { @@ -140,10 +130,7 @@ public function testSpouseDeadMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -165,8 +152,6 @@ public function testSpouseDeadMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchHomme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadFemale(): void { @@ -179,10 +164,7 @@ public function testSpouseDeadFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -204,8 +186,6 @@ public function testSpouseDeadFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchHomme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedMale(): void { @@ -229,8 +209,6 @@ public function testNoFamilyUnmarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchHomme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedFemale(): void { @@ -254,8 +232,6 @@ public function testNoFamilyUnmarriedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchHomme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildMale(): void { @@ -279,8 +255,6 @@ public function testChildMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchHomme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildFemale(): void { @@ -304,8 +278,6 @@ public function testChildFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchHomme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedMale(): void { @@ -315,10 +287,7 @@ public function testDivorcedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturn( new Collection([$fact]), new Collection([$fact]) @@ -339,8 +308,6 @@ public function testDivorcedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchHomme * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedFemale(): void { @@ -350,10 +317,7 @@ public function testDivorcedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturn( new Collection([$fact]), new Collection([$fact]) diff --git a/tests/app/Census/CensusColumnConditionFrenchVeufTest.php b/tests/app/Census/CensusColumnConditionFrenchVeufTest.php index 983b8580fc7..cca1c20ee90 100644 --- a/tests/app/Census/CensusColumnConditionFrenchVeufTest.php +++ b/tests/app/Census/CensusColumnConditionFrenchVeufTest.php @@ -34,8 +34,6 @@ class CensusColumnConditionFrenchVeufTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuf * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesMale(): void { @@ -55,8 +53,6 @@ public function testNoSpouseFamiliesMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuf * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesFemale(): void { @@ -76,8 +72,6 @@ public function testNoSpouseFamiliesFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuf * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsMale(): void { @@ -101,8 +95,6 @@ public function testNoFamilyFactsMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuf * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsFemale(): void { @@ -126,8 +118,6 @@ public function testNoFamilyFactsFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuf * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadMale(): void { @@ -140,10 +130,7 @@ public function testSpouseDeadMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -165,8 +152,6 @@ public function testSpouseDeadMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuf * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadFemale(): void { @@ -179,10 +164,7 @@ public function testSpouseDeadFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -204,8 +186,6 @@ public function testSpouseDeadFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuf * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedMale(): void { @@ -229,8 +209,6 @@ public function testNoFamilyUnmarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuf * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedFemale(): void { @@ -254,8 +232,6 @@ public function testNoFamilyUnmarriedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuf * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildMale(): void { @@ -279,8 +255,6 @@ public function testChildMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuf * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildFemale(): void { @@ -304,8 +278,6 @@ public function testChildFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuf * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedMale(): void { @@ -315,10 +287,7 @@ public function testDivorcedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturn( new Collection([$fact]), new Collection([$fact]) @@ -339,8 +308,6 @@ public function testDivorcedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuf * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedFemale(): void { @@ -350,10 +317,7 @@ public function testDivorcedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturn( new Collection([$fact]), new Collection([$fact]) diff --git a/tests/app/Census/CensusColumnConditionFrenchVeuveTest.php b/tests/app/Census/CensusColumnConditionFrenchVeuveTest.php index 43c7a19ecea..42660264bfc 100644 --- a/tests/app/Census/CensusColumnConditionFrenchVeuveTest.php +++ b/tests/app/Census/CensusColumnConditionFrenchVeuveTest.php @@ -34,8 +34,6 @@ class CensusColumnConditionFrenchVeuveTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuve * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesMale(): void { @@ -55,8 +53,6 @@ public function testNoSpouseFamiliesMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuve * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesFemale(): void { @@ -76,8 +72,6 @@ public function testNoSpouseFamiliesFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuve * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsMale(): void { @@ -101,8 +95,6 @@ public function testNoFamilyFactsMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuve * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsFemale(): void { @@ -126,8 +118,6 @@ public function testNoFamilyFactsFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuve * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadMale(): void { @@ -141,10 +131,7 @@ public function testSpouseDeadMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -166,8 +153,6 @@ public function testSpouseDeadMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuve * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadFemale(): void { @@ -181,10 +166,7 @@ public function testSpouseDeadFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -206,8 +188,6 @@ public function testSpouseDeadFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuve * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedMale(): void { @@ -231,8 +211,6 @@ public function testNoFamilyUnmarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuve * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedFemale(): void { @@ -256,8 +234,6 @@ public function testNoFamilyUnmarriedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuve * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildMale(): void { @@ -281,8 +257,6 @@ public function testChildMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuve * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildFemale(): void { @@ -306,8 +280,6 @@ public function testChildFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuve * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedMale(): void { @@ -318,10 +290,7 @@ public function testDivorcedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturn( new Collection([$fact]), new Collection([$fact]) @@ -342,8 +311,6 @@ public function testDivorcedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchVeuve * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedFemale(): void { @@ -354,10 +321,7 @@ public function testDivorcedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturn( new Collection([$fact]), new Collection([$fact]) diff --git a/tests/app/Census/CensusColumnConditionUsTest.php b/tests/app/Census/CensusColumnConditionUsTest.php index 86d0822405d..4b332347990 100644 --- a/tests/app/Census/CensusColumnConditionUsTest.php +++ b/tests/app/Census/CensusColumnConditionUsTest.php @@ -34,8 +34,6 @@ class CensusColumnConditionUsTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionUs * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesMale(): void { @@ -55,8 +53,6 @@ public function testNoSpouseFamiliesMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionUs * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoSpouseFamiliesFemale(): void { @@ -76,8 +72,6 @@ public function testNoSpouseFamiliesFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionUs * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsMale(): void { @@ -101,8 +95,6 @@ public function testNoFamilyFactsMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionUs * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyFactsFemale(): void { @@ -126,8 +118,6 @@ public function testNoFamilyFactsFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionUs * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadMale(): void { @@ -140,10 +130,7 @@ public function testSpouseDeadMale(): void $family->expects(self::once())->method('getMarriageDate')->willReturn(new Date('')); $family->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -165,8 +152,6 @@ public function testSpouseDeadMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionUs * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testSpouseDeadFemale(): void { @@ -180,10 +165,7 @@ public function testSpouseDeadFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - ) + ->with(self::withConsecutive([['MARR'], ['DIV']])) ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() @@ -205,8 +187,6 @@ public function testSpouseDeadFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionUs * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedMale(): void { @@ -230,8 +210,6 @@ public function testNoFamilyUnmarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionUs * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testNoFamilyUnmarriedFemale(): void { @@ -255,8 +233,6 @@ public function testNoFamilyUnmarriedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionUs * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildMale(): void { @@ -280,8 +256,6 @@ public function testChildMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionUs * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testChildFemale(): void { @@ -305,8 +279,6 @@ public function testChildFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionUs * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedMale(): void { @@ -317,10 +289,8 @@ public function testDivorcedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection([$fact]) ); @@ -340,8 +310,6 @@ public function testDivorcedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionUs * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testDivorcedFemale(): void { @@ -352,10 +320,8 @@ public function testDivorcedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection([$fact]) ); @@ -375,8 +341,6 @@ public function testDivorcedFemale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionUs * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testMarriedMale(): void { @@ -387,10 +351,8 @@ public function testMarriedMale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() ); @@ -410,8 +372,6 @@ public function testMarriedMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionUs * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition - * - * @return void */ public function testMarriedFemale(): void { @@ -422,10 +382,8 @@ public function testMarriedFemale(): void $family ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['MARR']], - [['DIV']] - )->willReturnOnConsecutiveCalls( + ->with(self::withConsecutive([['MARR'], ['DIV']])) + ->willReturnOnConsecutiveCalls( new Collection([$fact]), new Collection() ); diff --git a/tests/app/Census/CensusColumnFatherBirthPlaceSimpleTest.php b/tests/app/Census/CensusColumnFatherBirthPlaceSimpleTest.php index b72a8e2c754..aa4d2e0c73c 100644 --- a/tests/app/Census/CensusColumnFatherBirthPlaceSimpleTest.php +++ b/tests/app/Census/CensusColumnFatherBirthPlaceSimpleTest.php @@ -30,13 +30,6 @@ */ class CensusColumnFatherBirthPlaceSimpleTest extends TestCase { - /** - * Get place mock. - * - * @param string $place Gedcom Place - * - * @return Place - */ private function getPlaceMock(string $place): Place { $placeParts = explode(', ', $place); @@ -51,8 +44,6 @@ private function getPlaceMock(string $place): Place /** * @covers \Fisharebest\Webtrees\Census\CensusColumnFatherBirthPlaceSimple * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testKnownStateAndTown(): void { diff --git a/tests/app/Census/CensusColumnFatherBirthPlaceTest.php b/tests/app/Census/CensusColumnFatherBirthPlaceTest.php index 9dede691ddb..ed92eabbcdd 100644 --- a/tests/app/Census/CensusColumnFatherBirthPlaceTest.php +++ b/tests/app/Census/CensusColumnFatherBirthPlaceTest.php @@ -30,13 +30,6 @@ */ class CensusColumnFatherBirthPlaceTest extends TestCase { - /** - * Get place mock. - * - * @param string $place Gedcom Place - * - * @return Place - */ private function getPlaceMock(string $place): Place { $placeParts = explode(', ', $place); @@ -51,8 +44,6 @@ private function getPlaceMock(string $place): Place /** * @covers \Fisharebest\Webtrees\Census\CensusColumnFatherBirthPlace * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testSameCountry(): void { @@ -76,8 +67,6 @@ public function testSameCountry(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnFatherBirthPlace * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testDifferentCountry(): void { @@ -101,8 +90,6 @@ public function testDifferentCountry(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnFatherBirthPlace * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testPlaceNoParent(): void { @@ -123,8 +110,6 @@ public function testPlaceNoParent(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnFatherBirthPlace * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testPlaceNoParentFamily(): void { diff --git a/tests/app/Census/CensusColumnFatherForeignTest.php b/tests/app/Census/CensusColumnFatherForeignTest.php index 91ca3fed13b..1f5ab649566 100644 --- a/tests/app/Census/CensusColumnFatherForeignTest.php +++ b/tests/app/Census/CensusColumnFatherForeignTest.php @@ -30,13 +30,6 @@ */ class CensusColumnFatherForeignTest extends TestCase { - /** - * Get place mock. - * - * @param string $place Gedcom Place - * - * @return Place - */ private function getPlaceMock(string $place): Place { $placeMock = $this->createMock(Place::class); @@ -48,8 +41,6 @@ private function getPlaceMock(string $place): Place /** * @covers \Fisharebest\Webtrees\Census\CensusColumnFatherForeign * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testSameCountry(): void { @@ -73,8 +64,6 @@ public function testSameCountry(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnFatherForeign * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testDifferentCountry(): void { @@ -98,8 +87,6 @@ public function testDifferentCountry(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnFatherForeign * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testPlaceNoParent(): void { @@ -120,8 +107,6 @@ public function testPlaceNoParent(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnFatherForeign * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testPlaceNoParentFamily(): void { diff --git a/tests/app/Census/CensusColumnFullNameTest.php b/tests/app/Census/CensusColumnFullNameTest.php index 4a101896755..e53f5121d1a 100644 --- a/tests/app/Census/CensusColumnFullNameTest.php +++ b/tests/app/Census/CensusColumnFullNameTest.php @@ -34,8 +34,6 @@ class CensusColumnFullNameTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnFullName * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function xxxtestFullName(): void { @@ -54,8 +52,6 @@ public function xxxtestFullName(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnFullName * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMarriedName(): void { diff --git a/tests/app/Census/CensusColumnGivenNameInitialTest.php b/tests/app/Census/CensusColumnGivenNameInitialTest.php index 900a34e9fc4..8c7297162a3 100644 --- a/tests/app/Census/CensusColumnGivenNameInitialTest.php +++ b/tests/app/Census/CensusColumnGivenNameInitialTest.php @@ -30,8 +30,6 @@ class CensusColumnGivenNameInitialTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnGivenNameInitial * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testOneGivenName(): void { @@ -48,8 +46,6 @@ public function testOneGivenName(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnGivenNameInitial * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMultipleGivenNames(): void { @@ -66,8 +62,6 @@ public function testMultipleGivenNames(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnGivenNameInitial * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNoName(): void { diff --git a/tests/app/Census/CensusColumnGivenNamesTest.php b/tests/app/Census/CensusColumnGivenNamesTest.php index 7433116f00a..1d056e376c2 100644 --- a/tests/app/Census/CensusColumnGivenNamesTest.php +++ b/tests/app/Census/CensusColumnGivenNamesTest.php @@ -30,8 +30,6 @@ class CensusColumnGivenNamesTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnGivenNames * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testGivenNames(): void { @@ -48,8 +46,6 @@ public function testGivenNames(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnGivenNames * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNoName(): void { diff --git a/tests/app/Census/CensusColumnMarriedWithinYearTest.php b/tests/app/Census/CensusColumnMarriedWithinYearTest.php index 0b9455d4f6b..34f7cbc8c53 100644 --- a/tests/app/Census/CensusColumnMarriedWithinYearTest.php +++ b/tests/app/Census/CensusColumnMarriedWithinYearTest.php @@ -34,8 +34,6 @@ class CensusColumnMarriedWithinYearTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMarriedWithinYear * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMarriedWithinYear(): void { @@ -59,8 +57,6 @@ public function testMarriedWithinYear(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMarriedWithinYear * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMarriedOverYearBeforeTheCensus(): void { @@ -84,8 +80,6 @@ public function testMarriedOverYearBeforeTheCensus(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMarriedWithinYear * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMarriedAfterTheCensus(): void { @@ -109,8 +103,6 @@ public function testMarriedAfterTheCensus(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMarriedWithinYear * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNoMarriage(): void { @@ -131,8 +123,6 @@ public function testNoMarriage(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMarriedWithinYear * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNoSpouseFamily(): void { diff --git a/tests/app/Census/CensusColumnMonthIfBornWithinYearTest.php b/tests/app/Census/CensusColumnMonthIfBornWithinYearTest.php index 833b385470f..cbd09d14caa 100644 --- a/tests/app/Census/CensusColumnMonthIfBornWithinYearTest.php +++ b/tests/app/Census/CensusColumnMonthIfBornWithinYearTest.php @@ -31,8 +31,6 @@ class CensusColumnMonthIfBornWithinYearTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMonthIfBornWithinYear * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornWithinYear(): void { @@ -50,8 +48,6 @@ public function testBornWithinYear(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMonthIfBornWithinYear * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornOverYearBeforeTheCensus(): void { @@ -69,8 +65,6 @@ public function testBornOverYearBeforeTheCensus(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMonthIfBornWithinYear * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBornAfterTheCensus(): void { @@ -90,8 +84,6 @@ public function testBornAfterTheCensus(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMonthIfBornWithinYear * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNoBirth(): void { diff --git a/tests/app/Census/CensusColumnMonthIfMarriedWithinYearTest.php b/tests/app/Census/CensusColumnMonthIfMarriedWithinYearTest.php index f9c560d36cc..c8b663c6733 100644 --- a/tests/app/Census/CensusColumnMonthIfMarriedWithinYearTest.php +++ b/tests/app/Census/CensusColumnMonthIfMarriedWithinYearTest.php @@ -34,8 +34,6 @@ class CensusColumnMonthIfMarriedWithinYearTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMonthIfMarriedWithinYear * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMarriedWithinYear(): void { @@ -59,8 +57,6 @@ public function testMarriedWithinYear(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMonthIfMarriedWithinYear * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMarriedOverYearBeforeTheCensus(): void { @@ -84,8 +80,6 @@ public function testMarriedOverYearBeforeTheCensus(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMonthIfMarriedWithinYear * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMarriedAfterTheCensus(): void { @@ -109,8 +103,6 @@ public function testMarriedAfterTheCensus(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMonthIfMarriedWithinYear * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNoMarriage(): void { @@ -131,8 +123,6 @@ public function testNoMarriage(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMonthIfMarriedWithinYear * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNoSpouseFamily(): void { diff --git a/tests/app/Census/CensusColumnMotherBirthPlaceSimpleTest.php b/tests/app/Census/CensusColumnMotherBirthPlaceSimpleTest.php index bfd71afda7e..4c62799e385 100644 --- a/tests/app/Census/CensusColumnMotherBirthPlaceSimpleTest.php +++ b/tests/app/Census/CensusColumnMotherBirthPlaceSimpleTest.php @@ -30,13 +30,6 @@ */ class CensusColumnMotherBirthPlaceSimpleTest extends TestCase { - /** - * Get place mock. - * - * @param string $place Gedcom Place - * - * @return Place - */ private function getPlaceMock(string $place): Place { $placeParts = explode(', ', $place); @@ -51,8 +44,6 @@ private function getPlaceMock(string $place): Place /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMotherBirthPlaceSimple * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testKnownStateAndTown(): void { diff --git a/tests/app/Census/CensusColumnMotherBirthPlaceTest.php b/tests/app/Census/CensusColumnMotherBirthPlaceTest.php index 952591c6b05..198b5657620 100644 --- a/tests/app/Census/CensusColumnMotherBirthPlaceTest.php +++ b/tests/app/Census/CensusColumnMotherBirthPlaceTest.php @@ -30,13 +30,6 @@ */ class CensusColumnMotherBirthPlaceTest extends TestCase { - /** - * Get place mock. - * - * @param string $place Gedcom Place - * - * @return Place - */ private function getPlaceMock(string $place): Place { $placeParts = explode(', ', $place); @@ -51,8 +44,6 @@ private function getPlaceMock(string $place): Place /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMotherBirthPlace * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testSameCountry(): void { @@ -76,8 +67,6 @@ public function testSameCountry(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMotherBirthPlace * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testDifferentCountry(): void { @@ -101,8 +90,6 @@ public function testDifferentCountry(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMotherBirthPlace * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testPlaceNoParent(): void { @@ -123,8 +110,6 @@ public function testPlaceNoParent(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMotherBirthPlace * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testPlaceNoParentFamily(): void { diff --git a/tests/app/Census/CensusColumnMotherForeignTest.php b/tests/app/Census/CensusColumnMotherForeignTest.php index b46601695e1..74b03e8d44d 100644 --- a/tests/app/Census/CensusColumnMotherForeignTest.php +++ b/tests/app/Census/CensusColumnMotherForeignTest.php @@ -30,13 +30,6 @@ */ class CensusColumnMotherForeignTest extends TestCase { - /** - * Get place mock. - * - * @param string $place Gedcom Place - * - * @return Place - */ private function getPlaceMock(string $place): Place { $placeMock = $this->createMock(Place::class); @@ -48,8 +41,6 @@ private function getPlaceMock(string $place): Place /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMotherForeign * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testSameCountry(): void { @@ -73,8 +64,6 @@ public function testSameCountry(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMotherForeign * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testDifferentCountry(): void { @@ -98,8 +87,6 @@ public function testDifferentCountry(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMotherForeign * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testPlaceNoParent(): void { @@ -120,8 +107,6 @@ public function testPlaceNoParent(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnMotherForeign * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testPlaceNoParentFamily(): void { diff --git a/tests/app/Census/CensusColumnNationalityTest.php b/tests/app/Census/CensusColumnNationalityTest.php index 636afa5c616..cd5457d2e12 100644 --- a/tests/app/Census/CensusColumnNationalityTest.php +++ b/tests/app/Census/CensusColumnNationalityTest.php @@ -31,13 +31,6 @@ */ class CensusColumnNationalityTest extends TestCase { - /** - * Get place mock. - * - * @param string $place Gedcom Place - * - * @return Place - */ private function getPlaceMock(string $place): Place { $placeMock = $this->createMock(Place::class); @@ -49,8 +42,6 @@ private function getPlaceMock(string $place): Place /** * @covers \Fisharebest\Webtrees\Census\CensusColumnNationality * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNoBirthPlace(): void { @@ -69,8 +60,6 @@ public function testNoBirthPlace(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnNationality * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testPlaceCountry(): void { @@ -89,8 +78,6 @@ public function testPlaceCountry(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnNationality * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testBritish(): void { @@ -109,8 +96,6 @@ public function testBritish(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnNationality * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testEmigrated(): void { diff --git a/tests/app/Census/CensusColumnNullTest.php b/tests/app/Census/CensusColumnNullTest.php index a41440a7741..ec833707495 100644 --- a/tests/app/Census/CensusColumnNullTest.php +++ b/tests/app/Census/CensusColumnNullTest.php @@ -30,8 +30,6 @@ class CensusColumnNullTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnNull * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNull(): void { diff --git a/tests/app/Census/CensusColumnOccupationTest.php b/tests/app/Census/CensusColumnOccupationTest.php index c8930d4a355..f80bf27f3ee 100644 --- a/tests/app/Census/CensusColumnOccupationTest.php +++ b/tests/app/Census/CensusColumnOccupationTest.php @@ -32,8 +32,6 @@ class CensusColumnOccupationTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnOccupation * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNoOccupation(): void { @@ -50,8 +48,6 @@ public function testNoOccupation(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnOccupation * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testOccupation(): void { diff --git a/tests/app/Census/CensusColumnRelationToHeadEnglishTest.php b/tests/app/Census/CensusColumnRelationToHeadEnglishTest.php index 79284721b0c..a7d7e058ea8 100644 --- a/tests/app/Census/CensusColumnRelationToHeadEnglishTest.php +++ b/tests/app/Census/CensusColumnRelationToHeadEnglishTest.php @@ -31,8 +31,6 @@ class CensusColumnRelationToHeadEnglishTest extends TestCase * @covers \Fisharebest\Webtrees\Census\CensusColumnRelationToHeadEnglish * @covers \Fisharebest\Webtrees\Census\CensusColumnRelationToHead * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNull(): void { diff --git a/tests/app/Census/CensusColumnRelationToHeadGermanTest.php b/tests/app/Census/CensusColumnRelationToHeadGermanTest.php index 9099cb8e383..cdeb045e183 100644 --- a/tests/app/Census/CensusColumnRelationToHeadGermanTest.php +++ b/tests/app/Census/CensusColumnRelationToHeadGermanTest.php @@ -31,8 +31,6 @@ class CensusColumnRelationToHeadGermanTest extends TestCase * @covers \Fisharebest\Webtrees\Census\CensusColumnRelationToHeadGerman * @covers \Fisharebest\Webtrees\Census\CensusColumnRelationToHead * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNull(): void { diff --git a/tests/app/Census/CensusColumnRelationToHeadTest.php b/tests/app/Census/CensusColumnRelationToHeadTest.php index 227e191b8a9..dc36ae397da 100644 --- a/tests/app/Census/CensusColumnRelationToHeadTest.php +++ b/tests/app/Census/CensusColumnRelationToHeadTest.php @@ -30,8 +30,6 @@ class CensusColumnRelationToHeadTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnRelationToHead * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNull(): void { diff --git a/tests/app/Census/CensusColumnReligionTest.php b/tests/app/Census/CensusColumnReligionTest.php index 8a57f58c26e..3834a11a44e 100644 --- a/tests/app/Census/CensusColumnReligionTest.php +++ b/tests/app/Census/CensusColumnReligionTest.php @@ -32,7 +32,6 @@ class CensusColumnReligionTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnReligion * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * @return void */ public function testNoReligion(): void { @@ -40,7 +39,7 @@ public function testNoReligion(): void $individual ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive([['RELI']], []) + ->with(self::withConsecutive([['RELI'], []])) ->willReturnOnConsecutiveCalls(new Collection(), new Collection()); $census = $this->createMock(CensusInterface::class); @@ -53,7 +52,6 @@ public function testNoReligion(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnReligion * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * @return void */ public function testRecordReligion(): void { @@ -72,7 +70,6 @@ public function testRecordReligion(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnReligion * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * @return void */ public function testEventReligion(): void { @@ -82,10 +79,7 @@ public function testEventReligion(): void $individual ->expects(self::exactly(2)) ->method('facts') - ->withConsecutive( - [['RELI']], - [] - ) + ->with(self::withConsecutive([['RELI'], []])) ->willReturnOnConsecutiveCalls( new Collection(), new Collection([$fact]) diff --git a/tests/app/Census/CensusColumnSexFTest.php b/tests/app/Census/CensusColumnSexFTest.php index 4e86c9ff8a7..9cf3a83a8d2 100644 --- a/tests/app/Census/CensusColumnSexFTest.php +++ b/tests/app/Census/CensusColumnSexFTest.php @@ -33,8 +33,6 @@ class CensusColumnSexFTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSexF * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMale(): void { @@ -51,8 +49,6 @@ public function testMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSexF * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testFeale(): void { @@ -69,8 +65,6 @@ public function testFeale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSexF * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testUnknownSex(): void { diff --git a/tests/app/Census/CensusColumnSexMFTest.php b/tests/app/Census/CensusColumnSexMFTest.php index e63b93f24ff..6f1e9e6214a 100644 --- a/tests/app/Census/CensusColumnSexMFTest.php +++ b/tests/app/Census/CensusColumnSexMFTest.php @@ -30,8 +30,6 @@ class CensusColumnSexMFTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSexMF * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMale(): void { @@ -48,8 +46,6 @@ public function testMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSexMF * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testFeale(): void { @@ -66,8 +62,6 @@ public function testFeale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSexMF * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testUnknownSex(): void { diff --git a/tests/app/Census/CensusColumnSexMKTest.php b/tests/app/Census/CensusColumnSexMKTest.php index 997082daa5f..980a630a224 100644 --- a/tests/app/Census/CensusColumnSexMKTest.php +++ b/tests/app/Census/CensusColumnSexMKTest.php @@ -30,8 +30,6 @@ class CensusColumnSexMKTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSexMK * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMale(): void { @@ -48,8 +46,6 @@ public function testMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSexMK * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testFeale(): void { @@ -66,8 +62,6 @@ public function testFeale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSexMK * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testUnknownSex(): void { diff --git a/tests/app/Census/CensusColumnSexMTest.php b/tests/app/Census/CensusColumnSexMTest.php index 33a22ebde6f..284a0e0312d 100644 --- a/tests/app/Census/CensusColumnSexMTest.php +++ b/tests/app/Census/CensusColumnSexMTest.php @@ -33,8 +33,6 @@ class CensusColumnSexMTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSexM * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMale(): void { @@ -51,8 +49,6 @@ public function testMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSexM * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testFeale(): void { @@ -69,8 +65,6 @@ public function testFeale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSexM * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testUnknownSex(): void { diff --git a/tests/app/Census/CensusColumnSexMZTest.php b/tests/app/Census/CensusColumnSexMZTest.php index e1a9eb17f8a..9efb81010ee 100644 --- a/tests/app/Census/CensusColumnSexMZTest.php +++ b/tests/app/Census/CensusColumnSexMZTest.php @@ -30,8 +30,6 @@ class CensusColumnSexMZTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSexMZ * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMale(): void { @@ -48,8 +46,6 @@ public function testMale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSexMZ * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testFeale(): void { @@ -66,8 +62,6 @@ public function testFeale(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSexMZ * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testUnknownSex(): void { diff --git a/tests/app/Census/CensusColumnSurnameGivenNameInitialTest.php b/tests/app/Census/CensusColumnSurnameGivenNameInitialTest.php index 89d2f7ee1d7..9a6448b58ec 100644 --- a/tests/app/Census/CensusColumnSurnameGivenNameInitialTest.php +++ b/tests/app/Census/CensusColumnSurnameGivenNameInitialTest.php @@ -31,8 +31,6 @@ class CensusColumnSurnameGivenNameInitialTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSurnameGivenNameInitial * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testOneGivenName(): void { @@ -56,8 +54,6 @@ public function testOneGivenName(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSurnameGivenNameInitial * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMultipleGivenNames(): void { diff --git a/tests/app/Census/CensusColumnSurnameGivenNamesTest.php b/tests/app/Census/CensusColumnSurnameGivenNamesTest.php index 42f84d79c1f..e433db24d8d 100644 --- a/tests/app/Census/CensusColumnSurnameGivenNamesTest.php +++ b/tests/app/Census/CensusColumnSurnameGivenNamesTest.php @@ -31,8 +31,6 @@ class CensusColumnSurnameGivenNamesTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSurnameGivenNames * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testOneGivenName(): void { @@ -56,8 +54,6 @@ public function testOneGivenName(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSurnameGivenNames * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMultipleGivenNames(): void { @@ -81,8 +77,6 @@ public function testMultipleGivenNames(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSurnameGivenNames * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNoName(): void { diff --git a/tests/app/Census/CensusColumnSurnameTest.php b/tests/app/Census/CensusColumnSurnameTest.php index 072381d6b40..f826eb1a4ef 100644 --- a/tests/app/Census/CensusColumnSurnameTest.php +++ b/tests/app/Census/CensusColumnSurnameTest.php @@ -30,8 +30,6 @@ class CensusColumnSurnameTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSurname * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testSurname(): void { @@ -48,8 +46,6 @@ public function testSurname(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnSurname * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNoName(): void { diff --git a/tests/app/Census/CensusColumnYearsMarriedTest.php b/tests/app/Census/CensusColumnYearsMarriedTest.php index b92a7c6e3b5..e09b20ba944 100644 --- a/tests/app/Census/CensusColumnYearsMarriedTest.php +++ b/tests/app/Census/CensusColumnYearsMarriedTest.php @@ -34,8 +34,6 @@ class CensusColumnYearsMarriedTest extends TestCase /** * @covers \Fisharebest\Webtrees\Census\CensusColumnYearsMarried * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNoSpouseFamily(): void { @@ -53,8 +51,6 @@ public function testNoSpouseFamily(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnYearsMarried * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testNoMarriage(): void { @@ -75,8 +71,6 @@ public function testNoMarriage(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnYearsMarried * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testUndatedMarriage(): void { @@ -100,8 +94,6 @@ public function testUndatedMarriage(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnYearsMarried * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMarriageAfterCensus(): void { @@ -125,8 +117,6 @@ public function testMarriageAfterCensus(): void /** * @covers \Fisharebest\Webtrees\Census\CensusColumnYearsMarried * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testMarriageBeforeCensus(): void { diff --git a/tests/app/Census/CensusOfCanada1851Test.php b/tests/app/Census/CensusOfCanada1851Test.php index 0f860b7dfca..d5ff2247165 100644 --- a/tests/app/Census/CensusOfCanada1851Test.php +++ b/tests/app/Census/CensusOfCanada1851Test.php @@ -30,8 +30,6 @@ class CensusOfCanada1851Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada1851 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada1851 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfCanada1861Test.php b/tests/app/Census/CensusOfCanada1861Test.php index b52cfcd6e2f..d19442ee271 100644 --- a/tests/app/Census/CensusOfCanada1861Test.php +++ b/tests/app/Census/CensusOfCanada1861Test.php @@ -30,8 +30,6 @@ class CensusOfCanada1861Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada1861 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada1861 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfCanada1871Test.php b/tests/app/Census/CensusOfCanada1871Test.php index 40b08855f87..16273643633 100644 --- a/tests/app/Census/CensusOfCanada1871Test.php +++ b/tests/app/Census/CensusOfCanada1871Test.php @@ -30,8 +30,6 @@ class CensusOfCanada1871Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada1871 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada1871 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfCanada1881Test.php b/tests/app/Census/CensusOfCanada1881Test.php index 0b943556ff2..5da66a635a8 100644 --- a/tests/app/Census/CensusOfCanada1881Test.php +++ b/tests/app/Census/CensusOfCanada1881Test.php @@ -30,8 +30,6 @@ class CensusOfCanada1881Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada1881 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada1881 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfCanada1891Test.php b/tests/app/Census/CensusOfCanada1891Test.php index 475d49655c8..a5a6983777c 100644 --- a/tests/app/Census/CensusOfCanada1891Test.php +++ b/tests/app/Census/CensusOfCanada1891Test.php @@ -30,8 +30,6 @@ class CensusOfCanada1891Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada1891 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada1891 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfCanada1901Test.php b/tests/app/Census/CensusOfCanada1901Test.php index 63c13b0a4d3..2bc5de91843 100644 --- a/tests/app/Census/CensusOfCanada1901Test.php +++ b/tests/app/Census/CensusOfCanada1901Test.php @@ -30,8 +30,6 @@ class CensusOfCanada1901Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada1901 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada1901 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfCanada1911Test.php b/tests/app/Census/CensusOfCanada1911Test.php index 0b112ee7726..cdbca10b38c 100644 --- a/tests/app/Census/CensusOfCanada1911Test.php +++ b/tests/app/Census/CensusOfCanada1911Test.php @@ -30,8 +30,6 @@ class CensusOfCanada1911Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada1911 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada1911 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfCanada1921Test.php b/tests/app/Census/CensusOfCanada1921Test.php index b2c51684f77..19a4801590e 100644 --- a/tests/app/Census/CensusOfCanada1921Test.php +++ b/tests/app/Census/CensusOfCanada1921Test.php @@ -30,8 +30,6 @@ class CensusOfCanada1921Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada1921 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada1921 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfCanada1931Test.php b/tests/app/Census/CensusOfCanada1931Test.php index 2f04ce2adec..4aaca439a61 100644 --- a/tests/app/Census/CensusOfCanada1931Test.php +++ b/tests/app/Census/CensusOfCanada1931Test.php @@ -30,8 +30,6 @@ class CensusOfCanada1931Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada1931 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada1931 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfCanadaPraries1916Test.php b/tests/app/Census/CensusOfCanadaPraries1916Test.php index e6f531ff0e4..cce692fc5c9 100644 --- a/tests/app/Census/CensusOfCanadaPraries1916Test.php +++ b/tests/app/Census/CensusOfCanadaPraries1916Test.php @@ -30,8 +30,6 @@ class CensusOfCanadaPraries1916Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfCanadaPraries1916 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfCanadaPraries1916 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfCanadaPraries1926Test.php b/tests/app/Census/CensusOfCanadaPraries1926Test.php index c8799ac6217..63fb65d7f24 100644 --- a/tests/app/Census/CensusOfCanadaPraries1926Test.php +++ b/tests/app/Census/CensusOfCanadaPraries1926Test.php @@ -30,8 +30,6 @@ class CensusOfCanadaPraries1926Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfCanadaPraries1926 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfCanadaPraries1926 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfCanadaTest.php b/tests/app/Census/CensusOfCanadaTest.php index 4112c4bb662..61d6b6b5556 100644 --- a/tests/app/Census/CensusOfCanadaTest.php +++ b/tests/app/Census/CensusOfCanadaTest.php @@ -30,8 +30,6 @@ class CensusOfCanadaTest extends TestCase * Test the census place * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada - * - * @return void */ public function testPlace(): void { @@ -44,8 +42,6 @@ public function testPlace(): void * Test the census language * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada - * - * @return void */ public function testLanguage(): void { @@ -58,8 +54,6 @@ public function testLanguage(): void * Test the census dates * * @covers \Fisharebest\Webtrees\Census\CensusOfCanada - * - * @return void */ public function testAllDates(): void { diff --git a/tests/app/Census/CensusOfCzechRepublic1880Test.php b/tests/app/Census/CensusOfCzechRepublic1880Test.php index 7754d5f3059..789eeb6cc71 100644 --- a/tests/app/Census/CensusOfCzechRepublic1880Test.php +++ b/tests/app/Census/CensusOfCzechRepublic1880Test.php @@ -30,8 +30,6 @@ class CensusOfCzechRepublic1880Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfCzechRepublic1880 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfCzechRepublic1880 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfCzechRepublic1890Test.php b/tests/app/Census/CensusOfCzechRepublic1890Test.php index 18b595e81a1..aed073fd3d8 100644 --- a/tests/app/Census/CensusOfCzechRepublic1890Test.php +++ b/tests/app/Census/CensusOfCzechRepublic1890Test.php @@ -30,8 +30,6 @@ class CensusOfCzechRepublic1890Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfCzechRepublic1890 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfCzechRepublic1890 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfCzechRepublic1900Test.php b/tests/app/Census/CensusOfCzechRepublic1900Test.php index bacb5eeed61..b1df971625b 100644 --- a/tests/app/Census/CensusOfCzechRepublic1900Test.php +++ b/tests/app/Census/CensusOfCzechRepublic1900Test.php @@ -30,8 +30,6 @@ class CensusOfCzechRepublic1900Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfCzechRepublic1900 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfCzechRepublic1900 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfCzechRepublic1910Test.php b/tests/app/Census/CensusOfCzechRepublic1910Test.php index c4a3065130e..5f2a8a8c9c4 100644 --- a/tests/app/Census/CensusOfCzechRepublic1910Test.php +++ b/tests/app/Census/CensusOfCzechRepublic1910Test.php @@ -30,8 +30,6 @@ class CensusOfCzechRepublic1910Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfCzechRepublic1910 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfCzechRepublic1910 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfCzechRepublic1921Test.php b/tests/app/Census/CensusOfCzechRepublic1921Test.php index b7f940e2e9b..b1d8421f88a 100644 --- a/tests/app/Census/CensusOfCzechRepublic1921Test.php +++ b/tests/app/Census/CensusOfCzechRepublic1921Test.php @@ -30,8 +30,6 @@ class CensusOfCzechRepublic1921Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfCzechRepublic1921 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfCzechRepublic1921 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfCzechRepublicTest.php b/tests/app/Census/CensusOfCzechRepublicTest.php index d06c5e2a752..e23f9927621 100644 --- a/tests/app/Census/CensusOfCzechRepublicTest.php +++ b/tests/app/Census/CensusOfCzechRepublicTest.php @@ -30,8 +30,6 @@ class CensusOfCzechRepublicTest extends TestCase * Test the census place * * @covers \Fisharebest\Webtrees\Census\CensusOfCzechRepublic - * - * @return void */ public function testPlace(): void { @@ -44,8 +42,6 @@ public function testPlace(): void * Test the census language * * @covers \Fisharebest\Webtrees\Census\CensusOfCzechRepublic - * - * @return void */ public function testLanguage(): void { @@ -58,8 +54,6 @@ public function testLanguage(): void * Test the census dates * * @covers \Fisharebest\Webtrees\Census\CensusOfCzechRepublic - * - * @return void */ public function testAllDates(): void { diff --git a/tests/app/Census/CensusOfDenmark1787Test.php b/tests/app/Census/CensusOfDenmark1787Test.php index 2030ef5a397..305102a1190 100644 --- a/tests/app/Census/CensusOfDenmark1787Test.php +++ b/tests/app/Census/CensusOfDenmark1787Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1787Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1787 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1787 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1801Test.php b/tests/app/Census/CensusOfDenmark1801Test.php index e5101466ec8..0bb0ca793e3 100644 --- a/tests/app/Census/CensusOfDenmark1801Test.php +++ b/tests/app/Census/CensusOfDenmark1801Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1801Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1801 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1801 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1803Test.php b/tests/app/Census/CensusOfDenmark1803Test.php index a217d5b4c20..26e5b407baa 100644 --- a/tests/app/Census/CensusOfDenmark1803Test.php +++ b/tests/app/Census/CensusOfDenmark1803Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1803Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1803 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1803 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1834Test.php b/tests/app/Census/CensusOfDenmark1834Test.php index 2a435c51e41..0bfca6df6eb 100644 --- a/tests/app/Census/CensusOfDenmark1834Test.php +++ b/tests/app/Census/CensusOfDenmark1834Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1834Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1834 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1834 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1835Test.php b/tests/app/Census/CensusOfDenmark1835Test.php index 34afc14ed61..bb7442dcb3c 100644 --- a/tests/app/Census/CensusOfDenmark1835Test.php +++ b/tests/app/Census/CensusOfDenmark1835Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1835Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1835 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1835 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1840Test.php b/tests/app/Census/CensusOfDenmark1840Test.php index e7a7f7701eb..a72defd7cbe 100644 --- a/tests/app/Census/CensusOfDenmark1840Test.php +++ b/tests/app/Census/CensusOfDenmark1840Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1840Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1840 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1840 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1845Test.php b/tests/app/Census/CensusOfDenmark1845Test.php index a25fcfa0967..850c2b813ff 100644 --- a/tests/app/Census/CensusOfDenmark1845Test.php +++ b/tests/app/Census/CensusOfDenmark1845Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1845Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1845 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1845 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1850Test.php b/tests/app/Census/CensusOfDenmark1850Test.php index c456eb9759d..6b446a4ae50 100644 --- a/tests/app/Census/CensusOfDenmark1850Test.php +++ b/tests/app/Census/CensusOfDenmark1850Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1850Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1850 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1850 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1855Test.php b/tests/app/Census/CensusOfDenmark1855Test.php index 11759db0b75..b6f82f50c06 100644 --- a/tests/app/Census/CensusOfDenmark1855Test.php +++ b/tests/app/Census/CensusOfDenmark1855Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1855Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1855 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1855 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1860Test.php b/tests/app/Census/CensusOfDenmark1860Test.php index f1f9a0e44e0..372e7415aae 100644 --- a/tests/app/Census/CensusOfDenmark1860Test.php +++ b/tests/app/Census/CensusOfDenmark1860Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1860Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1860 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1860 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1870Test.php b/tests/app/Census/CensusOfDenmark1870Test.php index 2298ed7ff3b..e8c3378c3f9 100644 --- a/tests/app/Census/CensusOfDenmark1870Test.php +++ b/tests/app/Census/CensusOfDenmark1870Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1870Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1870 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1870 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1880Test.php b/tests/app/Census/CensusOfDenmark1880Test.php index 7d79db4ce16..6bef3682569 100644 --- a/tests/app/Census/CensusOfDenmark1880Test.php +++ b/tests/app/Census/CensusOfDenmark1880Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1880Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1880 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1880 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1885Test.php b/tests/app/Census/CensusOfDenmark1885Test.php index 89ef68deb1a..a0c838357ec 100644 --- a/tests/app/Census/CensusOfDenmark1885Test.php +++ b/tests/app/Census/CensusOfDenmark1885Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1885Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1885 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1885 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1890Test.php b/tests/app/Census/CensusOfDenmark1890Test.php index 4f868390868..0113325b0dd 100644 --- a/tests/app/Census/CensusOfDenmark1890Test.php +++ b/tests/app/Census/CensusOfDenmark1890Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1890Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1890 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1890 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1901Test.php b/tests/app/Census/CensusOfDenmark1901Test.php index 8a6f219be6c..29af9f4c3d9 100644 --- a/tests/app/Census/CensusOfDenmark1901Test.php +++ b/tests/app/Census/CensusOfDenmark1901Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1901Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1901 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1901 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1906Test.php b/tests/app/Census/CensusOfDenmark1906Test.php index b979e108deb..de14960915a 100644 --- a/tests/app/Census/CensusOfDenmark1906Test.php +++ b/tests/app/Census/CensusOfDenmark1906Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1906Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1906 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1906 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1911Test.php b/tests/app/Census/CensusOfDenmark1911Test.php index 59c11a075f3..d396f9c92c3 100644 --- a/tests/app/Census/CensusOfDenmark1911Test.php +++ b/tests/app/Census/CensusOfDenmark1911Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1911Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1911 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1911 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1916Test.php b/tests/app/Census/CensusOfDenmark1916Test.php index acccd19baa8..4c46172ff7f 100644 --- a/tests/app/Census/CensusOfDenmark1916Test.php +++ b/tests/app/Census/CensusOfDenmark1916Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1916Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1916 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1916 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1921Test.php b/tests/app/Census/CensusOfDenmark1921Test.php index a5e0b61dd2e..0befa1a3d2a 100644 --- a/tests/app/Census/CensusOfDenmark1921Test.php +++ b/tests/app/Census/CensusOfDenmark1921Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1921Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1921 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1921 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1925Test.php b/tests/app/Census/CensusOfDenmark1925Test.php index 30dbfe652ee..9eb13311b34 100644 --- a/tests/app/Census/CensusOfDenmark1925Test.php +++ b/tests/app/Census/CensusOfDenmark1925Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1925Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1925 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1925 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1930Test.php b/tests/app/Census/CensusOfDenmark1930Test.php index b5ba246af00..473f2eb4d82 100644 --- a/tests/app/Census/CensusOfDenmark1930Test.php +++ b/tests/app/Census/CensusOfDenmark1930Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1930Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1930 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1930 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmark1940Test.php b/tests/app/Census/CensusOfDenmark1940Test.php index 2d53c8313ab..4c1505828b5 100644 --- a/tests/app/Census/CensusOfDenmark1940Test.php +++ b/tests/app/Census/CensusOfDenmark1940Test.php @@ -30,8 +30,6 @@ class CensusOfDenmark1940Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1940 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark1940 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDenmarkTest.php b/tests/app/Census/CensusOfDenmarkTest.php index 7d930520181..8db4e786cb3 100644 --- a/tests/app/Census/CensusOfDenmarkTest.php +++ b/tests/app/Census/CensusOfDenmarkTest.php @@ -30,8 +30,6 @@ class CensusOfDenmarkTest extends TestCase * Test the census place * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark - * - * @return void */ public function testPlace(): void { @@ -44,8 +42,6 @@ public function testPlace(): void * Test the census language * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark - * - * @return void */ public function testLanguage(): void { @@ -58,8 +54,6 @@ public function testLanguage(): void * Test the census dates * * @covers \Fisharebest\Webtrees\Census\CensusOfDenmark - * - * @return void */ public function testAllDates(): void { diff --git a/tests/app/Census/CensusOfDeutschland1819Test.php b/tests/app/Census/CensusOfDeutschland1819Test.php index 69a605cdf4f..880bd28539a 100644 --- a/tests/app/Census/CensusOfDeutschland1819Test.php +++ b/tests/app/Census/CensusOfDeutschland1819Test.php @@ -30,8 +30,6 @@ class CensusOfDeutschland1819Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDeutschland1819 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDeutschland1819 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDeutschland1867Test.php b/tests/app/Census/CensusOfDeutschland1867Test.php index 38940bc4b40..a5a6a7c241f 100644 --- a/tests/app/Census/CensusOfDeutschland1867Test.php +++ b/tests/app/Census/CensusOfDeutschland1867Test.php @@ -30,8 +30,6 @@ class CensusOfDeutschland1867Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDeutschland1867 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDeutschland1867 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDeutschland1900Test.php b/tests/app/Census/CensusOfDeutschland1900Test.php index 33739ffb8ac..89260a955fc 100644 --- a/tests/app/Census/CensusOfDeutschland1900Test.php +++ b/tests/app/Census/CensusOfDeutschland1900Test.php @@ -30,8 +30,6 @@ class CensusOfDeutschland1900Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDeutschland1900 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDeutschland1900 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDeutschland1919Test.php b/tests/app/Census/CensusOfDeutschland1919Test.php index 0777af58da2..ad84ee99c13 100644 --- a/tests/app/Census/CensusOfDeutschland1919Test.php +++ b/tests/app/Census/CensusOfDeutschland1919Test.php @@ -30,8 +30,6 @@ class CensusOfDeutschland1919Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDeutschland1919 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDeutschland1919 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDeutschlandNL1867Test.php b/tests/app/Census/CensusOfDeutschlandNL1867Test.php index ff3a150edb8..bb10a459011 100644 --- a/tests/app/Census/CensusOfDeutschlandNL1867Test.php +++ b/tests/app/Census/CensusOfDeutschlandNL1867Test.php @@ -30,8 +30,6 @@ class CensusOfDeutschlandNL1867Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfDeutschlandNL1867 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfDeutschlandNL1867 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfDeutschlandTest.php b/tests/app/Census/CensusOfDeutschlandTest.php index 61e6fff5724..d1bbb4d2897 100644 --- a/tests/app/Census/CensusOfDeutschlandTest.php +++ b/tests/app/Census/CensusOfDeutschlandTest.php @@ -30,8 +30,6 @@ class CensusOfDeutschlandTest extends TestCase * Test the census place * * @covers \Fisharebest\Webtrees\Census\CensusOfDeutschland - * - * @return void */ public function testPlace(): void { @@ -44,8 +42,6 @@ public function testPlace(): void * Test the census language * * @covers \Fisharebest\Webtrees\Census\CensusOfDeutschland - * - * @return void */ public function testLanguage(): void { @@ -58,8 +54,6 @@ public function testLanguage(): void * Test the census dates * * @covers \Fisharebest\Webtrees\Census\CensusOfDeutschland - * - * @return void */ public function testAllDates(): void { diff --git a/tests/app/Census/CensusOfEngland1841Test.php b/tests/app/Census/CensusOfEngland1841Test.php index 35bb5f76430..ad0d8d381e8 100644 --- a/tests/app/Census/CensusOfEngland1841Test.php +++ b/tests/app/Census/CensusOfEngland1841Test.php @@ -30,8 +30,6 @@ class CensusOfEngland1841Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfEngland1841 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfEngland1841 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfEngland1851Test.php b/tests/app/Census/CensusOfEngland1851Test.php index 398e1536641..09580191115 100644 --- a/tests/app/Census/CensusOfEngland1851Test.php +++ b/tests/app/Census/CensusOfEngland1851Test.php @@ -30,8 +30,6 @@ class CensusOfEngland1851Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfEngland1851 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfEngland1851 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfEngland1861Test.php b/tests/app/Census/CensusOfEngland1861Test.php index 0cb962a956a..f7ff268f48a 100644 --- a/tests/app/Census/CensusOfEngland1861Test.php +++ b/tests/app/Census/CensusOfEngland1861Test.php @@ -30,8 +30,6 @@ class CensusOfEngland1861Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfEngland1861 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfEngland1861 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfEngland1871Test.php b/tests/app/Census/CensusOfEngland1871Test.php index 4baf1d2513e..39c541dee24 100644 --- a/tests/app/Census/CensusOfEngland1871Test.php +++ b/tests/app/Census/CensusOfEngland1871Test.php @@ -30,8 +30,6 @@ class CensusOfEngland1871Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfEngland1871 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfEngland1871 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfEngland1881Test.php b/tests/app/Census/CensusOfEngland1881Test.php index 2c821176189..89427b5c215 100644 --- a/tests/app/Census/CensusOfEngland1881Test.php +++ b/tests/app/Census/CensusOfEngland1881Test.php @@ -30,8 +30,6 @@ class CensusOfEngland1881Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfEngland1881 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfEngland1881 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfEngland1891Test.php b/tests/app/Census/CensusOfEngland1891Test.php index b2354c4d4df..ee3e7d4947b 100644 --- a/tests/app/Census/CensusOfEngland1891Test.php +++ b/tests/app/Census/CensusOfEngland1891Test.php @@ -30,8 +30,6 @@ class CensusOfEngland1891Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfEngland1891 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfEngland1891 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfEngland1901Test.php b/tests/app/Census/CensusOfEngland1901Test.php index ff8a19a7aed..42a6eee031f 100644 --- a/tests/app/Census/CensusOfEngland1901Test.php +++ b/tests/app/Census/CensusOfEngland1901Test.php @@ -30,8 +30,6 @@ class CensusOfEngland1901Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfEngland1901 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfEngland1901 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfEngland1911Test.php b/tests/app/Census/CensusOfEngland1911Test.php index 70ee88a22e4..40316cee30e 100644 --- a/tests/app/Census/CensusOfEngland1911Test.php +++ b/tests/app/Census/CensusOfEngland1911Test.php @@ -30,8 +30,6 @@ class CensusOfEngland1911Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfEngland1911 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfEngland1911 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfEnglandTest.php b/tests/app/Census/CensusOfEnglandTest.php index 378d3fb7571..b898c4892ff 100644 --- a/tests/app/Census/CensusOfEnglandTest.php +++ b/tests/app/Census/CensusOfEnglandTest.php @@ -30,8 +30,6 @@ class CensusOfEnglandTest extends TestCase * Test the census place * * @covers \Fisharebest\Webtrees\Census\CensusOfEngland - * - * @return void */ public function testPlace(): void { @@ -44,8 +42,6 @@ public function testPlace(): void * Test the census language * * @covers \Fisharebest\Webtrees\Census\CensusOfEngland - * - * @return void */ public function testLanguage(): void { @@ -58,8 +54,6 @@ public function testLanguage(): void * Test the census dates * * @covers \Fisharebest\Webtrees\Census\CensusOfEngland - * - * @return void */ public function testAllDates(): void { diff --git a/tests/app/Census/CensusOfFrance1831Test.php b/tests/app/Census/CensusOfFrance1831Test.php index d9ef8ef5d70..417bd70edba 100644 --- a/tests/app/Census/CensusOfFrance1831Test.php +++ b/tests/app/Census/CensusOfFrance1831Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1831Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1831 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1831 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1836Test.php b/tests/app/Census/CensusOfFrance1836Test.php index 6f45a115f63..019b3860cfc 100644 --- a/tests/app/Census/CensusOfFrance1836Test.php +++ b/tests/app/Census/CensusOfFrance1836Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1836Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1836 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1836 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1841Test.php b/tests/app/Census/CensusOfFrance1841Test.php index 7bc71a9ec97..ffe392bd455 100644 --- a/tests/app/Census/CensusOfFrance1841Test.php +++ b/tests/app/Census/CensusOfFrance1841Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1841Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1841 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1841 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1846Test.php b/tests/app/Census/CensusOfFrance1846Test.php index 0b94b81a026..679b0aea91a 100644 --- a/tests/app/Census/CensusOfFrance1846Test.php +++ b/tests/app/Census/CensusOfFrance1846Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1846Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1846 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1846 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1851Test.php b/tests/app/Census/CensusOfFrance1851Test.php index 98cd3aea15f..aa84c2295ea 100644 --- a/tests/app/Census/CensusOfFrance1851Test.php +++ b/tests/app/Census/CensusOfFrance1851Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1851Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1851 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1851 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1856Test.php b/tests/app/Census/CensusOfFrance1856Test.php index 5e5b10b59ad..b260eea86dc 100644 --- a/tests/app/Census/CensusOfFrance1856Test.php +++ b/tests/app/Census/CensusOfFrance1856Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1856Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1856 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1856 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1861Test.php b/tests/app/Census/CensusOfFrance1861Test.php index 7ee070deff7..e03f7e0b71b 100644 --- a/tests/app/Census/CensusOfFrance1861Test.php +++ b/tests/app/Census/CensusOfFrance1861Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1861Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1861 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1861 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1866Test.php b/tests/app/Census/CensusOfFrance1866Test.php index 8a2e9ac9a0b..8a1f9d353af 100644 --- a/tests/app/Census/CensusOfFrance1866Test.php +++ b/tests/app/Census/CensusOfFrance1866Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1866Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1866 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1866 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1872Test.php b/tests/app/Census/CensusOfFrance1872Test.php index e4a85e77cca..58d714b3b8f 100644 --- a/tests/app/Census/CensusOfFrance1872Test.php +++ b/tests/app/Census/CensusOfFrance1872Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1872Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1872 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1872 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1876Test.php b/tests/app/Census/CensusOfFrance1876Test.php index ce550eb5a48..13e998a754d 100644 --- a/tests/app/Census/CensusOfFrance1876Test.php +++ b/tests/app/Census/CensusOfFrance1876Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1876Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1876 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1876 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1881Test.php b/tests/app/Census/CensusOfFrance1881Test.php index f24e69b5d02..e756e47c0b9 100644 --- a/tests/app/Census/CensusOfFrance1881Test.php +++ b/tests/app/Census/CensusOfFrance1881Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1881Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1881 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1881 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1886Test.php b/tests/app/Census/CensusOfFrance1886Test.php index 66efbf59124..71c61e4550c 100644 --- a/tests/app/Census/CensusOfFrance1886Test.php +++ b/tests/app/Census/CensusOfFrance1886Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1886Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1886 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1886 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1891Test.php b/tests/app/Census/CensusOfFrance1891Test.php index 086e408bc99..31ed791465e 100644 --- a/tests/app/Census/CensusOfFrance1891Test.php +++ b/tests/app/Census/CensusOfFrance1891Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1891Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1891 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1891 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1896Test.php b/tests/app/Census/CensusOfFrance1896Test.php index a9b784d6c20..060e28375bd 100644 --- a/tests/app/Census/CensusOfFrance1896Test.php +++ b/tests/app/Census/CensusOfFrance1896Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1896Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1896 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1896 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1901Test.php b/tests/app/Census/CensusOfFrance1901Test.php index 36034453537..6d5c24b2e9b 100644 --- a/tests/app/Census/CensusOfFrance1901Test.php +++ b/tests/app/Census/CensusOfFrance1901Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1901Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1901 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1901 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1906Test.php b/tests/app/Census/CensusOfFrance1906Test.php index 9ea3bfaf964..0b2b2b31c2b 100644 --- a/tests/app/Census/CensusOfFrance1906Test.php +++ b/tests/app/Census/CensusOfFrance1906Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1906Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1906 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1906 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1911Test.php b/tests/app/Census/CensusOfFrance1911Test.php index 568496f2487..89524e1a621 100644 --- a/tests/app/Census/CensusOfFrance1911Test.php +++ b/tests/app/Census/CensusOfFrance1911Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1911Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1911 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1911 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1921Test.php b/tests/app/Census/CensusOfFrance1921Test.php index 874fea576d8..366271df6d9 100644 --- a/tests/app/Census/CensusOfFrance1921Test.php +++ b/tests/app/Census/CensusOfFrance1921Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1921Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1921 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1921 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1926Test.php b/tests/app/Census/CensusOfFrance1926Test.php index 059a1c98fa2..b3c66dc25f0 100644 --- a/tests/app/Census/CensusOfFrance1926Test.php +++ b/tests/app/Census/CensusOfFrance1926Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1926Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1926 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1926 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1931Test.php b/tests/app/Census/CensusOfFrance1931Test.php index dd0d6f29bc5..fbc8eec88d7 100644 --- a/tests/app/Census/CensusOfFrance1931Test.php +++ b/tests/app/Census/CensusOfFrance1931Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1931Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1931 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1931 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1936Test.php b/tests/app/Census/CensusOfFrance1936Test.php index bd2e7016e38..9543ca3a248 100644 --- a/tests/app/Census/CensusOfFrance1936Test.php +++ b/tests/app/Census/CensusOfFrance1936Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1936Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1936 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1936 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFrance1946Test.php b/tests/app/Census/CensusOfFrance1946Test.php index c5314942f83..21c9bedd71d 100644 --- a/tests/app/Census/CensusOfFrance1946Test.php +++ b/tests/app/Census/CensusOfFrance1946Test.php @@ -30,8 +30,6 @@ class CensusOfFrance1946Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1946 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance1946 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfFranceTest.php b/tests/app/Census/CensusOfFranceTest.php index bc938c76676..2e12c1ab067 100644 --- a/tests/app/Census/CensusOfFranceTest.php +++ b/tests/app/Census/CensusOfFranceTest.php @@ -30,8 +30,6 @@ class CensusOfFranceTest extends TestCase * Test the census place * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance - * - * @return void */ public function testPlace(): void { @@ -44,8 +42,6 @@ public function testPlace(): void * Test the census language * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance - * - * @return void */ public function testLanguage(): void { @@ -58,8 +54,6 @@ public function testLanguage(): void * Test the census dates * * @covers \Fisharebest\Webtrees\Census\CensusOfFrance - * - * @return void */ public function testAllDates(): void { diff --git a/tests/app/Census/CensusOfRhodeIsland1905Test.php b/tests/app/Census/CensusOfRhodeIsland1905Test.php index 0d22cea363c..5d2a1d3a4cf 100644 --- a/tests/app/Census/CensusOfRhodeIsland1905Test.php +++ b/tests/app/Census/CensusOfRhodeIsland1905Test.php @@ -30,8 +30,6 @@ class CensusOfRhodeIsland1905Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfRhodeIsland1905 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfRhodeIsland1905 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfRhodeIsland1915Test.php b/tests/app/Census/CensusOfRhodeIsland1915Test.php index c0972e52d4d..158a19a5541 100644 --- a/tests/app/Census/CensusOfRhodeIsland1915Test.php +++ b/tests/app/Census/CensusOfRhodeIsland1915Test.php @@ -30,8 +30,6 @@ class CensusOfRhodeIsland1915Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfRhodeIsland1915 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfRhodeIsland1915 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfRhodeIsland1925Test.php b/tests/app/Census/CensusOfRhodeIsland1925Test.php index 49af1e881d7..5b875f36c18 100644 --- a/tests/app/Census/CensusOfRhodeIsland1925Test.php +++ b/tests/app/Census/CensusOfRhodeIsland1925Test.php @@ -30,8 +30,6 @@ class CensusOfRhodeIsland1925Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfRhodeIsland1925 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfRhodeIsland1925 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfRhodeIslandTest.php b/tests/app/Census/CensusOfRhodeIslandTest.php index eb0fe9d2506..9106f476e66 100644 --- a/tests/app/Census/CensusOfRhodeIslandTest.php +++ b/tests/app/Census/CensusOfRhodeIslandTest.php @@ -30,8 +30,6 @@ class CensusOfRhodeIslandTest extends TestCase * Test the census place * * @covers \Fisharebest\Webtrees\Census\CensusOfRhodeIsland - * - * @return void */ public function testPlace(): void { @@ -44,8 +42,6 @@ public function testPlace(): void * Test the census language * * @covers \Fisharebest\Webtrees\Census\CensusOfRhodeIsland - * - * @return void */ public function testLanguage(): void { @@ -58,8 +54,6 @@ public function testLanguage(): void * Test the census dates * * @covers \Fisharebest\Webtrees\Census\CensusOfRhodeIsland - * - * @return void */ public function testAllDates(): void { diff --git a/tests/app/Census/CensusOfScotland1841Test.php b/tests/app/Census/CensusOfScotland1841Test.php index 93f3bee878b..10be0e9646f 100644 --- a/tests/app/Census/CensusOfScotland1841Test.php +++ b/tests/app/Census/CensusOfScotland1841Test.php @@ -30,8 +30,6 @@ class CensusOfScotland1841Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfScotland1841 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfScotland1841 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfScotland1851Test.php b/tests/app/Census/CensusOfScotland1851Test.php index 45dc8015844..a4bdbc55f16 100644 --- a/tests/app/Census/CensusOfScotland1851Test.php +++ b/tests/app/Census/CensusOfScotland1851Test.php @@ -30,8 +30,6 @@ class CensusOfScotland1851Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfScotland1851 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfScotland1851 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfScotland1861Test.php b/tests/app/Census/CensusOfScotland1861Test.php index 94dac4415f7..b32c6e46f4d 100644 --- a/tests/app/Census/CensusOfScotland1861Test.php +++ b/tests/app/Census/CensusOfScotland1861Test.php @@ -30,8 +30,6 @@ class CensusOfScotland1861Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfScotland1861 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfScotland1861 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfScotland1871Test.php b/tests/app/Census/CensusOfScotland1871Test.php index 9d722f4629a..33dafae1e72 100644 --- a/tests/app/Census/CensusOfScotland1871Test.php +++ b/tests/app/Census/CensusOfScotland1871Test.php @@ -30,8 +30,6 @@ class CensusOfScotland1871Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfScotland1871 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfScotland1871 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfScotland1881Test.php b/tests/app/Census/CensusOfScotland1881Test.php index d0d20a9caf7..53d1d888110 100644 --- a/tests/app/Census/CensusOfScotland1881Test.php +++ b/tests/app/Census/CensusOfScotland1881Test.php @@ -30,8 +30,6 @@ class CensusOfScotland1881Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfScotland1881 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfScotland1881 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfScotland1891Test.php b/tests/app/Census/CensusOfScotland1891Test.php index 0e7ee58f2c4..ed15d8c5059 100644 --- a/tests/app/Census/CensusOfScotland1891Test.php +++ b/tests/app/Census/CensusOfScotland1891Test.php @@ -30,8 +30,6 @@ class CensusOfScotland1891Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfScotland1891 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfScotland1891 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfScotland1901Test.php b/tests/app/Census/CensusOfScotland1901Test.php index e771fd04d5a..cddd4e9119a 100644 --- a/tests/app/Census/CensusOfScotland1901Test.php +++ b/tests/app/Census/CensusOfScotland1901Test.php @@ -30,8 +30,6 @@ class CensusOfScotland1901Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfScotland1901 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfScotland1901 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfScotland1911Test.php b/tests/app/Census/CensusOfScotland1911Test.php index 01994b1894e..78b044ecec4 100644 --- a/tests/app/Census/CensusOfScotland1911Test.php +++ b/tests/app/Census/CensusOfScotland1911Test.php @@ -30,8 +30,6 @@ class CensusOfScotland1911Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfScotland1911 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfScotland1911 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfScotlandTest.php b/tests/app/Census/CensusOfScotlandTest.php index efc35061244..9140e21c25a 100644 --- a/tests/app/Census/CensusOfScotlandTest.php +++ b/tests/app/Census/CensusOfScotlandTest.php @@ -30,8 +30,6 @@ class CensusOfScotlandTest extends TestCase * Test the census place * * @covers \Fisharebest\Webtrees\Census\CensusOfScotland - * - * @return void */ public function testPlace(): void { @@ -44,8 +42,6 @@ public function testPlace(): void * Test the census language * * @covers \Fisharebest\Webtrees\Census\CensusOfScotland - * - * @return void */ public function testLanguage(): void { @@ -58,8 +54,6 @@ public function testLanguage(): void * Test the census dates * * @covers \Fisharebest\Webtrees\Census\CensusOfScotland - * - * @return void */ public function testAllDates(): void { diff --git a/tests/app/Census/CensusOfSlovakia1869Test.php b/tests/app/Census/CensusOfSlovakia1869Test.php index 8d6a2cb1cbb..bcab87f4d63 100644 --- a/tests/app/Census/CensusOfSlovakia1869Test.php +++ b/tests/app/Census/CensusOfSlovakia1869Test.php @@ -30,8 +30,6 @@ class CensusOfSlovakia1869Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfSlovakia1869 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfSlovakia1869 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfSlovakia1930Test.php b/tests/app/Census/CensusOfSlovakia1930Test.php index da48cc6cf53..142b07f4f61 100644 --- a/tests/app/Census/CensusOfSlovakia1930Test.php +++ b/tests/app/Census/CensusOfSlovakia1930Test.php @@ -30,8 +30,6 @@ class CensusOfSlovakia1930Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfSlovakia1930 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfSlovakia1930 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfSlovakia1940Test.php b/tests/app/Census/CensusOfSlovakia1940Test.php index a251eea4cc8..b625fb68fae 100644 --- a/tests/app/Census/CensusOfSlovakia1940Test.php +++ b/tests/app/Census/CensusOfSlovakia1940Test.php @@ -30,8 +30,6 @@ class CensusOfSlovakia1940Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfSlovakia1940 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfSlovakia1940 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfSlovakiaTest.php b/tests/app/Census/CensusOfSlovakiaTest.php index 7cc46844ca6..ef3602427b5 100644 --- a/tests/app/Census/CensusOfSlovakiaTest.php +++ b/tests/app/Census/CensusOfSlovakiaTest.php @@ -30,8 +30,6 @@ class CensusOfSlovakiaTest extends TestCase * Test the census place * * @covers \Fisharebest\Webtrees\Census\CensusOfSlovakia - * - * @return void */ public function testPlace(): void { @@ -44,8 +42,6 @@ public function testPlace(): void * Test the census language * * @covers \Fisharebest\Webtrees\Census\CensusOfSlovakia - * - * @return void */ public function testLanguage(): void { @@ -58,8 +54,6 @@ public function testLanguage(): void * Test the census dates * * @covers \Fisharebest\Webtrees\Census\CensusOfSlovakia - * - * @return void */ public function testAllDates(): void { diff --git a/tests/app/Census/CensusOfUnitedStates1790Test.php b/tests/app/Census/CensusOfUnitedStates1790Test.php index 639d595d0a7..00f426f8a58 100644 --- a/tests/app/Census/CensusOfUnitedStates1790Test.php +++ b/tests/app/Census/CensusOfUnitedStates1790Test.php @@ -30,8 +30,6 @@ class CensusOfUnitedStates1790Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1790 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1790 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfUnitedStates1800Test.php b/tests/app/Census/CensusOfUnitedStates1800Test.php index 0b2e5b2213f..1ffa2d97f90 100644 --- a/tests/app/Census/CensusOfUnitedStates1800Test.php +++ b/tests/app/Census/CensusOfUnitedStates1800Test.php @@ -30,8 +30,6 @@ class CensusOfUnitedStates1800Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1800 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1800 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfUnitedStates1810Test.php b/tests/app/Census/CensusOfUnitedStates1810Test.php index e9be1100ea9..1ccd647b342 100644 --- a/tests/app/Census/CensusOfUnitedStates1810Test.php +++ b/tests/app/Census/CensusOfUnitedStates1810Test.php @@ -30,8 +30,6 @@ class CensusOfUnitedStates1810Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1810 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1810 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfUnitedStates1820Test.php b/tests/app/Census/CensusOfUnitedStates1820Test.php index 810ac92d91e..c09e5c7114a 100644 --- a/tests/app/Census/CensusOfUnitedStates1820Test.php +++ b/tests/app/Census/CensusOfUnitedStates1820Test.php @@ -30,8 +30,6 @@ class CensusOfUnitedStates1820Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1820 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1820 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfUnitedStates1830Test.php b/tests/app/Census/CensusOfUnitedStates1830Test.php index 1b252e3c781..77b82bdd251 100644 --- a/tests/app/Census/CensusOfUnitedStates1830Test.php +++ b/tests/app/Census/CensusOfUnitedStates1830Test.php @@ -30,8 +30,6 @@ class CensusOfUnitedStates1830Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1830 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1830 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfUnitedStates1840Test.php b/tests/app/Census/CensusOfUnitedStates1840Test.php index 9b510d4279e..615330b6b79 100644 --- a/tests/app/Census/CensusOfUnitedStates1840Test.php +++ b/tests/app/Census/CensusOfUnitedStates1840Test.php @@ -30,8 +30,6 @@ class CensusOfUnitedStates1840Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1840 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1840 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfUnitedStates1850Test.php b/tests/app/Census/CensusOfUnitedStates1850Test.php index f362ba63cb4..6369de7179d 100644 --- a/tests/app/Census/CensusOfUnitedStates1850Test.php +++ b/tests/app/Census/CensusOfUnitedStates1850Test.php @@ -30,8 +30,6 @@ class CensusOfUnitedStates1850Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1850 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1850 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfUnitedStates1860Test.php b/tests/app/Census/CensusOfUnitedStates1860Test.php index b310e3b92ef..c2b6db57842 100644 --- a/tests/app/Census/CensusOfUnitedStates1860Test.php +++ b/tests/app/Census/CensusOfUnitedStates1860Test.php @@ -31,8 +31,6 @@ class CensusOfUnitedStates1860Test extends TestCase * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1860 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * Test the census columns * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1860 - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfUnitedStates1870Test.php b/tests/app/Census/CensusOfUnitedStates1870Test.php index cd6243abed9..616b508cf49 100644 --- a/tests/app/Census/CensusOfUnitedStates1870Test.php +++ b/tests/app/Census/CensusOfUnitedStates1870Test.php @@ -31,8 +31,6 @@ class CensusOfUnitedStates1870Test extends TestCase * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1870 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * Test the census columns * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1870 - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfUnitedStates1880Test.php b/tests/app/Census/CensusOfUnitedStates1880Test.php index 5e6087b557b..f9addbd29ec 100644 --- a/tests/app/Census/CensusOfUnitedStates1880Test.php +++ b/tests/app/Census/CensusOfUnitedStates1880Test.php @@ -30,8 +30,6 @@ class CensusOfUnitedStates1880Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1880 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1880 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfUnitedStates1890Test.php b/tests/app/Census/CensusOfUnitedStates1890Test.php index 174adcd339f..417c98f72ae 100644 --- a/tests/app/Census/CensusOfUnitedStates1890Test.php +++ b/tests/app/Census/CensusOfUnitedStates1890Test.php @@ -30,8 +30,6 @@ class CensusOfUnitedStates1890Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1890 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1890 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfUnitedStates1900Test.php b/tests/app/Census/CensusOfUnitedStates1900Test.php index 756db07ae6b..0f803fa795f 100644 --- a/tests/app/Census/CensusOfUnitedStates1900Test.php +++ b/tests/app/Census/CensusOfUnitedStates1900Test.php @@ -30,8 +30,6 @@ class CensusOfUnitedStates1900Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1900 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1900 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfUnitedStates1910Test.php b/tests/app/Census/CensusOfUnitedStates1910Test.php index 1844ec573fa..72f15f32320 100644 --- a/tests/app/Census/CensusOfUnitedStates1910Test.php +++ b/tests/app/Census/CensusOfUnitedStates1910Test.php @@ -30,8 +30,6 @@ class CensusOfUnitedStates1910Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1910 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1910 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfUnitedStates1920Test.php b/tests/app/Census/CensusOfUnitedStates1920Test.php index 6ec2164b626..4f6657cdffb 100644 --- a/tests/app/Census/CensusOfUnitedStates1920Test.php +++ b/tests/app/Census/CensusOfUnitedStates1920Test.php @@ -30,8 +30,6 @@ class CensusOfUnitedStates1920Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1920 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1920 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfUnitedStates1930Test.php b/tests/app/Census/CensusOfUnitedStates1930Test.php index 37c2fceab00..a86c158e95f 100644 --- a/tests/app/Census/CensusOfUnitedStates1930Test.php +++ b/tests/app/Census/CensusOfUnitedStates1930Test.php @@ -30,8 +30,6 @@ class CensusOfUnitedStates1930Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1930 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1930 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfUnitedStates1940Test.php b/tests/app/Census/CensusOfUnitedStates1940Test.php index a8db033b2f3..638d1c76f34 100644 --- a/tests/app/Census/CensusOfUnitedStates1940Test.php +++ b/tests/app/Census/CensusOfUnitedStates1940Test.php @@ -30,8 +30,6 @@ class CensusOfUnitedStates1940Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1940 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1940 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfUnitedStates1950Test.php b/tests/app/Census/CensusOfUnitedStates1950Test.php index 9548e637396..cd4623ce604 100644 --- a/tests/app/Census/CensusOfUnitedStates1950Test.php +++ b/tests/app/Census/CensusOfUnitedStates1950Test.php @@ -31,8 +31,6 @@ class CensusOfUnitedStates1950Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1950 - * - * @return void */ public function testPlaceAndDate(): void { @@ -47,8 +45,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates1950 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfUnitedStatesTest.php b/tests/app/Census/CensusOfUnitedStatesTest.php index b02af915369..279e8e9736c 100644 --- a/tests/app/Census/CensusOfUnitedStatesTest.php +++ b/tests/app/Census/CensusOfUnitedStatesTest.php @@ -30,8 +30,6 @@ class CensusOfUnitedStatesTest extends TestCase * Test the census place * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates - * - * @return void */ public function testPlace(): void { @@ -44,8 +42,6 @@ public function testPlace(): void * Test the census language * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates - * - * @return void */ public function testLanguage(): void { @@ -58,8 +54,6 @@ public function testLanguage(): void * Test the census dates * * @covers \Fisharebest\Webtrees\Census\CensusOfUnitedStates - * - * @return void */ public function testAllDates(): void { diff --git a/tests/app/Census/CensusOfWales1841Test.php b/tests/app/Census/CensusOfWales1841Test.php index 17cc2b2f424..1657a9f9ab1 100644 --- a/tests/app/Census/CensusOfWales1841Test.php +++ b/tests/app/Census/CensusOfWales1841Test.php @@ -30,8 +30,6 @@ class CensusOfWales1841Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfWales1841 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfWales1841 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfWales1851Test.php b/tests/app/Census/CensusOfWales1851Test.php index 53616a40862..f40f252704e 100644 --- a/tests/app/Census/CensusOfWales1851Test.php +++ b/tests/app/Census/CensusOfWales1851Test.php @@ -30,8 +30,6 @@ class CensusOfWales1851Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfWales1851 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfWales1851 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfWales1861Test.php b/tests/app/Census/CensusOfWales1861Test.php index ba8bbac3fab..fd362414d4f 100644 --- a/tests/app/Census/CensusOfWales1861Test.php +++ b/tests/app/Census/CensusOfWales1861Test.php @@ -30,8 +30,6 @@ class CensusOfWales1861Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfWales1861 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfWales1861 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfWales1871Test.php b/tests/app/Census/CensusOfWales1871Test.php index bab6a08d0a3..cb55bcd3ca0 100644 --- a/tests/app/Census/CensusOfWales1871Test.php +++ b/tests/app/Census/CensusOfWales1871Test.php @@ -30,8 +30,6 @@ class CensusOfWales1871Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfWales1871 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfWales1871 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfWales1881Test.php b/tests/app/Census/CensusOfWales1881Test.php index f4c981ec0ba..d25ddd9dfe3 100644 --- a/tests/app/Census/CensusOfWales1881Test.php +++ b/tests/app/Census/CensusOfWales1881Test.php @@ -30,8 +30,6 @@ class CensusOfWales1881Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfWales1881 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfWales1881 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfWales1891Test.php b/tests/app/Census/CensusOfWales1891Test.php index e64e7790583..f1ee2a2581f 100644 --- a/tests/app/Census/CensusOfWales1891Test.php +++ b/tests/app/Census/CensusOfWales1891Test.php @@ -30,8 +30,6 @@ class CensusOfWales1891Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfWales1891 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfWales1891 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfWales1901Test.php b/tests/app/Census/CensusOfWales1901Test.php index 414aa2677c4..a2037395f51 100644 --- a/tests/app/Census/CensusOfWales1901Test.php +++ b/tests/app/Census/CensusOfWales1901Test.php @@ -30,8 +30,6 @@ class CensusOfWales1901Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfWales1901 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfWales1901 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfWales1911Test.php b/tests/app/Census/CensusOfWales1911Test.php index d1767f9fc06..5c67a4d3da8 100644 --- a/tests/app/Census/CensusOfWales1911Test.php +++ b/tests/app/Census/CensusOfWales1911Test.php @@ -30,8 +30,6 @@ class CensusOfWales1911Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\CensusOfWales1911 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\CensusOfWales1911 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/CensusOfWalesTest.php b/tests/app/Census/CensusOfWalesTest.php index 27322a55388..05571979f54 100644 --- a/tests/app/Census/CensusOfWalesTest.php +++ b/tests/app/Census/CensusOfWalesTest.php @@ -30,8 +30,6 @@ class CensusOfWalesTest extends TestCase * Test the census place * * @covers \Fisharebest\Webtrees\Census\CensusOfWales - * - * @return void */ public function testPlace(): void { @@ -44,8 +42,6 @@ public function testPlace(): void * Test the census language * * @covers \Fisharebest\Webtrees\Census\CensusOfWales - * - * @return void */ public function testLanguage(): void { @@ -58,8 +54,6 @@ public function testLanguage(): void * Test the census dates * * @covers \Fisharebest\Webtrees\Census\CensusOfWales - * - * @return void */ public function testAllDates(): void { diff --git a/tests/app/Census/CensusTest.php b/tests/app/Census/CensusTest.php index 5f5795c9373..4d9fa022c8d 100644 --- a/tests/app/Census/CensusTest.php +++ b/tests/app/Census/CensusTest.php @@ -28,8 +28,6 @@ class CensusTest extends TestCase { /** * @covers \Fisharebest\Webtrees\Census\Census - * - * @return void */ public function testCensusPlacesCzech(): void { @@ -51,8 +49,6 @@ public function testCensusPlacesCzech(): void /** * @covers \Fisharebest\Webtrees\Census\Census - * - * @return void */ public function testCensusPlacesDanish(): void { @@ -74,8 +70,6 @@ public function testCensusPlacesDanish(): void /** * @covers \Fisharebest\Webtrees\Census\Census - * - * @return void */ public function testCensusPlacesGerman(): void { @@ -97,8 +91,6 @@ public function testCensusPlacesGerman(): void /** * @covers \Fisharebest\Webtrees\Census\Census - * - * @return void */ public function testCensusPlacesAustralianEnglish(): void { @@ -120,8 +112,6 @@ public function testCensusPlacesAustralianEnglish(): void /** * @covers \Fisharebest\Webtrees\Census\Census - * - * @return void */ public function testCensusPlacesBritishEnglish(): void { @@ -143,8 +133,6 @@ public function testCensusPlacesBritishEnglish(): void /** * @covers \Fisharebest\Webtrees\Census\Census - * - * @return void */ public function testCensusPlacesUSEnglish(): void { @@ -166,8 +154,6 @@ public function testCensusPlacesUSEnglish(): void /** * @covers \Fisharebest\Webtrees\Census\Census - * - * @return void */ public function testCensusPlacesFrench(): void { @@ -189,8 +175,6 @@ public function testCensusPlacesFrench(): void /** * @covers \Fisharebest\Webtrees\Census\Census - * - * @return void */ public function testCensusPlacesCanadianFrench(): void { @@ -212,8 +196,6 @@ public function testCensusPlacesCanadianFrench(): void /** * @covers \Fisharebest\Webtrees\Census\Census - * - * @return void */ public function testCensusPlacesSlovak(): void { @@ -235,8 +217,6 @@ public function testCensusPlacesSlovak(): void /** * @covers \Fisharebest\Webtrees\Census\Census - * - * @return void */ public function testCensusPlacesDefault(): void { diff --git a/tests/app/Census/RegisterOfEngland1939Test.php b/tests/app/Census/RegisterOfEngland1939Test.php index 65552242cc0..b8c1dc7cf92 100644 --- a/tests/app/Census/RegisterOfEngland1939Test.php +++ b/tests/app/Census/RegisterOfEngland1939Test.php @@ -30,8 +30,6 @@ class RegisterOfEngland1939Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\RegisterOfEngland1939 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\RegisterOfEngland1939 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/RegisterOfScotland1939Test.php b/tests/app/Census/RegisterOfScotland1939Test.php index da11261265e..9527aba360b 100644 --- a/tests/app/Census/RegisterOfScotland1939Test.php +++ b/tests/app/Census/RegisterOfScotland1939Test.php @@ -30,8 +30,6 @@ class RegisterOfScotland1939Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\RegisterOfScotland1939 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\RegisterOfScotland1939 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/Census/RegisterOfWales1939Test.php b/tests/app/Census/RegisterOfWales1939Test.php index fbe45ca9567..4f36e9287d4 100644 --- a/tests/app/Census/RegisterOfWales1939Test.php +++ b/tests/app/Census/RegisterOfWales1939Test.php @@ -30,8 +30,6 @@ class RegisterOfWales1939Test extends TestCase * Test the census place and date * * @covers \Fisharebest\Webtrees\Census\RegisterOfWales1939 - * - * @return void */ public function testPlaceAndDate(): void { @@ -46,8 +44,6 @@ public function testPlaceAndDate(): void * * @covers \Fisharebest\Webtrees\Census\RegisterOfWales1939 * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn - * - * @return void */ public function testColumns(): void { diff --git a/tests/app/ColorGeneratorTest.php b/tests/app/ColorGeneratorTest.php index 61027dffe83..d5a74354ddf 100644 --- a/tests/app/ColorGeneratorTest.php +++ b/tests/app/ColorGeneratorTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ColorGenerator * - * @covers \Fisharebest\Webtrees\ColorGenerator + * @covers Fisharebest\Webtrees\ColorGenerator */ class ColorGeneratorTest extends TestCase { diff --git a/tests/app/CommonMark/CensusTableContinueParserTest.php b/tests/app/CommonMark/CensusTableContinueParserTest.php index 57f03dcee56..f41719dbdc8 100644 --- a/tests/app/CommonMark/CensusTableContinueParserTest.php +++ b/tests/app/CommonMark/CensusTableContinueParserTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CensusTableContinueParser * - * @covers \Fisharebest\Webtrees\CommonMark\CensusTableContinueParser + * @covers Fisharebest\Webtrees\CommonMark\CensusTableContinueParser */ class CensusTableContinueParserTest extends TestCase { diff --git a/tests/app/CommonMark/CensusTableExtensionTest.php b/tests/app/CommonMark/CensusTableExtensionTest.php index 2c9b6872828..3ff6f83fafb 100644 --- a/tests/app/CommonMark/CensusTableExtensionTest.php +++ b/tests/app/CommonMark/CensusTableExtensionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CensusTableExtension * - * @covers \Fisharebest\Webtrees\CommonMark\CensusTableExtension + * @covers Fisharebest\Webtrees\CommonMark\CensusTableExtension */ class CensusTableExtensionTest extends TestCase { diff --git a/tests/app/CommonMark/CensusTableStartParserTest.php b/tests/app/CommonMark/CensusTableStartParserTest.php index b7f372af80c..8e6e55c830a 100644 --- a/tests/app/CommonMark/CensusTableStartParserTest.php +++ b/tests/app/CommonMark/CensusTableStartParserTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CensusTableStartParser * - * @covers \Fisharebest\Webtrees\CommonMark\CensusTableStartParser + * @covers Fisharebest\Webtrees\CommonMark\CensusTableStartParser */ class CensusTableStartParserTest extends TestCase { diff --git a/tests/app/CommonMark/XrefExtensionTest.php b/tests/app/CommonMark/XrefExtensionTest.php index 860efcaa6e7..effd4a347de 100644 --- a/tests/app/CommonMark/XrefExtensionTest.php +++ b/tests/app/CommonMark/XrefExtensionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class XrefExtension * - * @covers \Fisharebest\Webtrees\CommonMark\XrefExtension + * @covers Fisharebest\Webtrees\CommonMark\XrefExtension */ class XrefExtensionTest extends TestCase { diff --git a/tests/app/CommonMark/XrefNodeTest.php b/tests/app/CommonMark/XrefNodeTest.php index ccf12e228e8..a2716c13bf5 100644 --- a/tests/app/CommonMark/XrefNodeTest.php +++ b/tests/app/CommonMark/XrefNodeTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class XrefNode * - * @covers \Fisharebest\Webtrees\CommonMark\XrefNode + * @covers Fisharebest\Webtrees\CommonMark\XrefNode */ class XrefNodeTest extends TestCase { diff --git a/tests/app/CommonMark/XrefParserTest.php b/tests/app/CommonMark/XrefParserTest.php index d544c9598b6..732799c4724 100644 --- a/tests/app/CommonMark/XrefParserTest.php +++ b/tests/app/CommonMark/XrefParserTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class XrefParser * - * @covers \Fisharebest\Webtrees\CommonMark\XrefParser + * @covers Fisharebest\Webtrees\CommonMark\XrefParser */ class XrefParserTest extends TestCase { diff --git a/tests/app/CommonMark/XrefRendererTest.php b/tests/app/CommonMark/XrefRendererTest.php index 68a06456ac3..ef05e2a06dc 100644 --- a/tests/app/CommonMark/XrefRendererTest.php +++ b/tests/app/CommonMark/XrefRendererTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class XrefRenderer * - * @covers \Fisharebest\Webtrees\CommonMark\XrefRenderer + * @covers Fisharebest\Webtrees\CommonMark\XrefRenderer */ class XrefRendererTest extends TestCase { diff --git a/tests/app/Console/ComposerScriptsTest.php b/tests/app/Console/ComposerScriptsTest.php index 0b78e91dd16..575a9721219 100644 --- a/tests/app/Console/ComposerScriptsTest.php +++ b/tests/app/Console/ComposerScriptsTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ComposerScripts * - * @covers \Fisharebest\Webtrees\Console\ComposerScripts + * @covers Fisharebest\Webtrees\Console\ComposerScripts */ class ComposerScriptsTest extends TestCase { diff --git a/tests/app/CustomTags/AldfaerTest.php b/tests/app/CustomTags/AldfaerTest.php index 5311b6cb276..c3db6b0f7a2 100644 --- a/tests/app/CustomTags/AldfaerTest.php +++ b/tests/app/CustomTags/AldfaerTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Aldfaer * - * @covers \Fisharebest\Webtrees\CustomTags\Aldfaer + * @covers Fisharebest\Webtrees\CustomTags\Aldfaer */ class AldfaerTest extends TestCase { diff --git a/tests/app/CustomTags/AncestryTest.php b/tests/app/CustomTags/AncestryTest.php index d8ca1752b82..007d3e8173f 100644 --- a/tests/app/CustomTags/AncestryTest.php +++ b/tests/app/CustomTags/AncestryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Ancestry * - * @covers \Fisharebest\Webtrees\CustomTags\Ancestry + * @covers Fisharebest\Webtrees\CustomTags\Ancestry */ class AncestryTest extends TestCase { diff --git a/tests/app/CustomTags/BrothersKeeperTest.php b/tests/app/CustomTags/BrothersKeeperTest.php index 41ebc56b12c..f028153c6c9 100644 --- a/tests/app/CustomTags/BrothersKeeperTest.php +++ b/tests/app/CustomTags/BrothersKeeperTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class BrothersKeeper * - * @covers \Fisharebest\Webtrees\CustomTags\BrothersKeeper + * @covers Fisharebest\Webtrees\CustomTags\BrothersKeeper */ class BrothersKeeperTest extends TestCase { diff --git a/tests/app/CustomTags/FamilySearchTest.php b/tests/app/CustomTags/FamilySearchTest.php index 96a7af540ae..aae5f277e9a 100644 --- a/tests/app/CustomTags/FamilySearchTest.php +++ b/tests/app/CustomTags/FamilySearchTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FamilySearch * - * @covers \Fisharebest\Webtrees\CustomTags\FamilySearch + * @covers Fisharebest\Webtrees\CustomTags\FamilySearch */ class FamilySearchTest extends TestCase { diff --git a/tests/app/CustomTags/FamilyTreeBuilderTest.php b/tests/app/CustomTags/FamilyTreeBuilderTest.php index 510194b2fbd..9ae6a99a205 100644 --- a/tests/app/CustomTags/FamilyTreeBuilderTest.php +++ b/tests/app/CustomTags/FamilyTreeBuilderTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FamilyTreeBuilder * - * @covers \Fisharebest\Webtrees\CustomTags\FamilyTreeBuilder + * @covers Fisharebest\Webtrees\CustomTags\FamilyTreeBuilder */ class FamilyTreeBuilderTest extends TestCase { diff --git a/tests/app/CustomTags/FamilyTreeMakerTest.php b/tests/app/CustomTags/FamilyTreeMakerTest.php index b8d8b4a01d8..413f89925e9 100644 --- a/tests/app/CustomTags/FamilyTreeMakerTest.php +++ b/tests/app/CustomTags/FamilyTreeMakerTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FamilyTreeMaker * - * @covers \Fisharebest\Webtrees\CustomTags\FamilyTreeMaker + * @covers Fisharebest\Webtrees\CustomTags\FamilyTreeMaker */ class FamilyTreeMakerTest extends TestCase { diff --git a/tests/app/CustomTags/Gedcom7Test.php b/tests/app/CustomTags/Gedcom7Test.php index 85c31e33c70..d71ff79091d 100644 --- a/tests/app/CustomTags/Gedcom7Test.php +++ b/tests/app/CustomTags/Gedcom7Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Gedcom7 * - * @covers \Fisharebest\Webtrees\CustomTags\Gedcom7 + * @covers Fisharebest\Webtrees\CustomTags\Gedcom7 */ class Gedcom7Test extends TestCase { diff --git a/tests/app/CustomTags/GedcomLTest.php b/tests/app/CustomTags/GedcomLTest.php index b8b68d8a18c..9e25d7bd878 100644 --- a/tests/app/CustomTags/GedcomLTest.php +++ b/tests/app/CustomTags/GedcomLTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class GedcomL * - * @covers \Fisharebest\Webtrees\CustomTags\GedcomL + * @covers Fisharebest\Webtrees\CustomTags\GedcomL */ class GedcomLTest extends TestCase { diff --git a/tests/app/CustomTags/GenPlusWinTest.php b/tests/app/CustomTags/GenPlusWinTest.php index 3e71445300b..7e2406a8ccb 100644 --- a/tests/app/CustomTags/GenPlusWinTest.php +++ b/tests/app/CustomTags/GenPlusWinTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class GenPlusWin * - * @covers \Fisharebest\Webtrees\CustomTags\GenPlusWin + * @covers Fisharebest\Webtrees\CustomTags\GenPlusWin */ class GenPlusWinTest extends TestCase { diff --git a/tests/app/CustomTags/GeneatiqueTest.php b/tests/app/CustomTags/GeneatiqueTest.php index 48551b4a699..b245ea507c2 100644 --- a/tests/app/CustomTags/GeneatiqueTest.php +++ b/tests/app/CustomTags/GeneatiqueTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Geneatique * - * @covers \Fisharebest\Webtrees\CustomTags\Geneatique + * @covers Fisharebest\Webtrees\CustomTags\Geneatique */ class GeneatiqueTest extends TestCase { diff --git a/tests/app/CustomTags/HeredisTest.php b/tests/app/CustomTags/HeredisTest.php index a703838fe14..2d3ecef792b 100644 --- a/tests/app/CustomTags/HeredisTest.php +++ b/tests/app/CustomTags/HeredisTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Heredis * - * @covers \Fisharebest\Webtrees\CustomTags\Heredis + * @covers Fisharebest\Webtrees\CustomTags\Heredis */ class HeredisTest extends TestCase { diff --git a/tests/app/CustomTags/LegacyTest.php b/tests/app/CustomTags/LegacyTest.php index 662b2050a0d..9e043902980 100644 --- a/tests/app/CustomTags/LegacyTest.php +++ b/tests/app/CustomTags/LegacyTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Legacy * - * @covers \Fisharebest\Webtrees\CustomTags\Legacy + * @covers Fisharebest\Webtrees\CustomTags\Legacy */ class LegacyTest extends TestCase { diff --git a/tests/app/CustomTags/MyHeritageTest.php b/tests/app/CustomTags/MyHeritageTest.php index dfd1422121a..ac8ea182217 100644 --- a/tests/app/CustomTags/MyHeritageTest.php +++ b/tests/app/CustomTags/MyHeritageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MyHeritage * - * @covers \Fisharebest\Webtrees\CustomTags\MyHeritage + * @covers Fisharebest\Webtrees\CustomTags\MyHeritage */ class MyHeritageTest extends TestCase { diff --git a/tests/app/CustomTags/PersonalAncestralFileTest.php b/tests/app/CustomTags/PersonalAncestralFileTest.php index 38eac2fdf1c..1c877e89268 100644 --- a/tests/app/CustomTags/PersonalAncestralFileTest.php +++ b/tests/app/CustomTags/PersonalAncestralFileTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PersonalAncestralFile * - * @covers \Fisharebest\Webtrees\CustomTags\PersonalAncestralFile + * @covers Fisharebest\Webtrees\CustomTags\PersonalAncestralFile */ class PersonalAncestralFileTest extends TestCase { diff --git a/tests/app/CustomTags/PhpGedViewTest.php b/tests/app/CustomTags/PhpGedViewTest.php index 6bbf1f61aba..6e3f160dc23 100644 --- a/tests/app/CustomTags/PhpGedViewTest.php +++ b/tests/app/CustomTags/PhpGedViewTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PhpGedView * - * @covers \Fisharebest\Webtrees\CustomTags\PhpGedView + * @covers Fisharebest\Webtrees\CustomTags\PhpGedView */ class PhpGedViewTest extends TestCase { diff --git a/tests/app/CustomTags/ProGenTest.php b/tests/app/CustomTags/ProGenTest.php index f238177c7c2..49b981f3526 100644 --- a/tests/app/CustomTags/ProGenTest.php +++ b/tests/app/CustomTags/ProGenTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ProGen * - * @covers \Fisharebest\Webtrees\CustomTags\ProGen + * @covers Fisharebest\Webtrees\CustomTags\ProGen */ class ProGenTest extends TestCase { diff --git a/tests/app/CustomTags/ReunionTest.php b/tests/app/CustomTags/ReunionTest.php index b7f05040fed..3dabf9f7531 100644 --- a/tests/app/CustomTags/ReunionTest.php +++ b/tests/app/CustomTags/ReunionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Reunion * - * @covers \Fisharebest\Webtrees\CustomTags\Reunion + * @covers Fisharebest\Webtrees\CustomTags\Reunion */ class ReunionTest extends TestCase { diff --git a/tests/app/CustomTags/RootsMagicTest.php b/tests/app/CustomTags/RootsMagicTest.php index 96a53838921..82806eb12d2 100644 --- a/tests/app/CustomTags/RootsMagicTest.php +++ b/tests/app/CustomTags/RootsMagicTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class RootsMagic * - * @covers \Fisharebest\Webtrees\CustomTags\RootsMagic + * @covers Fisharebest\Webtrees\CustomTags\RootsMagic */ class RootsMagicTest extends TestCase { diff --git a/tests/app/CustomTags/TheMasterGenealogistTest.php b/tests/app/CustomTags/TheMasterGenealogistTest.php index 5a0824447a4..7be0abf4268 100644 --- a/tests/app/CustomTags/TheMasterGenealogistTest.php +++ b/tests/app/CustomTags/TheMasterGenealogistTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TheMasterGenealogist * - * @covers \Fisharebest\Webtrees\CustomTags\TheMasterGenealogist + * @covers Fisharebest\Webtrees\CustomTags\TheMasterGenealogist */ class TheMasterGenealogistTest extends TestCase { diff --git a/tests/app/Date/AbstractCalendarDateTest.php b/tests/app/Date/AbstractCalendarDateTest.php index 93a4ccfcd44..96fb924f1ec 100644 --- a/tests/app/Date/AbstractCalendarDateTest.php +++ b/tests/app/Date/AbstractCalendarDateTest.php @@ -28,7 +28,6 @@ class AbstractCalendarDateTest extends TestCase { /** * @covers \Fisharebest\Webtrees\Date\AbstractCalendarDate::ageDifference - * @return void */ public function testAgeDifference(): void { @@ -67,7 +66,6 @@ public function testAgeDifference(): void /** * @covers \Fisharebest\Webtrees\Date\AbstractCalendarDate::ageDifference - * @return void */ public function testAgeDifferenceIncomplete(): void { @@ -110,7 +108,6 @@ public function testAgeDifferenceIncomplete(): void /** * @covers \Fisharebest\Webtrees\Date\AbstractCalendarDate::ageDifference - * @return void */ public function testAgeDifferenceOverlap(): void { diff --git a/tests/app/Date/FrenchDateTest.php b/tests/app/Date/FrenchDateTest.php index d7a84ff953f..b9fd8734ddc 100644 --- a/tests/app/Date/FrenchDateTest.php +++ b/tests/app/Date/FrenchDateTest.php @@ -30,8 +30,6 @@ class FrenchDateTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Date/GregorianDateTest.php b/tests/app/Date/GregorianDateTest.php index 1eb35bc2fcb..6c904691a24 100644 --- a/tests/app/Date/GregorianDateTest.php +++ b/tests/app/Date/GregorianDateTest.php @@ -31,8 +31,6 @@ class GregorianDateTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Date/HijriDateTest.php b/tests/app/Date/HijriDateTest.php index 74ccd1744a3..bce5a2bfbc8 100644 --- a/tests/app/Date/HijriDateTest.php +++ b/tests/app/Date/HijriDateTest.php @@ -30,8 +30,6 @@ class HijriDateTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Date/JalaliDateTest.php b/tests/app/Date/JalaliDateTest.php index fed19ea2057..e5450eb1904 100644 --- a/tests/app/Date/JalaliDateTest.php +++ b/tests/app/Date/JalaliDateTest.php @@ -30,8 +30,6 @@ class JalaliDateTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Date/JewishDateTest.php b/tests/app/Date/JewishDateTest.php index 6c53c917cbe..53620614bab 100644 --- a/tests/app/Date/JewishDateTest.php +++ b/tests/app/Date/JewishDateTest.php @@ -30,8 +30,6 @@ class JewishDateTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Date/JulianDateTest.php b/tests/app/Date/JulianDateTest.php index 431c1e9165d..d1c3724e6e0 100644 --- a/tests/app/Date/JulianDateTest.php +++ b/tests/app/Date/JulianDateTest.php @@ -31,8 +31,6 @@ class JulianDateTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Date/RomanDateTest.php b/tests/app/Date/RomanDateTest.php index 347fdf29c20..c35a109854c 100644 --- a/tests/app/Date/RomanDateTest.php +++ b/tests/app/Date/RomanDateTest.php @@ -30,8 +30,6 @@ class RomanDateTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/DateTest.php b/tests/app/DateTest.php index 5a6ba8cad23..27a288356a4 100644 --- a/tests/app/DateTest.php +++ b/tests/app/DateTest.php @@ -28,8 +28,6 @@ class DateTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/DefaultUserTest.php b/tests/app/DefaultUserTest.php index 98a36d7a714..85cac7145b5 100644 --- a/tests/app/DefaultUserTest.php +++ b/tests/app/DefaultUserTest.php @@ -48,7 +48,6 @@ protected function setUp(): void * @covers \Fisharebest\Webtrees\DefaultUser::email * @covers \Fisharebest\Webtrees\DefaultUser::realName * @covers \Fisharebest\Webtrees\DefaultUser::userName - * @return void */ public function testDefaultUser(): void { @@ -64,7 +63,6 @@ public function testDefaultUser(): void /** * @covers \Fisharebest\Webtrees\DefaultUser::getPreference * @covers \Fisharebest\Webtrees\DefaultUser::setPreference - * @return void */ public function testPreferences(): void { diff --git a/tests/app/Elements/AbstractElementTest.php b/tests/app/Elements/AbstractElementTestCase.php similarity index 91% rename from tests/app/Elements/AbstractElementTest.php rename to tests/app/Elements/AbstractElementTestCase.php index 5f89b966416..70c1a9ccd25 100644 --- a/tests/app/Elements/AbstractElementTest.php +++ b/tests/app/Elements/AbstractElementTestCase.php @@ -26,16 +26,13 @@ /** * Common tests for ElementInterface */ -abstract class AbstractElementTest extends TestCase +abstract class AbstractElementTestCase extends TestCase { private const EVIL_VALUE = ''; private const TEST_VALUE = '01 JAN 1970'; protected static ElementInterface $element; - /** - * @return void - */ public function testCanonical(): void { self::assertSame('Foo bAr baZ', self::$element->canonical('Foo bAr baZ')); @@ -43,9 +40,6 @@ public function testCanonical(): void self::assertSame('Foo bAr baZ', self::$element->canonical("\nFoo \n\r bAr \r\n baZ\r")); } - /** - * @return void - */ public function testEscapeAtSigns(): void { if (static::$element instanceof AbstractXrefElement) { @@ -55,9 +49,6 @@ public function testEscapeAtSigns(): void } } - /** - * @return void - */ public function testXssInValue(): void { $tree = $this->createMock(Tree::class); @@ -67,9 +58,6 @@ public function testXssInValue(): void self::assertStringNotContainsStringIgnoringCase(self::EVIL_VALUE, $html, $message); } - /** - * @return void - */ public function testXssInLabelValue(): void { $tree = $this->createMock(Tree::class); @@ -79,9 +67,6 @@ public function testXssInLabelValue(): void self::assertStringNotContainsStringIgnoringCase(self::EVIL_VALUE, $html, $message); } - /** - * @return void - */ public function testXssInEdit(): void { $tree = $this->createMock(Tree::class); @@ -91,9 +76,6 @@ public function testXssInEdit(): void self::assertStringNotContainsStringIgnoringCase(self::EVIL_VALUE, $html, $message); } - /** - * @return void - */ public function testValidHtmlInValue(): void { $tree = $this->createMock(Tree::class); @@ -102,9 +84,6 @@ public function testValidHtmlInValue(): void $this->validateHtml($html); } - /** - * @return void - */ public function testValidHtmlInEdit(): void { $tree = $this->createMock(Tree::class); diff --git a/tests/app/Elements/AbstractEventElementTest.php b/tests/app/Elements/AbstractEventElementTestCase.php similarity index 94% rename from tests/app/Elements/AbstractEventElementTest.php rename to tests/app/Elements/AbstractEventElementTestCase.php index c397cddd33a..6be1662d3f6 100644 --- a/tests/app/Elements/AbstractEventElementTest.php +++ b/tests/app/Elements/AbstractEventElementTestCase.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\AbstractEventElement */ -class AbstractEventElementTest extends AbstractElementTest +class AbstractEventElementTestCase extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/AbstractXrefElementTest.php b/tests/app/Elements/AbstractXrefElementTestCase.php similarity index 94% rename from tests/app/Elements/AbstractXrefElementTest.php rename to tests/app/Elements/AbstractXrefElementTestCase.php index 5b648c73443..d2aa994b0ea 100644 --- a/tests/app/Elements/AbstractXrefElementTest.php +++ b/tests/app/Elements/AbstractXrefElementTestCase.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\AbstractXrefElement */ -class AbstractXrefElementTest extends AbstractElementTest +class AbstractXrefElementTestCase extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/AddressCityTest.php b/tests/app/Elements/AddressCityTest.php index cb703d13095..a256032acd4 100644 --- a/tests/app/Elements/AddressCityTest.php +++ b/tests/app/Elements/AddressCityTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\AddressCity */ -class AddressCityTest extends AbstractElementTest +class AddressCityTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/AddressCountryTest.php b/tests/app/Elements/AddressCountryTest.php index f9e54d32a30..0b8d817e423 100644 --- a/tests/app/Elements/AddressCountryTest.php +++ b/tests/app/Elements/AddressCountryTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\AddressCountry */ -class AddressCountryTest extends AbstractElementTest +class AddressCountryTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/AddressEmailTest.php b/tests/app/Elements/AddressEmailTest.php index 7682cf772fb..9c9e924a968 100644 --- a/tests/app/Elements/AddressEmailTest.php +++ b/tests/app/Elements/AddressEmailTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\AddressEmail */ -class AddressEmailTest extends AbstractElementTest +class AddressEmailTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/AddressFaxTest.php b/tests/app/Elements/AddressFaxTest.php index 40e1ea4fdc9..2711f797465 100644 --- a/tests/app/Elements/AddressFaxTest.php +++ b/tests/app/Elements/AddressFaxTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\AddressFax */ -class AddressFaxTest extends AbstractElementTest +class AddressFaxTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/AddressLine1Test.php b/tests/app/Elements/AddressLine1Test.php index 15afd0fd8d5..4a92a6d53c5 100644 --- a/tests/app/Elements/AddressLine1Test.php +++ b/tests/app/Elements/AddressLine1Test.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\AddressLine1 */ -class AddressLine1Test extends AbstractElementTest +class AddressLine1Test extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/AddressLine2Test.php b/tests/app/Elements/AddressLine2Test.php index 57d1ac0864b..7544646bc78 100644 --- a/tests/app/Elements/AddressLine2Test.php +++ b/tests/app/Elements/AddressLine2Test.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\AddressLine2 */ -class AddressLine2Test extends AbstractElementTest +class AddressLine2Test extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/AddressLine3Test.php b/tests/app/Elements/AddressLine3Test.php index 02072ec7254..b0ff1cd374a 100644 --- a/tests/app/Elements/AddressLine3Test.php +++ b/tests/app/Elements/AddressLine3Test.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\AddressLine3 */ -class AddressLine3Test extends AbstractElementTest +class AddressLine3Test extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/AddressLineTest.php b/tests/app/Elements/AddressLineTest.php index 7e1d83a861e..43261302605 100644 --- a/tests/app/Elements/AddressLineTest.php +++ b/tests/app/Elements/AddressLineTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\AddressLine */ -class AddressLineTest extends AbstractElementTest +class AddressLineTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new AddressLine('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('Foo bAr baZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/AddressPostalCodeTest.php b/tests/app/Elements/AddressPostalCodeTest.php index 2cf1eb1e9f1..39f1bcc2b1a 100644 --- a/tests/app/Elements/AddressPostalCodeTest.php +++ b/tests/app/Elements/AddressPostalCodeTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\AddressPostalCode */ -class AddressPostalCodeTest extends AbstractElementTest +class AddressPostalCodeTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new AddressPostalCode('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/AddressStateTest.php b/tests/app/Elements/AddressStateTest.php index fe8921e7ce7..32ae0feb9a9 100644 --- a/tests/app/Elements/AddressStateTest.php +++ b/tests/app/Elements/AddressStateTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\AddressState */ -class AddressStateTest extends AbstractElementTest +class AddressStateTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/AddressWebPageTest.php b/tests/app/Elements/AddressWebPageTest.php index 7dd98c45fcc..eafcb8ad19c 100644 --- a/tests/app/Elements/AddressWebPageTest.php +++ b/tests/app/Elements/AddressWebPageTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\AddressWebPage */ -class AddressWebPageTest extends AbstractElementTest +class AddressWebPageTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/AdoptedByWhichParentTest.php b/tests/app/Elements/AdoptedByWhichParentTest.php index f8193bb6332..b8b159abba6 100644 --- a/tests/app/Elements/AdoptedByWhichParentTest.php +++ b/tests/app/Elements/AdoptedByWhichParentTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\AdoptedByWhichParent */ -class AdoptedByWhichParentTest extends AbstractElementTest +class AdoptedByWhichParentTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new AdoptedByWhichParent('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/AdoptionTest.php b/tests/app/Elements/AdoptionTest.php index 2aa7b495844..a1d8d4d83ed 100644 --- a/tests/app/Elements/AdoptionTest.php +++ b/tests/app/Elements/AdoptionTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Adoption */ -class AdoptionTest extends AbstractElementTest +class AdoptionTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/AdultChristeningTest.php b/tests/app/Elements/AdultChristeningTest.php index 682d05935eb..ab784884116 100644 --- a/tests/app/Elements/AdultChristeningTest.php +++ b/tests/app/Elements/AdultChristeningTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\AdultChristening */ -class AdultChristeningTest extends AbstractElementTest +class AdultChristeningTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/AgeAtEventTest.php b/tests/app/Elements/AgeAtEventTest.php index 6a871b70d88..a8c284673d2 100644 --- a/tests/app/Elements/AgeAtEventTest.php +++ b/tests/app/Elements/AgeAtEventTest.php @@ -27,7 +27,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\AgeAtEvent */ -class AgeAtEventTest extends AbstractElementTest +class AgeAtEventTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -39,9 +39,6 @@ public static function setupBeforeClass(): void self::$element = new AgeAtEvent('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('CHILD', self::$element->canonical('cHiLd')); @@ -51,9 +48,6 @@ public function testCanonical(): void self::assertSame('1y 2m 3d', self::$element->canonical('1Y 2M 3D')); } - /** - * @return void - */ public function testValue(): void { $tree = $this->createStub(Tree::class); diff --git a/tests/app/Elements/AncestralFileNumberTest.php b/tests/app/Elements/AncestralFileNumberTest.php index 8d6ae885ca0..808bbb6c006 100644 --- a/tests/app/Elements/AncestralFileNumberTest.php +++ b/tests/app/Elements/AncestralFileNumberTest.php @@ -26,7 +26,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractExternalLink * @covers \Fisharebest\Webtrees\Elements\AncestralFileNumber */ -class AncestralFileNumberTest extends AbstractElementTest +class AncestralFileNumberTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -38,9 +38,6 @@ public static function setupBeforeClass(): void self::$element = new AncestralFileNumber('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/AnnulmentTest.php b/tests/app/Elements/AnnulmentTest.php index 847d7224dc2..967e41e6299 100644 --- a/tests/app/Elements/AnnulmentTest.php +++ b/tests/app/Elements/AnnulmentTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Annulment */ -class AnnulmentTest extends AbstractElementTest +class AnnulmentTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/ApprovedSystemIdTest.php b/tests/app/Elements/ApprovedSystemIdTest.php index 5e36c6c5a50..bd7e8944fcb 100644 --- a/tests/app/Elements/ApprovedSystemIdTest.php +++ b/tests/app/Elements/ApprovedSystemIdTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\ApprovedSystemId */ -class ApprovedSystemIdTest extends AbstractElementTest +class ApprovedSystemIdTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/AttributeDescriptorTest.php b/tests/app/Elements/AttributeDescriptorTest.php index 6889a8e08b9..d886d9b3844 100644 --- a/tests/app/Elements/AttributeDescriptorTest.php +++ b/tests/app/Elements/AttributeDescriptorTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\AttributeDescriptor */ -class AttributeDescriptorTest extends AbstractElementTest +class AttributeDescriptorTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/AutomatedRecordIdTest.php b/tests/app/Elements/AutomatedRecordIdTest.php index dc9a269259b..eae6641322b 100644 --- a/tests/app/Elements/AutomatedRecordIdTest.php +++ b/tests/app/Elements/AutomatedRecordIdTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\AutomatedRecordId */ -class AutomatedRecordIdTest extends AbstractElementTest +class AutomatedRecordIdTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/BaptismTest.php b/tests/app/Elements/BaptismTest.php index 3177958f41e..0b0d087d514 100644 --- a/tests/app/Elements/BaptismTest.php +++ b/tests/app/Elements/BaptismTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Baptism */ -class BaptismTest extends AbstractElementTest +class BaptismTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/BarMitzvahTest.php b/tests/app/Elements/BarMitzvahTest.php index ebb9a63ca8c..2c6ba8bf4b1 100644 --- a/tests/app/Elements/BarMitzvahTest.php +++ b/tests/app/Elements/BarMitzvahTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\BarMitzvah */ -class BarMitzvahTest extends AbstractElementTest +class BarMitzvahTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/BasMitzvahTest.php b/tests/app/Elements/BasMitzvahTest.php index b21a4a0bd74..6211099a940 100644 --- a/tests/app/Elements/BasMitzvahTest.php +++ b/tests/app/Elements/BasMitzvahTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\BasMitzvah */ -class BasMitzvahTest extends AbstractElementTest +class BasMitzvahTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/BirthTest.php b/tests/app/Elements/BirthTest.php index 4c589375ab5..d7e07c524e7 100644 --- a/tests/app/Elements/BirthTest.php +++ b/tests/app/Elements/BirthTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Birth */ -class BirthTest extends AbstractElementTest +class BirthTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/BlessingTest.php b/tests/app/Elements/BlessingTest.php index 433a413311a..5c97d6ee0c3 100644 --- a/tests/app/Elements/BlessingTest.php +++ b/tests/app/Elements/BlessingTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Blessing */ -class BlessingTest extends AbstractElementTest +class BlessingTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/BurialTest.php b/tests/app/Elements/BurialTest.php index 2f7bfc0fee7..f821de43152 100644 --- a/tests/app/Elements/BurialTest.php +++ b/tests/app/Elements/BurialTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Burial */ -class BurialTest extends AbstractElementTest +class BurialTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/CasteNameTest.php b/tests/app/Elements/CasteNameTest.php index 3d6e8ce2a74..e86cd74ac0a 100644 --- a/tests/app/Elements/CasteNameTest.php +++ b/tests/app/Elements/CasteNameTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\CasteName */ -class CasteNameTest extends AbstractElementTest +class CasteNameTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/CauseOfEventTest.php b/tests/app/Elements/CauseOfEventTest.php index 5bbe41ceed3..169e3fbf9db 100644 --- a/tests/app/Elements/CauseOfEventTest.php +++ b/tests/app/Elements/CauseOfEventTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\CauseOfEvent */ -class CauseOfEventTest extends AbstractElementTest +class CauseOfEventTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/CensusTest.php b/tests/app/Elements/CensusTest.php index c3abd4399a9..9105ae51ccf 100644 --- a/tests/app/Elements/CensusTest.php +++ b/tests/app/Elements/CensusTest.php @@ -25,8 +25,10 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Census */ -class CensusTest extends AbstractElementTest +class CensusTest extends AbstractElementTestCase { + protected static bool $uses_database = true; + /** * Standard tests for all elements. */ diff --git a/tests/app/Elements/CertaintyAssessmentTest.php b/tests/app/Elements/CertaintyAssessmentTest.php index 18e308d9179..4afb899e8f9 100644 --- a/tests/app/Elements/CertaintyAssessmentTest.php +++ b/tests/app/Elements/CertaintyAssessmentTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\CertaintyAssessment */ -class CertaintyAssessmentTest extends AbstractElementTest +class CertaintyAssessmentTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/ChangeDateTest.php b/tests/app/Elements/ChangeDateTest.php index 299aeac9dfa..12de6d8ec53 100644 --- a/tests/app/Elements/ChangeDateTest.php +++ b/tests/app/Elements/ChangeDateTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\ChangeDate */ -class ChangeDateTest extends AbstractElementTest +class ChangeDateTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/ChangeTest.php b/tests/app/Elements/ChangeTest.php index 56566a8db9f..27a399d63dd 100644 --- a/tests/app/Elements/ChangeTest.php +++ b/tests/app/Elements/ChangeTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Change */ -class ChangeTest extends AbstractElementTest +class ChangeTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/CharacterSetTest.php b/tests/app/Elements/CharacterSetTest.php index f97860f3eaf..0844b6c73b3 100644 --- a/tests/app/Elements/CharacterSetTest.php +++ b/tests/app/Elements/CharacterSetTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\CharacterSet */ -class CharacterSetTest extends AbstractElementTest +class CharacterSetTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new CharacterSet('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/ChildLinkageStatusTest.php b/tests/app/Elements/ChildLinkageStatusTest.php index d43a914a412..d3ad1cffe8a 100644 --- a/tests/app/Elements/ChildLinkageStatusTest.php +++ b/tests/app/Elements/ChildLinkageStatusTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\ChildLinkageStatus */ -class ChildLinkageStatusTest extends AbstractElementTest +class ChildLinkageStatusTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new ChildLinkageStatus('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/ChristeningTest.php b/tests/app/Elements/ChristeningTest.php index 5f9bb6f13f0..fae5c1fdaf1 100644 --- a/tests/app/Elements/ChristeningTest.php +++ b/tests/app/Elements/ChristeningTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Christening */ -class ChristeningTest extends AbstractElementTest +class ChristeningTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/ConfirmationTest.php b/tests/app/Elements/ConfirmationTest.php index e23c5942832..0360b3fc8a9 100644 --- a/tests/app/Elements/ConfirmationTest.php +++ b/tests/app/Elements/ConfirmationTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Confirmation */ -class ConfirmationTest extends AbstractElementTest +class ConfirmationTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/ContentDescriptionTest.php b/tests/app/Elements/ContentDescriptionTest.php index 605204a5fe8..134bdc0dc02 100644 --- a/tests/app/Elements/ContentDescriptionTest.php +++ b/tests/app/Elements/ContentDescriptionTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\ContentDescription */ -class ContentDescriptionTest extends AbstractElementTest +class ContentDescriptionTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new ContentDescription('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('Foo bAr baZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/CoordinatesTest.php b/tests/app/Elements/CoordinatesTest.php index d14ff7ec657..6ea68e66267 100644 --- a/tests/app/Elements/CoordinatesTest.php +++ b/tests/app/Elements/CoordinatesTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Coordinates * - * @covers \Fisharebest\Webtrees\Elements\Coordinates + * @covers Fisharebest\Webtrees\Elements\Coordinates */ class CoordinatesTest extends TestCase { diff --git a/tests/app/Elements/CopyrightFileTest.php b/tests/app/Elements/CopyrightFileTest.php index d007ee10562..d5706a6adb9 100644 --- a/tests/app/Elements/CopyrightFileTest.php +++ b/tests/app/Elements/CopyrightFileTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\CopyrightFile */ -class CopyrightFileTest extends AbstractElementTest +class CopyrightFileTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/CopyrightSourceDataTest.php b/tests/app/Elements/CopyrightSourceDataTest.php index ad6399c0a10..14d87f759ec 100644 --- a/tests/app/Elements/CopyrightSourceDataTest.php +++ b/tests/app/Elements/CopyrightSourceDataTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\CopyrightSourceData */ -class CopyrightSourceDataTest extends AbstractElementTest +class CopyrightSourceDataTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/CountOfChildrenFamTest.php b/tests/app/Elements/CountOfChildrenFamTest.php index f23b5430caa..d54b1ebf348 100644 --- a/tests/app/Elements/CountOfChildrenFamTest.php +++ b/tests/app/Elements/CountOfChildrenFamTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CountOfChildrenFam * - * @covers \Fisharebest\Webtrees\Elements\CountOfChildrenFam + * @covers Fisharebest\Webtrees\Elements\CountOfChildrenFam */ class CountOfChildrenFamTest extends TestCase { diff --git a/tests/app/Elements/CountOfChildrenTest.php b/tests/app/Elements/CountOfChildrenTest.php index d7967d77a65..8922950faed 100644 --- a/tests/app/Elements/CountOfChildrenTest.php +++ b/tests/app/Elements/CountOfChildrenTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\CountOfChildren */ -class CountOfChildrenTest extends AbstractElementTest +class CountOfChildrenTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/CountOfMarriagesTest.php b/tests/app/Elements/CountOfMarriagesTest.php index ee828093946..aa49a1398f2 100644 --- a/tests/app/Elements/CountOfMarriagesTest.php +++ b/tests/app/Elements/CountOfMarriagesTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\CountOfMarriages */ -class CountOfMarriagesTest extends AbstractElementTest +class CountOfMarriagesTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/CreationTest.php b/tests/app/Elements/CreationTest.php index 5fccda69cea..77bbd4df136 100644 --- a/tests/app/Elements/CreationTest.php +++ b/tests/app/Elements/CreationTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Creation * - * @covers \Fisharebest\Webtrees\Elements\Creation + * @covers Fisharebest\Webtrees\Elements\Creation */ class CreationTest extends TestCase { diff --git a/tests/app/Elements/CremationTest.php b/tests/app/Elements/CremationTest.php index 16b67168864..a4753641386 100644 --- a/tests/app/Elements/CremationTest.php +++ b/tests/app/Elements/CremationTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Cremation */ -class CremationTest extends AbstractElementTest +class CremationTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/CustomElementTest.php b/tests/app/Elements/CustomElementTest.php index 5157c975cc1..74705271a0f 100644 --- a/tests/app/Elements/CustomElementTest.php +++ b/tests/app/Elements/CustomElementTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\CustomElement */ -class CustomElementTest extends AbstractElementTest +class CustomElementTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/CustomEventTest.php b/tests/app/Elements/CustomEventTest.php index 70364448efe..fda9d167475 100644 --- a/tests/app/Elements/CustomEventTest.php +++ b/tests/app/Elements/CustomEventTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\CustomEvent */ -class CustomEventTest extends AbstractElementTest +class CustomEventTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/CustomFactTest.php b/tests/app/Elements/CustomFactTest.php index d637fb1816a..8c1a3140c52 100644 --- a/tests/app/Elements/CustomFactTest.php +++ b/tests/app/Elements/CustomFactTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\CustomFact */ -class CustomFactTest extends AbstractElementTest +class CustomFactTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/CustomFamilyEventTest.php b/tests/app/Elements/CustomFamilyEventTest.php index 576687b4233..6dbe610b0f3 100644 --- a/tests/app/Elements/CustomFamilyEventTest.php +++ b/tests/app/Elements/CustomFamilyEventTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CustomFamilyEvent * - * @covers \Fisharebest\Webtrees\Elements\CustomFamilyEvent + * @covers Fisharebest\Webtrees\Elements\CustomFamilyEvent */ class CustomFamilyEventTest extends TestCase { diff --git a/tests/app/Elements/CustomIndividualEventTest.php b/tests/app/Elements/CustomIndividualEventTest.php index 4bb7eaef0e0..c49cac2d569 100644 --- a/tests/app/Elements/CustomIndividualEventTest.php +++ b/tests/app/Elements/CustomIndividualEventTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CustomIndividualEvent * - * @covers \Fisharebest\Webtrees\Elements\CustomIndividualEvent + * @covers Fisharebest\Webtrees\Elements\CustomIndividualEvent */ class CustomIndividualEventTest extends TestCase { diff --git a/tests/app/Elements/DateLdsOrdTest.php b/tests/app/Elements/DateLdsOrdTest.php index 84c2206c30d..23e687d0750 100644 --- a/tests/app/Elements/DateLdsOrdTest.php +++ b/tests/app/Elements/DateLdsOrdTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\DateLdsOrd */ -class DateLdsOrdTest extends AbstractElementTest +class DateLdsOrdTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/DateValueExactTest.php b/tests/app/Elements/DateValueExactTest.php index 01556c83c52..88bee3884fa 100644 --- a/tests/app/Elements/DateValueExactTest.php +++ b/tests/app/Elements/DateValueExactTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class DateValueExact * - * @covers \Fisharebest\Webtrees\Elements\DateValueExact + * @covers Fisharebest\Webtrees\Elements\DateValueExact */ class DateValueExactTest extends TestCase { diff --git a/tests/app/Elements/DateValueTest.php b/tests/app/Elements/DateValueTest.php index 61ded97060b..952e6c4ddf6 100644 --- a/tests/app/Elements/DateValueTest.php +++ b/tests/app/Elements/DateValueTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\DateValue */ -class DateValueTest extends AbstractElementTest +class DateValueTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void static::$element = new DateValue('label'); } - /** - * @return void - */ public function testEscapeAtSigns(): void { self::assertSame( diff --git a/tests/app/Elements/DateValueTodayTest.php b/tests/app/Elements/DateValueTodayTest.php index 2b4abd882b4..3779ef5e5e7 100644 --- a/tests/app/Elements/DateValueTodayTest.php +++ b/tests/app/Elements/DateValueTodayTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class DateValueToday * - * @covers \Fisharebest\Webtrees\Elements\DateValueToday + * @covers Fisharebest\Webtrees\Elements\DateValueToday */ class DateValueTodayTest extends TestCase { diff --git a/tests/app/Elements/DeathTest.php b/tests/app/Elements/DeathTest.php index 93e68600688..afcdb52be4d 100644 --- a/tests/app/Elements/DeathTest.php +++ b/tests/app/Elements/DeathTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Death */ -class DeathTest extends AbstractElementTest +class DeathTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/DemographicDataTypeTest.php b/tests/app/Elements/DemographicDataTypeTest.php index 39c79432d53..4c12ac41cd1 100644 --- a/tests/app/Elements/DemographicDataTypeTest.php +++ b/tests/app/Elements/DemographicDataTypeTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\DemographicDataType */ -class DemographicDataTypeTest extends AbstractElementTest +class DemographicDataTypeTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new DemographicDataType('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/DescriptiveTitleTest.php b/tests/app/Elements/DescriptiveTitleTest.php index ec03094e9d9..8728071b813 100644 --- a/tests/app/Elements/DescriptiveTitleTest.php +++ b/tests/app/Elements/DescriptiveTitleTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\DescriptiveTitle */ -class DescriptiveTitleTest extends AbstractElementTest +class DescriptiveTitleTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new DescriptiveTitle('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('Foo bAr baZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/DivorceFiledTest.php b/tests/app/Elements/DivorceFiledTest.php index 37b5416c16f..3da56264893 100644 --- a/tests/app/Elements/DivorceFiledTest.php +++ b/tests/app/Elements/DivorceFiledTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\DivorceFiled */ -class DivorceFiledTest extends AbstractElementTest +class DivorceFiledTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/DivorceTest.php b/tests/app/Elements/DivorceTest.php index 3831e3cb1f7..0592fee9b8b 100644 --- a/tests/app/Elements/DivorceTest.php +++ b/tests/app/Elements/DivorceTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Divorce */ -class DivorceTest extends AbstractElementTest +class DivorceTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/EmigrationTest.php b/tests/app/Elements/EmigrationTest.php index 4f4e21036e6..fa3e2499c0c 100644 --- a/tests/app/Elements/EmigrationTest.php +++ b/tests/app/Elements/EmigrationTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Emigration */ -class EmigrationTest extends AbstractElementTest +class EmigrationTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/EmptyElementTest.php b/tests/app/Elements/EmptyElementTest.php index 04fcc83ca34..dac3d5d3715 100644 --- a/tests/app/Elements/EmptyElementTest.php +++ b/tests/app/Elements/EmptyElementTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\EmptyElement */ -class EmptyElementTest extends AbstractElementTest +class EmptyElementTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/EngagementTest.php b/tests/app/Elements/EngagementTest.php index c6eed6e6a69..24a794f7e16 100644 --- a/tests/app/Elements/EngagementTest.php +++ b/tests/app/Elements/EngagementTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Engagement */ -class EngagementTest extends AbstractElementTest +class EngagementTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/EventAttributeTypeTest.php b/tests/app/Elements/EventAttributeTypeTest.php index 94bc6f18f72..e0f1e26d409 100644 --- a/tests/app/Elements/EventAttributeTypeTest.php +++ b/tests/app/Elements/EventAttributeTypeTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\EventAttributeType */ -class EventAttributeTypeTest extends AbstractElementTest +class EventAttributeTypeTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/EventOrFactClassificationTest.php b/tests/app/Elements/EventOrFactClassificationTest.php index a904ab00be3..fb868601787 100644 --- a/tests/app/Elements/EventOrFactClassificationTest.php +++ b/tests/app/Elements/EventOrFactClassificationTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\EventOrFactClassification */ -class EventOrFactClassificationTest extends AbstractElementTest +class EventOrFactClassificationTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/EventTypeCitedFromTest.php b/tests/app/Elements/EventTypeCitedFromTest.php index 0eddba5bb14..19179dcb8eb 100644 --- a/tests/app/Elements/EventTypeCitedFromTest.php +++ b/tests/app/Elements/EventTypeCitedFromTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\EventTypeCitedFrom */ -class EventTypeCitedFromTest extends AbstractElementTest +class EventTypeCitedFromTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/EventsRecordedTest.php b/tests/app/Elements/EventsRecordedTest.php index d39683d6586..0c5549559ce 100644 --- a/tests/app/Elements/EventsRecordedTest.php +++ b/tests/app/Elements/EventsRecordedTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\EventsRecorded */ -class EventsRecordedTest extends AbstractElementTest +class EventsRecordedTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new EventsRecorded('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO,BAR,BAZ', self::$element->canonical('Foo , bAr, baZ')); diff --git a/tests/app/Elements/ExternalIdentifierTest.php b/tests/app/Elements/ExternalIdentifierTest.php index 394ea3b2757..17e2ff22ecf 100644 --- a/tests/app/Elements/ExternalIdentifierTest.php +++ b/tests/app/Elements/ExternalIdentifierTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ExternalIdentifier * - * @covers \Fisharebest\Webtrees\Elements\ExternalIdentifier + * @covers Fisharebest\Webtrees\Elements\ExternalIdentifier */ class ExternalIdentifierTest extends TestCase { diff --git a/tests/app/Elements/ExternalIdentifierTypeTest.php b/tests/app/Elements/ExternalIdentifierTypeTest.php index dd67797be49..dd3a7c1cf5c 100644 --- a/tests/app/Elements/ExternalIdentifierTypeTest.php +++ b/tests/app/Elements/ExternalIdentifierTypeTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ExternalIdentifierType * - * @covers \Fisharebest\Webtrees\Elements\ExternalIdentifierType + * @covers Fisharebest\Webtrees\Elements\ExternalIdentifierType */ class ExternalIdentifierTypeTest extends TestCase { diff --git a/tests/app/Elements/FamilyCensusTest.php b/tests/app/Elements/FamilyCensusTest.php index 20c4a58a811..7f1493b0bc6 100644 --- a/tests/app/Elements/FamilyCensusTest.php +++ b/tests/app/Elements/FamilyCensusTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FamilyCensus * - * @covers \Fisharebest\Webtrees\Elements\FamilyCensus + * @covers Fisharebest\Webtrees\Elements\FamilyCensus */ class FamilyCensusTest extends TestCase { diff --git a/tests/app/Elements/FamilyEventTest.php b/tests/app/Elements/FamilyEventTest.php index 19fe78612bf..097e7878005 100644 --- a/tests/app/Elements/FamilyEventTest.php +++ b/tests/app/Elements/FamilyEventTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FamilyEvent * - * @covers \Fisharebest\Webtrees\Elements\FamilyEvent + * @covers Fisharebest\Webtrees\Elements\FamilyEvent */ class FamilyEventTest extends TestCase { diff --git a/tests/app/Elements/FamilyFactTest.php b/tests/app/Elements/FamilyFactTest.php index 4371caa9a65..b9a95ef458a 100644 --- a/tests/app/Elements/FamilyFactTest.php +++ b/tests/app/Elements/FamilyFactTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FamilyFact * - * @covers \Fisharebest\Webtrees\Elements\FamilyFact + * @covers Fisharebest\Webtrees\Elements\FamilyFact */ class FamilyFactTest extends TestCase { diff --git a/tests/app/Elements/FamilyNonEventTest.php b/tests/app/Elements/FamilyNonEventTest.php index 45d5354ae18..93f3db9bd63 100644 --- a/tests/app/Elements/FamilyNonEventTest.php +++ b/tests/app/Elements/FamilyNonEventTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class NonEvent * - * @covers \Fisharebest\Webtrees\Elements\FamilyNonEvent + * @covers Fisharebest\Webtrees\Elements\FamilyNonEvent */ class FamilyNonEventTest extends TestCase { diff --git a/tests/app/Elements/FamilyRecordTest.php b/tests/app/Elements/FamilyRecordTest.php index 075977a15ee..52f2855627f 100644 --- a/tests/app/Elements/FamilyRecordTest.php +++ b/tests/app/Elements/FamilyRecordTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\FamilyRecord */ -class FamilyRecordTest extends AbstractElementTest +class FamilyRecordTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/FamilySearchFamilyTreeIdTest.php b/tests/app/Elements/FamilySearchFamilyTreeIdTest.php index a594a38524d..044fb3ab275 100644 --- a/tests/app/Elements/FamilySearchFamilyTreeIdTest.php +++ b/tests/app/Elements/FamilySearchFamilyTreeIdTest.php @@ -26,7 +26,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractExternalLink * @covers \Fisharebest\Webtrees\Elements\FamilySearchFamilyTreeId */ -class FamilySearchFamilyTreeIdTest extends AbstractElementTest +class FamilySearchFamilyTreeIdTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -38,9 +38,6 @@ public static function setupBeforeClass(): void self::$element = new AncestralFileNumber('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/FamilyStatusTextTest.php b/tests/app/Elements/FamilyStatusTextTest.php index 4c8cfef1eb7..b21dce8884d 100644 --- a/tests/app/Elements/FamilyStatusTextTest.php +++ b/tests/app/Elements/FamilyStatusTextTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\FamilyStatusText */ -class FamilyStatusTextTest extends AbstractElementTest +class FamilyStatusTextTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/FileNameTest.php b/tests/app/Elements/FileNameTest.php index b202955499a..7d8c351a4ca 100644 --- a/tests/app/Elements/FileNameTest.php +++ b/tests/app/Elements/FileNameTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\FileName */ -class FileNameTest extends AbstractElementTest +class FileNameTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new FileName('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('Foo bAr baZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/FirstCommunionTest.php b/tests/app/Elements/FirstCommunionTest.php index 5c98a0e379e..b925e679e62 100644 --- a/tests/app/Elements/FirstCommunionTest.php +++ b/tests/app/Elements/FirstCommunionTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\FirstCommunion */ -class FirstCommunionTest extends AbstractElementTest +class FirstCommunionTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/FormTest.php b/tests/app/Elements/FormTest.php index 1c91f9872f0..16807957331 100644 --- a/tests/app/Elements/FormTest.php +++ b/tests/app/Elements/FormTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Form */ -class FormTest extends AbstractElementTest +class FormTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new Form('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/GedcomElementTest.php b/tests/app/Elements/GedcomElementTest.php index ac0091784bc..efdce48be6f 100644 --- a/tests/app/Elements/GedcomElementTest.php +++ b/tests/app/Elements/GedcomElementTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\GedcomElement */ -class GedcomElementTest extends AbstractElementTest +class GedcomElementTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/GenerationsOfAncestorsTest.php b/tests/app/Elements/GenerationsOfAncestorsTest.php index 31581fc421c..102509df6e1 100644 --- a/tests/app/Elements/GenerationsOfAncestorsTest.php +++ b/tests/app/Elements/GenerationsOfAncestorsTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\GenerationsOfAncestors */ -class GenerationsOfAncestorsTest extends AbstractElementTest +class GenerationsOfAncestorsTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/GenerationsOfDescendantsTest.php b/tests/app/Elements/GenerationsOfDescendantsTest.php index b176b22b756..1a87873b436 100644 --- a/tests/app/Elements/GenerationsOfDescendantsTest.php +++ b/tests/app/Elements/GenerationsOfDescendantsTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\GenerationsOfDescendants */ -class GenerationsOfDescendantsTest extends AbstractElementTest +class GenerationsOfDescendantsTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/GovIdTypeTest.php b/tests/app/Elements/GovIdTypeTest.php index eeb4e2196d5..a019cc66b6b 100644 --- a/tests/app/Elements/GovIdTypeTest.php +++ b/tests/app/Elements/GovIdTypeTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\GovIdType */ -class GovIdTypeTest extends AbstractElementTest +class GovIdTypeTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/GovIdentifierTest.php b/tests/app/Elements/GovIdentifierTest.php index 3fd2623df22..e93919d64d3 100644 --- a/tests/app/Elements/GovIdentifierTest.php +++ b/tests/app/Elements/GovIdentifierTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\GovIdentifier */ -class GovIdentifierTest extends AbstractElementTest +class GovIdentifierTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new GovIdentifier('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('Foo bAr baZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/GraduationTest.php b/tests/app/Elements/GraduationTest.php index e0287cd80fa..bb3210b6e6c 100644 --- a/tests/app/Elements/GraduationTest.php +++ b/tests/app/Elements/GraduationTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Graduation */ -class GraduationTest extends AbstractElementTest +class GraduationTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/HeaderRecordTest.php b/tests/app/Elements/HeaderRecordTest.php index d80b7851d8c..9a417401f59 100644 --- a/tests/app/Elements/HeaderRecordTest.php +++ b/tests/app/Elements/HeaderRecordTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\HeaderRecord */ -class HeaderRecordTest extends AbstractElementTest +class HeaderRecordTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/HierarchicalRelationshipTest.php b/tests/app/Elements/HierarchicalRelationshipTest.php index 6aae8180943..f2d259aefe3 100644 --- a/tests/app/Elements/HierarchicalRelationshipTest.php +++ b/tests/app/Elements/HierarchicalRelationshipTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\HierarchicalRelationship */ -class HierarchicalRelationshipTest extends AbstractElementTest +class HierarchicalRelationshipTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new HierarchicalRelationship('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/ImmigrationTest.php b/tests/app/Elements/ImmigrationTest.php index 9c8987d9db3..b12c6f0e482 100644 --- a/tests/app/Elements/ImmigrationTest.php +++ b/tests/app/Elements/ImmigrationTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Immigration */ -class ImmigrationTest extends AbstractElementTest +class ImmigrationTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/IndividualEventTest.php b/tests/app/Elements/IndividualEventTest.php index 41365833c96..553f8bb627f 100644 --- a/tests/app/Elements/IndividualEventTest.php +++ b/tests/app/Elements/IndividualEventTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class IndividualEvent * - * @covers \Fisharebest\Webtrees\Elements\IndividualEvent + * @covers Fisharebest\Webtrees\Elements\IndividualEvent */ class IndividualEventTest extends TestCase { diff --git a/tests/app/Elements/IndividualFactTest.php b/tests/app/Elements/IndividualFactTest.php index e6bbe1dee1a..1dfdee1e01a 100644 --- a/tests/app/Elements/IndividualFactTest.php +++ b/tests/app/Elements/IndividualFactTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class IndividualFact * - * @covers \Fisharebest\Webtrees\Elements\IndividualFact + * @covers Fisharebest\Webtrees\Elements\IndividualFact */ class IndividualFactTest extends TestCase { diff --git a/tests/app/Elements/IndividualNonEventTest.php b/tests/app/Elements/IndividualNonEventTest.php index 35eaca429bf..47c5ea9c6df 100644 --- a/tests/app/Elements/IndividualNonEventTest.php +++ b/tests/app/Elements/IndividualNonEventTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class NonEvent * - * @covers \Fisharebest\Webtrees\Elements\IndividualNonEvent + * @covers Fisharebest\Webtrees\Elements\IndividualNonEvent */ class IndividualNonEventTest extends TestCase { diff --git a/tests/app/Elements/IndividualRecordTest.php b/tests/app/Elements/IndividualRecordTest.php index 7be47c9b32f..41b2ae5602c 100644 --- a/tests/app/Elements/IndividualRecordTest.php +++ b/tests/app/Elements/IndividualRecordTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\IndividualRecord */ -class IndividualRecordTest extends AbstractElementTest +class IndividualRecordTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/LanguageIdTest.php b/tests/app/Elements/LanguageIdTest.php index 65aedd8e501..a4fbdefff83 100644 --- a/tests/app/Elements/LanguageIdTest.php +++ b/tests/app/Elements/LanguageIdTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\LanguageId */ -class LanguageIdTest extends AbstractElementTest +class LanguageIdTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void static::$element = new LanguageId('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('ENGLISH', self::$element->canonical("\t English\t ")); diff --git a/tests/app/Elements/LdsBaptismDateStatusTest.php b/tests/app/Elements/LdsBaptismDateStatusTest.php index d8415bcc0a4..30554e4fd63 100644 --- a/tests/app/Elements/LdsBaptismDateStatusTest.php +++ b/tests/app/Elements/LdsBaptismDateStatusTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\LdsBaptismDateStatus */ -class LdsBaptismDateStatusTest extends AbstractElementTest +class LdsBaptismDateStatusTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new LdsBaptismDateStatus('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/LdsBaptismTest.php b/tests/app/Elements/LdsBaptismTest.php index 43208cdecba..f1a3e0cdb6a 100644 --- a/tests/app/Elements/LdsBaptismTest.php +++ b/tests/app/Elements/LdsBaptismTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\LdsBaptism */ -class LdsBaptismTest extends AbstractElementTest +class LdsBaptismTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/LdsChildSealingDateStatusTest.php b/tests/app/Elements/LdsChildSealingDateStatusTest.php index 4e226b42970..2537e9a74f4 100644 --- a/tests/app/Elements/LdsChildSealingDateStatusTest.php +++ b/tests/app/Elements/LdsChildSealingDateStatusTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\LdsChildSealingDateStatus */ -class LdsChildSealingDateStatusTest extends AbstractElementTest +class LdsChildSealingDateStatusTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new LdsChildSealingDateStatus('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/LdsChildSealingTest.php b/tests/app/Elements/LdsChildSealingTest.php index 77120e09732..bef744380d5 100644 --- a/tests/app/Elements/LdsChildSealingTest.php +++ b/tests/app/Elements/LdsChildSealingTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\LdsChildSealing */ -class LdsChildSealingTest extends AbstractElementTest +class LdsChildSealingTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/LdsConfirmationTest.php b/tests/app/Elements/LdsConfirmationTest.php index a472caead9a..a03a33efb15 100644 --- a/tests/app/Elements/LdsConfirmationTest.php +++ b/tests/app/Elements/LdsConfirmationTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\LdsConfirmation */ -class LdsConfirmationTest extends AbstractElementTest +class LdsConfirmationTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/LdsEndowmentDateStatusTest.php b/tests/app/Elements/LdsEndowmentDateStatusTest.php index a1db7e38264..7528317dce2 100644 --- a/tests/app/Elements/LdsEndowmentDateStatusTest.php +++ b/tests/app/Elements/LdsEndowmentDateStatusTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\LdsEndowmentDateStatus */ -class LdsEndowmentDateStatusTest extends AbstractElementTest +class LdsEndowmentDateStatusTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new LdsEndowmentDateStatus('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/LdsEndowmentTest.php b/tests/app/Elements/LdsEndowmentTest.php index 19080cbbd1e..d689b17a963 100644 --- a/tests/app/Elements/LdsEndowmentTest.php +++ b/tests/app/Elements/LdsEndowmentTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\LdsEndowment */ -class LdsEndowmentTest extends AbstractElementTest +class LdsEndowmentTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/LdsInitiatoryTest.php b/tests/app/Elements/LdsInitiatoryTest.php index a2018de49db..683f6503120 100644 --- a/tests/app/Elements/LdsInitiatoryTest.php +++ b/tests/app/Elements/LdsInitiatoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LdsInitiatory * - * @covers \Fisharebest\Webtrees\Elements\LdsInitiatory + * @covers Fisharebest\Webtrees\Elements\LdsInitiatory */ class LdsInitiatoryTest extends TestCase { diff --git a/tests/app/Elements/LdsOrdinanceStatusTest.php b/tests/app/Elements/LdsOrdinanceStatusTest.php index a63e9d48dda..66b97f4c931 100644 --- a/tests/app/Elements/LdsOrdinanceStatusTest.php +++ b/tests/app/Elements/LdsOrdinanceStatusTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LdsOrdinanceStatus * - * @covers \Fisharebest\Webtrees\Elements\LdsOrdinanceStatus + * @covers Fisharebest\Webtrees\Elements\LdsOrdinanceStatus */ class LdsOrdinanceStatusTest extends TestCase { diff --git a/tests/app/Elements/LdsSpouseSealingDateStatusTest.php b/tests/app/Elements/LdsSpouseSealingDateStatusTest.php index e286b711b5b..db940ec7860 100644 --- a/tests/app/Elements/LdsSpouseSealingDateStatusTest.php +++ b/tests/app/Elements/LdsSpouseSealingDateStatusTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\LdsSpouseSealingDateStatus */ -class LdsSpouseSealingDateStatusTest extends AbstractElementTest +class LdsSpouseSealingDateStatusTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new LdsSpouseSealingDateStatus('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/LdsSpouseSealingTest.php b/tests/app/Elements/LdsSpouseSealingTest.php index ca16bf8e36b..7cc009c4c15 100644 --- a/tests/app/Elements/LdsSpouseSealingTest.php +++ b/tests/app/Elements/LdsSpouseSealingTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\LdsSpouseSealing */ -class LdsSpouseSealingTest extends AbstractElementTest +class LdsSpouseSealingTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/LocationRecordTest.php b/tests/app/Elements/LocationRecordTest.php index c29c3831cb3..d5c7ba5a96a 100644 --- a/tests/app/Elements/LocationRecordTest.php +++ b/tests/app/Elements/LocationRecordTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\LocationRecord */ -class LocationRecordTest extends AbstractElementTest +class LocationRecordTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/MaidenheadLocatorTest.php b/tests/app/Elements/MaidenheadLocatorTest.php index 7361aed7fd2..693fe1d29aa 100644 --- a/tests/app/Elements/MaidenheadLocatorTest.php +++ b/tests/app/Elements/MaidenheadLocatorTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\MaidenheadLocator */ -class MaidenheadLocatorTest extends AbstractElementTest +class MaidenheadLocatorTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -38,9 +38,6 @@ public static function setupBeforeClass(): void } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('AB', self::$element->canonical('ab')); diff --git a/tests/app/Elements/MarriageBannsTest.php b/tests/app/Elements/MarriageBannsTest.php index d4d9b3f5820..7385dc1d265 100644 --- a/tests/app/Elements/MarriageBannsTest.php +++ b/tests/app/Elements/MarriageBannsTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\MarriageBanns */ -class MarriageBannsTest extends AbstractElementTest +class MarriageBannsTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/MarriageContractTest.php b/tests/app/Elements/MarriageContractTest.php index 6638110867b..3d589251d92 100644 --- a/tests/app/Elements/MarriageContractTest.php +++ b/tests/app/Elements/MarriageContractTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\MarriageContract */ -class MarriageContractTest extends AbstractElementTest +class MarriageContractTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/MarriageLicenceTest.php b/tests/app/Elements/MarriageLicenceTest.php index 15d1cba64f1..528b21a416a 100644 --- a/tests/app/Elements/MarriageLicenceTest.php +++ b/tests/app/Elements/MarriageLicenceTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\MarriageLicence */ -class MarriageLicenceTest extends AbstractElementTest +class MarriageLicenceTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/MarriageSettlementTest.php b/tests/app/Elements/MarriageSettlementTest.php index ae7ab4e6e9b..b597f9bd1b3 100644 --- a/tests/app/Elements/MarriageSettlementTest.php +++ b/tests/app/Elements/MarriageSettlementTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\MarriageSettlement */ -class MarriageSettlementTest extends AbstractElementTest +class MarriageSettlementTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/MarriageTest.php b/tests/app/Elements/MarriageTest.php index 6afb854987f..46115b5a163 100644 --- a/tests/app/Elements/MarriageTest.php +++ b/tests/app/Elements/MarriageTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Marriage */ -class MarriageTest extends AbstractElementTest +class MarriageTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/MarriageTypeTest.php b/tests/app/Elements/MarriageTypeTest.php index 2b571c6bd3a..e75be7d6b28 100644 --- a/tests/app/Elements/MarriageTypeTest.php +++ b/tests/app/Elements/MarriageTypeTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\MarriageType */ -class MarriageTypeTest extends AbstractElementTest +class MarriageTypeTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new MarriageType('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/MediaRecordTest.php b/tests/app/Elements/MediaRecordTest.php index 3cf55df9e19..c9b0c587c65 100644 --- a/tests/app/Elements/MediaRecordTest.php +++ b/tests/app/Elements/MediaRecordTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\MediaRecord */ -class MediaRecordTest extends AbstractElementTest +class MediaRecordTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/MultimediaFileReferenceTest.php b/tests/app/Elements/MultimediaFileReferenceTest.php index ccc12edbe15..660468065ae 100644 --- a/tests/app/Elements/MultimediaFileReferenceTest.php +++ b/tests/app/Elements/MultimediaFileReferenceTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\MultimediaFileReference */ -class MultimediaFileReferenceTest extends AbstractElementTest +class MultimediaFileReferenceTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new MultimediaFileReference('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('Foo bAr baZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/MultimediaFormatTest.php b/tests/app/Elements/MultimediaFormatTest.php index 26f09945e39..834b724a5ec 100644 --- a/tests/app/Elements/MultimediaFormatTest.php +++ b/tests/app/Elements/MultimediaFormatTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\MultimediaFormat */ -class MultimediaFormatTest extends AbstractElementTest +class MultimediaFormatTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new MultimediaFormat('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('JPG', self::$element->canonical('jpg')); diff --git a/tests/app/Elements/NameOfBusinessTest.php b/tests/app/Elements/NameOfBusinessTest.php index b0db82cfd9c..ae01e586801 100644 --- a/tests/app/Elements/NameOfBusinessTest.php +++ b/tests/app/Elements/NameOfBusinessTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NameOfBusiness */ -class NameOfBusinessTest extends AbstractElementTest +class NameOfBusinessTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/NameOfFamilyFileTest.php b/tests/app/Elements/NameOfFamilyFileTest.php index e474223fb73..6086e6655fe 100644 --- a/tests/app/Elements/NameOfFamilyFileTest.php +++ b/tests/app/Elements/NameOfFamilyFileTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NameOfFamilyFile */ -class NameOfFamilyFileTest extends AbstractElementTest +class NameOfFamilyFileTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/NameOfProductTest.php b/tests/app/Elements/NameOfProductTest.php index 5f8d45a7856..f2957590af3 100644 --- a/tests/app/Elements/NameOfProductTest.php +++ b/tests/app/Elements/NameOfProductTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NameOfProduct */ -class NameOfProductTest extends AbstractElementTest +class NameOfProductTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/NameOfRepositoryTest.php b/tests/app/Elements/NameOfRepositoryTest.php index 170ea5e83d8..74f25356470 100644 --- a/tests/app/Elements/NameOfRepositoryTest.php +++ b/tests/app/Elements/NameOfRepositoryTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NameOfRepository */ -class NameOfRepositoryTest extends AbstractElementTest +class NameOfRepositoryTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/NameOfSourceDataTest.php b/tests/app/Elements/NameOfSourceDataTest.php index 05960eda5ab..669b358dbac 100644 --- a/tests/app/Elements/NameOfSourceDataTest.php +++ b/tests/app/Elements/NameOfSourceDataTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NameOfSourceData */ -class NameOfSourceDataTest extends AbstractElementTest +class NameOfSourceDataTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/NamePersonalTest.php b/tests/app/Elements/NamePersonalTest.php index dc90fd4993d..7f96f49f2c7 100644 --- a/tests/app/Elements/NamePersonalTest.php +++ b/tests/app/Elements/NamePersonalTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NamePersonal */ -class NamePersonalTest extends AbstractElementTest +class NamePersonalTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/NamePhoneticVariationTest.php b/tests/app/Elements/NamePhoneticVariationTest.php index feaacba340d..0ba9aaee568 100644 --- a/tests/app/Elements/NamePhoneticVariationTest.php +++ b/tests/app/Elements/NamePhoneticVariationTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NamePhoneticVariation */ -class NamePhoneticVariationTest extends AbstractElementTest +class NamePhoneticVariationTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/NamePieceGivenTest.php b/tests/app/Elements/NamePieceGivenTest.php index daae7ac1af0..4e004dcadb7 100644 --- a/tests/app/Elements/NamePieceGivenTest.php +++ b/tests/app/Elements/NamePieceGivenTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NamePieceGiven */ -class NamePieceGivenTest extends AbstractElementTest +class NamePieceGivenTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/NamePieceNicknameTest.php b/tests/app/Elements/NamePieceNicknameTest.php index 77ee91f6525..f8225cf3305 100644 --- a/tests/app/Elements/NamePieceNicknameTest.php +++ b/tests/app/Elements/NamePieceNicknameTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NamePieceNickname */ -class NamePieceNicknameTest extends AbstractElementTest +class NamePieceNicknameTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/NamePiecePrefixTest.php b/tests/app/Elements/NamePiecePrefixTest.php index f841da9f61f..4ad5ddf7b2f 100644 --- a/tests/app/Elements/NamePiecePrefixTest.php +++ b/tests/app/Elements/NamePiecePrefixTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NamePiecePrefix */ -class NamePiecePrefixTest extends AbstractElementTest +class NamePiecePrefixTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/NamePieceSuffixTest.php b/tests/app/Elements/NamePieceSuffixTest.php index 91f0fad6c4c..1a6181b4a61 100644 --- a/tests/app/Elements/NamePieceSuffixTest.php +++ b/tests/app/Elements/NamePieceSuffixTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NamePieceSuffix */ -class NamePieceSuffixTest extends AbstractElementTest +class NamePieceSuffixTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/NamePieceSurnamePrefixTest.php b/tests/app/Elements/NamePieceSurnamePrefixTest.php index 3a298737192..41a8455a94b 100644 --- a/tests/app/Elements/NamePieceSurnamePrefixTest.php +++ b/tests/app/Elements/NamePieceSurnamePrefixTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NamePieceSurnamePrefix */ -class NamePieceSurnamePrefixTest extends AbstractElementTest +class NamePieceSurnamePrefixTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/NamePieceSurnameTest.php b/tests/app/Elements/NamePieceSurnameTest.php index 30998c5ff9a..e4e66e8f09b 100644 --- a/tests/app/Elements/NamePieceSurnameTest.php +++ b/tests/app/Elements/NamePieceSurnameTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NamePieceSurname */ -class NamePieceSurnameTest extends AbstractElementTest +class NamePieceSurnameTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/NameRomanizedVariationTest.php b/tests/app/Elements/NameRomanizedVariationTest.php index e95c7cdd5bd..132fca4f977 100644 --- a/tests/app/Elements/NameRomanizedVariationTest.php +++ b/tests/app/Elements/NameRomanizedVariationTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NameRomanizedVariation */ -class NameRomanizedVariationTest extends AbstractElementTest +class NameRomanizedVariationTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/NameTypeTest.php b/tests/app/Elements/NameTypeTest.php index 3727a03c94f..3de9996cbcd 100644 --- a/tests/app/Elements/NameTypeTest.php +++ b/tests/app/Elements/NameTypeTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NameType */ -class NameTypeTest extends AbstractElementTest +class NameTypeTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new NameType('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/NationalIdNumberTest.php b/tests/app/Elements/NationalIdNumberTest.php index 113d29bd179..f261f04c3ee 100644 --- a/tests/app/Elements/NationalIdNumberTest.php +++ b/tests/app/Elements/NationalIdNumberTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NationalIdNumber */ -class NationalIdNumberTest extends AbstractElementTest +class NationalIdNumberTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/NationalOrTribalOriginTest.php b/tests/app/Elements/NationalOrTribalOriginTest.php index 905b059088a..7319ce1358d 100644 --- a/tests/app/Elements/NationalOrTribalOriginTest.php +++ b/tests/app/Elements/NationalOrTribalOriginTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NationalOrTribalOrigin */ -class NationalOrTribalOriginTest extends AbstractElementTest +class NationalOrTribalOriginTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/NaturalizationTest.php b/tests/app/Elements/NaturalizationTest.php index dd09faf4bfe..1d20c81568f 100644 --- a/tests/app/Elements/NaturalizationTest.php +++ b/tests/app/Elements/NaturalizationTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Naturalization */ -class NaturalizationTest extends AbstractElementTest +class NaturalizationTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/NobilityTypeTitleTest.php b/tests/app/Elements/NobilityTypeTitleTest.php index 91152273213..d329691673f 100644 --- a/tests/app/Elements/NobilityTypeTitleTest.php +++ b/tests/app/Elements/NobilityTypeTitleTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NobilityTypeTitle */ -class NobilityTypeTitleTest extends AbstractElementTest +class NobilityTypeTitleTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/NoteRecordTest.php b/tests/app/Elements/NoteRecordTest.php index af008c03ea9..e96e1e7c17e 100644 --- a/tests/app/Elements/NoteRecordTest.php +++ b/tests/app/Elements/NoteRecordTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NoteRecord */ -class NoteRecordTest extends AbstractElementTest +class NoteRecordTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/NoteStructureTest.php b/tests/app/Elements/NoteStructureTest.php index 8a32526d447..4387ba4b3af 100644 --- a/tests/app/Elements/NoteStructureTest.php +++ b/tests/app/Elements/NoteStructureTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\NoteStructure */ -class NoteStructureTest extends AbstractElementTest +class NoteStructureTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new NoteStructure('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('Foo bAr baZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/OccupationTest.php b/tests/app/Elements/OccupationTest.php index b07b9582767..2ac3a2f43aa 100644 --- a/tests/app/Elements/OccupationTest.php +++ b/tests/app/Elements/OccupationTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Occupation */ -class OccupationTest extends AbstractElementTest +class OccupationTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/OrdinanceProcessFlagTest.php b/tests/app/Elements/OrdinanceProcessFlagTest.php index a018af5fb2b..9f0a5a1da0b 100644 --- a/tests/app/Elements/OrdinanceProcessFlagTest.php +++ b/tests/app/Elements/OrdinanceProcessFlagTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\OrdinanceProcessFlag */ -class OrdinanceProcessFlagTest extends AbstractElementTest +class OrdinanceProcessFlagTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new OrdinanceProcessFlag('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/OrdinationTest.php b/tests/app/Elements/OrdinationTest.php index b84b008b628..06725c13643 100644 --- a/tests/app/Elements/OrdinationTest.php +++ b/tests/app/Elements/OrdinationTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Ordination */ -class OrdinationTest extends AbstractElementTest +class OrdinationTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/PafUidTest.php b/tests/app/Elements/PafUidTest.php index 5b2facce873..41bce89b6ae 100644 --- a/tests/app/Elements/PafUidTest.php +++ b/tests/app/Elements/PafUidTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\PafUid */ -class PafUidTest extends AbstractElementTest +class PafUidTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/PedigreeLinkageTypeTest.php b/tests/app/Elements/PedigreeLinkageTypeTest.php index 713324087c9..a8afb9f14c3 100644 --- a/tests/app/Elements/PedigreeLinkageTypeTest.php +++ b/tests/app/Elements/PedigreeLinkageTypeTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\PedigreeLinkageType */ -class PedigreeLinkageTypeTest extends AbstractElementTest +class PedigreeLinkageTypeTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new PedigreeLinkageType('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/PermanentRecordFileNumberTest.php b/tests/app/Elements/PermanentRecordFileNumberTest.php index bb248745668..8c6dcf4d89d 100644 --- a/tests/app/Elements/PermanentRecordFileNumberTest.php +++ b/tests/app/Elements/PermanentRecordFileNumberTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\PermanentRecordFileNumber */ -class PermanentRecordFileNumberTest extends AbstractElementTest +class PermanentRecordFileNumberTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/PhoneNumberTest.php b/tests/app/Elements/PhoneNumberTest.php index ba242bfae80..7418de01ac6 100644 --- a/tests/app/Elements/PhoneNumberTest.php +++ b/tests/app/Elements/PhoneNumberTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\PhoneNumber */ -class PhoneNumberTest extends AbstractElementTest +class PhoneNumberTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/PhoneticTypeTest.php b/tests/app/Elements/PhoneticTypeTest.php index 54f91c311f9..813fcba15be 100644 --- a/tests/app/Elements/PhoneticTypeTest.php +++ b/tests/app/Elements/PhoneticTypeTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\PhoneticType */ -class PhoneticTypeTest extends AbstractElementTest +class PhoneticTypeTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new PhoneticType('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/PhysicalDescriptionTest.php b/tests/app/Elements/PhysicalDescriptionTest.php index 1db4882f8d8..2f847a63198 100644 --- a/tests/app/Elements/PhysicalDescriptionTest.php +++ b/tests/app/Elements/PhysicalDescriptionTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\PhysicalDescription */ -class PhysicalDescriptionTest extends AbstractElementTest +class PhysicalDescriptionTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/PlaceHierarchyTest.php b/tests/app/Elements/PlaceHierarchyTest.php index e5b8655cef7..609a355ea76 100644 --- a/tests/app/Elements/PlaceHierarchyTest.php +++ b/tests/app/Elements/PlaceHierarchyTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\PlaceHierarchy */ -class PlaceHierarchyTest extends AbstractElementTest +class PlaceHierarchyTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new PlaceHierarchy('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('Foo, bAr, baZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/PlaceLatitudeTest.php b/tests/app/Elements/PlaceLatitudeTest.php index 128e128fbbf..337a93d2fab 100644 --- a/tests/app/Elements/PlaceLatitudeTest.php +++ b/tests/app/Elements/PlaceLatitudeTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\PlaceLatitude */ -class PlaceLatitudeTest extends AbstractElementTest +class PlaceLatitudeTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/PlaceLivingOrdinanceTest.php b/tests/app/Elements/PlaceLivingOrdinanceTest.php index 9f0954ae4d9..e6bdd303522 100644 --- a/tests/app/Elements/PlaceLivingOrdinanceTest.php +++ b/tests/app/Elements/PlaceLivingOrdinanceTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\PlaceLivingOrdinance */ -class PlaceLivingOrdinanceTest extends AbstractElementTest +class PlaceLivingOrdinanceTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/PlaceLongtitudeTest.php b/tests/app/Elements/PlaceLongtitudeTest.php index cf5911b529f..916045966c4 100644 --- a/tests/app/Elements/PlaceLongtitudeTest.php +++ b/tests/app/Elements/PlaceLongtitudeTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\PlaceLongtitude */ -class PlaceLongtitudeTest extends AbstractElementTest +class PlaceLongtitudeTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/PlaceNameTest.php b/tests/app/Elements/PlaceNameTest.php index fec7038f04b..e849e4ca1a1 100644 --- a/tests/app/Elements/PlaceNameTest.php +++ b/tests/app/Elements/PlaceNameTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\PlaceName */ -class PlaceNameTest extends AbstractElementTest +class PlaceNameTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/PlacePhoneticVariationTest.php b/tests/app/Elements/PlacePhoneticVariationTest.php index 7159622d9ec..5229d83af2c 100644 --- a/tests/app/Elements/PlacePhoneticVariationTest.php +++ b/tests/app/Elements/PlacePhoneticVariationTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\PlacePhoneticVariation */ -class PlacePhoneticVariationTest extends AbstractElementTest +class PlacePhoneticVariationTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/PlaceRomanizedVariationTest.php b/tests/app/Elements/PlaceRomanizedVariationTest.php index 5f1851b909a..02792a53196 100644 --- a/tests/app/Elements/PlaceRomanizedVariationTest.php +++ b/tests/app/Elements/PlaceRomanizedVariationTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\PlaceRomanizedVariation */ -class PlaceRomanizedVariationTest extends AbstractElementTest +class PlaceRomanizedVariationTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/PossessionsTest.php b/tests/app/Elements/PossessionsTest.php index 85637a84474..a955da4a814 100644 --- a/tests/app/Elements/PossessionsTest.php +++ b/tests/app/Elements/PossessionsTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Possessions */ -class PossessionsTest extends AbstractElementTest +class PossessionsTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/ProbateTest.php b/tests/app/Elements/ProbateTest.php index 4685a1994b8..26cb97c0d80 100644 --- a/tests/app/Elements/ProbateTest.php +++ b/tests/app/Elements/ProbateTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Probate */ -class ProbateTest extends AbstractElementTest +class ProbateTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/PublicationDateTest.php b/tests/app/Elements/PublicationDateTest.php index e964794b21c..6264d702a8a 100644 --- a/tests/app/Elements/PublicationDateTest.php +++ b/tests/app/Elements/PublicationDateTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\PublicationDate */ -class PublicationDateTest extends AbstractElementTest +class PublicationDateTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/ReceivingSystemNameTest.php b/tests/app/Elements/ReceivingSystemNameTest.php index c5fe7340caa..85cabf13f56 100644 --- a/tests/app/Elements/ReceivingSystemNameTest.php +++ b/tests/app/Elements/ReceivingSystemNameTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\ReceivingSystemName */ -class ReceivingSystemNameTest extends AbstractElementTest +class ReceivingSystemNameTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/RelationIsDescriptorTest.php b/tests/app/Elements/RelationIsDescriptorTest.php index b1ae194cc48..4350f5c486e 100644 --- a/tests/app/Elements/RelationIsDescriptorTest.php +++ b/tests/app/Elements/RelationIsDescriptorTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\RelationIsDescriptor */ -class RelationIsDescriptorTest extends AbstractElementTest +class RelationIsDescriptorTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/ReligiousAffiliationTest.php b/tests/app/Elements/ReligiousAffiliationTest.php index e040fec78dc..bf7ba039f13 100644 --- a/tests/app/Elements/ReligiousAffiliationTest.php +++ b/tests/app/Elements/ReligiousAffiliationTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\ReligiousAffiliation */ -class ReligiousAffiliationTest extends AbstractElementTest +class ReligiousAffiliationTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/RepositoryRecordTest.php b/tests/app/Elements/RepositoryRecordTest.php index 604d8a43541..1fa66701f58 100644 --- a/tests/app/Elements/RepositoryRecordTest.php +++ b/tests/app/Elements/RepositoryRecordTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\RepositoryRecord */ -class RepositoryRecordTest extends AbstractElementTest +class RepositoryRecordTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/ResearchTaskPriorityTest.php b/tests/app/Elements/ResearchTaskPriorityTest.php index 872e3b217dc..33256ebfed3 100644 --- a/tests/app/Elements/ResearchTaskPriorityTest.php +++ b/tests/app/Elements/ResearchTaskPriorityTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\ResearchTaskPriority */ -class ResearchTaskPriorityTest extends AbstractElementTest +class ResearchTaskPriorityTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/ResearchTaskStatusTest.php b/tests/app/Elements/ResearchTaskStatusTest.php index cce576d1cb1..20774828651 100644 --- a/tests/app/Elements/ResearchTaskStatusTest.php +++ b/tests/app/Elements/ResearchTaskStatusTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\ResearchTaskStatus */ -class ResearchTaskStatusTest extends AbstractElementTest +class ResearchTaskStatusTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/ResearchTaskTest.php b/tests/app/Elements/ResearchTaskTest.php index 7f264521b43..7f9ae40e3f8 100644 --- a/tests/app/Elements/ResearchTaskTest.php +++ b/tests/app/Elements/ResearchTaskTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\ResearchTask */ -class ResearchTaskTest extends AbstractElementTest +class ResearchTaskTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new ResearchTask('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('Foo bAr baZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/ResearchTaskTypeTest.php b/tests/app/Elements/ResearchTaskTypeTest.php index ad18a29b8aa..bf7871e952b 100644 --- a/tests/app/Elements/ResearchTaskTypeTest.php +++ b/tests/app/Elements/ResearchTaskTypeTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\ResearchTaskType */ -class ResearchTaskTypeTest extends AbstractElementTest +class ResearchTaskTypeTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/ResidenceTest.php b/tests/app/Elements/ResidenceTest.php index 6f046d69a7b..dfa25355b13 100644 --- a/tests/app/Elements/ResidenceTest.php +++ b/tests/app/Elements/ResidenceTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Residence */ -class ResidenceTest extends AbstractElementTest +class ResidenceTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/ResidenceWithValueTest.php b/tests/app/Elements/ResidenceWithValueTest.php index 2956a22420c..f5da783c030 100644 --- a/tests/app/Elements/ResidenceWithValueTest.php +++ b/tests/app/Elements/ResidenceWithValueTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ResidenceWithValue * - * @covers \Fisharebest\Webtrees\Elements\ResidenceWithValue + * @covers Fisharebest\Webtrees\Elements\ResidenceWithValue */ class ResidenceWithValueTest extends TestCase { diff --git a/tests/app/Elements/ResponsibleAgencyTest.php b/tests/app/Elements/ResponsibleAgencyTest.php index e7c775c3902..ffd2ce8fa8f 100644 --- a/tests/app/Elements/ResponsibleAgencyTest.php +++ b/tests/app/Elements/ResponsibleAgencyTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\ResponsibleAgency */ -class ResponsibleAgencyTest extends AbstractElementTest +class ResponsibleAgencyTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/RestrictionNoticeTest.php b/tests/app/Elements/RestrictionNoticeTest.php index 862b370b8ac..f1c2d33e095 100644 --- a/tests/app/Elements/RestrictionNoticeTest.php +++ b/tests/app/Elements/RestrictionNoticeTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\RestrictionNotice */ -class RestrictionNoticeTest extends AbstractElementTest +class RestrictionNoticeTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new RestrictionNotice('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('PRIVACY', self::$element->canonical('pRiVacy')); diff --git a/tests/app/Elements/RetirementTest.php b/tests/app/Elements/RetirementTest.php index 037518386bf..e439a3e6e84 100644 --- a/tests/app/Elements/RetirementTest.php +++ b/tests/app/Elements/RetirementTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Retirement */ -class RetirementTest extends AbstractElementTest +class RetirementTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/RoleInEventTest.php b/tests/app/Elements/RoleInEventTest.php index 5375e81f406..002e3c95f89 100644 --- a/tests/app/Elements/RoleInEventTest.php +++ b/tests/app/Elements/RoleInEventTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\RoleInEvent */ -class RoleInEventTest extends AbstractElementTest +class RoleInEventTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new RoleInEvent('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('CHIL', self::$element->canonical('cHiL')); diff --git a/tests/app/Elements/RomanizedTypeTest.php b/tests/app/Elements/RomanizedTypeTest.php index 129d1f64905..4d1557ed397 100644 --- a/tests/app/Elements/RomanizedTypeTest.php +++ b/tests/app/Elements/RomanizedTypeTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\RomanizedType */ -class RomanizedTypeTest extends AbstractElementTest +class RomanizedTypeTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new RomanizedType('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/ScholasticAchievementTest.php b/tests/app/Elements/ScholasticAchievementTest.php index 906f9dd0470..07975379605 100644 --- a/tests/app/Elements/ScholasticAchievementTest.php +++ b/tests/app/Elements/ScholasticAchievementTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\ScholasticAchievement */ -class ScholasticAchievementTest extends AbstractElementTest +class ScholasticAchievementTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/SexValueTest.php b/tests/app/Elements/SexValueTest.php index 466969c2477..d8933860485 100644 --- a/tests/app/Elements/SexValueTest.php +++ b/tests/app/Elements/SexValueTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\SexValue */ -class SexValueTest extends AbstractElementTest +class SexValueTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new SexValue('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/SexXValueTest.php b/tests/app/Elements/SexXValueTest.php index 348bead6549..9364c469620 100644 --- a/tests/app/Elements/SexXValueTest.php +++ b/tests/app/Elements/SexXValueTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\SexXValue */ -class SexXValueTest extends AbstractElementTest +class SexXValueTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new SexXValue('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/SocialSecurityNumberTest.php b/tests/app/Elements/SocialSecurityNumberTest.php index fc2580e95e0..d40c01da8b9 100644 --- a/tests/app/Elements/SocialSecurityNumberTest.php +++ b/tests/app/Elements/SocialSecurityNumberTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\SocialSecurityNumber */ -class SocialSecurityNumberTest extends AbstractElementTest +class SocialSecurityNumberTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/SourceCallNumberTest.php b/tests/app/Elements/SourceCallNumberTest.php index 47a7b0f08d9..26ad1a940ea 100644 --- a/tests/app/Elements/SourceCallNumberTest.php +++ b/tests/app/Elements/SourceCallNumberTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\SourceCallNumber */ -class SourceCallNumberTest extends AbstractElementTest +class SourceCallNumberTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/SourceDataTest.php b/tests/app/Elements/SourceDataTest.php index 8538f3c33d9..8da753eed2e 100644 --- a/tests/app/Elements/SourceDataTest.php +++ b/tests/app/Elements/SourceDataTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\SourceData */ -class SourceDataTest extends AbstractElementTest +class SourceDataTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/SourceDescriptiveTitleTest.php b/tests/app/Elements/SourceDescriptiveTitleTest.php index 8cf62207d50..46d03ec7d53 100644 --- a/tests/app/Elements/SourceDescriptiveTitleTest.php +++ b/tests/app/Elements/SourceDescriptiveTitleTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\SourceDescriptiveTitle */ -class SourceDescriptiveTitleTest extends AbstractElementTest +class SourceDescriptiveTitleTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/SourceFiledByEntryTest.php b/tests/app/Elements/SourceFiledByEntryTest.php index 746ea0d75b3..92c08192020 100644 --- a/tests/app/Elements/SourceFiledByEntryTest.php +++ b/tests/app/Elements/SourceFiledByEntryTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\SourceFiledByEntry */ -class SourceFiledByEntryTest extends AbstractElementTest +class SourceFiledByEntryTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/SourceJurisdictionPlaceTest.php b/tests/app/Elements/SourceJurisdictionPlaceTest.php index 1d07bbe017b..a02b65263e1 100644 --- a/tests/app/Elements/SourceJurisdictionPlaceTest.php +++ b/tests/app/Elements/SourceJurisdictionPlaceTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\SourceJurisdictionPlace */ -class SourceJurisdictionPlaceTest extends AbstractElementTest +class SourceJurisdictionPlaceTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/SourceMediaTypeTest.php b/tests/app/Elements/SourceMediaTypeTest.php index dbce77f8c07..42343d3d560 100644 --- a/tests/app/Elements/SourceMediaTypeTest.php +++ b/tests/app/Elements/SourceMediaTypeTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\SourceMediaType */ -class SourceMediaTypeTest extends AbstractElementTest +class SourceMediaTypeTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new SourceMediaType('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/SourceOriginatorTest.php b/tests/app/Elements/SourceOriginatorTest.php index 705c73a2f69..5b7c1188553 100644 --- a/tests/app/Elements/SourceOriginatorTest.php +++ b/tests/app/Elements/SourceOriginatorTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\SourceOriginator */ -class SourceOriginatorTest extends AbstractElementTest +class SourceOriginatorTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new SourceOriginator('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('Foo bAr baZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/SourcePublicationFactsTest.php b/tests/app/Elements/SourcePublicationFactsTest.php index 1d4756c136e..b0b634dc5a3 100644 --- a/tests/app/Elements/SourcePublicationFactsTest.php +++ b/tests/app/Elements/SourcePublicationFactsTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\SourcePublicationFacts */ -class SourcePublicationFactsTest extends AbstractElementTest +class SourcePublicationFactsTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new SourcePublicationFacts('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('Foo bAr baZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/SourceRecordTest.php b/tests/app/Elements/SourceRecordTest.php index 0e3274a37fb..6d5997fc208 100644 --- a/tests/app/Elements/SourceRecordTest.php +++ b/tests/app/Elements/SourceRecordTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\SourceRecord */ -class SourceRecordTest extends AbstractElementTest +class SourceRecordTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/SubmissionRecordTest.php b/tests/app/Elements/SubmissionRecordTest.php index 2a82d626e30..8c5440c5da6 100644 --- a/tests/app/Elements/SubmissionRecordTest.php +++ b/tests/app/Elements/SubmissionRecordTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\SubmissionRecord */ -class SubmissionRecordTest extends AbstractElementTest +class SubmissionRecordTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/SubmitterNameTest.php b/tests/app/Elements/SubmitterNameTest.php index 02ecbada2b9..4a3edb03b97 100644 --- a/tests/app/Elements/SubmitterNameTest.php +++ b/tests/app/Elements/SubmitterNameTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\SubmitterName */ -class SubmitterNameTest extends AbstractElementTest +class SubmitterNameTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/SubmitterRecordTest.php b/tests/app/Elements/SubmitterRecordTest.php index b099530800f..3df374958f3 100644 --- a/tests/app/Elements/SubmitterRecordTest.php +++ b/tests/app/Elements/SubmitterRecordTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\SubmitterRecord */ -class SubmitterRecordTest extends AbstractElementTest +class SubmitterRecordTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/SubmitterRegisteredRfnTest.php b/tests/app/Elements/SubmitterRegisteredRfnTest.php index e044bb424b7..b93e3217c1f 100644 --- a/tests/app/Elements/SubmitterRegisteredRfnTest.php +++ b/tests/app/Elements/SubmitterRegisteredRfnTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\SubmitterRegisteredRfn */ -class SubmitterRegisteredRfnTest extends AbstractElementTest +class SubmitterRegisteredRfnTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/SubmitterTextTest.php b/tests/app/Elements/SubmitterTextTest.php index 26ee277e06a..b717a5a9f66 100644 --- a/tests/app/Elements/SubmitterTextTest.php +++ b/tests/app/Elements/SubmitterTextTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\SubmitterText */ -class SubmitterTextTest extends AbstractElementTest +class SubmitterTextTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new SubmitterText('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('Foo bAr baZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/TempleCodeTest.php b/tests/app/Elements/TempleCodeTest.php index 9163ae3faad..8b9411734c2 100644 --- a/tests/app/Elements/TempleCodeTest.php +++ b/tests/app/Elements/TempleCodeTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\TempleCode */ -class TempleCodeTest extends AbstractElementTest +class TempleCodeTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new TempleCode('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('FOO BAR BAZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/TextFromSourceTest.php b/tests/app/Elements/TextFromSourceTest.php index f8f2c1e9367..ac30733adaf 100644 --- a/tests/app/Elements/TextFromSourceTest.php +++ b/tests/app/Elements/TextFromSourceTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\TextFromSource */ -class TextFromSourceTest extends AbstractElementTest +class TextFromSourceTest extends AbstractElementTestCase { /** * Standard tests for all elements. @@ -37,9 +37,6 @@ public static function setupBeforeClass(): void self::$element = new TextFromSource('label'); } - /** - * @return void - */ public function testCanonical(): void { self::assertSame('Foo bAr baZ', self::$element->canonical('Foo bAr baZ')); diff --git a/tests/app/Elements/TimeValueNowTest.php b/tests/app/Elements/TimeValueNowTest.php index ddfb9ac82ad..9eb7130bf78 100644 --- a/tests/app/Elements/TimeValueNowTest.php +++ b/tests/app/Elements/TimeValueNowTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TimeValueNow * - * @covers \Fisharebest\Webtrees\Elements\TimeValueNow + * @covers Fisharebest\Webtrees\Elements\TimeValueNow */ class TimeValueNowTest extends TestCase { diff --git a/tests/app/Elements/TimeValueTest.php b/tests/app/Elements/TimeValueTest.php index 0146cff088b..be69948e141 100644 --- a/tests/app/Elements/TimeValueTest.php +++ b/tests/app/Elements/TimeValueTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\TimeValue */ -class TimeValueTest extends AbstractElementTest +class TimeValueTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/TransmissionDateTest.php b/tests/app/Elements/TransmissionDateTest.php index f87229128ba..063e8f9c56c 100644 --- a/tests/app/Elements/TransmissionDateTest.php +++ b/tests/app/Elements/TransmissionDateTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\TransmissionDate */ -class TransmissionDateTest extends AbstractElementTest +class TransmissionDateTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/UidTest.php b/tests/app/Elements/UidTest.php index fd630198739..5de04b7246e 100644 --- a/tests/app/Elements/UidTest.php +++ b/tests/app/Elements/UidTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Uid */ -class UidTest extends AbstractElementTest +class UidTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/UnknownElementTest.php b/tests/app/Elements/UnknownElementTest.php index aecabe86c24..4da211fbd61 100644 --- a/tests/app/Elements/UnknownElementTest.php +++ b/tests/app/Elements/UnknownElementTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\UnknownElement */ -class UnknownElementTest extends AbstractElementTest +class UnknownElementTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/UserReferenceNumberTest.php b/tests/app/Elements/UserReferenceNumberTest.php index 3d38edfe82c..c1b67325737 100644 --- a/tests/app/Elements/UserReferenceNumberTest.php +++ b/tests/app/Elements/UserReferenceNumberTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\UserReferenceNumber */ -class UserReferenceNumberTest extends AbstractElementTest +class UserReferenceNumberTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/UserReferenceTypeTest.php b/tests/app/Elements/UserReferenceTypeTest.php index c9bba81b983..642f2776ed5 100644 --- a/tests/app/Elements/UserReferenceTypeTest.php +++ b/tests/app/Elements/UserReferenceTypeTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\UserReferenceType */ -class UserReferenceTypeTest extends AbstractElementTest +class UserReferenceTypeTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/VersionNumberTest.php b/tests/app/Elements/VersionNumberTest.php index b80a90ec076..b7f6926cef4 100644 --- a/tests/app/Elements/VersionNumberTest.php +++ b/tests/app/Elements/VersionNumberTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\VersionNumber */ -class VersionNumberTest extends AbstractElementTest +class VersionNumberTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/WebtreesUserTest.php b/tests/app/Elements/WebtreesUserTest.php index 71ea8793ff4..2abb94f8ca0 100644 --- a/tests/app/Elements/WebtreesUserTest.php +++ b/tests/app/Elements/WebtreesUserTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\WebtreesUser */ -class WebtreesUserTest extends AbstractElementTest +class WebtreesUserTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/WhereWithinSourceTest.php b/tests/app/Elements/WhereWithinSourceTest.php index 934a8ed5ad8..83eb2efec4c 100644 --- a/tests/app/Elements/WhereWithinSourceTest.php +++ b/tests/app/Elements/WhereWithinSourceTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\WhereWithinSource */ -class WhereWithinSourceTest extends AbstractElementTest +class WhereWithinSourceTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/WillTest.php b/tests/app/Elements/WillTest.php index c33931336c5..0e6e71f3609 100644 --- a/tests/app/Elements/WillTest.php +++ b/tests/app/Elements/WillTest.php @@ -25,7 +25,7 @@ * @covers \Fisharebest\Webtrees\Elements\AbstractElement * @covers \Fisharebest\Webtrees\Elements\Will */ -class WillTest extends AbstractElementTest +class WillTest extends AbstractElementTestCase { /** * Standard tests for all elements. diff --git a/tests/app/Elements/XrefAssociateTest.php b/tests/app/Elements/XrefAssociateTest.php index d830fe3a2ca..5c87a9644b4 100644 --- a/tests/app/Elements/XrefAssociateTest.php +++ b/tests/app/Elements/XrefAssociateTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class XrefAssociate * - * @covers \Fisharebest\Webtrees\Elements\XrefAssociate + * @covers Fisharebest\Webtrees\Elements\XrefAssociate */ class XrefAssociateTest extends TestCase { diff --git a/tests/app/Elements/XrefFamilyTest.php b/tests/app/Elements/XrefFamilyTest.php index 1611f171d7a..2e9c8bfdd60 100644 --- a/tests/app/Elements/XrefFamilyTest.php +++ b/tests/app/Elements/XrefFamilyTest.php @@ -25,6 +25,7 @@ use Fisharebest\Webtrees\Registry; use Fisharebest\Webtrees\TestCase; use Fisharebest\Webtrees\Tree; +use Fisharebest\Webtrees\Webtrees; use Psr\Http\Message\ServerRequestInterface; /** @@ -36,9 +37,6 @@ */ class XrefFamilyTest extends TestCase { - /** - * @return void - */ public function testEdit(): void { $element = new XrefFamily(''); @@ -55,7 +53,7 @@ public function testEdit(): void $request = self::createRequest(); - app()->instance(ServerRequestInterface::class, $request); + Webtrees::set(ServerRequestInterface::class, $request); $html = $element->edit('some-id', 'some-name', '@X123@', $tree); $dom = new DOMDocument(); @@ -68,9 +66,6 @@ public function testEdit(): void self::assertEquals(1, $option_nodes->count()); } - /** - * @return void - */ public function testEscape(): void { $element = new XrefFamily(''); @@ -78,9 +73,6 @@ public function testEscape(): void self::assertSame('@X123@', $element->escape('@X123@')); } - /** - * @return void - */ public function testValueXrefLink(): void { $element = new XrefFamily(''); @@ -109,9 +101,6 @@ public function testValueXrefLink(): void self::assertSame('Full Name', $element->value('@X123@', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithInvalidXref(): void { $element = new XrefFamily(''); @@ -121,9 +110,6 @@ public function testValueXrefLinkWithInvalidXref(): void self::assertSame('invalid', $element->value('invalid', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithMissingRecord(): void { $element = new XrefFamily(''); diff --git a/tests/app/Elements/XrefIndividualTest.php b/tests/app/Elements/XrefIndividualTest.php index 810fe89c2be..77a73281073 100644 --- a/tests/app/Elements/XrefIndividualTest.php +++ b/tests/app/Elements/XrefIndividualTest.php @@ -25,10 +25,9 @@ use Fisharebest\Webtrees\Registry; use Fisharebest\Webtrees\TestCase; use Fisharebest\Webtrees\Tree; +use Fisharebest\Webtrees\Webtrees; use Psr\Http\Message\ServerRequestInterface; -use function app; - /** * Test harness for the class XrefIndividual * @@ -38,9 +37,6 @@ */ class XrefIndividualTest extends TestCase { - /** - * @return void - */ public function testEdit(): void { $element = new XrefIndividual(''); @@ -57,7 +53,7 @@ public function testEdit(): void $request = self::createRequest(); - app()->instance(ServerRequestInterface::class, $request); + Webtrees::set(ServerRequestInterface::class, $request); $html = $element->edit('some-id', 'some-name', '@X123@', $tree); $dom = new DOMDocument(); @@ -70,9 +66,6 @@ public function testEdit(): void self::assertEquals(1, $option_nodes->count()); } - /** - * @return void - */ public function testEscape(): void { $element = new XrefIndividual(''); @@ -80,9 +73,6 @@ public function testEscape(): void self::assertSame('@X123@', $element->escape('@X123@')); } - /** - * @return void - */ public function testValueXrefLink(): void { $element = new XrefIndividual(''); @@ -111,9 +101,6 @@ public function testValueXrefLink(): void self::assertSame('Full Name', $element->value('@X123@', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithInvalidXref(): void { $element = new XrefIndividual(''); @@ -123,9 +110,6 @@ public function testValueXrefLinkWithInvalidXref(): void self::assertSame('invalid', $element->value('invalid', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithMissingRecord(): void { $element = new XrefIndividual(''); diff --git a/tests/app/Elements/XrefLocationTest.php b/tests/app/Elements/XrefLocationTest.php index 95a60081a39..78b9ef5dfe7 100644 --- a/tests/app/Elements/XrefLocationTest.php +++ b/tests/app/Elements/XrefLocationTest.php @@ -25,10 +25,9 @@ use Fisharebest\Webtrees\Registry; use Fisharebest\Webtrees\TestCase; use Fisharebest\Webtrees\Tree; +use Fisharebest\Webtrees\Webtrees; use Psr\Http\Message\ServerRequestInterface; -use function app; - /** * Test harness for the class XrefLocation * @@ -38,9 +37,6 @@ */ class XrefLocationTest extends TestCase { - /** - * @return void - */ public function testEdit(): void { $element = new XrefLocation(''); @@ -57,7 +53,7 @@ public function testEdit(): void $request = self::createRequest(); - app()->instance(ServerRequestInterface::class, $request); + Webtrees::set(ServerRequestInterface::class, $request); $html = $element->edit('some-id', 'some-name', '@X123@', $tree); $dom = new DOMDocument(); @@ -70,9 +66,6 @@ public function testEdit(): void self::assertEquals(1, $option_nodes->count()); } - /** - * @return void - */ public function testEscape(): void { $element = new XrefLocation(''); @@ -80,9 +73,6 @@ public function testEscape(): void self::assertSame('@X123@', $element->escape('@X123@')); } - /** - * @return void - */ public function testValueXrefLink(): void { $element = new XrefLocation(''); @@ -111,9 +101,6 @@ public function testValueXrefLink(): void self::assertSame('Full Name', $element->value('@X123@', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithInvalidXref(): void { $element = new XrefLocation(''); @@ -123,9 +110,6 @@ public function testValueXrefLinkWithInvalidXref(): void self::assertSame('invalid', $element->value('invalid', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithMissingRecord(): void { $element = new XrefLocation(''); diff --git a/tests/app/Elements/XrefMediaTest.php b/tests/app/Elements/XrefMediaTest.php index 583ec851125..1d66e656fda 100644 --- a/tests/app/Elements/XrefMediaTest.php +++ b/tests/app/Elements/XrefMediaTest.php @@ -25,10 +25,9 @@ use Fisharebest\Webtrees\Registry; use Fisharebest\Webtrees\TestCase; use Fisharebest\Webtrees\Tree; +use Fisharebest\Webtrees\Webtrees; use Psr\Http\Message\ServerRequestInterface; -use function app; - /** * Test harness for the class XrefMedia * @@ -38,9 +37,6 @@ */ class XrefMediaTest extends TestCase { - /** - * @return void - */ public function testEdit(): void { $element = new XrefMedia(''); @@ -57,7 +53,7 @@ public function testEdit(): void $request = self::createRequest(); - app()->instance(ServerRequestInterface::class, $request); + Webtrees::set(ServerRequestInterface::class, $request); $html = $element->edit('some-id', 'some-name', '@X123@', $tree); $dom = new DOMDocument(); @@ -69,9 +65,6 @@ public function testEdit(): void $option_nodes = $select_nodes[0]->getElementsByTagName('option'); self::assertEquals(1, $option_nodes->count()); } - /** - * @return void - */ public function testEscape(): void { $element = new XrefMedia(''); @@ -79,9 +72,6 @@ public function testEscape(): void self::assertSame('@X123@', $element->escape('@X123@')); } - /** - * @return void - */ public function testValueXrefLink(): void { $element = new XrefMedia(''); @@ -110,9 +100,6 @@ public function testValueXrefLink(): void self::assertSame('Full Name', $element->value('@X123@', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithInvalidXref(): void { $element = new XrefMedia(''); @@ -122,9 +109,6 @@ public function testValueXrefLinkWithInvalidXref(): void self::assertSame('invalid', $element->value('invalid', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithMissingRecord(): void { $element = new XrefMedia(''); diff --git a/tests/app/Elements/XrefNoteTest.php b/tests/app/Elements/XrefNoteTest.php index e8e2c57ec86..e8b442a09bd 100644 --- a/tests/app/Elements/XrefNoteTest.php +++ b/tests/app/Elements/XrefNoteTest.php @@ -35,9 +35,6 @@ */ class XrefNoteTest extends TestCase { - /** - * @return void - */ public function testEdit(): void { $element = new XrefNote(''); @@ -62,9 +59,6 @@ public function testEdit(): void $option_nodes = $select_nodes[0]->getElementsByTagName('option'); self::assertEquals(1, $option_nodes->count()); } - /** - * @return void - */ public function testEscape(): void { $element = new XrefNote(''); @@ -72,9 +66,6 @@ public function testEscape(): void self::assertSame('@X123@', $element->escape('@X123@')); } - /** - * @return void - */ public function testValueXrefLink(): void { $element = new XrefNote(''); @@ -103,9 +94,6 @@ public function testValueXrefLink(): void self::assertSame('Full Name', $element->value('@X123@', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithInvalidXref(): void { $element = new XrefNote(''); @@ -115,9 +103,6 @@ public function testValueXrefLinkWithInvalidXref(): void self::assertSame('invalid', $element->value('invalid', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithMissingRecord(): void { $element = new XrefNote(''); diff --git a/tests/app/Elements/XrefRepositoryTest.php b/tests/app/Elements/XrefRepositoryTest.php index 81052709d45..b0b898918b5 100644 --- a/tests/app/Elements/XrefRepositoryTest.php +++ b/tests/app/Elements/XrefRepositoryTest.php @@ -25,10 +25,9 @@ use Fisharebest\Webtrees\Repository; use Fisharebest\Webtrees\TestCase; use Fisharebest\Webtrees\Tree; +use Fisharebest\Webtrees\Webtrees; use Psr\Http\Message\ServerRequestInterface; -use function app; - /** * Test harness for the class XrefRepository * @@ -38,9 +37,6 @@ */ class XrefRepositoryTest extends TestCase { - /** - * @return void - */ public function testEdit(): void { $element = new XrefRepository(''); @@ -57,7 +53,7 @@ public function testEdit(): void $request = self::createRequest(); - app()->instance(ServerRequestInterface::class, $request); + Webtrees::set(ServerRequestInterface::class, $request); $html = $element->edit('some-id', 'some-name', '@X123@', $tree); $dom = new DOMDocument(); @@ -69,9 +65,6 @@ public function testEdit(): void $option_nodes = $select_nodes[0]->getElementsByTagName('option'); self::assertEquals(1, $option_nodes->count()); } - /** - * @return void - */ public function testEscape(): void { $element = new XrefRepository(''); @@ -79,9 +72,6 @@ public function testEscape(): void self::assertSame('@X123@', $element->escape('@X123@')); } - /** - * @return void - */ public function testValueXrefLink(): void { $element = new XrefRepository(''); @@ -110,9 +100,6 @@ public function testValueXrefLink(): void self::assertSame('Full Name', $element->value('@X123@', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithInvalidXref(): void { $element = new XrefRepository(''); @@ -122,9 +109,6 @@ public function testValueXrefLinkWithInvalidXref(): void self::assertSame('invalid', $element->value('invalid', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithMissingRecord(): void { $element = new XrefRepository(''); diff --git a/tests/app/Elements/XrefSharedNoteTest.php b/tests/app/Elements/XrefSharedNoteTest.php index f496183cd43..dd9337774cc 100644 --- a/tests/app/Elements/XrefSharedNoteTest.php +++ b/tests/app/Elements/XrefSharedNoteTest.php @@ -35,9 +35,6 @@ */ class XrefSharedNoteTest extends TestCase { - /** - * @return void - */ public function testEdit(): void { $element = new XrefSharedNote(''); @@ -62,9 +59,6 @@ public function testEdit(): void $option_nodes = $select_nodes[0]->getElementsByTagName('option'); self::assertEquals(1, $option_nodes->count()); } - /** - * @return void - */ public function testEscape(): void { $element = new XrefSharedNote(''); @@ -72,9 +66,6 @@ public function testEscape(): void self::assertSame('@X123@', $element->escape('@X123@')); } - /** - * @return void - */ public function testValueXrefLink(): void { $element = new XrefSharedNote(''); @@ -103,9 +94,6 @@ public function testValueXrefLink(): void self::assertSame('Full Name', $element->value('@X123@', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithInvalidXref(): void { $element = new XrefSharedNote(''); @@ -115,9 +103,6 @@ public function testValueXrefLinkWithInvalidXref(): void self::assertSame('invalid', $element->value('invalid', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithMissingRecord(): void { $element = new XrefSharedNote(''); diff --git a/tests/app/Elements/XrefSourceTest.php b/tests/app/Elements/XrefSourceTest.php index a6e20665a79..129f4661388 100644 --- a/tests/app/Elements/XrefSourceTest.php +++ b/tests/app/Elements/XrefSourceTest.php @@ -25,10 +25,9 @@ use Fisharebest\Webtrees\Source; use Fisharebest\Webtrees\TestCase; use Fisharebest\Webtrees\Tree; +use Fisharebest\Webtrees\Webtrees; use Psr\Http\Message\ServerRequestInterface; -use function app; - /** * Test harness for the class XrefSource * @@ -38,9 +37,8 @@ */ class XrefSourceTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testEdit(): void { $element = new XrefSource(''); @@ -57,7 +55,7 @@ public function testEdit(): void $request = self::createRequest(); - app()->instance(ServerRequestInterface::class, $request); + Webtrees::set(ServerRequestInterface::class, $request); $html = $element->edit('some-id', 'some-name', '@X123@', $tree); $dom = new DOMDocument(); @@ -70,9 +68,6 @@ public function testEdit(): void self::assertEquals(1, $option_nodes->count()); } - /** - * @return void - */ public function testEditInlineSource(): void { $element = new XrefSource(''); @@ -81,7 +76,7 @@ public function testEditInlineSource(): void $request = self::createRequest(); - app()->instance(ServerRequestInterface::class, $request); + Webtrees::set(ServerRequestInterface::class, $request); $html = $element->edit('some-id', 'some-name', 'An inline source', $tree); $dom = new DOMDocument(); @@ -91,9 +86,6 @@ public function testEditInlineSource(): void self::assertEquals(1, $textarea_nodes->count()); } - /** - * @return void - */ public function testEscape(): void { $element = new XrefSource(''); @@ -101,9 +93,6 @@ public function testEscape(): void self::assertSame('@X123@', $element->escape('@X123@')); } - /** - * @return void - */ public function testValueXrefLink(): void { $element = new XrefSource(''); @@ -132,9 +121,6 @@ public function testValueXrefLink(): void self::assertSame('Full Name', $element->value('@X123@', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithInvalidXref(): void { $element = new XrefSource(''); @@ -144,9 +130,6 @@ public function testValueXrefLinkWithInvalidXref(): void self::assertSame('@invalid@', $element->value('@invalid@', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithInlineData(): void { $element = new XrefSource(''); @@ -156,9 +139,6 @@ public function testValueXrefLinkWithInlineData(): void self::assertSame('

invalid

', $element->value('invalid', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithMissingRecord(): void { $element = new XrefSource(''); diff --git a/tests/app/Elements/XrefSubmissionTest.php b/tests/app/Elements/XrefSubmissionTest.php index d4aae304a85..c204837d3d9 100644 --- a/tests/app/Elements/XrefSubmissionTest.php +++ b/tests/app/Elements/XrefSubmissionTest.php @@ -25,10 +25,9 @@ use Fisharebest\Webtrees\Submission; use Fisharebest\Webtrees\TestCase; use Fisharebest\Webtrees\Tree; +use Fisharebest\Webtrees\Webtrees; use Psr\Http\Message\ServerRequestInterface; -use function app; - /** * Test harness for the class XrefSubmission * @@ -38,9 +37,6 @@ */ class XrefSubmissionTest extends TestCase { - /** - * @return void - */ public function testEdit(): void { $element = new XrefSubmission(''); @@ -57,7 +53,7 @@ public function testEdit(): void $request = self::createRequest(); - app()->instance(ServerRequestInterface::class, $request); + Webtrees::set(ServerRequestInterface::class, $request); $html = $element->edit('some-id', 'some-name', '@X123@', $tree); $dom = new DOMDocument(); @@ -69,9 +65,6 @@ public function testEdit(): void $option_nodes = $select_nodes[0]->getElementsByTagName('option'); self::assertEquals(1, $option_nodes->count()); } - /** - * @return void - */ public function testEscape(): void { $element = new XrefSubmission(''); @@ -79,9 +72,6 @@ public function testEscape(): void self::assertSame('@X123@', $element->escape('@X123@')); } - /** - * @return void - */ public function testValueXrefLink(): void { $element = new XrefSubmission(''); @@ -110,9 +100,6 @@ public function testValueXrefLink(): void self::assertSame('Full Name', $element->value('@X123@', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithInvalidXref(): void { $element = new XrefSubmission(''); @@ -122,9 +109,6 @@ public function testValueXrefLinkWithInvalidXref(): void self::assertSame('invalid', $element->value('invalid', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithMissingRecord(): void { $element = new XrefSubmission(''); diff --git a/tests/app/Elements/XrefSubmitterTest.php b/tests/app/Elements/XrefSubmitterTest.php index 01f031a1b2b..b7313642460 100644 --- a/tests/app/Elements/XrefSubmitterTest.php +++ b/tests/app/Elements/XrefSubmitterTest.php @@ -25,10 +25,9 @@ use Fisharebest\Webtrees\Submitter; use Fisharebest\Webtrees\TestCase; use Fisharebest\Webtrees\Tree; +use Fisharebest\Webtrees\Webtrees; use Psr\Http\Message\ServerRequestInterface; -use function app; - /** * Test harness for the class XrefSubmitter * @@ -38,9 +37,6 @@ */ class XrefSubmitterTest extends TestCase { - /** - * @return void - */ public function testEdit(): void { $element = new XrefSubmitter(''); @@ -57,7 +53,7 @@ public function testEdit(): void $request = self::createRequest(); - app()->instance(ServerRequestInterface::class, $request); + Webtrees::set(ServerRequestInterface::class, $request); $html = $element->edit('some-id', 'some-name', '@X123@', $tree); $dom = new DOMDocument(); @@ -69,9 +65,6 @@ public function testEdit(): void $option_nodes = $select_nodes[0]->getElementsByTagName('option'); self::assertEquals(1, $option_nodes->count()); } - /** - * @return void - */ public function testEscape(): void { $element = new XrefSubmitter(''); @@ -79,9 +72,6 @@ public function testEscape(): void self::assertSame('@X123@', $element->escape('@X123@')); } - /** - * @return void - */ public function testValueXrefLink(): void { $element = new XrefSubmitter(''); @@ -110,9 +100,6 @@ public function testValueXrefLink(): void self::assertSame('Full Name', $element->value('@X123@', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithInvalidXref(): void { $element = new XrefSubmitter(''); @@ -122,9 +109,6 @@ public function testValueXrefLinkWithInvalidXref(): void self::assertSame('invalid', $element->value('invalid', $tree)); } - /** - * @return void - */ public function testValueXrefLinkWithMissingRecord(): void { $element = new XrefSubmitter(''); diff --git a/tests/app/Encodings/ASCIITest.php b/tests/app/Encodings/ASCIITest.php index 2f61c1daa57..05c26d6ae62 100644 --- a/tests/app/Encodings/ASCIITest.php +++ b/tests/app/Encodings/ASCIITest.php @@ -35,8 +35,6 @@ class ASCIITest extends TestCase /** * @covers \Fisharebest\Webtrees\Encodings\AbstractEncoding * @covers \Fisharebest\Webtrees\Encodings\ASCII - * - * @return void */ public function testToUtf8(): void { diff --git a/tests/app/Encodings/AnselTest.php b/tests/app/Encodings/AnselTest.php index 2f190147b05..e6940c45d52 100644 --- a/tests/app/Encodings/AnselTest.php +++ b/tests/app/Encodings/AnselTest.php @@ -96,8 +96,6 @@ class AnselTest extends TestCase * @covers \Fisharebest\Webtrees\Encodings\AbstractEncoding * @covers \Fisharebest\Webtrees\Encodings\ANSEL * @covers \Fisharebest\Webtrees\Encodings\UTF8::chr - * - * @return void */ public function testPreComposedCharacters(): void { @@ -169,8 +167,6 @@ public function testPreComposedCharacters(): void /** * @covers \Fisharebest\Webtrees\Encodings\AbstractEncoding * @covers \Fisharebest\Webtrees\Encodings\ANSEL - * - * @return void */ public function testToUtf8(): void { @@ -184,8 +180,6 @@ public function testToUtf8(): void /** * @covers \Fisharebest\Webtrees\Encodings\AbstractEncoding * @covers \Fisharebest\Webtrees\Encodings\ANSEL - * - * @return void */ public function testFromUtf8(): void { @@ -199,8 +193,6 @@ public function testFromUtf8(): void /** * @covers \Fisharebest\Webtrees\Encodings\AbstractEncoding * @covers \Fisharebest\Webtrees\Encodings\ANSEL - * - * @return void */ public function testUnprintable(): void { @@ -215,8 +207,6 @@ public function testUnprintable(): void /** * @covers \Fisharebest\Webtrees\Encodings\AbstractEncoding * @covers \Fisharebest\Webtrees\Encodings\ANSEL - * - * @return void */ public function testMultiPartDiacritic(): void { diff --git a/tests/app/Encodings/CP437Test.php b/tests/app/Encodings/CP437Test.php index 52be55314d6..e0b9a5ef10b 100644 --- a/tests/app/Encodings/CP437Test.php +++ b/tests/app/Encodings/CP437Test.php @@ -36,8 +36,6 @@ class CP437Test extends TestCase /** * @covers \Fisharebest\Webtrees\Encodings\AbstractEncoding * @covers \Fisharebest\Webtrees\Encodings\CP437 - * - * @return void */ public function testToUtf8(): void { diff --git a/tests/app/Encodings/CP850Test.php b/tests/app/Encodings/CP850Test.php index 50006bd79d8..3a63a0ace31 100644 --- a/tests/app/Encodings/CP850Test.php +++ b/tests/app/Encodings/CP850Test.php @@ -34,8 +34,6 @@ class CP850Test extends TestCase /** * @covers \Fisharebest\Webtrees\Encodings\AbstractEncoding * @covers \Fisharebest\Webtrees\Encodings\CP850 - * - * @return void */ public function testToUtf8(): void { diff --git a/tests/app/Encodings/ISO88591Test.php b/tests/app/Encodings/ISO88591Test.php index dd5aa28d00e..4643959bf74 100644 --- a/tests/app/Encodings/ISO88591Test.php +++ b/tests/app/Encodings/ISO88591Test.php @@ -36,8 +36,6 @@ class ISO88591Test extends TestCase /** * @covers \Fisharebest\Webtrees\Encodings\AbstractEncoding * @covers \Fisharebest\Webtrees\Encodings\ISO88591 - * - * @return void */ public function testToUtf8(): void { diff --git a/tests/app/Encodings/ISO88592Test.php b/tests/app/Encodings/ISO88592Test.php index 8ccb6f90b80..b8185178c7f 100644 --- a/tests/app/Encodings/ISO88592Test.php +++ b/tests/app/Encodings/ISO88592Test.php @@ -36,8 +36,6 @@ class ISO88592Test extends TestCase /** * @covers \Fisharebest\Webtrees\Encodings\AbstractEncoding * @covers \Fisharebest\Webtrees\Encodings\ISO88592 - * - * @return void */ public function testToUtf8(): void { diff --git a/tests/app/Encodings/MacRomanTest.php b/tests/app/Encodings/MacRomanTest.php index c77977f3b0b..ed394119cb4 100644 --- a/tests/app/Encodings/MacRomanTest.php +++ b/tests/app/Encodings/MacRomanTest.php @@ -30,8 +30,6 @@ class MacRomanTest extends TestCase /** * @covers \Fisharebest\Webtrees\Encodings\AbstractEncoding * @covers \Fisharebest\Webtrees\Encodings\MacRoman - * - * @return void */ public function testToUtf8HexStrings(): void { @@ -98,8 +96,6 @@ public function testToUtf8HexStrings(): void /** * @covers \Fisharebest\Webtrees\Encodings\AbstractEncoding * @covers \Fisharebest\Webtrees\Encodings\MacRoman - * - * @return void */ public function testToUtf8StringLiterals(): void { diff --git a/tests/app/Encodings/UTF16BETest.php b/tests/app/Encodings/UTF16BETest.php index 70d781e1c94..3ebcfe002a9 100644 --- a/tests/app/Encodings/UTF16BETest.php +++ b/tests/app/Encodings/UTF16BETest.php @@ -37,8 +37,6 @@ class UTF16BETest extends TestCase /** * @covers \Fisharebest\Webtrees\Encodings\AbstractEncoding * @covers \Fisharebest\Webtrees\Encodings\UTF16BE - * - * @return void */ public function testToUtf8(): void { diff --git a/tests/app/Encodings/UTF16LETest.php b/tests/app/Encodings/UTF16LETest.php index cfffd164c70..4f72ebda8da 100644 --- a/tests/app/Encodings/UTF16LETest.php +++ b/tests/app/Encodings/UTF16LETest.php @@ -37,8 +37,6 @@ class UTF16LETest extends TestCase /** * @covers \Fisharebest\Webtrees\Encodings\AbstractEncoding * @covers \Fisharebest\Webtrees\Encodings\UTF16LE - * - * @return void */ public function testToUtf8(): void { diff --git a/tests/app/Encodings/UTF8Test.php b/tests/app/Encodings/UTF8Test.php index 55af79752fc..d0ceea3aeeb 100644 --- a/tests/app/Encodings/UTF8Test.php +++ b/tests/app/Encodings/UTF8Test.php @@ -32,8 +32,6 @@ class UTF8Test extends TestCase /** * @covers \Fisharebest\Webtrees\Encodings\AbstractEncoding * @covers \Fisharebest\Webtrees\Encodings\UTF8 - * - * @return void */ public function testToUtf8(): void { @@ -48,8 +46,6 @@ public function testToUtf8(): void /** * @covers \Fisharebest\Webtrees\Encodings\AbstractEncoding * @covers \Fisharebest\Webtrees\Encodings\UTF8 - * - * @return void */ public function testFromUtf8(): void { diff --git a/tests/app/Encodings/Windows1250Test.php b/tests/app/Encodings/Windows1250Test.php index 24ad70ca5b2..dad2b359bf0 100644 --- a/tests/app/Encodings/Windows1250Test.php +++ b/tests/app/Encodings/Windows1250Test.php @@ -36,8 +36,6 @@ class Windows1250Test extends TestCase /** * @covers \Fisharebest\Webtrees\Encodings\AbstractEncoding * @covers \Fisharebest\Webtrees\Encodings\Windows1250 - * - * @return void */ public function testToUtf8(): void { diff --git a/tests/app/Encodings/Windows1251Test.php b/tests/app/Encodings/Windows1251Test.php index 9ce0a0327a8..e4bd398c821 100644 --- a/tests/app/Encodings/Windows1251Test.php +++ b/tests/app/Encodings/Windows1251Test.php @@ -36,8 +36,6 @@ class Windows1251Test extends TestCase /** * @covers \Fisharebest\Webtrees\Encodings\AbstractEncoding * @covers \Fisharebest\Webtrees\Encodings\Windows1251 - * - * @return void */ public function testToUtf8(): void { diff --git a/tests/app/Encodings/Windows1252Test.php b/tests/app/Encodings/Windows1252Test.php index b3190ec68f7..5889eda8e8d 100644 --- a/tests/app/Encodings/Windows1252Test.php +++ b/tests/app/Encodings/Windows1252Test.php @@ -36,8 +36,6 @@ class Windows1252Test extends TestCase /** * @covers \Fisharebest\Webtrees\Encodings\AbstractEncoding * @covers \Fisharebest\Webtrees\Encodings\Windows1252 - * - * @return void */ public function testToUtf8(): void { diff --git a/tests/app/Exceptions/FileUploadExceptionTest.php b/tests/app/Exceptions/FileUploadExceptionTest.php index bc605e7dd0e..73b24bd6956 100644 --- a/tests/app/Exceptions/FileUploadExceptionTest.php +++ b/tests/app/Exceptions/FileUploadExceptionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FileUploadException * - * @covers \Fisharebest\Webtrees\Exceptions\FileUploadException + * @covers Fisharebest\Webtrees\Exceptions\FileUploadException */ class FileUploadExceptionTest extends TestCase { diff --git a/tests/app/Exceptions/GedcomErrorExceptionTest.php b/tests/app/Exceptions/GedcomErrorExceptionTest.php index 9077fbf548d..6f91f6da854 100644 --- a/tests/app/Exceptions/GedcomErrorExceptionTest.php +++ b/tests/app/Exceptions/GedcomErrorExceptionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class GedcomErrorException * - * @covers \Fisharebest\Webtrees\Exceptions\GedcomErrorException + * @covers Fisharebest\Webtrees\Exceptions\GedcomErrorException */ class GedcomErrorExceptionTest extends TestCase { diff --git a/tests/app/Exceptions/InvalidGedcomEncodingExceptionTest.php b/tests/app/Exceptions/InvalidGedcomEncodingExceptionTest.php index 1b6b5772d1b..2afa072d448 100644 --- a/tests/app/Exceptions/InvalidGedcomEncodingExceptionTest.php +++ b/tests/app/Exceptions/InvalidGedcomEncodingExceptionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class InvalidGedcomEncodingException * - * @covers \Fisharebest\Webtrees\Exceptions\InvalidGedcomEncodingException + * @covers Fisharebest\Webtrees\Exceptions\InvalidGedcomEncodingException */ class InvalidGedcomEncodingExceptionTest extends TestCase { diff --git a/tests/app/FactTest.php b/tests/app/FactTest.php index 0447e6d98ec..5f6f705b47a 100644 --- a/tests/app/FactTest.php +++ b/tests/app/FactTest.php @@ -28,9 +28,6 @@ class FactTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testAttribute(): void { $individual = $this->createStub(Individual::class); @@ -44,8 +41,6 @@ public function testAttribute(): void } /** - * @return void - * * @see https://github.com/fisharebest/webtrees/issues/4417 */ public function testIssue4417(): void diff --git a/tests/app/Factories/CacheFactoryTest.php b/tests/app/Factories/CacheFactoryTest.php index 16f25ef1dc3..71e5fa01d96 100644 --- a/tests/app/Factories/CacheFactoryTest.php +++ b/tests/app/Factories/CacheFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CacheFactory * - * @covers \Fisharebest\Webtrees\Factories\CacheFactory + * @covers Fisharebest\Webtrees\Factories\CacheFactory */ class CacheFactoryTest extends TestCase { diff --git a/tests/app/Factories/ElementFactoryTest.php b/tests/app/Factories/ElementFactoryTest.php index 90bf2a8bfef..53a9eaa19a0 100644 --- a/tests/app/Factories/ElementFactoryTest.php +++ b/tests/app/Factories/ElementFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ElementFactory * - * @covers \Fisharebest\Webtrees\Factories\ElementFactory + * @covers Fisharebest\Webtrees\Factories\ElementFactory */ class ElementFactoryTest extends TestCase { diff --git a/tests/app/Factories/FamilyFactoryTest.php b/tests/app/Factories/FamilyFactoryTest.php index 9c0e361bea2..41c15723e4e 100644 --- a/tests/app/Factories/FamilyFactoryTest.php +++ b/tests/app/Factories/FamilyFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FamilyFactory * - * @covers \Fisharebest\Webtrees\Factories\FamilyFactory + * @covers Fisharebest\Webtrees\Factories\FamilyFactory */ class FamilyFactoryTest extends TestCase { diff --git a/tests/app/Factories/FilesystemFactoryTest.php b/tests/app/Factories/FilesystemFactoryTest.php index 72c1a090217..ee0c65772ec 100644 --- a/tests/app/Factories/FilesystemFactoryTest.php +++ b/tests/app/Factories/FilesystemFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FilesystemFactory * - * @covers \Fisharebest\Webtrees\Factories\FilesystemFactory + * @covers Fisharebest\Webtrees\Factories\FilesystemFactory */ class FilesystemFactoryTest extends TestCase { diff --git a/tests/app/Factories/GedcomRecordFactoryTest.php b/tests/app/Factories/GedcomRecordFactoryTest.php index 4754c04aaaa..1f662729312 100644 --- a/tests/app/Factories/GedcomRecordFactoryTest.php +++ b/tests/app/Factories/GedcomRecordFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class GedcomRecordFactory * - * @covers \Fisharebest\Webtrees\Factories\GedcomRecordFactory + * @covers Fisharebest\Webtrees\Factories\GedcomRecordFactory */ class GedcomRecordFactoryTest extends TestCase { diff --git a/tests/app/Factories/HeaderFactoryTest.php b/tests/app/Factories/HeaderFactoryTest.php index bf0899abe7b..d22ee8e1858 100644 --- a/tests/app/Factories/HeaderFactoryTest.php +++ b/tests/app/Factories/HeaderFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class HeaderFactory * - * @covers \Fisharebest\Webtrees\Factories\HeaderFactory + * @covers Fisharebest\Webtrees\Factories\HeaderFactory */ class HeaderFactoryTest extends TestCase { diff --git a/tests/app/Factories/IdFactoryTest.php b/tests/app/Factories/IdFactoryTest.php index 8c15d592c9b..e176e550236 100644 --- a/tests/app/Factories/IdFactoryTest.php +++ b/tests/app/Factories/IdFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class IdFactory * - * @covers \Fisharebest\Webtrees\Factories\IdFactory + * @covers Fisharebest\Webtrees\Factories\IdFactory */ class IdFactoryTest extends TestCase { diff --git a/tests/app/Factories/ImageFactoryTest.php b/tests/app/Factories/ImageFactoryTest.php index 51b0faec719..8bd968b38f8 100644 --- a/tests/app/Factories/ImageFactoryTest.php +++ b/tests/app/Factories/ImageFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ImageFactory * - * @covers \Fisharebest\Webtrees\Factories\ImageFactory + * @covers Fisharebest\Webtrees\Factories\ImageFactory */ class ImageFactoryTest extends TestCase { diff --git a/tests/app/Factories/IndividualFactoryTest.php b/tests/app/Factories/IndividualFactoryTest.php index 875b08afa87..dc67e339af2 100644 --- a/tests/app/Factories/IndividualFactoryTest.php +++ b/tests/app/Factories/IndividualFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class IndividualFactory * - * @covers \Fisharebest\Webtrees\Factories\IndividualFactory + * @covers Fisharebest\Webtrees\Factories\IndividualFactory */ class IndividualFactoryTest extends TestCase { diff --git a/tests/app/Factories/LocationFactoryTest.php b/tests/app/Factories/LocationFactoryTest.php index c3b1e6804be..4cb0ab81339 100644 --- a/tests/app/Factories/LocationFactoryTest.php +++ b/tests/app/Factories/LocationFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LocationFactory * - * @covers \Fisharebest\Webtrees\Factories\LocationFactory + * @covers Fisharebest\Webtrees\Factories\LocationFactory */ class LocationFactoryTest extends TestCase { diff --git a/tests/app/Factories/MediaFactoryTest.php b/tests/app/Factories/MediaFactoryTest.php index b2222364aa5..e7a597e8ba6 100644 --- a/tests/app/Factories/MediaFactoryTest.php +++ b/tests/app/Factories/MediaFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MediaFactory * - * @covers \Fisharebest\Webtrees\Factories\MediaFactory + * @covers Fisharebest\Webtrees\Factories\MediaFactory */ class MediaFactoryTest extends TestCase { diff --git a/tests/app/Factories/NoteFactoryTest.php b/tests/app/Factories/NoteFactoryTest.php index 6d4a3834f9e..b090c06929d 100644 --- a/tests/app/Factories/NoteFactoryTest.php +++ b/tests/app/Factories/NoteFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class NoteFactory * - * @covers \Fisharebest\Webtrees\Factories\NoteFactory + * @covers Fisharebest\Webtrees\Factories\NoteFactory */ class NoteFactoryTest extends TestCase { diff --git a/tests/app/Factories/RepositoryFactoryTest.php b/tests/app/Factories/RepositoryFactoryTest.php index 1dcab41c3ef..acc9e53da04 100644 --- a/tests/app/Factories/RepositoryFactoryTest.php +++ b/tests/app/Factories/RepositoryFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class RepositoryFactory * - * @covers \Fisharebest\Webtrees\Factories\RepositoryFactory + * @covers Fisharebest\Webtrees\Factories\RepositoryFactory */ class RepositoryFactoryTest extends TestCase { diff --git a/tests/app/Factories/ResponseFactoryTest.php b/tests/app/Factories/ResponseFactoryTest.php index 3728a6c6bd1..9b1458e2844 100644 --- a/tests/app/Factories/ResponseFactoryTest.php +++ b/tests/app/Factories/ResponseFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ResponseFactory * - * @covers \Fisharebest\Webtrees\Factories\ResponseFactory + * @covers Fisharebest\Webtrees\Factories\ResponseFactory */ class ResponseFactoryTest extends TestCase { diff --git a/tests/app/Factories/SharedNoteFactoryTest.php b/tests/app/Factories/SharedNoteFactoryTest.php index f8c6b6a2f86..77d6fdcc938 100644 --- a/tests/app/Factories/SharedNoteFactoryTest.php +++ b/tests/app/Factories/SharedNoteFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SharedNoteFactory * - * @covers \Fisharebest\Webtrees\Factories\SharedNoteFactory + * @covers Fisharebest\Webtrees\Factories\SharedNoteFactory */ class SharedNoteFactoryTest extends TestCase { diff --git a/tests/app/Factories/SlugFactoryTest.php b/tests/app/Factories/SlugFactoryTest.php index 31397bce5cc..c6f615d7a8c 100644 --- a/tests/app/Factories/SlugFactoryTest.php +++ b/tests/app/Factories/SlugFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SlugFactory * - * @covers \Fisharebest\Webtrees\Factories\SlugFactory + * @covers Fisharebest\Webtrees\Factories\SlugFactory */ class SlugFactoryTest extends TestCase { diff --git a/tests/app/Factories/SourceFactoryTest.php b/tests/app/Factories/SourceFactoryTest.php index ad3b3daad0b..bbb245bfd42 100644 --- a/tests/app/Factories/SourceFactoryTest.php +++ b/tests/app/Factories/SourceFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SourceFactory * - * @covers \Fisharebest\Webtrees\Factories\SourceFactory + * @covers Fisharebest\Webtrees\Factories\SourceFactory */ class SourceFactoryTest extends TestCase { diff --git a/tests/app/Factories/SubmissionFactoryTest.php b/tests/app/Factories/SubmissionFactoryTest.php index 0f8545a48d3..7f9adcf0970 100644 --- a/tests/app/Factories/SubmissionFactoryTest.php +++ b/tests/app/Factories/SubmissionFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SubmissionFactory * - * @covers \Fisharebest\Webtrees\Factories\SubmissionFactory + * @covers Fisharebest\Webtrees\Factories\SubmissionFactory */ class SubmissionFactoryTest extends TestCase { diff --git a/tests/app/Factories/SubmitterFactoryTest.php b/tests/app/Factories/SubmitterFactoryTest.php index 67ec4dbc0ed..ef9f87f697e 100644 --- a/tests/app/Factories/SubmitterFactoryTest.php +++ b/tests/app/Factories/SubmitterFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SubmitterFactory * - * @covers \Fisharebest\Webtrees\Factories\SubmitterFactory + * @covers Fisharebest\Webtrees\Factories\SubmitterFactory */ class SubmitterFactoryTest extends TestCase { diff --git a/tests/app/Factories/SurnameTraditionFactoryTest.php b/tests/app/Factories/SurnameTraditionFactoryTest.php index 084e56eb782..7dc0c078f6f 100644 --- a/tests/app/Factories/SurnameTraditionFactoryTest.php +++ b/tests/app/Factories/SurnameTraditionFactoryTest.php @@ -38,7 +38,6 @@ class SurnameTraditionFactoryTest extends TestCase { /** * @covers \Fisharebest\Webtrees\Factories\SurnameTraditionFactory::make - * @return void */ public function testCreate(): void { @@ -59,7 +58,6 @@ public function testCreate(): void * Test create() with invalid input * * @covers \Fisharebest\Webtrees\Factories\SurnameTraditionFactory::make - * @return void */ public function testCreateInvalid(): void { @@ -72,7 +70,6 @@ public function testCreateInvalid(): void * Test allDescriptions() * * @covers \Fisharebest\Webtrees\Factories\SurnameTraditionFactory::list - * @return void */ public function testAllDescriptions(): void { diff --git a/tests/app/Factories/TimeFactoryTest.php b/tests/app/Factories/TimeFactoryTest.php index b0c94dc9042..b061ffacf25 100644 --- a/tests/app/Factories/TimeFactoryTest.php +++ b/tests/app/Factories/TimeFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TimeFactory * - * @covers \Fisharebest\Webtrees\Factories\TimeFactory + * @covers Fisharebest\Webtrees\Factories\TimeFactory */ class TimeFactoryTest extends TestCase { diff --git a/tests/app/Factories/TimestampFactoryTest.php b/tests/app/Factories/TimestampFactoryTest.php index b3731c35b1b..41cb9f034c9 100644 --- a/tests/app/Factories/TimestampFactoryTest.php +++ b/tests/app/Factories/TimestampFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TimestampFactory * - * @covers \Fisharebest\Webtrees\Factories\TimestampFactory + * @covers Fisharebest\Webtrees\Factories\TimestampFactory */ class TimestampFactoryTest extends TestCase { diff --git a/tests/app/Factories/XrefFactoryTest.php b/tests/app/Factories/XrefFactoryTest.php index 7273a2de028..099333224c2 100644 --- a/tests/app/Factories/XrefFactoryTest.php +++ b/tests/app/Factories/XrefFactoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class XrefFactory * - * @covers \Fisharebest\Webtrees\Factories\XrefFactory + * @covers Fisharebest\Webtrees\Factories\XrefFactory */ class XrefFactoryTest extends TestCase { diff --git a/tests/app/FamilyTest.php b/tests/app/FamilyTest.php index 966923d710e..52de579a3b9 100644 --- a/tests/app/FamilyTest.php +++ b/tests/app/FamilyTest.php @@ -28,8 +28,6 @@ class FamilyTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/FlashMessagesTest.php b/tests/app/FlashMessagesTest.php index 119824b9055..32758ab94fe 100644 --- a/tests/app/FlashMessagesTest.php +++ b/tests/app/FlashMessagesTest.php @@ -28,8 +28,6 @@ class FlashMessagesTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/GedcomFilters/GedcomEncodingFilterTest.php b/tests/app/GedcomFilters/GedcomEncodingFilterTest.php index b57970bdca0..e710fa5700f 100644 --- a/tests/app/GedcomFilters/GedcomEncodingFilterTest.php +++ b/tests/app/GedcomFilters/GedcomEncodingFilterTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class GedcomEncodingFilter * - * @covers \Fisharebest\Webtrees\GedcomFilters\GedcomEncodingFilter + * @covers Fisharebest\Webtrees\GedcomFilters\GedcomEncodingFilter */ class GedcomEncodingFilterTest extends TestCase { diff --git a/tests/app/GedcomRecordTest.php b/tests/app/GedcomRecordTest.php index 04b7cb90662..0ee6d53cbc2 100644 --- a/tests/app/GedcomRecordTest.php +++ b/tests/app/GedcomRecordTest.php @@ -29,8 +29,6 @@ class GedcomRecordTest extends TestCase /** * /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/GedcomTest.php b/tests/app/GedcomTest.php index cae2f1cf19d..431d56b3baa 100644 --- a/tests/app/GedcomTest.php +++ b/tests/app/GedcomTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Gedcom * - * @covers \Fisharebest\Webtrees\Gedcom + * @covers Fisharebest\Webtrees\Gedcom */ class GedcomTest extends TestCase { diff --git a/tests/app/GuestUserTest.php b/tests/app/GuestUserTest.php index 324c88e724b..261c0126a64 100644 --- a/tests/app/GuestUserTest.php +++ b/tests/app/GuestUserTest.php @@ -32,7 +32,6 @@ class GuestUserTest extends TestCase * @covers \Fisharebest\Webtrees\GuestUser::email * @covers \Fisharebest\Webtrees\GuestUser::realName * @covers \Fisharebest\Webtrees\GuestUser::userName - * @return void */ public function testAnonymous(): void { @@ -51,7 +50,6 @@ public function testAnonymous(): void * @covers \Fisharebest\Webtrees\GuestUser::email * @covers \Fisharebest\Webtrees\GuestUser::realName * @covers \Fisharebest\Webtrees\GuestUser::userName - * @return void */ public function testVisitor(): void { @@ -67,7 +65,6 @@ public function testVisitor(): void /** * @covers \Fisharebest\Webtrees\GuestUser::getPreference * @covers \Fisharebest\Webtrees\GuestUser::setPreference - * @return void */ public function testPreferences(): void { diff --git a/tests/app/HeaderTest.php b/tests/app/HeaderTest.php index 6c4c8a84121..3157d469916 100644 --- a/tests/app/HeaderTest.php +++ b/tests/app/HeaderTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Header * - * @covers \Fisharebest\Webtrees\Header + * @covers Fisharebest\Webtrees\Header */ class HeaderTest extends TestCase { diff --git a/tests/app/HtmlTest.php b/tests/app/HtmlTest.php index 6dcac63ce33..6dc3e681cba 100644 --- a/tests/app/HtmlTest.php +++ b/tests/app/HtmlTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Html * - * @covers \Fisharebest\Webtrees\Html + * @covers Fisharebest\Webtrees\Html */ class HtmlTest extends TestCase { diff --git a/tests/app/Http/Exceptions/HttpAccessDeniedExceptionTest.php b/tests/app/Http/Exceptions/HttpAccessDeniedExceptionTest.php index 6930ea01f6d..6a6761e3839 100644 --- a/tests/app/Http/Exceptions/HttpAccessDeniedExceptionTest.php +++ b/tests/app/Http/Exceptions/HttpAccessDeniedExceptionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class HttpAccessDeniedException * - * @covers \Fisharebest\Webtrees\Http\Exceptions\HttpAccessDeniedException + * @covers Fisharebest\Webtrees\Http\Exceptions\HttpAccessDeniedException */ class HttpAccessDeniedExceptionTest extends TestCase { diff --git a/tests/app/Http/Exceptions/HttpBadRequestExceptionTest.php b/tests/app/Http/Exceptions/HttpBadRequestExceptionTest.php index c4a29983564..bb40a02ccc0 100644 --- a/tests/app/Http/Exceptions/HttpBadRequestExceptionTest.php +++ b/tests/app/Http/Exceptions/HttpBadRequestExceptionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class HttpBadRequestException * - * @covers \Fisharebest\Webtrees\Http\Exceptions\HttpBadRequestException + * @covers Fisharebest\Webtrees\Http\Exceptions\HttpBadRequestException */ class HttpBadRequestExceptionTest extends TestCase { diff --git a/tests/app/Http/Exceptions/HttpExceptionTest.php b/tests/app/Http/Exceptions/HttpExceptionTest.php index 2195660eb0f..1448a259144 100644 --- a/tests/app/Http/Exceptions/HttpExceptionTest.php +++ b/tests/app/Http/Exceptions/HttpExceptionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class HttpException * - * @covers \Fisharebest\Webtrees\Http\Exceptions\HttpException + * @covers Fisharebest\Webtrees\Http\Exceptions\HttpException */ class HttpExceptionTest extends TestCase { diff --git a/tests/app/Http/Exceptions/HttpNotFoundExceptionTest.php b/tests/app/Http/Exceptions/HttpNotFoundExceptionTest.php index 7103bcd2d54..8abd80a3347 100644 --- a/tests/app/Http/Exceptions/HttpNotFoundExceptionTest.php +++ b/tests/app/Http/Exceptions/HttpNotFoundExceptionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class HttpNotFoundException * - * @covers \Fisharebest\Webtrees\Http\Exceptions\HttpNotFoundException + * @covers Fisharebest\Webtrees\Http\Exceptions\HttpNotFoundException */ class HttpNotFoundExceptionTest extends TestCase { diff --git a/tests/app/Http/Exceptions/HttpServerErrorExceptionTest.php b/tests/app/Http/Exceptions/HttpServerErrorExceptionTest.php index c7e2bf7b4a0..3371fe8eecf 100644 --- a/tests/app/Http/Exceptions/HttpServerErrorExceptionTest.php +++ b/tests/app/Http/Exceptions/HttpServerErrorExceptionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class HttpServerErrorException * - * @covers \Fisharebest\Webtrees\Http\Exceptions\HttpServerErrorException + * @covers Fisharebest\Webtrees\Http\Exceptions\HttpServerErrorException */ class HttpServerErrorExceptionTest extends TestCase { diff --git a/tests/app/Http/Exceptions/HttpServiceUnavailableExceptionTest.php b/tests/app/Http/Exceptions/HttpServiceUnavailableExceptionTest.php index 9747711cde7..af7e59e82d8 100644 --- a/tests/app/Http/Exceptions/HttpServiceUnavailableExceptionTest.php +++ b/tests/app/Http/Exceptions/HttpServiceUnavailableExceptionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class HttpServiceUnavailableException * - * @covers \Fisharebest\Webtrees\Http\Exceptions\HttpServiceUnavailableException + * @covers Fisharebest\Webtrees\Http\Exceptions\HttpServiceUnavailableException */ class HttpServiceUnavailableExceptionTest extends TestCase { diff --git a/tests/app/Http/Exceptions/HttpTooManyRequestsExceptionTest.php b/tests/app/Http/Exceptions/HttpTooManyRequestsExceptionTest.php index f8c153030f5..efe3274965a 100644 --- a/tests/app/Http/Exceptions/HttpTooManyRequestsExceptionTest.php +++ b/tests/app/Http/Exceptions/HttpTooManyRequestsExceptionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class HttpTooManyRequestsException * - * @covers \Fisharebest\Webtrees\Http\Exceptions\HttpTooManyRequestsException + * @covers Fisharebest\Webtrees\Http\Exceptions\HttpTooManyRequestsException */ class HttpTooManyRequestsExceptionTest extends TestCase { diff --git a/tests/app/Http/Middleware/AuthAdministratorTest.php b/tests/app/Http/Middleware/AuthAdministratorTest.php index 17d698bb80b..f51210aa571 100644 --- a/tests/app/Http/Middleware/AuthAdministratorTest.php +++ b/tests/app/Http/Middleware/AuthAdministratorTest.php @@ -36,9 +36,6 @@ */ class AuthAdministratorTest extends TestCase { - /** - * @return void - */ public function testAllowed(): void { $handler = $this->createMock(RequestHandlerInterface::class); @@ -55,9 +52,6 @@ public function testAllowed(): void self::assertSame('lorem ipsum', (string) $response->getBody()); } - /** - * @return void - */ public function testNotAllowed(): void { $this->expectException(HttpAccessDeniedException::class); @@ -75,9 +69,6 @@ public function testNotAllowed(): void $middleware->process($request, $handler); } - /** - * @return void - */ public function testNotLoggedIn(): void { $handler = $this->createMock(RequestHandlerInterface::class); diff --git a/tests/app/Http/Middleware/AuthEditorTest.php b/tests/app/Http/Middleware/AuthEditorTest.php index aa2566ff948..4b552021612 100644 --- a/tests/app/Http/Middleware/AuthEditorTest.php +++ b/tests/app/Http/Middleware/AuthEditorTest.php @@ -37,9 +37,6 @@ */ class AuthEditorTest extends TestCase { - /** - * @return void - */ public function testAllowed(): void { $handler = $this->createMock(RequestHandlerInterface::class); @@ -59,9 +56,6 @@ public function testAllowed(): void self::assertSame('lorem ipsum', (string) $response->getBody()); } - /** - * @return void - */ public function testNotAllowed(): void { $this->expectException(HttpAccessDeniedException::class); @@ -82,9 +76,6 @@ public function testNotAllowed(): void $middleware->process($request, $handler); } - /** - * @return void - */ public function testNotLoggedIn(): void { $handler = $this->createMock(RequestHandlerInterface::class); diff --git a/tests/app/Http/Middleware/AuthLoggedInTest.php b/tests/app/Http/Middleware/AuthLoggedInTest.php index 9ce4c11b8b6..37d6be8ec9e 100644 --- a/tests/app/Http/Middleware/AuthLoggedInTest.php +++ b/tests/app/Http/Middleware/AuthLoggedInTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AuthLoggedIn * - * @covers \Fisharebest\Webtrees\Http\Middleware\AuthLoggedIn + * @covers Fisharebest\Webtrees\Http\Middleware\AuthLoggedIn */ class AuthLoggedInTest extends TestCase { diff --git a/tests/app/Http/Middleware/AuthManagerTest.php b/tests/app/Http/Middleware/AuthManagerTest.php index 2052091296e..5d3497451b7 100644 --- a/tests/app/Http/Middleware/AuthManagerTest.php +++ b/tests/app/Http/Middleware/AuthManagerTest.php @@ -37,9 +37,6 @@ */ class AuthManagerTest extends TestCase { - /** - * @return void - */ public function testAllowed(): void { $handler = $this->createMock(RequestHandlerInterface::class); @@ -59,9 +56,6 @@ public function testAllowed(): void self::assertSame('lorem ipsum', (string) $response->getBody()); } - /** - * @return void - */ public function testNotAllowed(): void { $this->expectException(HttpAccessDeniedException::class); @@ -82,9 +76,6 @@ public function testNotAllowed(): void $middleware->process($request, $handler); } - /** - * @return void - */ public function testNotLoggedIn(): void { $handler = $this->createMock(RequestHandlerInterface::class); diff --git a/tests/app/Http/Middleware/AuthMemberTest.php b/tests/app/Http/Middleware/AuthMemberTest.php index a966811bdb1..fa6b12b37f6 100644 --- a/tests/app/Http/Middleware/AuthMemberTest.php +++ b/tests/app/Http/Middleware/AuthMemberTest.php @@ -37,9 +37,6 @@ */ class AuthMemberTest extends TestCase { - /** - * @return void - */ public function testAllowed(): void { $handler = $this->createMock(RequestHandlerInterface::class); @@ -59,9 +56,6 @@ public function testAllowed(): void self::assertSame('lorem ipsum', (string) $response->getBody()); } - /** - * @return void - */ public function testNotAllowed(): void { $this->expectException(HttpAccessDeniedException::class); @@ -82,9 +76,6 @@ public function testNotAllowed(): void $middleware->process($request, $handler); } - /** - * @return void - */ public function testNotLoggedIn(): void { $handler = $this->createMock(RequestHandlerInterface::class); diff --git a/tests/app/Http/Middleware/AuthModeratorTest.php b/tests/app/Http/Middleware/AuthModeratorTest.php index 548bf5e7e84..9616ac9ad49 100644 --- a/tests/app/Http/Middleware/AuthModeratorTest.php +++ b/tests/app/Http/Middleware/AuthModeratorTest.php @@ -37,9 +37,6 @@ */ class AuthModeratorTest extends TestCase { - /** - * @return void - */ public function testAllowed(): void { $handler = $this->createMock(RequestHandlerInterface::class); @@ -59,9 +56,6 @@ public function testAllowed(): void self::assertSame('lorem ipsum', (string) $response->getBody()); } - /** - * @return void - */ public function testNotAllowed(): void { $this->expectException(HttpAccessDeniedException::class); @@ -82,9 +76,6 @@ public function testNotAllowed(): void $middleware->process($request, $handler); } - /** - * @return void - */ public function testNotLoggedIn(): void { $handler = $this->createMock(RequestHandlerInterface::class); diff --git a/tests/app/Http/Middleware/BadBotBlockerTest.php b/tests/app/Http/Middleware/BadBotBlockerTest.php index e3fdcc319cb..86826974f03 100644 --- a/tests/app/Http/Middleware/BadBotBlockerTest.php +++ b/tests/app/Http/Middleware/BadBotBlockerTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class BadBotBlocker * - * @covers \Fisharebest\Webtrees\Http\Middleware\BadBotBlocker + * @covers Fisharebest\Webtrees\Http\Middleware\BadBotBlocker */ class BadBotBlockerTest extends TestCase { diff --git a/tests/app/Http/Middleware/BaseUrlTest.php b/tests/app/Http/Middleware/BaseUrlTest.php index c4253def044..03ce8cefb31 100644 --- a/tests/app/Http/Middleware/BaseUrlTest.php +++ b/tests/app/Http/Middleware/BaseUrlTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class BaseUrl * - * @covers \Fisharebest\Webtrees\Http\Middleware\BaseUrl + * @covers Fisharebest\Webtrees\Http\Middleware\BaseUrl */ class BaseUrlTest extends TestCase { diff --git a/tests/app/Http/Middleware/BootModulesTest.php b/tests/app/Http/Middleware/BootModulesTest.php index cf99bd43abd..0e08dd3e1d2 100644 --- a/tests/app/Http/Middleware/BootModulesTest.php +++ b/tests/app/Http/Middleware/BootModulesTest.php @@ -34,9 +34,6 @@ */ class BootModulesTest extends TestCase { - /** - * @return void - */ public function testMiddleware(): void { $theme = new WebtreesTheme(); diff --git a/tests/app/Http/Middleware/CheckCsrfTest.php b/tests/app/Http/Middleware/CheckCsrfTest.php index 64d4d16e382..b574cb91e5d 100644 --- a/tests/app/Http/Middleware/CheckCsrfTest.php +++ b/tests/app/Http/Middleware/CheckCsrfTest.php @@ -22,10 +22,10 @@ use Fig\Http\Message\RequestMethodInterface; use Fig\Http\Message\StatusCodeInterface; use Fisharebest\Webtrees\TestCase; +use Fisharebest\Webtrees\Webtrees; use Psr\Http\Message\UriFactoryInterface; use Psr\Http\Server\RequestHandlerInterface; -use function app; use function response; /** @@ -35,16 +35,13 @@ */ class CheckCsrfTest extends TestCase { - /** - * @return void - */ public function testMiddleware(): void { $handler = $this->createMock(RequestHandlerInterface::class); $handler->method('handle')->willReturn(response()); $request = self::createRequest(RequestMethodInterface::METHOD_POST) - ->withUri(app(UriFactoryInterface::class)->createUri('https://example.com')); + ->withUri(Webtrees::make(UriFactoryInterface::class)->createUri('https://example.com')); $middleware = new CheckCsrf(); $response = $middleware->process($request, $handler); diff --git a/tests/app/Http/Middleware/CheckForMaintenanceModeTest.php b/tests/app/Http/Middleware/CheckForMaintenanceModeTest.php index 50d8a84d190..195eafbc84d 100644 --- a/tests/app/Http/Middleware/CheckForMaintenanceModeTest.php +++ b/tests/app/Http/Middleware/CheckForMaintenanceModeTest.php @@ -32,9 +32,6 @@ */ class CheckForMaintenanceModeTest extends TestCase { - /** - * @return void - */ public function testMiddleware(): void { $handler = $this->createMock(RequestHandlerInterface::class); diff --git a/tests/app/Http/Middleware/CheckForNewVersionTest.php b/tests/app/Http/Middleware/CheckForNewVersionTest.php index 3405f5b621f..923d49cdf89 100644 --- a/tests/app/Http/Middleware/CheckForNewVersionTest.php +++ b/tests/app/Http/Middleware/CheckForNewVersionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CheckForNewVersion * - * @covers \Fisharebest\Webtrees\Http\Middleware\CheckForNewVersion + * @covers Fisharebest\Webtrees\Http\Middleware\CheckForNewVersion */ class CheckForNewVersionTest extends TestCase { diff --git a/tests/app/Http/Middleware/ClientIpTest.php b/tests/app/Http/Middleware/ClientIpTest.php index 259f7f5bcd4..ac3f68637c3 100644 --- a/tests/app/Http/Middleware/ClientIpTest.php +++ b/tests/app/Http/Middleware/ClientIpTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ClientIp * - * @covers \Fisharebest\Webtrees\Http\Middleware\ClientIp + * @covers Fisharebest\Webtrees\Http\Middleware\ClientIp */ class ClientIpTest extends TestCase { diff --git a/tests/app/Http/Middleware/CompressResponseTest.php b/tests/app/Http/Middleware/CompressResponseTest.php index e53191b32e7..1d41bbdf138 100644 --- a/tests/app/Http/Middleware/CompressResponseTest.php +++ b/tests/app/Http/Middleware/CompressResponseTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CompressResponse * - * @covers \Fisharebest\Webtrees\Http\Middleware\CompressResponse + * @covers Fisharebest\Webtrees\Http\Middleware\CompressResponse */ class CompressResponseTest extends TestCase { diff --git a/tests/app/Http/Middleware/ContentLengthTest.php b/tests/app/Http/Middleware/ContentLengthTest.php index 03574fe4d93..8a894214065 100644 --- a/tests/app/Http/Middleware/ContentLengthTest.php +++ b/tests/app/Http/Middleware/ContentLengthTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ContentLength * - * @covers \Fisharebest\Webtrees\Http\Middleware\ContentLength + * @covers Fisharebest\Webtrees\Http\Middleware\ContentLength */ class ContentLengthTest extends TestCase { diff --git a/tests/app/Http/Middleware/DoHousekeepingTest.php b/tests/app/Http/Middleware/DoHousekeepingTest.php index 30c0653ccc5..d277764e39b 100644 --- a/tests/app/Http/Middleware/DoHousekeepingTest.php +++ b/tests/app/Http/Middleware/DoHousekeepingTest.php @@ -33,9 +33,8 @@ */ class DoHousekeepingTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testMiddleware(): void { $handler = $this->createMock(RequestHandlerInterface::class); diff --git a/tests/app/Http/Middleware/EmitResponseTest.php b/tests/app/Http/Middleware/EmitResponseTest.php index 000a7422fda..463ff748725 100644 --- a/tests/app/Http/Middleware/EmitResponseTest.php +++ b/tests/app/Http/Middleware/EmitResponseTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class EmitResponse * - * @covers \Fisharebest\Webtrees\Http\Middleware\EmitResponse + * @covers Fisharebest\Webtrees\Http\Middleware\EmitResponse */ class EmitResponseTest extends TestCase { diff --git a/tests/app/Http/Middleware/HandleExceptionsTest.php b/tests/app/Http/Middleware/HandleExceptionsTest.php index f9515a34913..b0eff3efa9d 100644 --- a/tests/app/Http/Middleware/HandleExceptionsTest.php +++ b/tests/app/Http/Middleware/HandleExceptionsTest.php @@ -21,15 +21,15 @@ use Fig\Http\Message\StatusCodeInterface; use Fisharebest\Webtrees\Http\Exceptions\HttpServerErrorException; +use Fisharebest\Webtrees\Registry; use Fisharebest\Webtrees\Services\ModuleService; use Fisharebest\Webtrees\Services\TreeService; use Fisharebest\Webtrees\Services\UserService; use Fisharebest\Webtrees\TestCase; +use Fisharebest\Webtrees\Webtrees; use Illuminate\Support\Collection; use Psr\Http\Server\RequestHandlerInterface; -use function app; - /** * Test the HandleExceptions middleware. * @@ -37,9 +37,8 @@ */ class HandleExceptionsTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testMiddleware(): void { $tree_service = $this->createMock(TreeService::class); @@ -50,15 +49,12 @@ public function testMiddleware(): void $module_service = $this->createMock(ModuleService::class); $module_service->method('findByInterface')->willReturn(new Collection()); $module_service->method('findByComponent')->willReturn(new Collection()); - app()->instance(ModuleService::class, $module_service); + Webtrees::set(ModuleService::class, $module_service); $request = self::createRequest(); $middleware = new HandleExceptions($tree_service); $response = $middleware->process($request, $handler); self::assertSame(StatusCodeInterface::STATUS_INTERNAL_SERVER_ERROR, $response->getStatusCode()); - - app()->forgetInstance(ModuleService::class); - app()->forgetInstance(UserService::class); } } diff --git a/tests/app/Http/Middleware/LoadRoutesTest.php b/tests/app/Http/Middleware/LoadRoutesTest.php index a2b282b936e..bbf36c9a7f4 100644 --- a/tests/app/Http/Middleware/LoadRoutesTest.php +++ b/tests/app/Http/Middleware/LoadRoutesTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LoadRoutes * - * @covers \Fisharebest\Webtrees\Http\Middleware\LoadRoutes + * @covers Fisharebest\Webtrees\Http\Middleware\LoadRoutes */ class LoadRoutesTest extends TestCase { diff --git a/tests/app/Http/Middleware/NoRouteFoundTest.php b/tests/app/Http/Middleware/NoRouteFoundTest.php index c48a3382256..63abefd8f1c 100644 --- a/tests/app/Http/Middleware/NoRouteFoundTest.php +++ b/tests/app/Http/Middleware/NoRouteFoundTest.php @@ -32,9 +32,6 @@ */ class NoRouteFoundTest extends TestCase { - /** - * @return void - */ public function testMiddleware(): void { $handler = $this->createMock(RequestHandlerInterface::class); diff --git a/tests/app/Http/Middleware/ReadConfigIniTest.php b/tests/app/Http/Middleware/ReadConfigIniTest.php index 7a96f75baeb..a35e64f513f 100644 --- a/tests/app/Http/Middleware/ReadConfigIniTest.php +++ b/tests/app/Http/Middleware/ReadConfigIniTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReadConfigIni * - * @covers \Fisharebest\Webtrees\Http\Middleware\ReadConfigIni + * @covers Fisharebest\Webtrees\Http\Middleware\ReadConfigIni */ class ReadConfigIniTest extends TestCase { diff --git a/tests/app/Http/Middleware/RegisterGedcomTagsTest.php b/tests/app/Http/Middleware/RegisterGedcomTagsTest.php index 8c48af9f667..df44cac1088 100644 --- a/tests/app/Http/Middleware/RegisterGedcomTagsTest.php +++ b/tests/app/Http/Middleware/RegisterGedcomTagsTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class RegisterGedcomTags * - * @covers \Fisharebest\Webtrees\Http\Middleware\RegisterGedcomTags + * @covers Fisharebest\Webtrees\Http\Middleware\RegisterGedcomTags */ class RegisterGedcomTagsTest extends TestCase { diff --git a/tests/app/Http/Middleware/RequestHandlerTest.php b/tests/app/Http/Middleware/RequestHandlerTest.php index bbb2548e4c5..97d66aebb13 100644 --- a/tests/app/Http/Middleware/RequestHandlerTest.php +++ b/tests/app/Http/Middleware/RequestHandlerTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class RequestHandler * - * @covers \Fisharebest\Webtrees\Http\Middleware\RequestHandler + * @covers Fisharebest\Webtrees\Http\Middleware\RequestHandler */ class RequestHandlerTest extends TestCase { diff --git a/tests/app/Http/Middleware/RouterTest.php b/tests/app/Http/Middleware/RouterTest.php index 7be58426629..8c81b999d7e 100644 --- a/tests/app/Http/Middleware/RouterTest.php +++ b/tests/app/Http/Middleware/RouterTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Router * - * @covers \Fisharebest\Webtrees\Http\Middleware\Router + * @covers Fisharebest\Webtrees\Http\Middleware\Router */ class RouterTest extends TestCase { diff --git a/tests/app/Http/Middleware/SecurityHeadersTest.php b/tests/app/Http/Middleware/SecurityHeadersTest.php index cc1084795bd..53e3b36ea29 100644 --- a/tests/app/Http/Middleware/SecurityHeadersTest.php +++ b/tests/app/Http/Middleware/SecurityHeadersTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SecurityHeaders * - * @covers \Fisharebest\Webtrees\Http\Middleware\SecurityHeaders + * @covers Fisharebest\Webtrees\Http\Middleware\SecurityHeaders */ class SecurityHeadersTest extends TestCase { diff --git a/tests/app/Http/Middleware/UpdateDatabaseSchemaTest.php b/tests/app/Http/Middleware/UpdateDatabaseSchemaTest.php index fff084184da..f3b1841a69d 100644 --- a/tests/app/Http/Middleware/UpdateDatabaseSchemaTest.php +++ b/tests/app/Http/Middleware/UpdateDatabaseSchemaTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UpdateDatabaseSchema * - * @covers \Fisharebest\Webtrees\Http\Middleware\UpdateDatabaseSchema + * @covers Fisharebest\Webtrees\Http\Middleware\UpdateDatabaseSchema */ class UpdateDatabaseSchemaTest extends TestCase { diff --git a/tests/app/Http/Middleware/UseDatabaseTest.php b/tests/app/Http/Middleware/UseDatabaseTest.php index 905d72b113e..2229330d27b 100644 --- a/tests/app/Http/Middleware/UseDatabaseTest.php +++ b/tests/app/Http/Middleware/UseDatabaseTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UseDatabase * - * @covers \Fisharebest\Webtrees\Http\Middleware\UseDatabase + * @covers Fisharebest\Webtrees\Http\Middleware\UseDatabase */ class UseDatabaseTest extends TestCase { diff --git a/tests/app/Http/Middleware/UseLanguageTest.php b/tests/app/Http/Middleware/UseLanguageTest.php index 09042d309f1..708992c7d9b 100644 --- a/tests/app/Http/Middleware/UseLanguageTest.php +++ b/tests/app/Http/Middleware/UseLanguageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UseLanguage * - * @covers \Fisharebest\Webtrees\Http\Middleware\UseLanguage + * @covers Fisharebest\Webtrees\Http\Middleware\UseLanguage */ class UseLanguageTest extends TestCase { diff --git a/tests/app/Http/Middleware/UseSessionTest.php b/tests/app/Http/Middleware/UseSessionTest.php index f7eb927b2fa..635b9548616 100644 --- a/tests/app/Http/Middleware/UseSessionTest.php +++ b/tests/app/Http/Middleware/UseSessionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UseSession * - * @covers \Fisharebest\Webtrees\Http\Middleware\UseSession + * @covers Fisharebest\Webtrees\Http\Middleware\UseSession */ class UseSessionTest extends TestCase { diff --git a/tests/app/Http/Middleware/UseThemeTest.php b/tests/app/Http/Middleware/UseThemeTest.php index aa8a1d5f1d1..b47437ce3be 100644 --- a/tests/app/Http/Middleware/UseThemeTest.php +++ b/tests/app/Http/Middleware/UseThemeTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UseTheme * - * @covers \Fisharebest\Webtrees\Http\Middleware\UseTheme + * @covers Fisharebest\Webtrees\Http\Middleware\UseTheme */ class UseThemeTest extends TestCase { diff --git a/tests/app/Http/Middleware/UseTransactionTest.php b/tests/app/Http/Middleware/UseTransactionTest.php index 51a7cfa2ad3..e46ba75a356 100644 --- a/tests/app/Http/Middleware/UseTransactionTest.php +++ b/tests/app/Http/Middleware/UseTransactionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UseTransaction * - * @covers \Fisharebest\Webtrees\Http\Middleware\UseTransaction + * @covers Fisharebest\Webtrees\Http\Middleware\UseTransaction */ class UseTransactionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AccountDeleteTest.php b/tests/app/Http/RequestHandlers/AccountDeleteTest.php index c5e65c74d9a..2d2e6b06bd4 100644 --- a/tests/app/Http/RequestHandlers/AccountDeleteTest.php +++ b/tests/app/Http/RequestHandlers/AccountDeleteTest.php @@ -30,9 +30,6 @@ */ class AccountDeleteTest extends TestCase { - /** - * @return void - */ public function testHandler(): void { $user_service = $this->createStub(UserService::class); diff --git a/tests/app/Http/RequestHandlers/AccountEditTest.php b/tests/app/Http/RequestHandlers/AccountEditTest.php index 27af86019a7..5f3388e5403 100644 --- a/tests/app/Http/RequestHandlers/AccountEditTest.php +++ b/tests/app/Http/RequestHandlers/AccountEditTest.php @@ -35,9 +35,6 @@ class AccountEditTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testHandler(): void { $user = $this->createStub(User::class); diff --git a/tests/app/Http/RequestHandlers/AccountUpdateTest.php b/tests/app/Http/RequestHandlers/AccountUpdateTest.php index 352e461cc6c..6c95ddb88dc 100644 --- a/tests/app/Http/RequestHandlers/AccountUpdateTest.php +++ b/tests/app/Http/RequestHandlers/AccountUpdateTest.php @@ -33,9 +33,6 @@ */ class AccountUpdateTest extends TestCase { - /** - * @return void - */ public function testHandler(): void { $user_service = $this->createMock(UserService::class); @@ -47,11 +44,9 @@ public function testHandler(): void $user->expects(self::once())->method('setUserName')->with('h'); $user->expects(self::exactly(4)) ->method('setPreference') - ->withConsecutive( - [UserInterface::PREF_CONTACT_METHOD, 'a'], - [UserInterface::PREF_LANGUAGE, 'c'], - [UserInterface::PREF_TIME_ZONE, 'g'], - [UserInterface::PREF_IS_VISIBLE_ONLINE, ''] + ->with( + self::withConsecutive([UserInterface::PREF_CONTACT_METHOD, UserInterface::PREF_LANGUAGE, UserInterface::PREF_TIME_ZONE, UserInterface::PREF_IS_VISIBLE_ONLINE]), + self::withConsecutive(['a', 'c', 'g', '']) ); $tree = $this->createMock(Tree::class); diff --git a/tests/app/Http/RequestHandlers/AddChildToFamilyActionTest.php b/tests/app/Http/RequestHandlers/AddChildToFamilyActionTest.php index 36835f8b27d..b3df4715aa9 100644 --- a/tests/app/Http/RequestHandlers/AddChildToFamilyActionTest.php +++ b/tests/app/Http/RequestHandlers/AddChildToFamilyActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AddChildToFamilyAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AddChildToFamilyAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AddChildToFamilyAction */ class AddChildToFamilyActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AddChildToFamilyPageTest.php b/tests/app/Http/RequestHandlers/AddChildToFamilyPageTest.php index 3ea3bc7c7f8..6e411430f22 100644 --- a/tests/app/Http/RequestHandlers/AddChildToFamilyPageTest.php +++ b/tests/app/Http/RequestHandlers/AddChildToFamilyPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AddChildToFamilyPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AddChildToFamilyPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AddChildToFamilyPage */ class AddChildToFamilyPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AddChildToIndividualActionTest.php b/tests/app/Http/RequestHandlers/AddChildToIndividualActionTest.php index 35ae587e36d..595bccf5a99 100644 --- a/tests/app/Http/RequestHandlers/AddChildToIndividualActionTest.php +++ b/tests/app/Http/RequestHandlers/AddChildToIndividualActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AddChildToIndividualAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AddChildToIndividualAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AddChildToIndividualAction */ class AddChildToIndividualActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AddChildToIndividualPageTest.php b/tests/app/Http/RequestHandlers/AddChildToIndividualPageTest.php index 036060e5be3..5a1ae729324 100644 --- a/tests/app/Http/RequestHandlers/AddChildToIndividualPageTest.php +++ b/tests/app/Http/RequestHandlers/AddChildToIndividualPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AddChildToIndividualPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AddChildToIndividualPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AddChildToIndividualPage */ class AddChildToIndividualPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AddMediaFileActionTest.php b/tests/app/Http/RequestHandlers/AddMediaFileActionTest.php index cbb6e69c572..12e67efc2e4 100644 --- a/tests/app/Http/RequestHandlers/AddMediaFileActionTest.php +++ b/tests/app/Http/RequestHandlers/AddMediaFileActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AddMediaFileAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AddMediaFileAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AddMediaFileAction */ class AddMediaFileActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AddMediaFileModalTest.php b/tests/app/Http/RequestHandlers/AddMediaFileModalTest.php index c9d78756b54..ebab664ab7c 100644 --- a/tests/app/Http/RequestHandlers/AddMediaFileModalTest.php +++ b/tests/app/Http/RequestHandlers/AddMediaFileModalTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AddMediaFileModal * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AddMediaFileModal + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AddMediaFileModal */ class AddMediaFileModalTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AddNewFactTest.php b/tests/app/Http/RequestHandlers/AddNewFactTest.php index cfb9d30c7da..ab305d459f5 100644 --- a/tests/app/Http/RequestHandlers/AddNewFactTest.php +++ b/tests/app/Http/RequestHandlers/AddNewFactTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AddNewFact * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AddNewFact + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AddNewFact */ class AddNewFactTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AddParentToIndividualActionTest.php b/tests/app/Http/RequestHandlers/AddParentToIndividualActionTest.php index 34241ef9800..f066861a90d 100644 --- a/tests/app/Http/RequestHandlers/AddParentToIndividualActionTest.php +++ b/tests/app/Http/RequestHandlers/AddParentToIndividualActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AddParentToIndividualAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AddParentToIndividualAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AddParentToIndividualAction */ class AddParentToIndividualActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AddParentToIndividualPageTest.php b/tests/app/Http/RequestHandlers/AddParentToIndividualPageTest.php index 9b03b654580..b19953a5770 100644 --- a/tests/app/Http/RequestHandlers/AddParentToIndividualPageTest.php +++ b/tests/app/Http/RequestHandlers/AddParentToIndividualPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AddParentToIndividualPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AddParentToIndividualPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AddParentToIndividualPage */ class AddParentToIndividualPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AddSpouseToFamilyActionTest.php b/tests/app/Http/RequestHandlers/AddSpouseToFamilyActionTest.php index 161f67c0075..6a1d3dc757a 100644 --- a/tests/app/Http/RequestHandlers/AddSpouseToFamilyActionTest.php +++ b/tests/app/Http/RequestHandlers/AddSpouseToFamilyActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AddSpouseToFamilyAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AddSpouseToFamilyAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AddSpouseToFamilyAction */ class AddSpouseToFamilyActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AddSpouseToFamilyPageTest.php b/tests/app/Http/RequestHandlers/AddSpouseToFamilyPageTest.php index 63d0a6c5a73..fb2dc4d8037 100644 --- a/tests/app/Http/RequestHandlers/AddSpouseToFamilyPageTest.php +++ b/tests/app/Http/RequestHandlers/AddSpouseToFamilyPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AddSpouseToFamilyPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AddSpouseToFamilyPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AddSpouseToFamilyPage */ class AddSpouseToFamilyPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AddSpouseToIndividualActionTest.php b/tests/app/Http/RequestHandlers/AddSpouseToIndividualActionTest.php index 2b6034253f8..f72af7d5bde 100644 --- a/tests/app/Http/RequestHandlers/AddSpouseToIndividualActionTest.php +++ b/tests/app/Http/RequestHandlers/AddSpouseToIndividualActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AddSpouseToIndividualAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AddSpouseToIndividualAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AddSpouseToIndividualAction */ class AddSpouseToIndividualActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AddSpouseToIndividualPageTest.php b/tests/app/Http/RequestHandlers/AddSpouseToIndividualPageTest.php index 217088b9fe9..021947fe7f6 100644 --- a/tests/app/Http/RequestHandlers/AddSpouseToIndividualPageTest.php +++ b/tests/app/Http/RequestHandlers/AddSpouseToIndividualPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AddSpouseToIndividualPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AddSpouseToIndividualPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AddSpouseToIndividualPage */ class AddSpouseToIndividualPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AddUnlinkedActionTest.php b/tests/app/Http/RequestHandlers/AddUnlinkedActionTest.php index 8daf98b1f17..34db93f4aa8 100644 --- a/tests/app/Http/RequestHandlers/AddUnlinkedActionTest.php +++ b/tests/app/Http/RequestHandlers/AddUnlinkedActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AddUnlinkedAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AddUnlinkedAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AddUnlinkedAction */ class AddUnlinkedActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AddUnlinkedPageTest.php b/tests/app/Http/RequestHandlers/AddUnlinkedPageTest.php index b4ede52ba5b..3b89b1e1716 100644 --- a/tests/app/Http/RequestHandlers/AddUnlinkedPageTest.php +++ b/tests/app/Http/RequestHandlers/AddUnlinkedPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AddUnlinkedPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AddUnlinkedPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AddUnlinkedPage */ class AddUnlinkedPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AdminMediaFileDownloadTest.php b/tests/app/Http/RequestHandlers/AdminMediaFileDownloadTest.php index 90e1e1ee676..c9f68847714 100644 --- a/tests/app/Http/RequestHandlers/AdminMediaFileDownloadTest.php +++ b/tests/app/Http/RequestHandlers/AdminMediaFileDownloadTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AdminMediaFileDownload * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AdminMediaFileDownload + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AdminMediaFileDownload */ class AdminMediaFileDownloadTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AdminMediaFileThumbnailTest.php b/tests/app/Http/RequestHandlers/AdminMediaFileThumbnailTest.php index fe231649d83..59cf99e441a 100644 --- a/tests/app/Http/RequestHandlers/AdminMediaFileThumbnailTest.php +++ b/tests/app/Http/RequestHandlers/AdminMediaFileThumbnailTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AdminMediaFileThumbnail * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AdminMediaFileThumbnail + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AdminMediaFileThumbnail */ class AdminMediaFileThumbnailTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AdsTxtTest.php b/tests/app/Http/RequestHandlers/AdsTxtTest.php index c9a634e3084..538d8e17066 100644 --- a/tests/app/Http/RequestHandlers/AdsTxtTest.php +++ b/tests/app/Http/RequestHandlers/AdsTxtTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AdsTxt * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AdsTxt + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AdsTxt */ class AdsTxtTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AppAdsTxtTest.php b/tests/app/Http/RequestHandlers/AppAdsTxtTest.php index 731f824fea9..f5639dff84e 100644 --- a/tests/app/Http/RequestHandlers/AppAdsTxtTest.php +++ b/tests/app/Http/RequestHandlers/AppAdsTxtTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AppAdsTxt * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AppAdsTxt + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AppAdsTxt */ class AppAdsTxtTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AppleTouchIconPngTest.php b/tests/app/Http/RequestHandlers/AppleTouchIconPngTest.php index 95725dee8b7..0851258a763 100644 --- a/tests/app/Http/RequestHandlers/AppleTouchIconPngTest.php +++ b/tests/app/Http/RequestHandlers/AppleTouchIconPngTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AppleTouchIconPng * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AppleTouchIconPng + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AppleTouchIconPng */ class AppleTouchIconPngTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AutoCompleteCitationTest.php b/tests/app/Http/RequestHandlers/AutoCompleteCitationTest.php index d64bd221f16..314836417df 100644 --- a/tests/app/Http/RequestHandlers/AutoCompleteCitationTest.php +++ b/tests/app/Http/RequestHandlers/AutoCompleteCitationTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AutoCompleteCitation * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AutoCompleteCitation + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AutoCompleteCitation */ class AutoCompleteCitationTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AutoCompleteFolderTest.php b/tests/app/Http/RequestHandlers/AutoCompleteFolderTest.php index 21cb901b85a..86c0a269fec 100644 --- a/tests/app/Http/RequestHandlers/AutoCompleteFolderTest.php +++ b/tests/app/Http/RequestHandlers/AutoCompleteFolderTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AutoCompleteFolder * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AutoCompleteFolder + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AutoCompleteFolder */ class AutoCompleteFolderTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AutoCompletePlaceTest.php b/tests/app/Http/RequestHandlers/AutoCompletePlaceTest.php index 208f73bf309..ccc70217462 100644 --- a/tests/app/Http/RequestHandlers/AutoCompletePlaceTest.php +++ b/tests/app/Http/RequestHandlers/AutoCompletePlaceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AutoCompletePlace * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AutoCompletePlace + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AutoCompletePlace */ class AutoCompletePlaceTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/AutoCompleteSurnameTest.php b/tests/app/Http/RequestHandlers/AutoCompleteSurnameTest.php index 5a72645b842..9c2dace46ac 100644 --- a/tests/app/Http/RequestHandlers/AutoCompleteSurnameTest.php +++ b/tests/app/Http/RequestHandlers/AutoCompleteSurnameTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AutoCompleteSurname * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\AutoCompleteSurname + * @covers Fisharebest\Webtrees\Http\RequestHandlers\AutoCompleteSurname */ class AutoCompleteSurnameTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/BroadcastActionTest.php b/tests/app/Http/RequestHandlers/BroadcastActionTest.php index 385265d2490..d6aaf4bf226 100644 --- a/tests/app/Http/RequestHandlers/BroadcastActionTest.php +++ b/tests/app/Http/RequestHandlers/BroadcastActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class BroadcastAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\BroadcastAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\BroadcastAction */ class BroadcastActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/BroadcastPageTest.php b/tests/app/Http/RequestHandlers/BroadcastPageTest.php index 68730facacb..6799bea23e3 100644 --- a/tests/app/Http/RequestHandlers/BroadcastPageTest.php +++ b/tests/app/Http/RequestHandlers/BroadcastPageTest.php @@ -32,9 +32,6 @@ class BroadcastPageTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testMissingParameterTo(): void { $message_service = $this->createStub(MessageService::class); @@ -49,9 +46,6 @@ public function testMissingParameterTo(): void $handler->handle($request); } - /** - * @return void - */ public function testHandler(): void { $message_service = $this->createStub(MessageService::class); diff --git a/tests/app/Http/RequestHandlers/BrowserconfigXmlTest.php b/tests/app/Http/RequestHandlers/BrowserconfigXmlTest.php index ebbd8a61362..b83f9133c91 100644 --- a/tests/app/Http/RequestHandlers/BrowserconfigXmlTest.php +++ b/tests/app/Http/RequestHandlers/BrowserconfigXmlTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class BrowserconfigXml * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\BrowserconfigXml + * @covers Fisharebest\Webtrees\Http\RequestHandlers\BrowserconfigXml */ class BrowserconfigXmlTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CalendarActionTest.php b/tests/app/Http/RequestHandlers/CalendarActionTest.php index f947f416627..758983c2e11 100644 --- a/tests/app/Http/RequestHandlers/CalendarActionTest.php +++ b/tests/app/Http/RequestHandlers/CalendarActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CalendarAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CalendarAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CalendarAction */ class CalendarActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CalendarEventsTest.php b/tests/app/Http/RequestHandlers/CalendarEventsTest.php index 3d3438655c9..2094ed2234f 100644 --- a/tests/app/Http/RequestHandlers/CalendarEventsTest.php +++ b/tests/app/Http/RequestHandlers/CalendarEventsTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CalendarEvents * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CalendarEvents + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CalendarEvents */ class CalendarEventsTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CalendarPageTest.php b/tests/app/Http/RequestHandlers/CalendarPageTest.php index 0ee9b849347..59dea5e646d 100644 --- a/tests/app/Http/RequestHandlers/CalendarPageTest.php +++ b/tests/app/Http/RequestHandlers/CalendarPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CalendarPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CalendarPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CalendarPage */ class CalendarPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ChangeFamilyMembersActionTest.php b/tests/app/Http/RequestHandlers/ChangeFamilyMembersActionTest.php index 9abad5f6ede..fd0abaa5347 100644 --- a/tests/app/Http/RequestHandlers/ChangeFamilyMembersActionTest.php +++ b/tests/app/Http/RequestHandlers/ChangeFamilyMembersActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChangeFamilyMembersAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ChangeFamilyMembersAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ChangeFamilyMembersAction */ class ChangeFamilyMembersActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ChangeFamilyMembersPageTest.php b/tests/app/Http/RequestHandlers/ChangeFamilyMembersPageTest.php index f43a7e5a984..a88ea497efb 100644 --- a/tests/app/Http/RequestHandlers/ChangeFamilyMembersPageTest.php +++ b/tests/app/Http/RequestHandlers/ChangeFamilyMembersPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChangeFamilyMembersPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ChangeFamilyMembersPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ChangeFamilyMembersPage */ class ChangeFamilyMembersPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CheckForNewVersionNowTest.php b/tests/app/Http/RequestHandlers/CheckForNewVersionNowTest.php index 81c950613f7..e4aa9b9ba74 100644 --- a/tests/app/Http/RequestHandlers/CheckForNewVersionNowTest.php +++ b/tests/app/Http/RequestHandlers/CheckForNewVersionNowTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CheckForNewVersionNow * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CheckForNewVersionNow + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CheckForNewVersionNow */ class CheckForNewVersionNowTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CheckTreeTest.php b/tests/app/Http/RequestHandlers/CheckTreeTest.php index c61a6baed9d..7a11f94b530 100644 --- a/tests/app/Http/RequestHandlers/CheckTreeTest.php +++ b/tests/app/Http/RequestHandlers/CheckTreeTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CheckTree * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CheckTree + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CheckTree */ class CheckTreeTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CleanDataFolderTest.php b/tests/app/Http/RequestHandlers/CleanDataFolderTest.php index c7cec429c54..24b36dad08e 100644 --- a/tests/app/Http/RequestHandlers/CleanDataFolderTest.php +++ b/tests/app/Http/RequestHandlers/CleanDataFolderTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CleanDataFolder * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CleanDataFolder + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CleanDataFolder */ class CleanDataFolderTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ContactActionTest.php b/tests/app/Http/RequestHandlers/ContactActionTest.php index 7ec69914cbf..43196b20837 100644 --- a/tests/app/Http/RequestHandlers/ContactActionTest.php +++ b/tests/app/Http/RequestHandlers/ContactActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ContactAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ContactAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ContactAction */ class ContactActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ContactPageTest.php b/tests/app/Http/RequestHandlers/ContactPageTest.php index db0520ecd3b..abd55ec0eea 100644 --- a/tests/app/Http/RequestHandlers/ContactPageTest.php +++ b/tests/app/Http/RequestHandlers/ContactPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ContactPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ContactPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ContactPage */ class ContactPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ControlPanelControllerTest.php b/tests/app/Http/RequestHandlers/ControlPanelControllerTest.php index d8ec46c59f6..2b6607c6392 100644 --- a/tests/app/Http/RequestHandlers/ControlPanelControllerTest.php +++ b/tests/app/Http/RequestHandlers/ControlPanelControllerTest.php @@ -42,9 +42,6 @@ class ControlPanelControllerTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testControlPanel(): void { $admin_service = new AdminService(); diff --git a/tests/app/Http/RequestHandlers/ControlPanelTest.php b/tests/app/Http/RequestHandlers/ControlPanelTest.php index 49593fcc7cd..b981ee4ff70 100644 --- a/tests/app/Http/RequestHandlers/ControlPanelTest.php +++ b/tests/app/Http/RequestHandlers/ControlPanelTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ControlPanel * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ControlPanel + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ControlPanel */ class ControlPanelTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CopyFactTest.php b/tests/app/Http/RequestHandlers/CopyFactTest.php index f9f6b895b51..90aae94bb14 100644 --- a/tests/app/Http/RequestHandlers/CopyFactTest.php +++ b/tests/app/Http/RequestHandlers/CopyFactTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CopyFact * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CopyFact + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CopyFact */ class CopyFactTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CreateLocationActionTest.php b/tests/app/Http/RequestHandlers/CreateLocationActionTest.php index 73ed0ec6e43..4d4e7753b60 100644 --- a/tests/app/Http/RequestHandlers/CreateLocationActionTest.php +++ b/tests/app/Http/RequestHandlers/CreateLocationActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CreateLocationAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CreateLocationAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CreateLocationAction */ class CreateLocationActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CreateLocationModalTest.php b/tests/app/Http/RequestHandlers/CreateLocationModalTest.php index 3e22815f01a..0465a30a576 100644 --- a/tests/app/Http/RequestHandlers/CreateLocationModalTest.php +++ b/tests/app/Http/RequestHandlers/CreateLocationModalTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CreateLocationModal * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CreateLocationModal + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CreateLocationModal */ class CreateLocationModalTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CreateMediaObjectActionTest.php b/tests/app/Http/RequestHandlers/CreateMediaObjectActionTest.php index 0b74e79dc36..3582a0d8500 100644 --- a/tests/app/Http/RequestHandlers/CreateMediaObjectActionTest.php +++ b/tests/app/Http/RequestHandlers/CreateMediaObjectActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CreateMediaObjectAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CreateMediaObjectAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CreateMediaObjectAction */ class CreateMediaObjectActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CreateMediaObjectFromFileTest.php b/tests/app/Http/RequestHandlers/CreateMediaObjectFromFileTest.php index 60344046fcc..93619b72e1f 100644 --- a/tests/app/Http/RequestHandlers/CreateMediaObjectFromFileTest.php +++ b/tests/app/Http/RequestHandlers/CreateMediaObjectFromFileTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CreateMediaObjectFromFile * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CreateMediaObjectFromFile + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CreateMediaObjectFromFile */ class CreateMediaObjectFromFileTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CreateMediaObjectModalTest.php b/tests/app/Http/RequestHandlers/CreateMediaObjectModalTest.php index c12951a3386..47139f15783 100644 --- a/tests/app/Http/RequestHandlers/CreateMediaObjectModalTest.php +++ b/tests/app/Http/RequestHandlers/CreateMediaObjectModalTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CreateMediaObjectModal * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CreateMediaObjectModal + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CreateMediaObjectModal */ class CreateMediaObjectModalTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CreateNoteActionTest.php b/tests/app/Http/RequestHandlers/CreateNoteActionTest.php index 9e2f389962a..1fdc6af3713 100644 --- a/tests/app/Http/RequestHandlers/CreateNoteActionTest.php +++ b/tests/app/Http/RequestHandlers/CreateNoteActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CreateNoteAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CreateNoteAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CreateNoteAction */ class CreateNoteActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CreateNoteModalTest.php b/tests/app/Http/RequestHandlers/CreateNoteModalTest.php index ece52727391..227938a5323 100644 --- a/tests/app/Http/RequestHandlers/CreateNoteModalTest.php +++ b/tests/app/Http/RequestHandlers/CreateNoteModalTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CreateNoteModal * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CreateNoteModal + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CreateNoteModal */ class CreateNoteModalTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CreateRepositoryActionTest.php b/tests/app/Http/RequestHandlers/CreateRepositoryActionTest.php index ae4fb7919ec..dca38deee1b 100644 --- a/tests/app/Http/RequestHandlers/CreateRepositoryActionTest.php +++ b/tests/app/Http/RequestHandlers/CreateRepositoryActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CreateRepositoryAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CreateRepositoryAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CreateRepositoryAction */ class CreateRepositoryActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CreateRepositoryModalTest.php b/tests/app/Http/RequestHandlers/CreateRepositoryModalTest.php index f0816414e76..b3dee56b882 100644 --- a/tests/app/Http/RequestHandlers/CreateRepositoryModalTest.php +++ b/tests/app/Http/RequestHandlers/CreateRepositoryModalTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CreateRepositoryModal * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CreateRepositoryModal + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CreateRepositoryModal */ class CreateRepositoryModalTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CreateSourceActionTest.php b/tests/app/Http/RequestHandlers/CreateSourceActionTest.php index 64be23ebee2..68b828659ee 100644 --- a/tests/app/Http/RequestHandlers/CreateSourceActionTest.php +++ b/tests/app/Http/RequestHandlers/CreateSourceActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CreateSourceAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CreateSourceAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CreateSourceAction */ class CreateSourceActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CreateSourceModalTest.php b/tests/app/Http/RequestHandlers/CreateSourceModalTest.php index 60f509cdb27..1a679bd38a5 100644 --- a/tests/app/Http/RequestHandlers/CreateSourceModalTest.php +++ b/tests/app/Http/RequestHandlers/CreateSourceModalTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CreateSourceModal * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CreateSourceModal + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CreateSourceModal */ class CreateSourceModalTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CreateSubmissionActionTest.php b/tests/app/Http/RequestHandlers/CreateSubmissionActionTest.php index fad2d8ae228..7830f7688df 100644 --- a/tests/app/Http/RequestHandlers/CreateSubmissionActionTest.php +++ b/tests/app/Http/RequestHandlers/CreateSubmissionActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CreateSubmissionAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CreateSubmissionAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CreateSubmissionAction */ class CreateSubmissionActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CreateSubmissionModalTest.php b/tests/app/Http/RequestHandlers/CreateSubmissionModalTest.php index 7c29721138a..8cc066b5d46 100644 --- a/tests/app/Http/RequestHandlers/CreateSubmissionModalTest.php +++ b/tests/app/Http/RequestHandlers/CreateSubmissionModalTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CreateSubmissionModal * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CreateSubmissionModal + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CreateSubmissionModal */ class CreateSubmissionModalTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CreateSubmitterActionTest.php b/tests/app/Http/RequestHandlers/CreateSubmitterActionTest.php index 2848cfca73e..96d6907d8c4 100644 --- a/tests/app/Http/RequestHandlers/CreateSubmitterActionTest.php +++ b/tests/app/Http/RequestHandlers/CreateSubmitterActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CreateSubmitterAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CreateSubmitterAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CreateSubmitterAction */ class CreateSubmitterActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CreateSubmitterModalTest.php b/tests/app/Http/RequestHandlers/CreateSubmitterModalTest.php index b5895ab2001..1f4fe86dea1 100644 --- a/tests/app/Http/RequestHandlers/CreateSubmitterModalTest.php +++ b/tests/app/Http/RequestHandlers/CreateSubmitterModalTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CreateSubmitterModal * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CreateSubmitterModal + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CreateSubmitterModal */ class CreateSubmitterModalTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CreateTreeActionTest.php b/tests/app/Http/RequestHandlers/CreateTreeActionTest.php index a465d7fed2b..9fea7b7789a 100644 --- a/tests/app/Http/RequestHandlers/CreateTreeActionTest.php +++ b/tests/app/Http/RequestHandlers/CreateTreeActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CreateTreeAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CreateTreeAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CreateTreeAction */ class CreateTreeActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/CreateTreePageTest.php b/tests/app/Http/RequestHandlers/CreateTreePageTest.php index 504f5a9a252..97f4e867c1b 100644 --- a/tests/app/Http/RequestHandlers/CreateTreePageTest.php +++ b/tests/app/Http/RequestHandlers/CreateTreePageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CreateTreePage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\CreateTreePage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\CreateTreePage */ class CreateTreePageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/DataFixChooseTest.php b/tests/app/Http/RequestHandlers/DataFixChooseTest.php index c7905528fd2..c1be2f7fa7d 100644 --- a/tests/app/Http/RequestHandlers/DataFixChooseTest.php +++ b/tests/app/Http/RequestHandlers/DataFixChooseTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class DataFixChoose * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\DataFixChoose + * @covers Fisharebest\Webtrees\Http\RequestHandlers\DataFixChoose */ class DataFixChooseTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/DataFixPageTest.php b/tests/app/Http/RequestHandlers/DataFixPageTest.php index a2c80a4e973..8c14068c6bb 100644 --- a/tests/app/Http/RequestHandlers/DataFixPageTest.php +++ b/tests/app/Http/RequestHandlers/DataFixPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class DataFixPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\DataFixPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\DataFixPage */ class DataFixPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/DataFixPreviewTest.php b/tests/app/Http/RequestHandlers/DataFixPreviewTest.php index 45507997aca..336a480e00b 100644 --- a/tests/app/Http/RequestHandlers/DataFixPreviewTest.php +++ b/tests/app/Http/RequestHandlers/DataFixPreviewTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class DataFixPreview * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\DataFixPreview + * @covers Fisharebest\Webtrees\Http\RequestHandlers\DataFixPreview */ class DataFixPreviewTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/DataFixSelectTest.php b/tests/app/Http/RequestHandlers/DataFixSelectTest.php index b90b56c3352..d69c669c691 100644 --- a/tests/app/Http/RequestHandlers/DataFixSelectTest.php +++ b/tests/app/Http/RequestHandlers/DataFixSelectTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class DataFixSelect * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\DataFixSelect + * @covers Fisharebest\Webtrees\Http\RequestHandlers\DataFixSelect */ class DataFixSelectTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/DataFixUpdateAllTest.php b/tests/app/Http/RequestHandlers/DataFixUpdateAllTest.php index 5a98ecf22ec..d9a72ad286e 100644 --- a/tests/app/Http/RequestHandlers/DataFixUpdateAllTest.php +++ b/tests/app/Http/RequestHandlers/DataFixUpdateAllTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class DataFixUpdateAll * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\DataFixUpdateAll + * @covers Fisharebest\Webtrees\Http\RequestHandlers\DataFixUpdateAll */ class DataFixUpdateAllTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/DataFixUpdateTest.php b/tests/app/Http/RequestHandlers/DataFixUpdateTest.php index 28bd5cd8108..b6568962baa 100644 --- a/tests/app/Http/RequestHandlers/DataFixUpdateTest.php +++ b/tests/app/Http/RequestHandlers/DataFixUpdateTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class DataFixUpdate * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\DataFixUpdate + * @covers Fisharebest\Webtrees\Http\RequestHandlers\DataFixUpdate */ class DataFixUpdateTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/DeleteFactTest.php b/tests/app/Http/RequestHandlers/DeleteFactTest.php index 99ff837233e..1418425ed73 100644 --- a/tests/app/Http/RequestHandlers/DeleteFactTest.php +++ b/tests/app/Http/RequestHandlers/DeleteFactTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class DeleteFact * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\DeleteFact + * @covers Fisharebest\Webtrees\Http\RequestHandlers\DeleteFact */ class DeleteFactTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/DeletePathTest.php b/tests/app/Http/RequestHandlers/DeletePathTest.php index dc69f5449e8..732a7a95c24 100644 --- a/tests/app/Http/RequestHandlers/DeletePathTest.php +++ b/tests/app/Http/RequestHandlers/DeletePathTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class DeletePath * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\DeletePath + * @covers Fisharebest\Webtrees\Http\RequestHandlers\DeletePath */ class DeletePathTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/DeleteRecordTest.php b/tests/app/Http/RequestHandlers/DeleteRecordTest.php index 0261b5e320e..f5d882d9da1 100644 --- a/tests/app/Http/RequestHandlers/DeleteRecordTest.php +++ b/tests/app/Http/RequestHandlers/DeleteRecordTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class DeleteRecord * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\DeleteRecord + * @covers Fisharebest\Webtrees\Http\RequestHandlers\DeleteRecord */ class DeleteRecordTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/DeleteTreeActionTest.php b/tests/app/Http/RequestHandlers/DeleteTreeActionTest.php index 492853c3d7a..5941c1dcb03 100644 --- a/tests/app/Http/RequestHandlers/DeleteTreeActionTest.php +++ b/tests/app/Http/RequestHandlers/DeleteTreeActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class DeleteTreeAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\DeleteTreeAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\DeleteTreeAction */ class DeleteTreeActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/DeleteUserTest.php b/tests/app/Http/RequestHandlers/DeleteUserTest.php index ee17fd8be6b..eb38c2b748d 100644 --- a/tests/app/Http/RequestHandlers/DeleteUserTest.php +++ b/tests/app/Http/RequestHandlers/DeleteUserTest.php @@ -34,9 +34,6 @@ class DeleteUserTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testDeleteUser(): void { $user = $this->createMock(User::class); @@ -53,9 +50,6 @@ public function testDeleteUser(): void self::assertSame(StatusCodeInterface::STATUS_NO_CONTENT, $response->getStatusCode()); } - /** - * @return void - */ public function testDeleteNonExistingUser(): void { $this->expectException(HttpNotFoundException::class); @@ -70,9 +64,6 @@ public function testDeleteNonExistingUser(): void $handler->handle($request); } - /** - * @return void - */ public function testCannotDeleteAdministrator(): void { $this->expectException(HttpAccessDeniedException::class); diff --git a/tests/app/Http/RequestHandlers/EditFactActionTest.php b/tests/app/Http/RequestHandlers/EditFactActionTest.php index 284d8dcb03a..41e34884cbb 100644 --- a/tests/app/Http/RequestHandlers/EditFactActionTest.php +++ b/tests/app/Http/RequestHandlers/EditFactActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class EditFactAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\EditFactAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\EditFactAction */ class EditFactActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/EditFactPageTest.php b/tests/app/Http/RequestHandlers/EditFactPageTest.php index 671d7f3afed..aa734debc2a 100644 --- a/tests/app/Http/RequestHandlers/EditFactPageTest.php +++ b/tests/app/Http/RequestHandlers/EditFactPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class EditFactPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\EditFactPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\EditFactPage */ class EditFactPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/EditMediaFileActionTest.php b/tests/app/Http/RequestHandlers/EditMediaFileActionTest.php index f79057fb053..df200f4a7ac 100644 --- a/tests/app/Http/RequestHandlers/EditMediaFileActionTest.php +++ b/tests/app/Http/RequestHandlers/EditMediaFileActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class EditMediaFileAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\EditMediaFileAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\EditMediaFileAction */ class EditMediaFileActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/EditMediaFileModalTest.php b/tests/app/Http/RequestHandlers/EditMediaFileModalTest.php index f94a047548e..16628eb46eb 100644 --- a/tests/app/Http/RequestHandlers/EditMediaFileModalTest.php +++ b/tests/app/Http/RequestHandlers/EditMediaFileModalTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class EditMediaFileModal * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\EditMediaFileModal + * @covers Fisharebest\Webtrees\Http\RequestHandlers\EditMediaFileModal */ class EditMediaFileModalTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/EditNoteActionTest.php b/tests/app/Http/RequestHandlers/EditNoteActionTest.php index 5b95412ce09..62af54578c2 100644 --- a/tests/app/Http/RequestHandlers/EditNoteActionTest.php +++ b/tests/app/Http/RequestHandlers/EditNoteActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class EditNoteAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\EditNoteAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\EditNoteAction */ class EditNoteActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/EditNotePageTest.php b/tests/app/Http/RequestHandlers/EditNotePageTest.php index e6b4eb8aac3..8197ef61ab1 100644 --- a/tests/app/Http/RequestHandlers/EditNotePageTest.php +++ b/tests/app/Http/RequestHandlers/EditNotePageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class EditNotePage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\EditNotePage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\EditNotePage */ class EditNotePageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/EditRawFactActionTest.php b/tests/app/Http/RequestHandlers/EditRawFactActionTest.php index eb44ef584af..894cb437cbb 100644 --- a/tests/app/Http/RequestHandlers/EditRawFactActionTest.php +++ b/tests/app/Http/RequestHandlers/EditRawFactActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class EditRawFactAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\EditRawFactAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\EditRawFactAction */ class EditRawFactActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/EditRawFactPageTest.php b/tests/app/Http/RequestHandlers/EditRawFactPageTest.php index 8962e4c62e5..4f0d31ac54b 100644 --- a/tests/app/Http/RequestHandlers/EditRawFactPageTest.php +++ b/tests/app/Http/RequestHandlers/EditRawFactPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class EditRawFactPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\EditRawFactPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\EditRawFactPage */ class EditRawFactPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/EditRawRecordActionTest.php b/tests/app/Http/RequestHandlers/EditRawRecordActionTest.php index a8f4c02d46e..5aa56c9ea4e 100644 --- a/tests/app/Http/RequestHandlers/EditRawRecordActionTest.php +++ b/tests/app/Http/RequestHandlers/EditRawRecordActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class EditRawRecordAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\EditRawRecordAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\EditRawRecordAction */ class EditRawRecordActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/EditRawRecordPageTest.php b/tests/app/Http/RequestHandlers/EditRawRecordPageTest.php index ca536bf1451..c869f01eefe 100644 --- a/tests/app/Http/RequestHandlers/EditRawRecordPageTest.php +++ b/tests/app/Http/RequestHandlers/EditRawRecordPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class EditRawRecordPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\EditRawRecordPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\EditRawRecordPage */ class EditRawRecordPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/EditRecordActionTest.php b/tests/app/Http/RequestHandlers/EditRecordActionTest.php index 3d9adca0b32..90b9b53a8b7 100644 --- a/tests/app/Http/RequestHandlers/EditRecordActionTest.php +++ b/tests/app/Http/RequestHandlers/EditRecordActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class EditRecordAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\EditRecordAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\EditRecordAction */ class EditRecordActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/EditRecordPageTest.php b/tests/app/Http/RequestHandlers/EditRecordPageTest.php index f8b2d0b94c7..01924839bd4 100644 --- a/tests/app/Http/RequestHandlers/EditRecordPageTest.php +++ b/tests/app/Http/RequestHandlers/EditRecordPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class EditRecordPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\EditRecordPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\EditRecordPage */ class EditRecordPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/EmailPreferencesActionTest.php b/tests/app/Http/RequestHandlers/EmailPreferencesActionTest.php index f8da9a7153c..fd548d26d34 100644 --- a/tests/app/Http/RequestHandlers/EmailPreferencesActionTest.php +++ b/tests/app/Http/RequestHandlers/EmailPreferencesActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class EmailPreferencesAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\EmailPreferencesAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\EmailPreferencesAction */ class EmailPreferencesActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/EmailPreferencesPageTest.php b/tests/app/Http/RequestHandlers/EmailPreferencesPageTest.php index 183f24e267f..2defe3e8f33 100644 --- a/tests/app/Http/RequestHandlers/EmailPreferencesPageTest.php +++ b/tests/app/Http/RequestHandlers/EmailPreferencesPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class EmailPreferencesPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\EmailPreferencesPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\EmailPreferencesPage */ class EmailPreferencesPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/EmptyClipboardTest.php b/tests/app/Http/RequestHandlers/EmptyClipboardTest.php index 355b064fbbb..a632f7e7ad8 100644 --- a/tests/app/Http/RequestHandlers/EmptyClipboardTest.php +++ b/tests/app/Http/RequestHandlers/EmptyClipboardTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class EmptyClipboard * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\EmptyClipboard + * @covers Fisharebest\Webtrees\Http\RequestHandlers\EmptyClipboard */ class EmptyClipboardTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ExportGedcomClientTest.php b/tests/app/Http/RequestHandlers/ExportGedcomClientTest.php index 39ff74a9d57..8a1dce492dd 100644 --- a/tests/app/Http/RequestHandlers/ExportGedcomClientTest.php +++ b/tests/app/Http/RequestHandlers/ExportGedcomClientTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ExportGedcomClient * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ExportGedcomClient + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ExportGedcomClient */ class ExportGedcomClientTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ExportGedcomPageTest.php b/tests/app/Http/RequestHandlers/ExportGedcomPageTest.php index 7dd92c18dc5..e073566e1af 100644 --- a/tests/app/Http/RequestHandlers/ExportGedcomPageTest.php +++ b/tests/app/Http/RequestHandlers/ExportGedcomPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ExportGedcomPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ExportGedcomPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ExportGedcomPage */ class ExportGedcomPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ExportGedcomServerTest.php b/tests/app/Http/RequestHandlers/ExportGedcomServerTest.php index 927852ec4b6..7376cec6512 100644 --- a/tests/app/Http/RequestHandlers/ExportGedcomServerTest.php +++ b/tests/app/Http/RequestHandlers/ExportGedcomServerTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ExportGedcomServer * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ExportGedcomServer + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ExportGedcomServer */ class ExportGedcomServerTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/FamilyPageTest.php b/tests/app/Http/RequestHandlers/FamilyPageTest.php index 780239763aa..ce38648f30b 100644 --- a/tests/app/Http/RequestHandlers/FamilyPageTest.php +++ b/tests/app/Http/RequestHandlers/FamilyPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FamilyPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\FamilyPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\FamilyPage */ class FamilyPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/FaviconIcoTest.php b/tests/app/Http/RequestHandlers/FaviconIcoTest.php index adea0269e8e..5cebcd76602 100644 --- a/tests/app/Http/RequestHandlers/FaviconIcoTest.php +++ b/tests/app/Http/RequestHandlers/FaviconIcoTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FaviconIco * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\FaviconIco + * @covers Fisharebest\Webtrees\Http\RequestHandlers\FaviconIco */ class FaviconIcoTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/FindDuplicateRecordsTest.php b/tests/app/Http/RequestHandlers/FindDuplicateRecordsTest.php index f2728ac0072..c7d80c7e1f8 100644 --- a/tests/app/Http/RequestHandlers/FindDuplicateRecordsTest.php +++ b/tests/app/Http/RequestHandlers/FindDuplicateRecordsTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FindDuplicateRecords * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\FindDuplicateRecords + * @covers Fisharebest\Webtrees\Http\RequestHandlers\FindDuplicateRecords */ class FindDuplicateRecordsTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/FixLevel0MediaActionTest.php b/tests/app/Http/RequestHandlers/FixLevel0MediaActionTest.php index ca6d933e148..adbf9649310 100644 --- a/tests/app/Http/RequestHandlers/FixLevel0MediaActionTest.php +++ b/tests/app/Http/RequestHandlers/FixLevel0MediaActionTest.php @@ -34,9 +34,6 @@ class FixLevel0MediaActionTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testFixLevel0MediaAction(): void { $gedcom_import_service = new GedcomImportService(); diff --git a/tests/app/Http/RequestHandlers/FixLevel0MediaDataTest.php b/tests/app/Http/RequestHandlers/FixLevel0MediaDataTest.php index 5a229006d96..4bfafb65add 100644 --- a/tests/app/Http/RequestHandlers/FixLevel0MediaDataTest.php +++ b/tests/app/Http/RequestHandlers/FixLevel0MediaDataTest.php @@ -35,9 +35,6 @@ class FixLevel0MediaDataTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testFixLevel0MediaData(): void { $datatables_service = new DatatablesService(); diff --git a/tests/app/Http/RequestHandlers/FixLevel0MediaPageTest.php b/tests/app/Http/RequestHandlers/FixLevel0MediaPageTest.php index fcdb68cf5c1..a374c10309f 100644 --- a/tests/app/Http/RequestHandlers/FixLevel0MediaPageTest.php +++ b/tests/app/Http/RequestHandlers/FixLevel0MediaPageTest.php @@ -29,9 +29,8 @@ */ class FixLevel0MediaPageTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testFixLevel0Media(): void { $handler = new FixLevel0MediaPage(); diff --git a/tests/app/Http/RequestHandlers/GedcomLoadTest.php b/tests/app/Http/RequestHandlers/GedcomLoadTest.php index 1d6d38aa796..cc009087e25 100644 --- a/tests/app/Http/RequestHandlers/GedcomLoadTest.php +++ b/tests/app/Http/RequestHandlers/GedcomLoadTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class GedcomLoad * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\GedcomLoad + * @covers Fisharebest\Webtrees\Http\RequestHandlers\GedcomLoad */ class GedcomLoadTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/GedcomRecordPageTest.php b/tests/app/Http/RequestHandlers/GedcomRecordPageTest.php index 4024be2fb3c..04c9a187401 100644 --- a/tests/app/Http/RequestHandlers/GedcomRecordPageTest.php +++ b/tests/app/Http/RequestHandlers/GedcomRecordPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class GedcomRecordPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\GedcomRecordPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\GedcomRecordPage */ class GedcomRecordPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/HeaderPageTest.php b/tests/app/Http/RequestHandlers/HeaderPageTest.php index 725776bd4bf..44de77a89c4 100644 --- a/tests/app/Http/RequestHandlers/HeaderPageTest.php +++ b/tests/app/Http/RequestHandlers/HeaderPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class HeaderPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\HeaderPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\HeaderPage */ class HeaderPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/HelpTextTest.php b/tests/app/Http/RequestHandlers/HelpTextTest.php index a3928f9b364..78609f91cd3 100644 --- a/tests/app/Http/RequestHandlers/HelpTextTest.php +++ b/tests/app/Http/RequestHandlers/HelpTextTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class HelpText * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\HelpText + * @covers Fisharebest\Webtrees\Http\RequestHandlers\HelpText */ class HelpTextTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/HomePageTest.php b/tests/app/Http/RequestHandlers/HomePageTest.php index cc94f3120fd..43b8629d079 100644 --- a/tests/app/Http/RequestHandlers/HomePageTest.php +++ b/tests/app/Http/RequestHandlers/HomePageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class HomePage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\HomePage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\HomePage */ class HomePageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ImportGedcomActionTest.php b/tests/app/Http/RequestHandlers/ImportGedcomActionTest.php index dddd2f3f2d6..9566b94f516 100644 --- a/tests/app/Http/RequestHandlers/ImportGedcomActionTest.php +++ b/tests/app/Http/RequestHandlers/ImportGedcomActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ImportGedcomAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ImportGedcomAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ImportGedcomAction */ class ImportGedcomActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ImportGedcomPageTest.php b/tests/app/Http/RequestHandlers/ImportGedcomPageTest.php index 63ba547de07..5c832badb47 100644 --- a/tests/app/Http/RequestHandlers/ImportGedcomPageTest.php +++ b/tests/app/Http/RequestHandlers/ImportGedcomPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ImportGedcomPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ImportGedcomPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ImportGedcomPage */ class ImportGedcomPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ImportThumbnailsActionTest.php b/tests/app/Http/RequestHandlers/ImportThumbnailsActionTest.php index 7ae95f0a453..ccad9a30012 100644 --- a/tests/app/Http/RequestHandlers/ImportThumbnailsActionTest.php +++ b/tests/app/Http/RequestHandlers/ImportThumbnailsActionTest.php @@ -34,9 +34,6 @@ class ImportThumbnailsActionTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testWebtrees1ThumbnailsAction(): void { $gedcom_import_service = new GedcomImportService(); diff --git a/tests/app/Http/RequestHandlers/ImportThumbnailsDataTest.php b/tests/app/Http/RequestHandlers/ImportThumbnailsDataTest.php index e6953c30885..c7ffc272e85 100644 --- a/tests/app/Http/RequestHandlers/ImportThumbnailsDataTest.php +++ b/tests/app/Http/RequestHandlers/ImportThumbnailsDataTest.php @@ -34,9 +34,6 @@ class ImportThumbnailsDataTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testWebtrees1ThumbnailsData(): void { $gedcom_import_service = new GedcomImportService(); diff --git a/tests/app/Http/RequestHandlers/ImportThumbnailsPageTest.php b/tests/app/Http/RequestHandlers/ImportThumbnailsPageTest.php index 6758ed0fb76..f642391f3bd 100644 --- a/tests/app/Http/RequestHandlers/ImportThumbnailsPageTest.php +++ b/tests/app/Http/RequestHandlers/ImportThumbnailsPageTest.php @@ -31,9 +31,6 @@ class ImportThumbnailsPageTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testWebtrees1Thumbnails(): void { $handler = new ImportThumbnailsPage(); diff --git a/tests/app/Http/RequestHandlers/IndividualPageTest.php b/tests/app/Http/RequestHandlers/IndividualPageTest.php index c353c31ca45..d12b0f3ac44 100644 --- a/tests/app/Http/RequestHandlers/IndividualPageTest.php +++ b/tests/app/Http/RequestHandlers/IndividualPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class IndividualPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\IndividualPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\IndividualPage */ class IndividualPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/LinkChildToFamilyActionTest.php b/tests/app/Http/RequestHandlers/LinkChildToFamilyActionTest.php index 77d9587b3e3..5bc6b70fbd7 100644 --- a/tests/app/Http/RequestHandlers/LinkChildToFamilyActionTest.php +++ b/tests/app/Http/RequestHandlers/LinkChildToFamilyActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LinkChildToFamilyAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\LinkChildToFamilyAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\LinkChildToFamilyAction */ class LinkChildToFamilyActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/LinkChildToFamilyPageTest.php b/tests/app/Http/RequestHandlers/LinkChildToFamilyPageTest.php index f4d64351e3b..86174dfccaf 100644 --- a/tests/app/Http/RequestHandlers/LinkChildToFamilyPageTest.php +++ b/tests/app/Http/RequestHandlers/LinkChildToFamilyPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LinkChildToFamilyPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\LinkChildToFamilyPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\LinkChildToFamilyPage */ class LinkChildToFamilyPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/LinkMediaToFamilyModalTest.php b/tests/app/Http/RequestHandlers/LinkMediaToFamilyModalTest.php index 89714c451a8..b2840e9dec3 100644 --- a/tests/app/Http/RequestHandlers/LinkMediaToFamilyModalTest.php +++ b/tests/app/Http/RequestHandlers/LinkMediaToFamilyModalTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LinkMediaToFamilyModal * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\LinkMediaToFamilyModal + * @covers Fisharebest\Webtrees\Http\RequestHandlers\LinkMediaToFamilyModal */ class LinkMediaToFamilyModalTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/LinkMediaToIndividualModalTest.php b/tests/app/Http/RequestHandlers/LinkMediaToIndividualModalTest.php index 175c9779b3b..4a2d57e0659 100644 --- a/tests/app/Http/RequestHandlers/LinkMediaToIndividualModalTest.php +++ b/tests/app/Http/RequestHandlers/LinkMediaToIndividualModalTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LinkMediaToIndividualModal * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\LinkMediaToIndividualModal + * @covers Fisharebest\Webtrees\Http\RequestHandlers\LinkMediaToIndividualModal */ class LinkMediaToIndividualModalTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/LinkMediaToRecordActionTest.php b/tests/app/Http/RequestHandlers/LinkMediaToRecordActionTest.php index 383e3831635..40ea7c8169e 100644 --- a/tests/app/Http/RequestHandlers/LinkMediaToRecordActionTest.php +++ b/tests/app/Http/RequestHandlers/LinkMediaToRecordActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LinkMediaToRecordAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\LinkMediaToRecordAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\LinkMediaToRecordAction */ class LinkMediaToRecordActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/LinkMediaToSourceModalTest.php b/tests/app/Http/RequestHandlers/LinkMediaToSourceModalTest.php index e3e84a510bd..f39a2d38dd8 100644 --- a/tests/app/Http/RequestHandlers/LinkMediaToSourceModalTest.php +++ b/tests/app/Http/RequestHandlers/LinkMediaToSourceModalTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LinkMediaToSourceModal * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\LinkMediaToSourceModal + * @covers Fisharebest\Webtrees\Http\RequestHandlers\LinkMediaToSourceModal */ class LinkMediaToSourceModalTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/LinkSpouseToIndividualActionTest.php b/tests/app/Http/RequestHandlers/LinkSpouseToIndividualActionTest.php index c73e6e03015..2b5f0dfc107 100644 --- a/tests/app/Http/RequestHandlers/LinkSpouseToIndividualActionTest.php +++ b/tests/app/Http/RequestHandlers/LinkSpouseToIndividualActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LinkSpouseToIndividualAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\LinkSpouseToIndividualAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\LinkSpouseToIndividualAction */ class LinkSpouseToIndividualActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/LinkSpouseToIndividualPageTest.php b/tests/app/Http/RequestHandlers/LinkSpouseToIndividualPageTest.php index d886acb4c55..236dee80e8a 100644 --- a/tests/app/Http/RequestHandlers/LinkSpouseToIndividualPageTest.php +++ b/tests/app/Http/RequestHandlers/LinkSpouseToIndividualPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LinkSpouseToIndividualPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\LinkSpouseToIndividualPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\LinkSpouseToIndividualPage */ class LinkSpouseToIndividualPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/LocationPageTest.php b/tests/app/Http/RequestHandlers/LocationPageTest.php index b05dda7cb50..b983697b266 100644 --- a/tests/app/Http/RequestHandlers/LocationPageTest.php +++ b/tests/app/Http/RequestHandlers/LocationPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LocationPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\LocationPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\LocationPage */ class LocationPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/LoginActionTest.php b/tests/app/Http/RequestHandlers/LoginActionTest.php index eb130488b96..6ff08945fa3 100644 --- a/tests/app/Http/RequestHandlers/LoginActionTest.php +++ b/tests/app/Http/RequestHandlers/LoginActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LoginAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\LoginAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\LoginAction */ class LoginActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/LoginPageTest.php b/tests/app/Http/RequestHandlers/LoginPageTest.php index d709860250d..cb6180af0f3 100644 --- a/tests/app/Http/RequestHandlers/LoginPageTest.php +++ b/tests/app/Http/RequestHandlers/LoginPageTest.php @@ -30,9 +30,8 @@ */ class LoginPageTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testLoginPage(): void { $gedcom_import_service = new GedcomImportService(); @@ -44,9 +43,6 @@ public function testLoginPage(): void self::assertSame(StatusCodeInterface::STATUS_OK, $response->getStatusCode()); } - /** - * @return void - */ public function testLoginPageAlreadyLoggedIn(): void { $gedcom_import_service = new GedcomImportService(); diff --git a/tests/app/Http/RequestHandlers/LogoutTest.php b/tests/app/Http/RequestHandlers/LogoutTest.php index 6229a6d0f34..1ba832a9f0b 100644 --- a/tests/app/Http/RequestHandlers/LogoutTest.php +++ b/tests/app/Http/RequestHandlers/LogoutTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Logout * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\Logout + * @covers Fisharebest\Webtrees\Http\RequestHandlers\Logout */ class LogoutTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ManageMediaActionTest.php b/tests/app/Http/RequestHandlers/ManageMediaActionTest.php index 3628d944c0f..259a085a4c9 100644 --- a/tests/app/Http/RequestHandlers/ManageMediaActionTest.php +++ b/tests/app/Http/RequestHandlers/ManageMediaActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ManageMediaAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ManageMediaAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ManageMediaAction */ class ManageMediaActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ManageMediaDataTest.php b/tests/app/Http/RequestHandlers/ManageMediaDataTest.php index 6f950cbc73b..8b857ad4880 100644 --- a/tests/app/Http/RequestHandlers/ManageMediaDataTest.php +++ b/tests/app/Http/RequestHandlers/ManageMediaDataTest.php @@ -37,9 +37,6 @@ class ManageMediaDataTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testDataLocal(): void { $datatables_service = new DatatablesService(); @@ -61,9 +58,6 @@ public function testDataLocal(): void self::assertSame(StatusCodeInterface::STATUS_OK, $response->getStatusCode()); } - /** - * @return void - */ public function testDataExternal(): void { $datatables_service = new DatatablesService(); @@ -85,9 +79,6 @@ public function testDataExternal(): void self::assertSame(StatusCodeInterface::STATUS_OK, $response->getStatusCode()); } - /** - * @return void - */ public function testDataUnused(): void { $datatables_service = new DatatablesService(); diff --git a/tests/app/Http/RequestHandlers/ManageMediaPageTest.php b/tests/app/Http/RequestHandlers/ManageMediaPageTest.php index 4b487b8af32..77479fe4d19 100644 --- a/tests/app/Http/RequestHandlers/ManageMediaPageTest.php +++ b/tests/app/Http/RequestHandlers/ManageMediaPageTest.php @@ -32,9 +32,6 @@ class ManageMediaPageTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testIndex(): void { $media_file_service = new MediaFileService(); diff --git a/tests/app/Http/RequestHandlers/ManageTreesTest.php b/tests/app/Http/RequestHandlers/ManageTreesTest.php index 933ff4a0419..8d4cf50e3ba 100644 --- a/tests/app/Http/RequestHandlers/ManageTreesTest.php +++ b/tests/app/Http/RequestHandlers/ManageTreesTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ManageTrees * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ManageTrees + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ManageTrees */ class ManageTreesTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/MapDataAddTest.php b/tests/app/Http/RequestHandlers/MapDataAddTest.php index ef9be971894..c8979d2f99c 100644 --- a/tests/app/Http/RequestHandlers/MapDataAddTest.php +++ b/tests/app/Http/RequestHandlers/MapDataAddTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MapDataAdd * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\MapDataAdd + * @covers Fisharebest\Webtrees\Http\RequestHandlers\MapDataAdd */ class MapDataAddTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/MapDataDeleteTest.php b/tests/app/Http/RequestHandlers/MapDataDeleteTest.php index 10429b0bcc2..69a98fe2163 100644 --- a/tests/app/Http/RequestHandlers/MapDataDeleteTest.php +++ b/tests/app/Http/RequestHandlers/MapDataDeleteTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MapDataDelete * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\MapDataDelete + * @covers Fisharebest\Webtrees\Http\RequestHandlers\MapDataDelete */ class MapDataDeleteTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/MapDataDeleteUnusedTest.php b/tests/app/Http/RequestHandlers/MapDataDeleteUnusedTest.php index 9ccd0ba3481..848e265cbdc 100644 --- a/tests/app/Http/RequestHandlers/MapDataDeleteUnusedTest.php +++ b/tests/app/Http/RequestHandlers/MapDataDeleteUnusedTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MapDataDeleteUnused * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\MapDataDeleteUnused + * @covers Fisharebest\Webtrees\Http\RequestHandlers\MapDataDeleteUnused */ class MapDataDeleteUnusedTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/MapDataEditTest.php b/tests/app/Http/RequestHandlers/MapDataEditTest.php index e3ebd956ade..c786f0558cc 100644 --- a/tests/app/Http/RequestHandlers/MapDataEditTest.php +++ b/tests/app/Http/RequestHandlers/MapDataEditTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MapDataEdit * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\MapDataEdit + * @covers Fisharebest\Webtrees\Http\RequestHandlers\MapDataEdit */ class MapDataEditTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/MapDataExportCSVTest.php b/tests/app/Http/RequestHandlers/MapDataExportCSVTest.php index f418e9bbbb6..d3b67b5f615 100644 --- a/tests/app/Http/RequestHandlers/MapDataExportCSVTest.php +++ b/tests/app/Http/RequestHandlers/MapDataExportCSVTest.php @@ -32,9 +32,6 @@ class MapDataExportCSVTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testExportCSV(): void { $map_data_service = new MapDataService(); diff --git a/tests/app/Http/RequestHandlers/MapDataExportGeoJsonTest.php b/tests/app/Http/RequestHandlers/MapDataExportGeoJsonTest.php index ba42f8a3c7b..494efeb90f4 100644 --- a/tests/app/Http/RequestHandlers/MapDataExportGeoJsonTest.php +++ b/tests/app/Http/RequestHandlers/MapDataExportGeoJsonTest.php @@ -32,9 +32,6 @@ class MapDataExportGeoJsonTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testExportGeoJson(): void { $map_data_service = new MapDataService(); diff --git a/tests/app/Http/RequestHandlers/MapDataImportActionTest.php b/tests/app/Http/RequestHandlers/MapDataImportActionTest.php index 98cb4dbafb3..307588c7830 100644 --- a/tests/app/Http/RequestHandlers/MapDataImportActionTest.php +++ b/tests/app/Http/RequestHandlers/MapDataImportActionTest.php @@ -35,9 +35,6 @@ class MapDataImportActionTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testImportAction(): void { $csv = $this->createUploadedFile(dirname(__DIR__, 3) . '/data/places.csv', 'text/csv'); diff --git a/tests/app/Http/RequestHandlers/MapDataImportPageTest.php b/tests/app/Http/RequestHandlers/MapDataImportPageTest.php index cb737f6230b..68534f70fb3 100644 --- a/tests/app/Http/RequestHandlers/MapDataImportPageTest.php +++ b/tests/app/Http/RequestHandlers/MapDataImportPageTest.php @@ -31,9 +31,6 @@ class MapDataImportPageTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testImportPage(): void { $handler = new MapDataImportPage(); diff --git a/tests/app/Http/RequestHandlers/MapDataListTest.php b/tests/app/Http/RequestHandlers/MapDataListTest.php index 7de3d6e0b4e..b1be3b84913 100644 --- a/tests/app/Http/RequestHandlers/MapDataListTest.php +++ b/tests/app/Http/RequestHandlers/MapDataListTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MapDataList * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\MapDataList + * @covers Fisharebest\Webtrees\Http\RequestHandlers\MapDataList */ class MapDataListTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/MapDataSaveTest.php b/tests/app/Http/RequestHandlers/MapDataSaveTest.php index 2fe21690dfa..20d082e3576 100644 --- a/tests/app/Http/RequestHandlers/MapDataSaveTest.php +++ b/tests/app/Http/RequestHandlers/MapDataSaveTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MapDataSave * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\MapDataSave + * @covers Fisharebest\Webtrees\Http\RequestHandlers\MapDataSave */ class MapDataSaveTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/MasqueradeTest.php b/tests/app/Http/RequestHandlers/MasqueradeTest.php index 2610815dee1..940ed0cd06d 100644 --- a/tests/app/Http/RequestHandlers/MasqueradeTest.php +++ b/tests/app/Http/RequestHandlers/MasqueradeTest.php @@ -32,9 +32,8 @@ */ class MasqueradeTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testMasqueradeAsUser(): void { $user1 = $this->createMock(User::class); @@ -58,9 +57,6 @@ public function testMasqueradeAsUser(): void self::assertSame('1', Session::get('masquerade')); } - /** - * @return void - */ public function testCannotMasqueradeAsSelf(): void { $user = $this->createMock(User::class); @@ -80,9 +76,6 @@ public function testCannotMasqueradeAsSelf(): void self::assertNull(Session::get('masquerade')); } - /** - * @return void - */ public function testMasqueradeAsNonExistingUser(): void { $this->expectException(HttpNotFoundException::class); diff --git a/tests/app/Http/RequestHandlers/MediaFileDownloadTest.php b/tests/app/Http/RequestHandlers/MediaFileDownloadTest.php index 78cb576ccca..1d5cf74931b 100644 --- a/tests/app/Http/RequestHandlers/MediaFileDownloadTest.php +++ b/tests/app/Http/RequestHandlers/MediaFileDownloadTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MediaFileDownload * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\MediaFileDownload + * @covers Fisharebest\Webtrees\Http\RequestHandlers\MediaFileDownload */ class MediaFileDownloadTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/MediaFileThumbnailTest.php b/tests/app/Http/RequestHandlers/MediaFileThumbnailTest.php index 13f5a2663b5..20641d4573a 100644 --- a/tests/app/Http/RequestHandlers/MediaFileThumbnailTest.php +++ b/tests/app/Http/RequestHandlers/MediaFileThumbnailTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MediaFileThumbnail * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\MediaFileThumbnail + * @covers Fisharebest\Webtrees\Http\RequestHandlers\MediaFileThumbnail */ class MediaFileThumbnailTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/MediaPageTest.php b/tests/app/Http/RequestHandlers/MediaPageTest.php index 3a0e81d99c2..97b6345b2b4 100644 --- a/tests/app/Http/RequestHandlers/MediaPageTest.php +++ b/tests/app/Http/RequestHandlers/MediaPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MediaPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\MediaPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\MediaPage */ class MediaPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/MergeFactsActionTest.php b/tests/app/Http/RequestHandlers/MergeFactsActionTest.php index 8eb03a62993..c82d106c689 100644 --- a/tests/app/Http/RequestHandlers/MergeFactsActionTest.php +++ b/tests/app/Http/RequestHandlers/MergeFactsActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MergeFactsAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\MergeFactsAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\MergeFactsAction */ class MergeFactsActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/MergeFactsPageTest.php b/tests/app/Http/RequestHandlers/MergeFactsPageTest.php index 863d5cc1162..50f18ae3306 100644 --- a/tests/app/Http/RequestHandlers/MergeFactsPageTest.php +++ b/tests/app/Http/RequestHandlers/MergeFactsPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MergeFactsPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\MergeFactsPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\MergeFactsPage */ class MergeFactsPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/MergeRecordsActionTest.php b/tests/app/Http/RequestHandlers/MergeRecordsActionTest.php index 05711554f14..d755ca8b69d 100644 --- a/tests/app/Http/RequestHandlers/MergeRecordsActionTest.php +++ b/tests/app/Http/RequestHandlers/MergeRecordsActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MergeRecordsAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\MergeRecordsAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\MergeRecordsAction */ class MergeRecordsActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/MergeRecordsPageTest.php b/tests/app/Http/RequestHandlers/MergeRecordsPageTest.php index 2c3bcc0578c..cf482e8d74a 100644 --- a/tests/app/Http/RequestHandlers/MergeRecordsPageTest.php +++ b/tests/app/Http/RequestHandlers/MergeRecordsPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MergeRecordsPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\MergeRecordsPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\MergeRecordsPage */ class MergeRecordsPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/MergeTreesActionTest.php b/tests/app/Http/RequestHandlers/MergeTreesActionTest.php index d6c7010c33a..08ab40484cf 100644 --- a/tests/app/Http/RequestHandlers/MergeTreesActionTest.php +++ b/tests/app/Http/RequestHandlers/MergeTreesActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MergeTreesAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\MergeTreesAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\MergeTreesAction */ class MergeTreesActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/MergeTreesPageTest.php b/tests/app/Http/RequestHandlers/MergeTreesPageTest.php index 369524b97b7..0bd4efb166b 100644 --- a/tests/app/Http/RequestHandlers/MergeTreesPageTest.php +++ b/tests/app/Http/RequestHandlers/MergeTreesPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MergeTreesPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\MergeTreesPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\MergeTreesPage */ class MergeTreesPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/MessageActionTest.php b/tests/app/Http/RequestHandlers/MessageActionTest.php index 48146a44234..de284df8c40 100644 --- a/tests/app/Http/RequestHandlers/MessageActionTest.php +++ b/tests/app/Http/RequestHandlers/MessageActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MessageAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\MessageAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\MessageAction */ class MessageActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/MessagePageTest.php b/tests/app/Http/RequestHandlers/MessagePageTest.php index ea3e37e0378..a7626f0f935 100644 --- a/tests/app/Http/RequestHandlers/MessagePageTest.php +++ b/tests/app/Http/RequestHandlers/MessagePageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MessagePage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\MessagePage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\MessagePage */ class MessagePageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/MessageSelectTest.php b/tests/app/Http/RequestHandlers/MessageSelectTest.php index e1ee9c43d54..0748b1cea83 100644 --- a/tests/app/Http/RequestHandlers/MessageSelectTest.php +++ b/tests/app/Http/RequestHandlers/MessageSelectTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MessageSelect * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\MessageSelect + * @covers Fisharebest\Webtrees\Http\RequestHandlers\MessageSelect */ class MessageSelectTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModuleActionTest.php b/tests/app/Http/RequestHandlers/ModuleActionTest.php index d89018a0592..0474d30c597 100644 --- a/tests/app/Http/RequestHandlers/ModuleActionTest.php +++ b/tests/app/Http/RequestHandlers/ModuleActionTest.php @@ -36,9 +36,6 @@ */ class ModuleActionTest extends TestCase { - /** - * @return void - */ public function testModuleAction(): void { $module_service = $this->createMock(ModuleService::class); @@ -60,9 +57,6 @@ public function testModuleAction(): void self::assertSame('It works!', (string) $response->getBody()); } - /** - * @return void - */ public function testNonExistingAction(): void { $this->expectException(HttpNotFoundException::class); @@ -84,9 +78,6 @@ public function testNonExistingAction(): void $handler->handle($request); } - /** - * @return void - */ public function testNonExistingModule(): void { $this->expectException(HttpNotFoundException::class); @@ -108,9 +99,6 @@ public function testNonExistingModule(): void $handler->handle($request); } - /** - * @return void - */ public function testAdminAction(): void { $this->expectException(HttpAccessDeniedException::class); diff --git a/tests/app/Http/RequestHandlers/ModuleDeleteSettingsTest.php b/tests/app/Http/RequestHandlers/ModuleDeleteSettingsTest.php index d37c0c25059..edecb0ac4a7 100644 --- a/tests/app/Http/RequestHandlers/ModuleDeleteSettingsTest.php +++ b/tests/app/Http/RequestHandlers/ModuleDeleteSettingsTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModuleDeleteSettings * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModuleDeleteSettings + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModuleDeleteSettings */ class ModuleDeleteSettingsTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesAllActionTest.php b/tests/app/Http/RequestHandlers/ModulesAllActionTest.php index 0a2def03047..81ff4ffdb85 100644 --- a/tests/app/Http/RequestHandlers/ModulesAllActionTest.php +++ b/tests/app/Http/RequestHandlers/ModulesAllActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesAllAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesAllAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesAllAction */ class ModulesAllActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesAllPageTest.php b/tests/app/Http/RequestHandlers/ModulesAllPageTest.php index a848a2a197e..8f1e3e87aa9 100644 --- a/tests/app/Http/RequestHandlers/ModulesAllPageTest.php +++ b/tests/app/Http/RequestHandlers/ModulesAllPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesAllPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesAllPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesAllPage */ class ModulesAllPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesAnalyticsActionTest.php b/tests/app/Http/RequestHandlers/ModulesAnalyticsActionTest.php index df97412f4cc..e21f5bfd75c 100644 --- a/tests/app/Http/RequestHandlers/ModulesAnalyticsActionTest.php +++ b/tests/app/Http/RequestHandlers/ModulesAnalyticsActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesAnalyticsAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesAnalyticsAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesAnalyticsAction */ class ModulesAnalyticsActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesAnalyticsPageTest.php b/tests/app/Http/RequestHandlers/ModulesAnalyticsPageTest.php index 799cf435e60..75ed6a1684e 100644 --- a/tests/app/Http/RequestHandlers/ModulesAnalyticsPageTest.php +++ b/tests/app/Http/RequestHandlers/ModulesAnalyticsPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesAnalyticsPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesAnalyticsPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesAnalyticsPage */ class ModulesAnalyticsPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesBlocksActionTest.php b/tests/app/Http/RequestHandlers/ModulesBlocksActionTest.php index aa22268a3a4..000572d2095 100644 --- a/tests/app/Http/RequestHandlers/ModulesBlocksActionTest.php +++ b/tests/app/Http/RequestHandlers/ModulesBlocksActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesBlocksAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesBlocksAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesBlocksAction */ class ModulesBlocksActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesBlocksPageTest.php b/tests/app/Http/RequestHandlers/ModulesBlocksPageTest.php index 042ac14d1f1..86032bf5071 100644 --- a/tests/app/Http/RequestHandlers/ModulesBlocksPageTest.php +++ b/tests/app/Http/RequestHandlers/ModulesBlocksPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesBlocksPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesBlocksPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesBlocksPage */ class ModulesBlocksPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesChartsActionTest.php b/tests/app/Http/RequestHandlers/ModulesChartsActionTest.php index 4d4ed9e7ea5..04d009ee756 100644 --- a/tests/app/Http/RequestHandlers/ModulesChartsActionTest.php +++ b/tests/app/Http/RequestHandlers/ModulesChartsActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesChartsAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesChartsAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesChartsAction */ class ModulesChartsActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesChartsPageTest.php b/tests/app/Http/RequestHandlers/ModulesChartsPageTest.php index 927897b4ce7..ae96be8e12f 100644 --- a/tests/app/Http/RequestHandlers/ModulesChartsPageTest.php +++ b/tests/app/Http/RequestHandlers/ModulesChartsPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesChartsPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesChartsPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesChartsPage */ class ModulesChartsPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesDataFixesActionTest.php b/tests/app/Http/RequestHandlers/ModulesDataFixesActionTest.php index 9b33632d2b1..4ca477e249f 100644 --- a/tests/app/Http/RequestHandlers/ModulesDataFixesActionTest.php +++ b/tests/app/Http/RequestHandlers/ModulesDataFixesActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesDataFixesAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesDataFixesAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesDataFixesAction */ class ModulesDataFixesActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesDataFixesPageTest.php b/tests/app/Http/RequestHandlers/ModulesDataFixesPageTest.php index 04c7b5d8988..f584d700691 100644 --- a/tests/app/Http/RequestHandlers/ModulesDataFixesPageTest.php +++ b/tests/app/Http/RequestHandlers/ModulesDataFixesPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesDataFixesPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesDataFixesPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesDataFixesPage */ class ModulesDataFixesPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesFootersActionTest.php b/tests/app/Http/RequestHandlers/ModulesFootersActionTest.php index 01756dd762c..c0b2f36688e 100644 --- a/tests/app/Http/RequestHandlers/ModulesFootersActionTest.php +++ b/tests/app/Http/RequestHandlers/ModulesFootersActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesFootersAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesFootersAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesFootersAction */ class ModulesFootersActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesFootersPageTest.php b/tests/app/Http/RequestHandlers/ModulesFootersPageTest.php index 089963a0cbb..749370f48ec 100644 --- a/tests/app/Http/RequestHandlers/ModulesFootersPageTest.php +++ b/tests/app/Http/RequestHandlers/ModulesFootersPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesFootersPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesFootersPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesFootersPage */ class ModulesFootersPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesHistoricEventsActionTest.php b/tests/app/Http/RequestHandlers/ModulesHistoricEventsActionTest.php index e2e7cc03d4b..a7f620b4098 100644 --- a/tests/app/Http/RequestHandlers/ModulesHistoricEventsActionTest.php +++ b/tests/app/Http/RequestHandlers/ModulesHistoricEventsActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesHistoricEventsAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesHistoricEventsAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesHistoricEventsAction */ class ModulesHistoricEventsActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesHistoricEventsPageTest.php b/tests/app/Http/RequestHandlers/ModulesHistoricEventsPageTest.php index 71eb121cf3b..44b8f9206a5 100644 --- a/tests/app/Http/RequestHandlers/ModulesHistoricEventsPageTest.php +++ b/tests/app/Http/RequestHandlers/ModulesHistoricEventsPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesHistoricEventsPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesHistoricEventsPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesHistoricEventsPage */ class ModulesHistoricEventsPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesLanguagesActionTest.php b/tests/app/Http/RequestHandlers/ModulesLanguagesActionTest.php index 6fce2d42807..54cfd53c84c 100644 --- a/tests/app/Http/RequestHandlers/ModulesLanguagesActionTest.php +++ b/tests/app/Http/RequestHandlers/ModulesLanguagesActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesLanguagesAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesLanguagesAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesLanguagesAction */ class ModulesLanguagesActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesLanguagesPageTest.php b/tests/app/Http/RequestHandlers/ModulesLanguagesPageTest.php index 81c4f1180a6..b3e18b42625 100644 --- a/tests/app/Http/RequestHandlers/ModulesLanguagesPageTest.php +++ b/tests/app/Http/RequestHandlers/ModulesLanguagesPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesLanguagesPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesLanguagesPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesLanguagesPage */ class ModulesLanguagesPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesListsActionTest.php b/tests/app/Http/RequestHandlers/ModulesListsActionTest.php index 93681f8d0c0..bdc9e3dbebd 100644 --- a/tests/app/Http/RequestHandlers/ModulesListsActionTest.php +++ b/tests/app/Http/RequestHandlers/ModulesListsActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesListsAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesListsAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesListsAction */ class ModulesListsActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesListsPageTest.php b/tests/app/Http/RequestHandlers/ModulesListsPageTest.php index 6a186a77d3a..446a556c8cc 100644 --- a/tests/app/Http/RequestHandlers/ModulesListsPageTest.php +++ b/tests/app/Http/RequestHandlers/ModulesListsPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesListsPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesListsPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesListsPage */ class ModulesListsPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesMapAutocompleteActionTest.php b/tests/app/Http/RequestHandlers/ModulesMapAutocompleteActionTest.php index c24640641d3..03eb0065da3 100644 --- a/tests/app/Http/RequestHandlers/ModulesMapAutocompleteActionTest.php +++ b/tests/app/Http/RequestHandlers/ModulesMapAutocompleteActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesMapAutocompleteAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapAutocompleteAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapAutocompleteAction */ class ModulesMapAutocompleteActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesMapAutocompletePageTest.php b/tests/app/Http/RequestHandlers/ModulesMapAutocompletePageTest.php index 79376874a96..1afa6cf53ce 100644 --- a/tests/app/Http/RequestHandlers/ModulesMapAutocompletePageTest.php +++ b/tests/app/Http/RequestHandlers/ModulesMapAutocompletePageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesMapAutocompletePage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapAutocompletePage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapAutocompletePage */ class ModulesMapAutocompletePageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesMapGeoLocationsActionTest.php b/tests/app/Http/RequestHandlers/ModulesMapGeoLocationsActionTest.php index 76bef8d0b1c..e9105dc12ad 100644 --- a/tests/app/Http/RequestHandlers/ModulesMapGeoLocationsActionTest.php +++ b/tests/app/Http/RequestHandlers/ModulesMapGeoLocationsActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesMapGeoLocationsAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapGeoLocationsAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapGeoLocationsAction */ class ModulesMapGeoLocationsActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesMapGeoLocationsPageTest.php b/tests/app/Http/RequestHandlers/ModulesMapGeoLocationsPageTest.php index 85c3f278795..83b315ee294 100644 --- a/tests/app/Http/RequestHandlers/ModulesMapGeoLocationsPageTest.php +++ b/tests/app/Http/RequestHandlers/ModulesMapGeoLocationsPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesMapGeoLocationsPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapGeoLocationsPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapGeoLocationsPage */ class ModulesMapGeoLocationsPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesMapLinksActionTest.php b/tests/app/Http/RequestHandlers/ModulesMapLinksActionTest.php index 3e4557918b1..581108dd037 100644 --- a/tests/app/Http/RequestHandlers/ModulesMapLinksActionTest.php +++ b/tests/app/Http/RequestHandlers/ModulesMapLinksActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesMapLinksAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapLinksAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapLinksAction */ class ModulesMapLinksActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesMapLinksPageTest.php b/tests/app/Http/RequestHandlers/ModulesMapLinksPageTest.php index a2a8a34d246..cf3225b0af3 100644 --- a/tests/app/Http/RequestHandlers/ModulesMapLinksPageTest.php +++ b/tests/app/Http/RequestHandlers/ModulesMapLinksPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesMapLinksPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapLinksPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapLinksPage */ class ModulesMapLinksPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesMapProvidersActionTest.php b/tests/app/Http/RequestHandlers/ModulesMapProvidersActionTest.php index a6b5130e8f1..4be6b8c62e5 100644 --- a/tests/app/Http/RequestHandlers/ModulesMapProvidersActionTest.php +++ b/tests/app/Http/RequestHandlers/ModulesMapProvidersActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesMapProvidersAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapProvidersAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapProvidersAction */ class ModulesMapProvidersActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesMapProvidersPageTest.php b/tests/app/Http/RequestHandlers/ModulesMapProvidersPageTest.php index f24919e7683..b8e2d4902e5 100644 --- a/tests/app/Http/RequestHandlers/ModulesMapProvidersPageTest.php +++ b/tests/app/Http/RequestHandlers/ModulesMapProvidersPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesMapProvidersPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapProvidersPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapProvidersPage */ class ModulesMapProvidersPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesMenusActionTest.php b/tests/app/Http/RequestHandlers/ModulesMenusActionTest.php index c3355fbe711..766d7391867 100644 --- a/tests/app/Http/RequestHandlers/ModulesMenusActionTest.php +++ b/tests/app/Http/RequestHandlers/ModulesMenusActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesMenusAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesMenusAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesMenusAction */ class ModulesMenusActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesMenusPageTest.php b/tests/app/Http/RequestHandlers/ModulesMenusPageTest.php index a21b3891acd..4c32a0def6d 100644 --- a/tests/app/Http/RequestHandlers/ModulesMenusPageTest.php +++ b/tests/app/Http/RequestHandlers/ModulesMenusPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesMenusPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesMenusPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesMenusPage */ class ModulesMenusPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesReportsActionTest.php b/tests/app/Http/RequestHandlers/ModulesReportsActionTest.php index 0be9dc8ae22..526724eae10 100644 --- a/tests/app/Http/RequestHandlers/ModulesReportsActionTest.php +++ b/tests/app/Http/RequestHandlers/ModulesReportsActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesReportsAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesReportsAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesReportsAction */ class ModulesReportsActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesReportsPageTest.php b/tests/app/Http/RequestHandlers/ModulesReportsPageTest.php index d88f3cf3975..72e1643d596 100644 --- a/tests/app/Http/RequestHandlers/ModulesReportsPageTest.php +++ b/tests/app/Http/RequestHandlers/ModulesReportsPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesReportsPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesReportsPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesReportsPage */ class ModulesReportsPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesSharesActionTest.php b/tests/app/Http/RequestHandlers/ModulesSharesActionTest.php index 145b2c26434..d877dad1a6d 100644 --- a/tests/app/Http/RequestHandlers/ModulesSharesActionTest.php +++ b/tests/app/Http/RequestHandlers/ModulesSharesActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesSharesAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesSharesAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesSharesAction */ class ModulesSharesActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesSharesPageTest.php b/tests/app/Http/RequestHandlers/ModulesSharesPageTest.php index d364df4c592..7cda068bf42 100644 --- a/tests/app/Http/RequestHandlers/ModulesSharesPageTest.php +++ b/tests/app/Http/RequestHandlers/ModulesSharesPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesSharesPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesSharesPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesSharesPage */ class ModulesSharesPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesSidebarsActionTest.php b/tests/app/Http/RequestHandlers/ModulesSidebarsActionTest.php index 75b247b1ce3..e6f7032e19f 100644 --- a/tests/app/Http/RequestHandlers/ModulesSidebarsActionTest.php +++ b/tests/app/Http/RequestHandlers/ModulesSidebarsActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesSidebarsAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesSidebarsAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesSidebarsAction */ class ModulesSidebarsActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesSidebarsPageTest.php b/tests/app/Http/RequestHandlers/ModulesSidebarsPageTest.php index 5026ec865ff..fa226ac6dcc 100644 --- a/tests/app/Http/RequestHandlers/ModulesSidebarsPageTest.php +++ b/tests/app/Http/RequestHandlers/ModulesSidebarsPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesSidebarsPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesSidebarsPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesSidebarsPage */ class ModulesSidebarsPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesTabsActionTest.php b/tests/app/Http/RequestHandlers/ModulesTabsActionTest.php index f9a4b9d08df..4054993b80a 100644 --- a/tests/app/Http/RequestHandlers/ModulesTabsActionTest.php +++ b/tests/app/Http/RequestHandlers/ModulesTabsActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesTabsAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesTabsAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesTabsAction */ class ModulesTabsActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesTabsPageTest.php b/tests/app/Http/RequestHandlers/ModulesTabsPageTest.php index dc09fd196ca..cab84b6fc62 100644 --- a/tests/app/Http/RequestHandlers/ModulesTabsPageTest.php +++ b/tests/app/Http/RequestHandlers/ModulesTabsPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesTabsPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesTabsPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesTabsPage */ class ModulesTabsPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesThemesActionTest.php b/tests/app/Http/RequestHandlers/ModulesThemesActionTest.php index 2f5d9539b95..d9ddeeb7b6a 100644 --- a/tests/app/Http/RequestHandlers/ModulesThemesActionTest.php +++ b/tests/app/Http/RequestHandlers/ModulesThemesActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesThemesAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesThemesAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesThemesAction */ class ModulesThemesActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ModulesThemesPageTest.php b/tests/app/Http/RequestHandlers/ModulesThemesPageTest.php index 2181ff6a1a6..3e7697d3a63 100644 --- a/tests/app/Http/RequestHandlers/ModulesThemesPageTest.php +++ b/tests/app/Http/RequestHandlers/ModulesThemesPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ModulesThemesPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ModulesThemesPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ModulesThemesPage */ class ModulesThemesPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/NotePageTest.php b/tests/app/Http/RequestHandlers/NotePageTest.php index 4f8050066e3..33ba52839bd 100644 --- a/tests/app/Http/RequestHandlers/NotePageTest.php +++ b/tests/app/Http/RequestHandlers/NotePageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class NotePage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\NotePage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\NotePage */ class NotePageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/PasswordRequestActionTest.php b/tests/app/Http/RequestHandlers/PasswordRequestActionTest.php index 54d5d1b082a..8d2dc7e3957 100644 --- a/tests/app/Http/RequestHandlers/PasswordRequestActionTest.php +++ b/tests/app/Http/RequestHandlers/PasswordRequestActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PasswordRequestAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\PasswordRequestAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\PasswordRequestAction */ class PasswordRequestActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/PasswordRequestPageTest.php b/tests/app/Http/RequestHandlers/PasswordRequestPageTest.php index afa33571da3..6eeb6d6961c 100644 --- a/tests/app/Http/RequestHandlers/PasswordRequestPageTest.php +++ b/tests/app/Http/RequestHandlers/PasswordRequestPageTest.php @@ -28,9 +28,8 @@ */ class PasswordRequestPageTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testPasswordRequestPage(): void { $request = self::createRequest(); @@ -40,9 +39,6 @@ public function testPasswordRequestPage(): void self::assertSame(StatusCodeInterface::STATUS_OK, $response->getStatusCode()); } - /** - * @return void - */ public function testPasswordRequestPageAlreadyLoggedIn(): void { $user = $this->createMock(User::class); diff --git a/tests/app/Http/RequestHandlers/PasswordResetActionTest.php b/tests/app/Http/RequestHandlers/PasswordResetActionTest.php index 5e283b6867a..c601082ff6f 100644 --- a/tests/app/Http/RequestHandlers/PasswordResetActionTest.php +++ b/tests/app/Http/RequestHandlers/PasswordResetActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PasswordResetAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\PasswordResetAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\PasswordResetAction */ class PasswordResetActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/PasswordResetPageTest.php b/tests/app/Http/RequestHandlers/PasswordResetPageTest.php index d0c0f84126c..a0e988c2be6 100644 --- a/tests/app/Http/RequestHandlers/PasswordResetPageTest.php +++ b/tests/app/Http/RequestHandlers/PasswordResetPageTest.php @@ -30,9 +30,8 @@ */ class PasswordResetPageTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testPasswordResetPageWithValidToken(): void { $user = $this->createMock(User::class); @@ -52,9 +51,6 @@ public function testPasswordResetPageWithValidToken(): void self::assertSame(StatusCodeInterface::STATUS_OK, $response->getStatusCode()); } - /** - * @return void - */ public function testPasswordResetPageWithoutValidToken(): void { $user_service = $this->createMock(UserService::class); diff --git a/tests/app/Http/RequestHandlers/PasteFactTest.php b/tests/app/Http/RequestHandlers/PasteFactTest.php index 42e10d023a5..7490e5e1cbc 100644 --- a/tests/app/Http/RequestHandlers/PasteFactTest.php +++ b/tests/app/Http/RequestHandlers/PasteFactTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PasteFact * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\PasteFact + * @covers Fisharebest\Webtrees\Http\RequestHandlers\PasteFact */ class PasteFactTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/PendingChangesAcceptChangeTest.php b/tests/app/Http/RequestHandlers/PendingChangesAcceptChangeTest.php index 53cac55295c..d1a869c24dd 100644 --- a/tests/app/Http/RequestHandlers/PendingChangesAcceptChangeTest.php +++ b/tests/app/Http/RequestHandlers/PendingChangesAcceptChangeTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PendingChangesAcceptChange * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesAcceptChange + * @covers Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesAcceptChange */ class PendingChangesAcceptChangeTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/PendingChangesAcceptRecordTest.php b/tests/app/Http/RequestHandlers/PendingChangesAcceptRecordTest.php index f4f8940aa01..adca68ce4c6 100644 --- a/tests/app/Http/RequestHandlers/PendingChangesAcceptRecordTest.php +++ b/tests/app/Http/RequestHandlers/PendingChangesAcceptRecordTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PendingChangesAcceptRecord * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesAcceptRecord + * @covers Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesAcceptRecord */ class PendingChangesAcceptRecordTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/PendingChangesAcceptTreeTest.php b/tests/app/Http/RequestHandlers/PendingChangesAcceptTreeTest.php index bcbc706fcd4..6582a73745c 100644 --- a/tests/app/Http/RequestHandlers/PendingChangesAcceptTreeTest.php +++ b/tests/app/Http/RequestHandlers/PendingChangesAcceptTreeTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PendingChangesAcceptTree * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesAcceptTree + * @covers Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesAcceptTree */ class PendingChangesAcceptTreeTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/PendingChangesLogActionTest.php b/tests/app/Http/RequestHandlers/PendingChangesLogActionTest.php index 2ab3b7a48c6..3165f9ec340 100644 --- a/tests/app/Http/RequestHandlers/PendingChangesLogActionTest.php +++ b/tests/app/Http/RequestHandlers/PendingChangesLogActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PendingChangesLogAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesLogAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesLogAction */ class PendingChangesLogActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/PendingChangesLogDataTest.php b/tests/app/Http/RequestHandlers/PendingChangesLogDataTest.php index 3196a7e4290..fca6b2bcf9f 100644 --- a/tests/app/Http/RequestHandlers/PendingChangesLogDataTest.php +++ b/tests/app/Http/RequestHandlers/PendingChangesLogDataTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PendingChangesLogData * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesLogData + * @covers Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesLogData */ class PendingChangesLogDataTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/PendingChangesLogDeleteTest.php b/tests/app/Http/RequestHandlers/PendingChangesLogDeleteTest.php index ca757e8f686..2968e9588a5 100644 --- a/tests/app/Http/RequestHandlers/PendingChangesLogDeleteTest.php +++ b/tests/app/Http/RequestHandlers/PendingChangesLogDeleteTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PendingChangesLogDelete * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesLogDelete + * @covers Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesLogDelete */ class PendingChangesLogDeleteTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/PendingChangesLogDownloadTest.php b/tests/app/Http/RequestHandlers/PendingChangesLogDownloadTest.php index 62ea455b570..a3a5e7da45c 100644 --- a/tests/app/Http/RequestHandlers/PendingChangesLogDownloadTest.php +++ b/tests/app/Http/RequestHandlers/PendingChangesLogDownloadTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PendingChangesLogDownload * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesLogDownload + * @covers Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesLogDownload */ class PendingChangesLogDownloadTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/PendingChangesLogPageTest.php b/tests/app/Http/RequestHandlers/PendingChangesLogPageTest.php index 67eb3f99f90..50bc360dd28 100644 --- a/tests/app/Http/RequestHandlers/PendingChangesLogPageTest.php +++ b/tests/app/Http/RequestHandlers/PendingChangesLogPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PendingChangesLogPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesLogPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesLogPage */ class PendingChangesLogPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/PendingChangesRejectChangeTest.php b/tests/app/Http/RequestHandlers/PendingChangesRejectChangeTest.php index 675abd295b9..fec66f3f3d0 100644 --- a/tests/app/Http/RequestHandlers/PendingChangesRejectChangeTest.php +++ b/tests/app/Http/RequestHandlers/PendingChangesRejectChangeTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PendingChangesRejectChange * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesRejectChange + * @covers Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesRejectChange */ class PendingChangesRejectChangeTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/PendingChangesRejectRecordTest.php b/tests/app/Http/RequestHandlers/PendingChangesRejectRecordTest.php index 05c1085c4ba..fc442cb338c 100644 --- a/tests/app/Http/RequestHandlers/PendingChangesRejectRecordTest.php +++ b/tests/app/Http/RequestHandlers/PendingChangesRejectRecordTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PendingChangesRejectRecord * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesRejectRecord + * @covers Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesRejectRecord */ class PendingChangesRejectRecordTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/PendingChangesRejectTreeTest.php b/tests/app/Http/RequestHandlers/PendingChangesRejectTreeTest.php index 8497746f831..d7eecabeaf1 100644 --- a/tests/app/Http/RequestHandlers/PendingChangesRejectTreeTest.php +++ b/tests/app/Http/RequestHandlers/PendingChangesRejectTreeTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PendingChangesRejectTree * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesRejectTree + * @covers Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesRejectTree */ class PendingChangesRejectTreeTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/PendingChangesTest.php b/tests/app/Http/RequestHandlers/PendingChangesTest.php index e9b1514f1a8..68b46ecd5aa 100644 --- a/tests/app/Http/RequestHandlers/PendingChangesTest.php +++ b/tests/app/Http/RequestHandlers/PendingChangesTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PendingChanges * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\PendingChanges + * @covers Fisharebest\Webtrees\Http\RequestHandlers\PendingChanges */ class PendingChangesTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/PhpInformationTest.php b/tests/app/Http/RequestHandlers/PhpInformationTest.php index 0ee85e53798..42ddd795a0e 100644 --- a/tests/app/Http/RequestHandlers/PhpInformationTest.php +++ b/tests/app/Http/RequestHandlers/PhpInformationTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PhpInformation * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\PhpInformation + * @covers Fisharebest\Webtrees\Http\RequestHandlers\PhpInformation */ class PhpInformationTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/PingTest.php b/tests/app/Http/RequestHandlers/PingTest.php index 7da18a470e8..080678d2f8e 100644 --- a/tests/app/Http/RequestHandlers/PingTest.php +++ b/tests/app/Http/RequestHandlers/PingTest.php @@ -29,9 +29,6 @@ */ class PingTest extends TestCase { - /** - * @return void - */ public function testPingOK(): void { $server_check_service = $this->createMock(ServerCheckService::class); @@ -46,9 +43,6 @@ public function testPingOK(): void self::assertSame('OK', (string) $response->getBody()); } - /** - * @return void - */ public function testPingWarnings(): void { $server_check_service = $this->createMock(ServerCheckService::class); @@ -63,9 +57,6 @@ public function testPingWarnings(): void self::assertSame('WARNING', (string) $response->getBody()); } - /** - * @return void - */ public function testPingErrors(): void { $server_check_service = $this->createMock(ServerCheckService::class); diff --git a/tests/app/Http/RequestHandlers/RedirectAncestryPhpTest.php b/tests/app/Http/RequestHandlers/RedirectAncestryPhpTest.php index 97b4a972edc..d83e3600c79 100644 --- a/tests/app/Http/RequestHandlers/RedirectAncestryPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectAncestryPhpTest.php @@ -37,9 +37,8 @@ */ class RedirectAncestryPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -90,9 +89,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testModuleDisabled(): void { $module_service = $this->createStub(ModuleService::class); @@ -121,9 +117,6 @@ public function testModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $module = $this->createStub(AncestorsChartModule::class); diff --git a/tests/app/Http/RequestHandlers/RedirectBranchesPhpTest.php b/tests/app/Http/RequestHandlers/RedirectBranchesPhpTest.php index 2cec7ca5832..d22ea59bb82 100644 --- a/tests/app/Http/RequestHandlers/RedirectBranchesPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectBranchesPhpTest.php @@ -34,9 +34,8 @@ */ class RedirectBranchesPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -78,9 +77,6 @@ public function testRedirect(): void ); } - /** - * @return void - */ public function testModuleDisabled(): void { $module_service = $this->createStub(ModuleService::class); @@ -109,9 +105,6 @@ public function testModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $module = $this->createStub(BranchesListModule::class); diff --git a/tests/app/Http/RequestHandlers/RedirectCalendarPhpTest.php b/tests/app/Http/RequestHandlers/RedirectCalendarPhpTest.php index 4a0e08e0aa8..3c432560984 100644 --- a/tests/app/Http/RequestHandlers/RedirectCalendarPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectCalendarPhpTest.php @@ -32,9 +32,8 @@ */ class RedirectCalendarPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -67,9 +66,6 @@ public function testRedirect(): void ); } - /** - * @return void - */ public function testNoSuchTree(): void { $tree_service = $this->createStub(TreeService::class); diff --git a/tests/app/Http/RequestHandlers/RedirectCompactPhpTest.php b/tests/app/Http/RequestHandlers/RedirectCompactPhpTest.php index 65dd211eb4b..705c3a5cb0c 100644 --- a/tests/app/Http/RequestHandlers/RedirectCompactPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectCompactPhpTest.php @@ -37,9 +37,8 @@ */ class RedirectCompactPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -90,9 +89,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testModuleDisabled(): void { $module_service = $this->createStub(ModuleService::class); @@ -121,9 +117,6 @@ public function testModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $module = $this->createStub(CompactTreeChartModule::class); diff --git a/tests/app/Http/RequestHandlers/RedirectDescendancyPhpTest.php b/tests/app/Http/RequestHandlers/RedirectDescendancyPhpTest.php index 1d2f3d048d5..1d1df605c07 100644 --- a/tests/app/Http/RequestHandlers/RedirectDescendancyPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectDescendancyPhpTest.php @@ -37,9 +37,8 @@ */ class RedirectDescendancyPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -86,9 +85,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testModuleDisabled(): void { $module_service = $this->createStub(ModuleService::class); @@ -117,9 +113,6 @@ public function testModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $module = $this->createStub(DescendancyChartModule::class); diff --git a/tests/app/Http/RequestHandlers/RedirectDescendencyPhpTest.php b/tests/app/Http/RequestHandlers/RedirectDescendencyPhpTest.php deleted file mode 100644 index d09bfa66fe2..00000000000 --- a/tests/app/Http/RequestHandlers/RedirectDescendencyPhpTest.php +++ /dev/null @@ -1,35 +0,0 @@ -. - */ - -declare(strict_types=1); - -namespace Fisharebest\Webtrees\Http\RequestHandlers; - -use Fisharebest\Webtrees\TestCase; - -/** - * Test harness for the class RedirectDescendencyPhp - * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\RedirectDescendencyPhp - */ -class RedirectDescendencyPhpTest extends TestCase -{ - public function testClass(): void - { - $this->assertTrue(class_exists(\Fisharebest\Webtrees\Http\RequestHandlers\RedirectDescendencyPhp::class)); - } -} diff --git a/tests/app/Http/RequestHandlers/RedirectFamListPhpTest.php b/tests/app/Http/RequestHandlers/RedirectFamListPhpTest.php index d8b00618cab..5583b0d5575 100644 --- a/tests/app/Http/RequestHandlers/RedirectFamListPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectFamListPhpTest.php @@ -34,9 +34,8 @@ */ class RedirectFamListPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -73,9 +72,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testModuleDisabled(): void { $module_service = $this->createStub(ModuleService::class); @@ -101,9 +97,6 @@ public function testModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $module = $this->createStub(FamilyListModule::class); diff --git a/tests/app/Http/RequestHandlers/RedirectFamilyBookPhpTest.php b/tests/app/Http/RequestHandlers/RedirectFamilyBookPhpTest.php index ff2b26101c5..3e44db2c1e4 100644 --- a/tests/app/Http/RequestHandlers/RedirectFamilyBookPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectFamilyBookPhpTest.php @@ -37,9 +37,8 @@ */ class RedirectFamilyBookPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -86,9 +85,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testModuleDisabled(): void { $module_service = $this->createStub(ModuleService::class); @@ -116,9 +112,6 @@ public function testModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $module = $this->createStub(FamilyBookChartModule::class); diff --git a/tests/app/Http/RequestHandlers/RedirectFamilyPhpTest.php b/tests/app/Http/RequestHandlers/RedirectFamilyPhpTest.php index 53d3c191b5b..a4094d15422 100644 --- a/tests/app/Http/RequestHandlers/RedirectFamilyPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectFamilyPhpTest.php @@ -36,9 +36,8 @@ */ class RedirectFamilyPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -79,9 +78,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testNoSuchRecord(): void { $tree = $this->createStub(Tree::class); @@ -104,9 +100,6 @@ public function testNoSuchRecord(): void $handler->handle($request); } - /** - * @return void - */ public function testMissingXrefParameter(): void { $tree_service = $this->createStub(TreeService::class); diff --git a/tests/app/Http/RequestHandlers/RedirectFanChartPhpTest.php b/tests/app/Http/RequestHandlers/RedirectFanChartPhpTest.php index 7dda5db8171..2b599ac2d4d 100644 --- a/tests/app/Http/RequestHandlers/RedirectFanChartPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectFanChartPhpTest.php @@ -37,9 +37,8 @@ */ class RedirectFanChartPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -90,9 +89,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testModuleDisabled(): void { $module_service = $this->createStub(ModuleService::class); @@ -121,9 +117,6 @@ public function testModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $module = $this->createStub(FanChartModule::class); diff --git a/tests/app/Http/RequestHandlers/RedirectGedRecordPhpTest.php b/tests/app/Http/RequestHandlers/RedirectGedRecordPhpTest.php index c920eb0ab39..7d8371e3907 100644 --- a/tests/app/Http/RequestHandlers/RedirectGedRecordPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectGedRecordPhpTest.php @@ -36,9 +36,8 @@ */ class RedirectGedRecordPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -79,9 +78,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testNoSuchRecord(): void { $tree = $this->createStub(Tree::class); @@ -104,9 +100,6 @@ public function testNoSuchRecord(): void $handler->handle($request); } - /** - * @return void - */ public function testMissingXrefParameter(): void { $tree_service = $this->createStub(TreeService::class); diff --git a/tests/app/Http/RequestHandlers/RedirectHourGlassPhpTest.php b/tests/app/Http/RequestHandlers/RedirectHourGlassPhpTest.php index d19c0b701dc..908c009efa1 100644 --- a/tests/app/Http/RequestHandlers/RedirectHourGlassPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectHourGlassPhpTest.php @@ -37,9 +37,8 @@ */ class RedirectHourGlassPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -90,9 +89,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testModuleDisabled(): void { $module_service = $this->createStub(ModuleService::class); @@ -121,9 +117,6 @@ public function testModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $module = $this->createStub(HourglassChartModule::class); diff --git a/tests/app/Http/RequestHandlers/RedirectIndiListPhpTest.php b/tests/app/Http/RequestHandlers/RedirectIndiListPhpTest.php index f723831b649..1408a6b49dd 100644 --- a/tests/app/Http/RequestHandlers/RedirectIndiListPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectIndiListPhpTest.php @@ -34,9 +34,8 @@ */ class RedirectIndiListPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -73,9 +72,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testModuleDisabled(): void { $module_service = $this->createStub(ModuleService::class); @@ -101,9 +97,6 @@ public function testModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $module = $this->createStub(IndividualListModule::class); diff --git a/tests/app/Http/RequestHandlers/RedirectIndividualPhpTest.php b/tests/app/Http/RequestHandlers/RedirectIndividualPhpTest.php index cd7dcce3025..f681cfe9175 100644 --- a/tests/app/Http/RequestHandlers/RedirectIndividualPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectIndividualPhpTest.php @@ -36,9 +36,8 @@ */ class RedirectIndividualPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -79,9 +78,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testNoSuchRecord(): void { $tree = $this->createStub(Tree::class); @@ -104,9 +100,6 @@ public function testNoSuchRecord(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $tree_service = $this->createStub(TreeService::class); @@ -127,9 +120,6 @@ public function testNoSuchTree(): void $handler->handle($request); } - /** - * @return void - */ public function testMissingXrefParameter(): void { $tree_service = $this->createStub(TreeService::class); diff --git a/tests/app/Http/RequestHandlers/RedirectLifeSpanPhpTest.php b/tests/app/Http/RequestHandlers/RedirectLifeSpanPhpTest.php index 0073e05f255..4a03f3fd666 100644 --- a/tests/app/Http/RequestHandlers/RedirectLifeSpanPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectLifeSpanPhpTest.php @@ -34,9 +34,8 @@ */ class RedirectLifeSpanPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -76,9 +75,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testModuleDisabled(): void { $module_service = $this->createStub(ModuleService::class); @@ -107,9 +103,6 @@ public function testModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $module = $this->createStub(LifespansChartModule::class); diff --git a/tests/app/Http/RequestHandlers/RedirectMediaListPhpTest.php b/tests/app/Http/RequestHandlers/RedirectMediaListPhpTest.php index 072b255b6d4..02d6fb7befb 100644 --- a/tests/app/Http/RequestHandlers/RedirectMediaListPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectMediaListPhpTest.php @@ -34,9 +34,8 @@ */ class RedirectMediaListPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -73,9 +72,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testModuleDisabled(): void { $module_service = $this->createStub(ModuleService::class); @@ -101,9 +97,6 @@ public function testModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $module = $this->createStub(MediaListModule::class); diff --git a/tests/app/Http/RequestHandlers/RedirectMediaViewerPhpTest.php b/tests/app/Http/RequestHandlers/RedirectMediaViewerPhpTest.php index e20357484be..d0df853cb13 100644 --- a/tests/app/Http/RequestHandlers/RedirectMediaViewerPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectMediaViewerPhpTest.php @@ -36,9 +36,8 @@ */ class RedirectMediaViewerPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -79,9 +78,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testNoSuchRecord(): void { $tree = $this->createStub(Tree::class); @@ -104,9 +100,6 @@ public function testNoSuchRecord(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $tree_service = $this->createStub(TreeService::class); @@ -127,9 +120,6 @@ public function testNoSuchTree(): void $handler->handle($request); } - /** - * @return void - */ public function testMissingTreeParameter(): void { $tree_service = $this->createStub(TreeService::class); @@ -143,9 +133,6 @@ public function testMissingTreeParameter(): void $handler->handle($request); } - /** - * @return void - */ public function testMissingXrefParameter(): void { $tree_service = $this->createStub(TreeService::class); diff --git a/tests/app/Http/RequestHandlers/RedirectModulePhpTest.php b/tests/app/Http/RequestHandlers/RedirectModulePhpTest.php index db99bb0f9c7..74b9447031a 100644 --- a/tests/app/Http/RequestHandlers/RedirectModulePhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectModulePhpTest.php @@ -38,9 +38,8 @@ */ class RedirectModulePhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirectPedigreeMap(): void { $tree = $this->createStub(Tree::class); @@ -91,9 +90,6 @@ public function testRedirectPedigreeMap(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testRedirectInteractiveTree(): void { $tree = $this->createStub(Tree::class); @@ -145,9 +141,6 @@ public function testRedirectInteractiveTree(): void } - /** - * @return void - */ public function testNoSuchTree(): void { $module_service = $this->createStub(ModuleService::class); @@ -169,9 +162,6 @@ public function testNoSuchTree(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchIndividual(): void { $tree = $this->createStub(Tree::class); @@ -206,9 +196,6 @@ public function testNoSuchIndividual(): void $handler->handle($request); } - /** - * @return void - */ public function testPedigreeMapModuleDisabled(): void { $tree = $this->createStub(Tree::class); @@ -252,9 +239,6 @@ public function testPedigreeMapModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testInteractiveTreeModuleDisabled(): void { $tree = $this->createStub(Tree::class); diff --git a/tests/app/Http/RequestHandlers/RedirectNoteListPhpTest.php b/tests/app/Http/RequestHandlers/RedirectNoteListPhpTest.php index cd9c3f031d5..456c069e6f1 100644 --- a/tests/app/Http/RequestHandlers/RedirectNoteListPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectNoteListPhpTest.php @@ -34,9 +34,8 @@ */ class RedirectNoteListPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -73,9 +72,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testModuleDisabled(): void { $module_service = $this->createStub(ModuleService::class); @@ -101,9 +97,6 @@ public function testModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $module = $this->createStub(NoteListModule::class); diff --git a/tests/app/Http/RequestHandlers/RedirectNotePhpTest.php b/tests/app/Http/RequestHandlers/RedirectNotePhpTest.php index a4d75b9b900..d08fe27a4a6 100644 --- a/tests/app/Http/RequestHandlers/RedirectNotePhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectNotePhpTest.php @@ -36,9 +36,8 @@ */ class RedirectNotePhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -79,9 +78,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testNoSuchRecord(): void { $tree = $this->createStub(Tree::class); @@ -104,9 +100,6 @@ public function testNoSuchRecord(): void $handler->handle($request); } - /** - * @return void - */ public function testMissingXrefParameter(): void { $tree_service = $this->createStub(TreeService::class); diff --git a/tests/app/Http/RequestHandlers/RedirectPedigreePhpTest.php b/tests/app/Http/RequestHandlers/RedirectPedigreePhpTest.php index c73891a1609..78b26270830 100644 --- a/tests/app/Http/RequestHandlers/RedirectPedigreePhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectPedigreePhpTest.php @@ -37,9 +37,8 @@ */ class RedirectPedigreePhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -90,9 +89,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testModuleDisabled(): void { $module_service = $this->createStub(ModuleService::class); @@ -121,9 +117,6 @@ public function testModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $module = $this->createStub(PedigreeChartModule::class); diff --git a/tests/app/Http/RequestHandlers/RedirectPlaceListPhpTest.php b/tests/app/Http/RequestHandlers/RedirectPlaceListPhpTest.php index d8214a13591..5e928868e63 100644 --- a/tests/app/Http/RequestHandlers/RedirectPlaceListPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectPlaceListPhpTest.php @@ -34,9 +34,8 @@ */ class RedirectPlaceListPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -73,9 +72,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testModuleDisabled(): void { $module_service = $this->createStub(ModuleService::class); @@ -101,9 +97,6 @@ public function testModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $module = $this->createStub(PlaceHierarchyListModule::class); diff --git a/tests/app/Http/RequestHandlers/RedirectRelationshipPhpTest.php b/tests/app/Http/RequestHandlers/RedirectRelationshipPhpTest.php index 1eab91ac61c..ab153de1901 100644 --- a/tests/app/Http/RequestHandlers/RedirectRelationshipPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectRelationshipPhpTest.php @@ -37,9 +37,8 @@ */ class RedirectRelationshipPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -90,9 +89,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testModuleDisabled(): void { $module_service = $this->createStub(ModuleService::class); @@ -121,9 +117,6 @@ public function testModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $module = $this->createStub(RelationshipsChartModule::class); diff --git a/tests/app/Http/RequestHandlers/RedirectRepoListPhpTest.php b/tests/app/Http/RequestHandlers/RedirectRepoListPhpTest.php index 4659f09e878..62a819d450e 100644 --- a/tests/app/Http/RequestHandlers/RedirectRepoListPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectRepoListPhpTest.php @@ -34,9 +34,8 @@ */ class RedirectRepoListPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -73,9 +72,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testModuleDisabled(): void { $module_service = $this->createStub(ModuleService::class); @@ -101,9 +97,6 @@ public function testModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $module = $this->createStub(RepositoryListModule::class); diff --git a/tests/app/Http/RequestHandlers/RedirectReportEnginePhpTest.php b/tests/app/Http/RequestHandlers/RedirectReportEnginePhpTest.php index fd28cc971ad..67a6c9de9bc 100644 --- a/tests/app/Http/RequestHandlers/RedirectReportEnginePhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectReportEnginePhpTest.php @@ -32,9 +32,8 @@ */ class RedirectReportEnginePhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -67,9 +66,6 @@ public function testRedirect(): void ); } - /** - * @return void - */ public function testNoSuchTree(): void { $tree_service = $this->createStub(TreeService::class); diff --git a/tests/app/Http/RequestHandlers/RedirectRepositoryPhpTest.php b/tests/app/Http/RequestHandlers/RedirectRepositoryPhpTest.php index 8bb3ff6a4bc..d6ae8ddd1e6 100644 --- a/tests/app/Http/RequestHandlers/RedirectRepositoryPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectRepositoryPhpTest.php @@ -36,9 +36,8 @@ */ class RedirectRepositoryPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -79,9 +78,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testNoSuchRecord(): void { $tree = $this->createStub(Tree::class); @@ -104,9 +100,6 @@ public function testNoSuchRecord(): void $handler->handle($request); } - /** - * @return void - */ public function testMissingXrefParameter(): void { $tree_service = $this->createStub(TreeService::class); diff --git a/tests/app/Http/RequestHandlers/RedirectSourceListPhpTest.php b/tests/app/Http/RequestHandlers/RedirectSourceListPhpTest.php index 14ba060191b..0eb23b0d1a3 100644 --- a/tests/app/Http/RequestHandlers/RedirectSourceListPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectSourceListPhpTest.php @@ -34,9 +34,8 @@ */ class RedirectSourceListPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -73,9 +72,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testModuleDisabled(): void { $module_service = $this->createStub(ModuleService::class); @@ -101,9 +97,6 @@ public function testModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $module = $this->createStub(SourceListModule::class); diff --git a/tests/app/Http/RequestHandlers/RedirectSourcePhpTest.php b/tests/app/Http/RequestHandlers/RedirectSourcePhpTest.php index fb775bd90fd..3a2bc211baf 100644 --- a/tests/app/Http/RequestHandlers/RedirectSourcePhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectSourcePhpTest.php @@ -36,9 +36,8 @@ */ class RedirectSourcePhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -79,9 +78,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testNoSuchRecord(): void { $tree = $this->createStub(Tree::class); @@ -104,9 +100,6 @@ public function testNoSuchRecord(): void $handler->handle($request); } - /** - * @return void - */ public function testMissingXrefParameter(): void { $tree_service = $this->createStub(TreeService::class); diff --git a/tests/app/Http/RequestHandlers/RedirectStatisticsPhpTest.php b/tests/app/Http/RequestHandlers/RedirectStatisticsPhpTest.php index 36a071daee7..33be8d9c999 100644 --- a/tests/app/Http/RequestHandlers/RedirectStatisticsPhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectStatisticsPhpTest.php @@ -34,9 +34,8 @@ */ class RedirectStatisticsPhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -73,9 +72,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testModuleDisabled(): void { $module_service = $this->createStub(ModuleService::class); @@ -101,9 +97,6 @@ public function testModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $module = $this->createStub(StatisticsChartModule::class); diff --git a/tests/app/Http/RequestHandlers/RedirectTimeLinePhpTest.php b/tests/app/Http/RequestHandlers/RedirectTimeLinePhpTest.php index 68e4dea6fb8..8abc4b661ac 100644 --- a/tests/app/Http/RequestHandlers/RedirectTimeLinePhpTest.php +++ b/tests/app/Http/RequestHandlers/RedirectTimeLinePhpTest.php @@ -37,9 +37,8 @@ */ class RedirectTimeLinePhpTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testRedirect(): void { $tree = $this->createStub(Tree::class); @@ -90,9 +89,6 @@ public function testRedirect(): void self::assertSame('https://www.example.com', $response->getHeaderLine('Location')); } - /** - * @return void - */ public function testModuleDisabled(): void { $module_service = $this->createStub(ModuleService::class); @@ -121,9 +117,6 @@ public function testModuleDisabled(): void $handler->handle($request); } - /** - * @return void - */ public function testNoSuchTree(): void { $module = $this->createStub(TimelineChartModule::class); diff --git a/tests/app/Http/RequestHandlers/RegisterActionTest.php b/tests/app/Http/RequestHandlers/RegisterActionTest.php index f574ef362f3..33c43e033a5 100644 --- a/tests/app/Http/RequestHandlers/RegisterActionTest.php +++ b/tests/app/Http/RequestHandlers/RegisterActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class RegisterAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\RegisterAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\RegisterAction */ class RegisterActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/RegisterPageTest.php b/tests/app/Http/RequestHandlers/RegisterPageTest.php index cde69182d40..72db68cb559 100644 --- a/tests/app/Http/RequestHandlers/RegisterPageTest.php +++ b/tests/app/Http/RequestHandlers/RegisterPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class RegisterPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\RegisterPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\RegisterPage */ class RegisterPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/RenumberTreeActionTest.php b/tests/app/Http/RequestHandlers/RenumberTreeActionTest.php index 1390d76cdca..9af2f90d979 100644 --- a/tests/app/Http/RequestHandlers/RenumberTreeActionTest.php +++ b/tests/app/Http/RequestHandlers/RenumberTreeActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class RenumberTreeAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\RenumberTreeAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\RenumberTreeAction */ class RenumberTreeActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/RenumberTreePageTest.php b/tests/app/Http/RequestHandlers/RenumberTreePageTest.php index 3e72113e9b6..c14c6b71910 100644 --- a/tests/app/Http/RequestHandlers/RenumberTreePageTest.php +++ b/tests/app/Http/RequestHandlers/RenumberTreePageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class RenumberTreePage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\RenumberTreePage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\RenumberTreePage */ class RenumberTreePageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ReorderChildrenActionTest.php b/tests/app/Http/RequestHandlers/ReorderChildrenActionTest.php index 2451a3e6f98..fd7a4f0b85e 100644 --- a/tests/app/Http/RequestHandlers/ReorderChildrenActionTest.php +++ b/tests/app/Http/RequestHandlers/ReorderChildrenActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReorderChildrenAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ReorderChildrenAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ReorderChildrenAction */ class ReorderChildrenActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ReorderChildrenPageTest.php b/tests/app/Http/RequestHandlers/ReorderChildrenPageTest.php index 5ca4aae4e19..9231969b79f 100644 --- a/tests/app/Http/RequestHandlers/ReorderChildrenPageTest.php +++ b/tests/app/Http/RequestHandlers/ReorderChildrenPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReorderChildrenPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ReorderChildrenPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ReorderChildrenPage */ class ReorderChildrenPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ReorderFamiliesActionTest.php b/tests/app/Http/RequestHandlers/ReorderFamiliesActionTest.php index 3eb4f4a56eb..ce1d4ead184 100644 --- a/tests/app/Http/RequestHandlers/ReorderFamiliesActionTest.php +++ b/tests/app/Http/RequestHandlers/ReorderFamiliesActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReorderFamiliesAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ReorderFamiliesAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ReorderFamiliesAction */ class ReorderFamiliesActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ReorderFamiliesPageTest.php b/tests/app/Http/RequestHandlers/ReorderFamiliesPageTest.php index de14f7e613b..f93db0ce854 100644 --- a/tests/app/Http/RequestHandlers/ReorderFamiliesPageTest.php +++ b/tests/app/Http/RequestHandlers/ReorderFamiliesPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReorderFamiliesPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ReorderFamiliesPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ReorderFamiliesPage */ class ReorderFamiliesPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ReorderMediaActionTest.php b/tests/app/Http/RequestHandlers/ReorderMediaActionTest.php index 909bf1d4059..ead4cd2f3ee 100644 --- a/tests/app/Http/RequestHandlers/ReorderMediaActionTest.php +++ b/tests/app/Http/RequestHandlers/ReorderMediaActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReorderMediaAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ReorderMediaAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ReorderMediaAction */ class ReorderMediaActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ReorderMediaFilesActionTest.php b/tests/app/Http/RequestHandlers/ReorderMediaFilesActionTest.php index dcfe4722efc..7c6405ce310 100644 --- a/tests/app/Http/RequestHandlers/ReorderMediaFilesActionTest.php +++ b/tests/app/Http/RequestHandlers/ReorderMediaFilesActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReorderMediaFilesAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ReorderMediaFilesAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ReorderMediaFilesAction */ class ReorderMediaFilesActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ReorderMediaFilesPageTest.php b/tests/app/Http/RequestHandlers/ReorderMediaFilesPageTest.php index 3fcd98aae9b..c7671a6bcff 100644 --- a/tests/app/Http/RequestHandlers/ReorderMediaFilesPageTest.php +++ b/tests/app/Http/RequestHandlers/ReorderMediaFilesPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReorderMediaFilesPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ReorderMediaFilesPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ReorderMediaFilesPage */ class ReorderMediaFilesPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ReorderMediaPageTest.php b/tests/app/Http/RequestHandlers/ReorderMediaPageTest.php index e2d5bb84cde..64acc87daae 100644 --- a/tests/app/Http/RequestHandlers/ReorderMediaPageTest.php +++ b/tests/app/Http/RequestHandlers/ReorderMediaPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReorderMediaPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ReorderMediaPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ReorderMediaPage */ class ReorderMediaPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ReorderNamesActionTest.php b/tests/app/Http/RequestHandlers/ReorderNamesActionTest.php index aff1e37c8da..d4557bdbc4e 100644 --- a/tests/app/Http/RequestHandlers/ReorderNamesActionTest.php +++ b/tests/app/Http/RequestHandlers/ReorderNamesActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReorderNamesAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ReorderNamesAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ReorderNamesAction */ class ReorderNamesActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ReorderNamesPageTest.php b/tests/app/Http/RequestHandlers/ReorderNamesPageTest.php index f69ede9d3bc..c27215bc336 100644 --- a/tests/app/Http/RequestHandlers/ReorderNamesPageTest.php +++ b/tests/app/Http/RequestHandlers/ReorderNamesPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReorderNamesPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ReorderNamesPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ReorderNamesPage */ class ReorderNamesPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ReportGenerateTest.php b/tests/app/Http/RequestHandlers/ReportGenerateTest.php index 790c23436c1..030a2a68c1d 100644 --- a/tests/app/Http/RequestHandlers/ReportGenerateTest.php +++ b/tests/app/Http/RequestHandlers/ReportGenerateTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportGenerate * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ReportGenerate + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ReportGenerate */ class ReportGenerateTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ReportListActionTest.php b/tests/app/Http/RequestHandlers/ReportListActionTest.php index dd07346277b..d1143db9ed5 100644 --- a/tests/app/Http/RequestHandlers/ReportListActionTest.php +++ b/tests/app/Http/RequestHandlers/ReportListActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportListAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ReportListAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ReportListAction */ class ReportListActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ReportListPageTest.php b/tests/app/Http/RequestHandlers/ReportListPageTest.php index 395c7633d0b..a0b4c68b926 100644 --- a/tests/app/Http/RequestHandlers/ReportListPageTest.php +++ b/tests/app/Http/RequestHandlers/ReportListPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportListPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ReportListPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ReportListPage */ class ReportListPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ReportSetupActionTest.php b/tests/app/Http/RequestHandlers/ReportSetupActionTest.php index 24fdd01f325..ea8a44bfa7d 100644 --- a/tests/app/Http/RequestHandlers/ReportSetupActionTest.php +++ b/tests/app/Http/RequestHandlers/ReportSetupActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportSetupAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ReportSetupAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ReportSetupAction */ class ReportSetupActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/ReportSetupPageTest.php b/tests/app/Http/RequestHandlers/ReportSetupPageTest.php index d91c0d3709e..2117a1bafa7 100644 --- a/tests/app/Http/RequestHandlers/ReportSetupPageTest.php +++ b/tests/app/Http/RequestHandlers/ReportSetupPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportSetupPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\ReportSetupPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\ReportSetupPage */ class ReportSetupPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/RepositoryPageTest.php b/tests/app/Http/RequestHandlers/RepositoryPageTest.php index 49ee51428a5..e7d628b2812 100644 --- a/tests/app/Http/RequestHandlers/RepositoryPageTest.php +++ b/tests/app/Http/RequestHandlers/RepositoryPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class RepositoryPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\RepositoryPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\RepositoryPage */ class RepositoryPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/RobotsTxtTest.php b/tests/app/Http/RequestHandlers/RobotsTxtTest.php index a1e0398e478..11a3448e9bf 100644 --- a/tests/app/Http/RequestHandlers/RobotsTxtTest.php +++ b/tests/app/Http/RequestHandlers/RobotsTxtTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class RobotsTxt * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\RobotsTxt + * @covers Fisharebest\Webtrees\Http\RequestHandlers\RobotsTxt */ class RobotsTxtTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SearchAdvancedActionTest.php b/tests/app/Http/RequestHandlers/SearchAdvancedActionTest.php index f79a9a6bf6f..b57b1e74dfc 100644 --- a/tests/app/Http/RequestHandlers/SearchAdvancedActionTest.php +++ b/tests/app/Http/RequestHandlers/SearchAdvancedActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SearchAdvancedAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SearchAdvancedAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SearchAdvancedAction */ class SearchAdvancedActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SearchAdvancedPageTest.php b/tests/app/Http/RequestHandlers/SearchAdvancedPageTest.php index 5620d81dd34..bfb8cb740ff 100644 --- a/tests/app/Http/RequestHandlers/SearchAdvancedPageTest.php +++ b/tests/app/Http/RequestHandlers/SearchAdvancedPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SearchAdvancedPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SearchAdvancedPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SearchAdvancedPage */ class SearchAdvancedPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SearchGeneralActionTest.php b/tests/app/Http/RequestHandlers/SearchGeneralActionTest.php index 9c10c991291..5ee9fe3d96e 100644 --- a/tests/app/Http/RequestHandlers/SearchGeneralActionTest.php +++ b/tests/app/Http/RequestHandlers/SearchGeneralActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SearchGeneralAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SearchGeneralAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SearchGeneralAction */ class SearchGeneralActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SearchGeneralPageTest.php b/tests/app/Http/RequestHandlers/SearchGeneralPageTest.php index 43945e60a77..9b6e2e8ec89 100644 --- a/tests/app/Http/RequestHandlers/SearchGeneralPageTest.php +++ b/tests/app/Http/RequestHandlers/SearchGeneralPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SearchGeneralPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SearchGeneralPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SearchGeneralPage */ class SearchGeneralPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SearchPhoneticActionTest.php b/tests/app/Http/RequestHandlers/SearchPhoneticActionTest.php index 386ae184b96..220bac357a6 100644 --- a/tests/app/Http/RequestHandlers/SearchPhoneticActionTest.php +++ b/tests/app/Http/RequestHandlers/SearchPhoneticActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SearchPhoneticAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SearchPhoneticAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SearchPhoneticAction */ class SearchPhoneticActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SearchPhoneticPageTest.php b/tests/app/Http/RequestHandlers/SearchPhoneticPageTest.php index 9836703df05..04d4c70b726 100644 --- a/tests/app/Http/RequestHandlers/SearchPhoneticPageTest.php +++ b/tests/app/Http/RequestHandlers/SearchPhoneticPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SearchPhoneticPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SearchPhoneticPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SearchPhoneticPage */ class SearchPhoneticPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SearchQuickActionTest.php b/tests/app/Http/RequestHandlers/SearchQuickActionTest.php index 08e22b3b33b..6741975c0c3 100644 --- a/tests/app/Http/RequestHandlers/SearchQuickActionTest.php +++ b/tests/app/Http/RequestHandlers/SearchQuickActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SearchQuickAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SearchQuickAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SearchQuickAction */ class SearchQuickActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SearchReplaceActionTest.php b/tests/app/Http/RequestHandlers/SearchReplaceActionTest.php index ff34394d3ec..04a085322c2 100644 --- a/tests/app/Http/RequestHandlers/SearchReplaceActionTest.php +++ b/tests/app/Http/RequestHandlers/SearchReplaceActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SearchReplaceAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SearchReplaceAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SearchReplaceAction */ class SearchReplaceActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SearchReplacePageTest.php b/tests/app/Http/RequestHandlers/SearchReplacePageTest.php index e2b5111ce38..e280811e4a5 100644 --- a/tests/app/Http/RequestHandlers/SearchReplacePageTest.php +++ b/tests/app/Http/RequestHandlers/SearchReplacePageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SearchReplacePage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SearchReplacePage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SearchReplacePage */ class SearchReplacePageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SelectDefaultTreeTest.php b/tests/app/Http/RequestHandlers/SelectDefaultTreeTest.php index 4327b3ce221..bcfc177f42e 100644 --- a/tests/app/Http/RequestHandlers/SelectDefaultTreeTest.php +++ b/tests/app/Http/RequestHandlers/SelectDefaultTreeTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SelectDefaultTree * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SelectDefaultTree + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SelectDefaultTree */ class SelectDefaultTreeTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SelectLanguageTest.php b/tests/app/Http/RequestHandlers/SelectLanguageTest.php index ec3acf49302..f6c41080690 100644 --- a/tests/app/Http/RequestHandlers/SelectLanguageTest.php +++ b/tests/app/Http/RequestHandlers/SelectLanguageTest.php @@ -29,9 +29,8 @@ */ class SelectLanguageTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testSelectLanguageForGuest(): void { $user = new GuestUser(); @@ -44,9 +43,6 @@ public function testSelectLanguageForGuest(): void self::assertSame(StatusCodeInterface::STATUS_NO_CONTENT, $response->getStatusCode()); } - /** - * @return void - */ public function testSelectLanguageForUser(): void { $user_service = new UserService(); diff --git a/tests/app/Http/RequestHandlers/SelectNewFactTest.php b/tests/app/Http/RequestHandlers/SelectNewFactTest.php index 92017ee0a4e..d7726b5c8d5 100644 --- a/tests/app/Http/RequestHandlers/SelectNewFactTest.php +++ b/tests/app/Http/RequestHandlers/SelectNewFactTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SelectNewFact * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SelectNewFact + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SelectNewFact */ class SelectNewFactTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SelectThemeTest.php b/tests/app/Http/RequestHandlers/SelectThemeTest.php index e6b031b6ed0..5e44500ec6e 100644 --- a/tests/app/Http/RequestHandlers/SelectThemeTest.php +++ b/tests/app/Http/RequestHandlers/SelectThemeTest.php @@ -29,9 +29,6 @@ */ class SelectThemeTest extends TestCase { - /** - * @return void - */ public function testSelectThemeForGuest(): void { $user = $this->createMock(GuestUser::class); @@ -47,9 +44,6 @@ public function testSelectThemeForGuest(): void self::assertSame(StatusCodeInterface::STATUS_NO_CONTENT, $response->getStatusCode()); } - /** - * @return void - */ public function testSelectThemeForUser(): void { $user = $this->createMock(User::class); diff --git a/tests/app/Http/RequestHandlers/SetupWizardTest.php b/tests/app/Http/RequestHandlers/SetupWizardTest.php index 16ff96069e9..312bf059522 100644 --- a/tests/app/Http/RequestHandlers/SetupWizardTest.php +++ b/tests/app/Http/RequestHandlers/SetupWizardTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SetupWizard * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SetupWizard + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SetupWizard */ class SetupWizardTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SharedNotePageTest.php b/tests/app/Http/RequestHandlers/SharedNotePageTest.php index b90930466af..c65e3949505 100644 --- a/tests/app/Http/RequestHandlers/SharedNotePageTest.php +++ b/tests/app/Http/RequestHandlers/SharedNotePageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SharedNotePage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SharedNotePage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SharedNotePage */ class SharedNotePageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SiteLogsActionTest.php b/tests/app/Http/RequestHandlers/SiteLogsActionTest.php index 9a1ac4fbde7..c295ff4c5c7 100644 --- a/tests/app/Http/RequestHandlers/SiteLogsActionTest.php +++ b/tests/app/Http/RequestHandlers/SiteLogsActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SiteLogsAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SiteLogsAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SiteLogsAction */ class SiteLogsActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SiteLogsDataTest.php b/tests/app/Http/RequestHandlers/SiteLogsDataTest.php index f6fa31a0007..ff9c8012549 100644 --- a/tests/app/Http/RequestHandlers/SiteLogsDataTest.php +++ b/tests/app/Http/RequestHandlers/SiteLogsDataTest.php @@ -32,9 +32,6 @@ */ class SiteLogsDataTest extends TestCase { - /** - * @return void - */ public function testResponse(): void { $request = self::createRequest( diff --git a/tests/app/Http/RequestHandlers/SiteLogsDeleteTest.php b/tests/app/Http/RequestHandlers/SiteLogsDeleteTest.php index e5159cb402f..502dfd68d98 100644 --- a/tests/app/Http/RequestHandlers/SiteLogsDeleteTest.php +++ b/tests/app/Http/RequestHandlers/SiteLogsDeleteTest.php @@ -29,9 +29,6 @@ */ class SiteLogsDeleteTest extends TestCase { - /** - * @return void - */ public function testResponse(): void { $request = self::createRequest(); diff --git a/tests/app/Http/RequestHandlers/SiteLogsDownloadTest.php b/tests/app/Http/RequestHandlers/SiteLogsDownloadTest.php index 039a638d91e..9f45f10dc67 100644 --- a/tests/app/Http/RequestHandlers/SiteLogsDownloadTest.php +++ b/tests/app/Http/RequestHandlers/SiteLogsDownloadTest.php @@ -30,9 +30,6 @@ */ class SiteLogsDownloadTest extends TestCase { - /** - * @return void - */ public function testResponse(): void { $request = self::createRequest(); diff --git a/tests/app/Http/RequestHandlers/SiteLogsPageTest.php b/tests/app/Http/RequestHandlers/SiteLogsPageTest.php index f5f268dd050..bbc331801db 100644 --- a/tests/app/Http/RequestHandlers/SiteLogsPageTest.php +++ b/tests/app/Http/RequestHandlers/SiteLogsPageTest.php @@ -30,9 +30,8 @@ */ class SiteLogsPageTest extends TestCase { - /** - * @return void - */ + protected static bool $uses_database = true; + public function testResponse(): void { $request = self::createRequest(); diff --git a/tests/app/Http/RequestHandlers/SitePreferencesActionTest.php b/tests/app/Http/RequestHandlers/SitePreferencesActionTest.php index ff32c8a4558..94db43e178d 100644 --- a/tests/app/Http/RequestHandlers/SitePreferencesActionTest.php +++ b/tests/app/Http/RequestHandlers/SitePreferencesActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SitePreferencesAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SitePreferencesAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SitePreferencesAction */ class SitePreferencesActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SitePreferencesPageTest.php b/tests/app/Http/RequestHandlers/SitePreferencesPageTest.php index 06854ae9389..a6c4520274b 100644 --- a/tests/app/Http/RequestHandlers/SitePreferencesPageTest.php +++ b/tests/app/Http/RequestHandlers/SitePreferencesPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SitePreferencesPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SitePreferencesPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SitePreferencesPage */ class SitePreferencesPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SiteRegistrationActionTest.php b/tests/app/Http/RequestHandlers/SiteRegistrationActionTest.php index 0c476b985e1..6b7ffe5fb8d 100644 --- a/tests/app/Http/RequestHandlers/SiteRegistrationActionTest.php +++ b/tests/app/Http/RequestHandlers/SiteRegistrationActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SiteRegistrationAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SiteRegistrationAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SiteRegistrationAction */ class SiteRegistrationActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SiteRegistrationPageTest.php b/tests/app/Http/RequestHandlers/SiteRegistrationPageTest.php index 2f1672d20c8..0ba52337115 100644 --- a/tests/app/Http/RequestHandlers/SiteRegistrationPageTest.php +++ b/tests/app/Http/RequestHandlers/SiteRegistrationPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SiteRegistrationPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SiteRegistrationPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SiteRegistrationPage */ class SiteRegistrationPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SiteTagsActionTest.php b/tests/app/Http/RequestHandlers/SiteTagsActionTest.php index f7405d98157..eb84a9635cd 100644 --- a/tests/app/Http/RequestHandlers/SiteTagsActionTest.php +++ b/tests/app/Http/RequestHandlers/SiteTagsActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SiteTagsAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SiteTagsAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SiteTagsAction */ class SiteTagsActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SiteTagsPageTest.php b/tests/app/Http/RequestHandlers/SiteTagsPageTest.php index 43150681746..405c13160fb 100644 --- a/tests/app/Http/RequestHandlers/SiteTagsPageTest.php +++ b/tests/app/Http/RequestHandlers/SiteTagsPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SiteTagsPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SiteTagsPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SiteTagsPage */ class SiteTagsPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SourcePageTest.php b/tests/app/Http/RequestHandlers/SourcePageTest.php index d047b9b2741..ed69839b13f 100644 --- a/tests/app/Http/RequestHandlers/SourcePageTest.php +++ b/tests/app/Http/RequestHandlers/SourcePageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SourcePage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SourcePage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SourcePage */ class SourcePageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SubmissionPageTest.php b/tests/app/Http/RequestHandlers/SubmissionPageTest.php index a50ff2b712a..038eecdb449 100644 --- a/tests/app/Http/RequestHandlers/SubmissionPageTest.php +++ b/tests/app/Http/RequestHandlers/SubmissionPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SubmissionPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SubmissionPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SubmissionPage */ class SubmissionPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SubmitterPageTest.php b/tests/app/Http/RequestHandlers/SubmitterPageTest.php index 9cf6667e9df..2ac76f53c5f 100644 --- a/tests/app/Http/RequestHandlers/SubmitterPageTest.php +++ b/tests/app/Http/RequestHandlers/SubmitterPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SubmitterPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SubmitterPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SubmitterPage */ class SubmitterPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/SynchronizeTreesTest.php b/tests/app/Http/RequestHandlers/SynchronizeTreesTest.php index aa452dc4c4c..06695130cd6 100644 --- a/tests/app/Http/RequestHandlers/SynchronizeTreesTest.php +++ b/tests/app/Http/RequestHandlers/SynchronizeTreesTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SynchronizeTrees * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\SynchronizeTrees + * @covers Fisharebest\Webtrees\Http\RequestHandlers\SynchronizeTrees */ class SynchronizeTreesTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TomSelectFamilyTest.php b/tests/app/Http/RequestHandlers/TomSelectFamilyTest.php index a46799597b7..54f2a1016d3 100644 --- a/tests/app/Http/RequestHandlers/TomSelectFamilyTest.php +++ b/tests/app/Http/RequestHandlers/TomSelectFamilyTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TomSelectFamily * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TomSelectFamily + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TomSelectFamily */ class TomSelectFamilyTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TomSelectIndividualTest.php b/tests/app/Http/RequestHandlers/TomSelectIndividualTest.php index af68dacdf3f..f0509265b36 100644 --- a/tests/app/Http/RequestHandlers/TomSelectIndividualTest.php +++ b/tests/app/Http/RequestHandlers/TomSelectIndividualTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TomSelectIndividual * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TomSelectIndividual + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TomSelectIndividual */ class TomSelectIndividualTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TomSelectLocationTest.php b/tests/app/Http/RequestHandlers/TomSelectLocationTest.php index 8341215be3f..0667a25f28c 100644 --- a/tests/app/Http/RequestHandlers/TomSelectLocationTest.php +++ b/tests/app/Http/RequestHandlers/TomSelectLocationTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TomSelectLocation * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TomSelectLocation + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TomSelectLocation */ class TomSelectLocationTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TomSelectMediaObjectTest.php b/tests/app/Http/RequestHandlers/TomSelectMediaObjectTest.php index cb257cee427..424d79e6b9f 100644 --- a/tests/app/Http/RequestHandlers/TomSelectMediaObjectTest.php +++ b/tests/app/Http/RequestHandlers/TomSelectMediaObjectTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TomSelectMediaObject * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TomSelectMediaObject + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TomSelectMediaObject */ class TomSelectMediaObjectTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TomSelectNoteTest.php b/tests/app/Http/RequestHandlers/TomSelectNoteTest.php index dc927cd19b9..00aa9fc6ea5 100644 --- a/tests/app/Http/RequestHandlers/TomSelectNoteTest.php +++ b/tests/app/Http/RequestHandlers/TomSelectNoteTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TomSelectNote * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TomSelectNote + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TomSelectNote */ class TomSelectNoteTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TomSelectPlaceTest.php b/tests/app/Http/RequestHandlers/TomSelectPlaceTest.php index 956a3ec9afb..d2668b1b67c 100644 --- a/tests/app/Http/RequestHandlers/TomSelectPlaceTest.php +++ b/tests/app/Http/RequestHandlers/TomSelectPlaceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TomSelectPlace * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TomSelectPlace + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TomSelectPlace */ class TomSelectPlaceTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TomSelectRepositoryTest.php b/tests/app/Http/RequestHandlers/TomSelectRepositoryTest.php index 369665e920d..adbfda5e8f4 100644 --- a/tests/app/Http/RequestHandlers/TomSelectRepositoryTest.php +++ b/tests/app/Http/RequestHandlers/TomSelectRepositoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TomSelectRepository * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TomSelectRepository + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TomSelectRepository */ class TomSelectRepositoryTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TomSelectSharedNoteTest.php b/tests/app/Http/RequestHandlers/TomSelectSharedNoteTest.php index c23c46524f2..6cbf9e4734e 100644 --- a/tests/app/Http/RequestHandlers/TomSelectSharedNoteTest.php +++ b/tests/app/Http/RequestHandlers/TomSelectSharedNoteTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TomSelectSharedNote * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TomSelectSharedNote + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TomSelectSharedNote */ class TomSelectSharedNoteTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TomSelectSourceTest.php b/tests/app/Http/RequestHandlers/TomSelectSourceTest.php index f898fad7f25..08c1ce316a8 100644 --- a/tests/app/Http/RequestHandlers/TomSelectSourceTest.php +++ b/tests/app/Http/RequestHandlers/TomSelectSourceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TomSelectSource * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TomSelectSource + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TomSelectSource */ class TomSelectSourceTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TomSelectSubmissionTest.php b/tests/app/Http/RequestHandlers/TomSelectSubmissionTest.php index c82d26b1e74..a853ccb3374 100644 --- a/tests/app/Http/RequestHandlers/TomSelectSubmissionTest.php +++ b/tests/app/Http/RequestHandlers/TomSelectSubmissionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TomSelectSubmission * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TomSelectSubmission + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TomSelectSubmission */ class TomSelectSubmissionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TomSelectSubmitterTest.php b/tests/app/Http/RequestHandlers/TomSelectSubmitterTest.php index 77640d01dfa..bf85b0a9ec6 100644 --- a/tests/app/Http/RequestHandlers/TomSelectSubmitterTest.php +++ b/tests/app/Http/RequestHandlers/TomSelectSubmitterTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TomSelectSubmitter * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TomSelectSubmitter + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TomSelectSubmitter */ class TomSelectSubmitterTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TreePageBlockEditTest.php b/tests/app/Http/RequestHandlers/TreePageBlockEditTest.php index 7991b60f31e..a0f0b43273f 100644 --- a/tests/app/Http/RequestHandlers/TreePageBlockEditTest.php +++ b/tests/app/Http/RequestHandlers/TreePageBlockEditTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TreePageBlockEdit * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TreePageBlockEdit + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TreePageBlockEdit */ class TreePageBlockEditTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TreePageBlockTest.php b/tests/app/Http/RequestHandlers/TreePageBlockTest.php index 6aa2ae8499b..70ca6fcdd18 100644 --- a/tests/app/Http/RequestHandlers/TreePageBlockTest.php +++ b/tests/app/Http/RequestHandlers/TreePageBlockTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TreePageBlock * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TreePageBlock + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TreePageBlock */ class TreePageBlockTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TreePageBlockUpdateTest.php b/tests/app/Http/RequestHandlers/TreePageBlockUpdateTest.php index 8c0634f89de..03ba672b081 100644 --- a/tests/app/Http/RequestHandlers/TreePageBlockUpdateTest.php +++ b/tests/app/Http/RequestHandlers/TreePageBlockUpdateTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TreePageBlockUpdate * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TreePageBlockUpdate + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TreePageBlockUpdate */ class TreePageBlockUpdateTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TreePageDefaultEditTest.php b/tests/app/Http/RequestHandlers/TreePageDefaultEditTest.php index 295dbb4b457..bae618d8eb3 100644 --- a/tests/app/Http/RequestHandlers/TreePageDefaultEditTest.php +++ b/tests/app/Http/RequestHandlers/TreePageDefaultEditTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TreePageDefaultEdit * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TreePageDefaultEdit + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TreePageDefaultEdit */ class TreePageDefaultEditTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TreePageDefaultUpdateTest.php b/tests/app/Http/RequestHandlers/TreePageDefaultUpdateTest.php index 273c378fa08..ecae197eb29 100644 --- a/tests/app/Http/RequestHandlers/TreePageDefaultUpdateTest.php +++ b/tests/app/Http/RequestHandlers/TreePageDefaultUpdateTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TreePageDefaultUpdate * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TreePageDefaultUpdate + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TreePageDefaultUpdate */ class TreePageDefaultUpdateTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TreePageEditTest.php b/tests/app/Http/RequestHandlers/TreePageEditTest.php index 7aed1b6f1aa..de8bd8b0ba1 100644 --- a/tests/app/Http/RequestHandlers/TreePageEditTest.php +++ b/tests/app/Http/RequestHandlers/TreePageEditTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TreePageEdit * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TreePageEdit + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TreePageEdit */ class TreePageEditTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TreePageTest.php b/tests/app/Http/RequestHandlers/TreePageTest.php index 0786a2e22be..77a8e36e02d 100644 --- a/tests/app/Http/RequestHandlers/TreePageTest.php +++ b/tests/app/Http/RequestHandlers/TreePageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TreePage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TreePage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TreePage */ class TreePageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TreePageUpdateTest.php b/tests/app/Http/RequestHandlers/TreePageUpdateTest.php index c465d6dcd4c..7479a5c66a0 100644 --- a/tests/app/Http/RequestHandlers/TreePageUpdateTest.php +++ b/tests/app/Http/RequestHandlers/TreePageUpdateTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TreePageUpdate * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TreePageUpdate + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TreePageUpdate */ class TreePageUpdateTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TreePreferencesActionTest.php b/tests/app/Http/RequestHandlers/TreePreferencesActionTest.php index 3f5caf11842..02f1246dc1c 100644 --- a/tests/app/Http/RequestHandlers/TreePreferencesActionTest.php +++ b/tests/app/Http/RequestHandlers/TreePreferencesActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TreePreferencesAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TreePreferencesAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TreePreferencesAction */ class TreePreferencesActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TreePreferencesPageTest.php b/tests/app/Http/RequestHandlers/TreePreferencesPageTest.php index d22b18ed5f1..3f6b6ea1957 100644 --- a/tests/app/Http/RequestHandlers/TreePreferencesPageTest.php +++ b/tests/app/Http/RequestHandlers/TreePreferencesPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TreePreferencesPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TreePreferencesPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TreePreferencesPage */ class TreePreferencesPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TreePrivacyActionTest.php b/tests/app/Http/RequestHandlers/TreePrivacyActionTest.php index 220d6da5190..40d41f7082d 100644 --- a/tests/app/Http/RequestHandlers/TreePrivacyActionTest.php +++ b/tests/app/Http/RequestHandlers/TreePrivacyActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TreePrivacyAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TreePrivacyAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TreePrivacyAction */ class TreePrivacyActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/TreePrivacyPageTest.php b/tests/app/Http/RequestHandlers/TreePrivacyPageTest.php index 1d70f7e034c..860aa9ab16c 100644 --- a/tests/app/Http/RequestHandlers/TreePrivacyPageTest.php +++ b/tests/app/Http/RequestHandlers/TreePrivacyPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TreePrivacyPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\TreePrivacyPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\TreePrivacyPage */ class TreePrivacyPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/UnconnectedActionTest.php b/tests/app/Http/RequestHandlers/UnconnectedActionTest.php index 91be60c5813..3b7a8a6ab51 100644 --- a/tests/app/Http/RequestHandlers/UnconnectedActionTest.php +++ b/tests/app/Http/RequestHandlers/UnconnectedActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UnconnectedAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\UnconnectedAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\UnconnectedAction */ class UnconnectedActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/UnconnectedPageTest.php b/tests/app/Http/RequestHandlers/UnconnectedPageTest.php index 1d44355b8d1..fd8a843fef6 100644 --- a/tests/app/Http/RequestHandlers/UnconnectedPageTest.php +++ b/tests/app/Http/RequestHandlers/UnconnectedPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UnconnectedPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\UnconnectedPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\UnconnectedPage */ class UnconnectedPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/UpgradeWizardConfirmTest.php b/tests/app/Http/RequestHandlers/UpgradeWizardConfirmTest.php index fda3d37a3f5..231d32efccd 100644 --- a/tests/app/Http/RequestHandlers/UpgradeWizardConfirmTest.php +++ b/tests/app/Http/RequestHandlers/UpgradeWizardConfirmTest.php @@ -29,9 +29,6 @@ */ class UpgradeWizardConfirmTest extends TestCase { - /** - * @return void - */ public function testWizardContinue(): void { $handler = new UpgradeWizardConfirm(); diff --git a/tests/app/Http/RequestHandlers/UpgradeWizardPageTest.php b/tests/app/Http/RequestHandlers/UpgradeWizardPageTest.php index e4b8b3a2586..ea6090d37a5 100644 --- a/tests/app/Http/RequestHandlers/UpgradeWizardPageTest.php +++ b/tests/app/Http/RequestHandlers/UpgradeWizardPageTest.php @@ -35,9 +35,6 @@ class UpgradeWizardPageTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testWizard(): void { $timeout_service = new TimeoutService(); diff --git a/tests/app/Http/RequestHandlers/UpgradeWizardStepTest.php b/tests/app/Http/RequestHandlers/UpgradeWizardStepTest.php index 6e73e313855..d940e2c7dd7 100644 --- a/tests/app/Http/RequestHandlers/UpgradeWizardStepTest.php +++ b/tests/app/Http/RequestHandlers/UpgradeWizardStepTest.php @@ -43,9 +43,6 @@ class UpgradeWizardStepTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testIgnoreStepInvalid(): void { $handler = new UpgradeWizardStep( @@ -61,9 +58,6 @@ public function testIgnoreStepInvalid(): void self::assertSame(StatusCodeInterface::STATUS_NO_CONTENT, $response->getStatusCode()); } - /** - * @return void - */ public function testStepCheckOK(): void { $mock_upgrade_service = $this->createMock(UpgradeService::class); @@ -80,9 +74,6 @@ public function testStepCheckOK(): void self::assertSame(StatusCodeInterface::STATUS_OK, $response->getStatusCode()); } - /** - * @return void - */ public function testStepCheckUnavailable(): void { $this->expectException(HttpServerErrorException::class); @@ -99,9 +90,6 @@ public function testStepCheckUnavailable(): void $handler->handle($request); } - /** - * @return void - */ public function testStepCheckFail(): void { $this->expectException(HttpServerErrorException::class); @@ -118,9 +106,6 @@ public function testStepCheckFail(): void $handler->handle($request); } - /** - * @return void - */ public function testStepPrepare(): void { $handler = new UpgradeWizardStep( @@ -135,9 +120,6 @@ public function testStepPrepare(): void self::assertSame(StatusCodeInterface::STATUS_OK, $response->getStatusCode()); } - /** - * @return void - */ public function testStepPending(): void { $handler = new UpgradeWizardStep( @@ -152,9 +134,6 @@ public function testStepPending(): void self::assertSame(StatusCodeInterface::STATUS_OK, $response->getStatusCode()); } - /** - * @return void - */ public function testStepPendingExist(): void { $tree_service = new TreeService(new GedcomImportService()); @@ -176,9 +155,6 @@ public function testStepPendingExist(): void self::assertSame(StatusCodeInterface::STATUS_INTERNAL_SERVER_ERROR, $response->getStatusCode()); } - /** - * @return void - */ public function testStepExport(): void { $tree = $this->importTree('demo.ged'); @@ -203,9 +179,6 @@ public function testStepExport(): void self::assertSame(StatusCodeInterface::STATUS_OK, $response->getStatusCode()); } - /** - * @return void - */ public function testStepDownloadFails(): void { $this->expectException(HttpServerErrorException::class); @@ -222,9 +195,6 @@ public function testStepDownloadFails(): void $handler->handle($request); } - /** - * @return void - */ public function testStepDownload(): void { $mock_upgrade_service = $this->createMock(UpgradeService::class); @@ -241,9 +211,6 @@ public function testStepDownload(): void self::assertSame(StatusCodeInterface::STATUS_OK, $response->getStatusCode()); } - /** - * @return void - */ public function testStepUnzip(): void { $mock_upgrade_service = $this->createMock(UpgradeService::class); diff --git a/tests/app/Http/RequestHandlers/UploadMediaActionTest.php b/tests/app/Http/RequestHandlers/UploadMediaActionTest.php index 71af2b80d1a..5847cea28e5 100644 --- a/tests/app/Http/RequestHandlers/UploadMediaActionTest.php +++ b/tests/app/Http/RequestHandlers/UploadMediaActionTest.php @@ -32,9 +32,6 @@ class UploadMediaActionTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testResponseIsOK(): void { $media_file_service = new MediaFileService(); diff --git a/tests/app/Http/RequestHandlers/UploadMediaPageTest.php b/tests/app/Http/RequestHandlers/UploadMediaPageTest.php index 3647da6377c..837f0338fb0 100644 --- a/tests/app/Http/RequestHandlers/UploadMediaPageTest.php +++ b/tests/app/Http/RequestHandlers/UploadMediaPageTest.php @@ -32,9 +32,6 @@ class UploadMediaPageTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testResponseIsOK(): void { $media_file_service = new MediaFileService(); diff --git a/tests/app/Http/RequestHandlers/UserAddActionTest.php b/tests/app/Http/RequestHandlers/UserAddActionTest.php index 9ddb2a0daa0..e02d93fde58 100644 --- a/tests/app/Http/RequestHandlers/UserAddActionTest.php +++ b/tests/app/Http/RequestHandlers/UserAddActionTest.php @@ -33,9 +33,6 @@ class UserAddActionTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testHandler(): void { $user_service = new UserService(); diff --git a/tests/app/Http/RequestHandlers/UserAddPageTest.php b/tests/app/Http/RequestHandlers/UserAddPageTest.php index 21a82a62421..b5d09bbe11f 100644 --- a/tests/app/Http/RequestHandlers/UserAddPageTest.php +++ b/tests/app/Http/RequestHandlers/UserAddPageTest.php @@ -31,9 +31,6 @@ class UserAddPageTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testHandler(): void { $handler = new UserAddPage(); diff --git a/tests/app/Http/RequestHandlers/UserEditActionTest.php b/tests/app/Http/RequestHandlers/UserEditActionTest.php index fe92cf5c4f4..a1798e3421f 100644 --- a/tests/app/Http/RequestHandlers/UserEditActionTest.php +++ b/tests/app/Http/RequestHandlers/UserEditActionTest.php @@ -36,9 +36,6 @@ class UserEditActionTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testHandler(): void { $mail_service = new EmailService(); diff --git a/tests/app/Http/RequestHandlers/UserEditPageTest.php b/tests/app/Http/RequestHandlers/UserEditPageTest.php index 9694287e9bf..513c8cf9519 100644 --- a/tests/app/Http/RequestHandlers/UserEditPageTest.php +++ b/tests/app/Http/RequestHandlers/UserEditPageTest.php @@ -38,9 +38,6 @@ class UserEditPageTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testHandler(): void { $mail_service = new EmailService(); diff --git a/tests/app/Http/RequestHandlers/UserListDataTest.php b/tests/app/Http/RequestHandlers/UserListDataTest.php index c90122d4ca1..63d1944ca66 100644 --- a/tests/app/Http/RequestHandlers/UserListDataTest.php +++ b/tests/app/Http/RequestHandlers/UserListDataTest.php @@ -34,9 +34,6 @@ class UserListDataTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testHandler(): void { $datatables_service = new DatatablesService(); diff --git a/tests/app/Http/RequestHandlers/UserListPageTest.php b/tests/app/Http/RequestHandlers/UserListPageTest.php index a156553d50b..337ba6ef53b 100644 --- a/tests/app/Http/RequestHandlers/UserListPageTest.php +++ b/tests/app/Http/RequestHandlers/UserListPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UserListPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\UserListPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\UserListPage */ class UserListPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/UserListTest.php b/tests/app/Http/RequestHandlers/UserListTest.php index 2cc72cddbf2..4aa8bd8b9e5 100644 --- a/tests/app/Http/RequestHandlers/UserListTest.php +++ b/tests/app/Http/RequestHandlers/UserListTest.php @@ -32,9 +32,6 @@ class UserListTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testHandler(): void { $handler = new UserListPage(); diff --git a/tests/app/Http/RequestHandlers/UserPageBlockEditTest.php b/tests/app/Http/RequestHandlers/UserPageBlockEditTest.php index 8bbe230eee3..05e47cb4457 100644 --- a/tests/app/Http/RequestHandlers/UserPageBlockEditTest.php +++ b/tests/app/Http/RequestHandlers/UserPageBlockEditTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UserPageBlockEdit * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\UserPageBlockEdit + * @covers Fisharebest\Webtrees\Http\RequestHandlers\UserPageBlockEdit */ class UserPageBlockEditTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/UserPageBlockTest.php b/tests/app/Http/RequestHandlers/UserPageBlockTest.php index 8bbccd9b53b..4235afe81b3 100644 --- a/tests/app/Http/RequestHandlers/UserPageBlockTest.php +++ b/tests/app/Http/RequestHandlers/UserPageBlockTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UserPageBlock * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\UserPageBlock + * @covers Fisharebest\Webtrees\Http\RequestHandlers\UserPageBlock */ class UserPageBlockTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/UserPageBlockUpdateTest.php b/tests/app/Http/RequestHandlers/UserPageBlockUpdateTest.php index e7914ebf597..6151015f38a 100644 --- a/tests/app/Http/RequestHandlers/UserPageBlockUpdateTest.php +++ b/tests/app/Http/RequestHandlers/UserPageBlockUpdateTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UserPageBlockUpdate * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\UserPageBlockUpdate + * @covers Fisharebest\Webtrees\Http\RequestHandlers\UserPageBlockUpdate */ class UserPageBlockUpdateTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/UserPageDefaultEditTest.php b/tests/app/Http/RequestHandlers/UserPageDefaultEditTest.php index e33e6ae1904..bc1adc54577 100644 --- a/tests/app/Http/RequestHandlers/UserPageDefaultEditTest.php +++ b/tests/app/Http/RequestHandlers/UserPageDefaultEditTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UserPageDefaultEdit * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\UserPageDefaultEdit + * @covers Fisharebest\Webtrees\Http\RequestHandlers\UserPageDefaultEdit */ class UserPageDefaultEditTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/UserPageDefaultUpdateTest.php b/tests/app/Http/RequestHandlers/UserPageDefaultUpdateTest.php index 1fb09686f80..d2adab10975 100644 --- a/tests/app/Http/RequestHandlers/UserPageDefaultUpdateTest.php +++ b/tests/app/Http/RequestHandlers/UserPageDefaultUpdateTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UserPageDefaultUpdate * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\UserPageDefaultUpdate + * @covers Fisharebest\Webtrees\Http\RequestHandlers\UserPageDefaultUpdate */ class UserPageDefaultUpdateTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/UserPageEditTest.php b/tests/app/Http/RequestHandlers/UserPageEditTest.php index 17bb85e909c..e5b276ec6e3 100644 --- a/tests/app/Http/RequestHandlers/UserPageEditTest.php +++ b/tests/app/Http/RequestHandlers/UserPageEditTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UserPageEdit * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\UserPageEdit + * @covers Fisharebest\Webtrees\Http\RequestHandlers\UserPageEdit */ class UserPageEditTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/UserPageTest.php b/tests/app/Http/RequestHandlers/UserPageTest.php index 27dbe606f11..7608fa9b5a0 100644 --- a/tests/app/Http/RequestHandlers/UserPageTest.php +++ b/tests/app/Http/RequestHandlers/UserPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UserPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\UserPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\UserPage */ class UserPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/UserPageUpdateTest.php b/tests/app/Http/RequestHandlers/UserPageUpdateTest.php index 466b1bd1961..e41d1dc6966 100644 --- a/tests/app/Http/RequestHandlers/UserPageUpdateTest.php +++ b/tests/app/Http/RequestHandlers/UserPageUpdateTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UserPageUpdate * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\UserPageUpdate + * @covers Fisharebest\Webtrees\Http\RequestHandlers\UserPageUpdate */ class UserPageUpdateTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/UsersCleanupActionTest.php b/tests/app/Http/RequestHandlers/UsersCleanupActionTest.php index 487b9064457..0c21c51cd1f 100644 --- a/tests/app/Http/RequestHandlers/UsersCleanupActionTest.php +++ b/tests/app/Http/RequestHandlers/UsersCleanupActionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UsersCleanupAction * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\UsersCleanupAction + * @covers Fisharebest\Webtrees\Http\RequestHandlers\UsersCleanupAction */ class UsersCleanupActionTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/UsersCleanupPageTest.php b/tests/app/Http/RequestHandlers/UsersCleanupPageTest.php index 8b4e758f711..53bae830b22 100644 --- a/tests/app/Http/RequestHandlers/UsersCleanupPageTest.php +++ b/tests/app/Http/RequestHandlers/UsersCleanupPageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UsersCleanupPage * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\UsersCleanupPage + * @covers Fisharebest\Webtrees\Http\RequestHandlers\UsersCleanupPage */ class UsersCleanupPageTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/VerifyEmailTest.php b/tests/app/Http/RequestHandlers/VerifyEmailTest.php index 3b60a9c29a6..39bb0a1a2f7 100644 --- a/tests/app/Http/RequestHandlers/VerifyEmailTest.php +++ b/tests/app/Http/RequestHandlers/VerifyEmailTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class VerifyEmail * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\VerifyEmail + * @covers Fisharebest\Webtrees\Http\RequestHandlers\VerifyEmail */ class VerifyEmailTest extends TestCase { diff --git a/tests/app/Http/RequestHandlers/WebmanifestJsonTest.php b/tests/app/Http/RequestHandlers/WebmanifestJsonTest.php index c648f98443c..de1444bbcba 100644 --- a/tests/app/Http/RequestHandlers/WebmanifestJsonTest.php +++ b/tests/app/Http/RequestHandlers/WebmanifestJsonTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class WebmanifestJson * - * @covers \Fisharebest\Webtrees\Http\RequestHandlers\WebmanifestJson + * @covers Fisharebest\Webtrees\Http\RequestHandlers\WebmanifestJson */ class WebmanifestJsonTest extends TestCase { diff --git a/tests/app/Http/Routes/ApiRoutesTest.php b/tests/app/Http/Routes/ApiRoutesTest.php index 60e5cae6574..c348b89083b 100644 --- a/tests/app/Http/Routes/ApiRoutesTest.php +++ b/tests/app/Http/Routes/ApiRoutesTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ApiRoutes * - * @covers \Fisharebest\Webtrees\Http\Routes\ApiRoutes + * @covers Fisharebest\Webtrees\Http\Routes\ApiRoutes */ class ApiRoutesTest extends TestCase { diff --git a/tests/app/Http/Routes/WebRoutesTest.php b/tests/app/Http/Routes/WebRoutesTest.php index c57653cdbac..daaaa442b6d 100644 --- a/tests/app/Http/Routes/WebRoutesTest.php +++ b/tests/app/Http/Routes/WebRoutesTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class WebRoutes * - * @covers \Fisharebest\Webtrees\Http\Routes\WebRoutes + * @covers Fisharebest\Webtrees\Http\Routes\WebRoutes */ class WebRoutesTest extends TestCase { diff --git a/tests/app/I18NTest.php b/tests/app/I18NTest.php index f10e0072331..bee90978d3d 100644 --- a/tests/app/I18NTest.php +++ b/tests/app/I18NTest.php @@ -26,8 +26,6 @@ class I18NTest extends TestCase { /** * @covers \Fisharebest\Webtrees\I18N::strtoupper - * - * @return void */ public function testStrtoupper(): void { @@ -37,8 +35,6 @@ public function testStrtoupper(): void /** * @covers \Fisharebest\Webtrees\I18N::strtolower - * - * @return void */ public function testStrtolower(): void { @@ -48,8 +44,6 @@ public function testStrtolower(): void /** * @covers \Fisharebest\Webtrees\I18N::comparator() - * - * @return void */ public function testComparator(): void { @@ -65,8 +59,6 @@ public function testComparator(): void /** * @covers \Fisharebest\Webtrees\I18N::reverseText - * - * @return void */ public function testReverseText(): void { diff --git a/tests/app/IndividualTest.php b/tests/app/IndividualTest.php index 5db13dfa0b3..d199ea21054 100644 --- a/tests/app/IndividualTest.php +++ b/tests/app/IndividualTest.php @@ -28,8 +28,6 @@ class IndividualTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/LocationTest.php b/tests/app/LocationTest.php index 6220e61dab7..7e0a4dc077c 100644 --- a/tests/app/LocationTest.php +++ b/tests/app/LocationTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Location * - * @covers \Fisharebest\Webtrees\Location + * @covers Fisharebest\Webtrees\Location */ class LocationTest extends TestCase { diff --git a/tests/app/LogTest.php b/tests/app/LogTest.php index 26d98d5cef4..b6d41ea3ecb 100644 --- a/tests/app/LogTest.php +++ b/tests/app/LogTest.php @@ -28,8 +28,6 @@ class LogTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/MediaFileTest.php b/tests/app/MediaFileTest.php index 38b32136def..d449a35b672 100644 --- a/tests/app/MediaFileTest.php +++ b/tests/app/MediaFileTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MediaFile * - * @covers \Fisharebest\Webtrees\MediaFile + * @covers Fisharebest\Webtrees\MediaFile */ class MediaFileTest extends TestCase { diff --git a/tests/app/MediaTest.php b/tests/app/MediaTest.php index 1105a7fc60e..e6000b05163 100644 --- a/tests/app/MediaTest.php +++ b/tests/app/MediaTest.php @@ -28,8 +28,6 @@ class MediaTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/MenuTest.php b/tests/app/MenuTest.php index 2da9689c4d4..6167c8544c5 100644 --- a/tests/app/MenuTest.php +++ b/tests/app/MenuTest.php @@ -26,8 +26,6 @@ class MenuTest extends TestCase { /** * @covers \Fisharebest\Webtrees\Menu::__construct - * - * @return void */ public function testConstructorDefaults(): void { @@ -42,8 +40,6 @@ public function testConstructorDefaults(): void /** * @covers \Fisharebest\Webtrees\Menu::__construct - * - * @return void */ public function testConstructorNonDefaults(): void { @@ -60,8 +56,6 @@ public function testConstructorNonDefaults(): void /** * @covers \Fisharebest\Webtrees\Menu::getLabel * @covers \Fisharebest\Webtrees\Menu::setLabel - * - * @return void */ public function testGetterSetterLabel(): void { @@ -76,8 +70,6 @@ public function testGetterSetterLabel(): void /** * @covers \Fisharebest\Webtrees\Menu::getLink * @covers \Fisharebest\Webtrees\Menu::setLink - * - * @return void */ public function testGetterSetterLink(): void { @@ -92,8 +84,6 @@ public function testGetterSetterLink(): void /** * @covers \Fisharebest\Webtrees\Menu::getClass * @covers \Fisharebest\Webtrees\Menu::setClass - * - * @return void */ public function testGetterSetterId(): void { @@ -108,8 +98,6 @@ public function testGetterSetterId(): void /** * @covers \Fisharebest\Webtrees\Menu::getAttrs * @covers \Fisharebest\Webtrees\Menu::setAttrs - * - * @return void */ public function testGetterSetterAttrs(): void { @@ -124,8 +112,6 @@ public function testGetterSetterAttrs(): void /** * @covers \Fisharebest\Webtrees\Menu::getSubmenus * @covers \Fisharebest\Webtrees\Menu::setSubmenus - * - * @return void */ public function testGetterSetterSubmenus(): void { diff --git a/tests/app/MimeTest.php b/tests/app/MimeTest.php index 59ddfb53284..34fa6902b75 100644 --- a/tests/app/MimeTest.php +++ b/tests/app/MimeTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Mime * - * @covers \Fisharebest\Webtrees\Mime + * @covers Fisharebest\Webtrees\Mime */ class MimeTest extends TestCase { diff --git a/tests/app/Module/AhnentafelReportModuleTest.php b/tests/app/Module/AhnentafelReportModuleTest.php index 70f93d520c3..ea746f9a8d2 100644 --- a/tests/app/Module/AhnentafelReportModuleTest.php +++ b/tests/app/Module/AhnentafelReportModuleTest.php @@ -25,7 +25,6 @@ use Fisharebest\Webtrees\Report\PdfRenderer; use Fisharebest\Webtrees\Report\ReportParserGenerate; use Fisharebest\Webtrees\Report\ReportParserSetup; -use Fisharebest\Webtrees\Services\ModuleService; use Fisharebest\Webtrees\Services\UserService; use Fisharebest\Webtrees\TestCase; @@ -69,21 +68,19 @@ class AhnentafelReportModuleTest extends TestCase * @covers \Fisharebest\Webtrees\Report\ReportPdfText * @covers \Fisharebest\Webtrees\Report\ReportPdfTextBox * @covers \Fisharebest\Webtrees\Report\TcpdfWrapper - * - * @return void */ public function testReportRunsWithoutError(): void { - $module_service = new ModuleService(); - $user = (new UserService())->create('user', 'User', 'user@example.com', 'secret'); $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); Auth::login($user); $tree = $this->importTree('demo.ged'); - $module = $module_service->findByInterface(AhnentafelReportModule::class)->first(); - $xml = 'resources/' . $module->xmlFilename(); - $vars = [ + $module = new AhnentafelReportModule(); + $module->setName('ahnentafel_report'); + + $xml = 'resources/' . $module->xmlFilename(); + $vars = [ 'pid' => ['id' => 'X1030'], 'maxgen' => ['id' => '3'], 'sources' => ['id' => 'on'], diff --git a/tests/app/Module/AlbumModuleTest.php b/tests/app/Module/AlbumModuleTest.php index 32af3ae43ff..2ecc518e64a 100644 --- a/tests/app/Module/AlbumModuleTest.php +++ b/tests/app/Module/AlbumModuleTest.php @@ -30,8 +30,6 @@ class AlbumModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/AncestorsChartModuleTest.php b/tests/app/Module/AncestorsChartModuleTest.php index 1087dec0257..d63b9d36bdd 100644 --- a/tests/app/Module/AncestorsChartModuleTest.php +++ b/tests/app/Module/AncestorsChartModuleTest.php @@ -30,8 +30,6 @@ class AncestorsChartModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/AustrianHistoricEventsTest.php b/tests/app/Module/AustrianHistoricEventsTest.php index 74bc72bbd8e..143d3b3e259 100644 --- a/tests/app/Module/AustrianHistoricEventsTest.php +++ b/tests/app/Module/AustrianHistoricEventsTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AustrianHistoricEvents * - * @covers \Fisharebest\Webtrees\Module\AustrianHistoricEvents + * @covers Fisharebest\Webtrees\Module\AustrianHistoricEvents */ class AustrianHistoricEventsTest extends TestCase { diff --git a/tests/app/Module/AustrianPresidentsTest.php b/tests/app/Module/AustrianPresidentsTest.php index 94055cab1e2..c5dadf94696 100644 --- a/tests/app/Module/AustrianPresidentsTest.php +++ b/tests/app/Module/AustrianPresidentsTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AustrianPresidents * - * @covers \Fisharebest\Webtrees\Module\AustrianPresidents + * @covers Fisharebest\Webtrees\Module\AustrianPresidents */ class AustrianPresidentsTest extends TestCase { diff --git a/tests/app/Module/BingMapsTest.php b/tests/app/Module/BingMapsTest.php index 903714bcc4e..fe0dd1ac63f 100644 --- a/tests/app/Module/BingMapsTest.php +++ b/tests/app/Module/BingMapsTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class BingMaps * - * @covers \Fisharebest\Webtrees\Module\BingMaps + * @covers Fisharebest\Webtrees\Module\BingMaps */ class BingMapsTest extends TestCase { diff --git a/tests/app/Module/BingWebmasterToolsModuleTest.php b/tests/app/Module/BingWebmasterToolsModuleTest.php index d70e765a283..5b27078b504 100644 --- a/tests/app/Module/BingWebmasterToolsModuleTest.php +++ b/tests/app/Module/BingWebmasterToolsModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class BingWebmasterToolsModule * - * @covers \Fisharebest\Webtrees\Module\BingWebmasterToolsModule + * @covers Fisharebest\Webtrees\Module\BingWebmasterToolsModule */ class BingWebmasterToolsModuleTest extends TestCase { diff --git a/tests/app/Module/BirthDeathMarriageReportModuleTest.php b/tests/app/Module/BirthDeathMarriageReportModuleTest.php index 543f933baf4..f82b42241ef 100644 --- a/tests/app/Module/BirthDeathMarriageReportModuleTest.php +++ b/tests/app/Module/BirthDeathMarriageReportModuleTest.php @@ -23,7 +23,6 @@ use Fisharebest\Webtrees\Report\PdfRenderer; use Fisharebest\Webtrees\Report\ReportParserGenerate; use Fisharebest\Webtrees\Report\ReportParserSetup; -use Fisharebest\Webtrees\Services\ModuleService; use Fisharebest\Webtrees\TestCase; /** @@ -63,17 +62,15 @@ class BirthDeathMarriageReportModuleTest extends TestCase * @covers \Fisharebest\Webtrees\Report\ReportPdfText * @covers \Fisharebest\Webtrees\Report\ReportPdfTextBox * @covers \Fisharebest\Webtrees\Report\TcpdfWrapper - * - * @return void */ public function testReportRunsWithoutError(): void { - $module_service = new ModuleService(); - $tree = $this->importTree('demo.ged'); - $module = $module_service->findByInterface(BirthDeathMarriageReportModule::class)->first(); - $xml = 'resources/' . $module->xmlFilename(); - $vars = [ + $module = new BirthDeathMarriageReportModule(); + $module->setName('bdm_report'); + + $xml = 'resources/' . $module->xmlFilename(); + $vars = [ 'name' => ['id' => ''], 'bdmplace' => ['id' => ''], 'birthdate1' => ['id' => ''], diff --git a/tests/app/Module/BirthReportModuleTest.php b/tests/app/Module/BirthReportModuleTest.php index bba3d240896..6e3392d5197 100644 --- a/tests/app/Module/BirthReportModuleTest.php +++ b/tests/app/Module/BirthReportModuleTest.php @@ -25,10 +25,11 @@ use Fisharebest\Webtrees\Report\PdfRenderer; use Fisharebest\Webtrees\Report\ReportParserGenerate; use Fisharebest\Webtrees\Report\ReportParserSetup; -use Fisharebest\Webtrees\Services\ModuleService; use Fisharebest\Webtrees\Services\UserService; use Fisharebest\Webtrees\TestCase; +use function ob_get_clean; + /** * Test harness for the class BirthReportModule */ @@ -66,21 +67,19 @@ class BirthReportModuleTest extends TestCase * @covers \Fisharebest\Webtrees\Report\ReportPdfText * @covers \Fisharebest\Webtrees\Report\ReportPdfTextBox * @covers \Fisharebest\Webtrees\Report\TcpdfWrapper - * - * @return void */ public function testReportRunsWithoutError(): void { - $module_service = new ModuleService(); - $user = (new UserService())->create('user', 'User', 'user@example.com', 'secret'); $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); Auth::login($user); $tree = $this->importTree('demo.ged'); - $module = $module_service->findByInterface(BirthReportModule::class)->first(); - $xml = 'resources/' . $module->xmlFilename(); - $vars = [ + $module = new BirthReportModule(); + $module->setName('birth_report'); + + $xml = 'resources/' . $module->xmlFilename(); + $vars = [ 'name' => ['id' => ''], 'birthplace' => ['id' => ''], 'birthdate1' => ['id' => ''], diff --git a/tests/app/Module/BranchesListModuleTest.php b/tests/app/Module/BranchesListModuleTest.php index 53e62d45604..9c8e95c8588 100644 --- a/tests/app/Module/BranchesListModuleTest.php +++ b/tests/app/Module/BranchesListModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class BranchesListModule * - * @covers \Fisharebest\Webtrees\Module\BranchesListModule + * @covers Fisharebest\Webtrees\Module\BranchesListModule */ class BranchesListModuleTest extends TestCase { diff --git a/tests/app/Module/BritishMonarchsTest.php b/tests/app/Module/BritishMonarchsTest.php index 0f382336eaf..0f0f7dfa169 100644 --- a/tests/app/Module/BritishMonarchsTest.php +++ b/tests/app/Module/BritishMonarchsTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class BritishMonarchs * - * @covers \Fisharebest\Webtrees\Module\BritishMonarchs + * @covers Fisharebest\Webtrees\Module\BritishMonarchs */ class BritishMonarchsTest extends TestCase { diff --git a/tests/app/Module/BritishPrimeMinistersTest.php b/tests/app/Module/BritishPrimeMinistersTest.php index 32200b5c1b3..ac93ae01789 100644 --- a/tests/app/Module/BritishPrimeMinistersTest.php +++ b/tests/app/Module/BritishPrimeMinistersTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class BritishPrimeMinisters * - * @covers \Fisharebest\Webtrees\Module\BritishPrimeMinisters + * @covers Fisharebest\Webtrees\Module\BritishPrimeMinisters */ class BritishPrimeMinistersTest extends TestCase { diff --git a/tests/app/Module/BritishSocialHistoryTest.php b/tests/app/Module/BritishSocialHistoryTest.php index ac3b295fd2e..1ab84484842 100644 --- a/tests/app/Module/BritishSocialHistoryTest.php +++ b/tests/app/Module/BritishSocialHistoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class BritishSocialHistory * - * @covers \Fisharebest\Webtrees\Module\BritishSocialHistory + * @covers Fisharebest\Webtrees\Module\BritishSocialHistory */ class BritishSocialHistoryTest extends TestCase { diff --git a/tests/app/Module/CalendarMenuModuleTest.php b/tests/app/Module/CalendarMenuModuleTest.php index 41b59836d56..6de42536ecd 100644 --- a/tests/app/Module/CalendarMenuModuleTest.php +++ b/tests/app/Module/CalendarMenuModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CalendarMenuModule * - * @covers \Fisharebest\Webtrees\Module\CalendarMenuModule + * @covers Fisharebest\Webtrees\Module\CalendarMenuModule */ class CalendarMenuModuleTest extends TestCase { diff --git a/tests/app/Module/CemeteryReportModuleTest.php b/tests/app/Module/CemeteryReportModuleTest.php index d6c17ebe0fa..6a269f0e277 100644 --- a/tests/app/Module/CemeteryReportModuleTest.php +++ b/tests/app/Module/CemeteryReportModuleTest.php @@ -25,10 +25,11 @@ use Fisharebest\Webtrees\Report\PdfRenderer; use Fisharebest\Webtrees\Report\ReportParserGenerate; use Fisharebest\Webtrees\Report\ReportParserSetup; -use Fisharebest\Webtrees\Services\ModuleService; use Fisharebest\Webtrees\Services\UserService; use Fisharebest\Webtrees\TestCase; +use function ob_get_clean; + /** * Test harness for the class CemeteryReportModule */ @@ -66,21 +67,19 @@ class CemeteryReportModuleTest extends TestCase * @covers \Fisharebest\Webtrees\Report\ReportPdfText * @covers \Fisharebest\Webtrees\Report\ReportPdfTextBox * @covers \Fisharebest\Webtrees\Report\TcpdfWrapper - * - * @return void */ public function testReportRunsWithoutError(): void { - $module_service = new ModuleService(); - $user = (new UserService())->create('user', 'User', 'user@example.com', 'secret'); $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); Auth::login($user); $tree = $this->importTree('demo.ged'); - $module = $module_service->findByInterface(CemeteryReportModule::class)->first(); - $xml = 'resources/' . $module->xmlFilename(); - $vars = [ + $module = new CemeteryReportModule(); + $module->setName('cemetery_report'); + + $xml = 'resources/' . $module->xmlFilename(); + $vars = [ 'deathplace' => ['id' => ''], 'adlist' => ['id' => 'none'], 'sortby' => ['id' => 'NAME'], diff --git a/tests/app/Module/CensusAssistantModuleTest.php b/tests/app/Module/CensusAssistantModuleTest.php index 88f0b918600..4b51ba09633 100644 --- a/tests/app/Module/CensusAssistantModuleTest.php +++ b/tests/app/Module/CensusAssistantModuleTest.php @@ -30,8 +30,6 @@ class CensusAssistantModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/ChangeReportModuleTest.php b/tests/app/Module/ChangeReportModuleTest.php index 9335053df4f..17b89c103c0 100644 --- a/tests/app/Module/ChangeReportModuleTest.php +++ b/tests/app/Module/ChangeReportModuleTest.php @@ -26,10 +26,11 @@ use Fisharebest\Webtrees\Report\PdfRenderer; use Fisharebest\Webtrees\Report\ReportParserGenerate; use Fisharebest\Webtrees\Report\ReportParserSetup; -use Fisharebest\Webtrees\Services\ModuleService; use Fisharebest\Webtrees\Services\UserService; use Fisharebest\Webtrees\TestCase; +use function ob_get_clean; + /** * Test harness for the class ChangeReportModule */ @@ -67,21 +68,19 @@ class ChangeReportModuleTest extends TestCase * @covers \Fisharebest\Webtrees\Report\ReportPdfText * @covers \Fisharebest\Webtrees\Report\ReportPdfTextBox * @covers \Fisharebest\Webtrees\Report\TcpdfWrapper - * - * @return void */ public function testReportRunsWithoutError(): void { - $module_service = new ModuleService(); - $user = (new UserService())->create('user', 'User', 'user@example.com', 'secret'); $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); Auth::login($user); $tree = $this->importTree('demo.ged'); - $module = $module_service->findByInterface(ChangeReportModule::class)->first(); - $xml = 'resources/' . $module->xmlFilename(); - $vars = [ + $module = new ChangeReportModule(); + $module->setName('change_report'); + + $xml = 'resources/' . $module->xmlFilename(); + $vars = [ 'changeRangeStart' => ['id' => Registry::timestampFactory()->now()->subtractMonths(1)->format('d M Y')], 'changeRangeEnd' => ['id' => Registry::timestampFactory()->now()->format('d M Y')], 'pending' => ['id' => 'yes'], diff --git a/tests/app/Module/ChartsBlockModuleTest.php b/tests/app/Module/ChartsBlockModuleTest.php index dc061146a66..1e9c3da11a3 100644 --- a/tests/app/Module/ChartsBlockModuleTest.php +++ b/tests/app/Module/ChartsBlockModuleTest.php @@ -30,8 +30,6 @@ class ChartsBlockModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/ChartsMenuModuleTest.php b/tests/app/Module/ChartsMenuModuleTest.php index fb285c1d700..662a21409e2 100644 --- a/tests/app/Module/ChartsMenuModuleTest.php +++ b/tests/app/Module/ChartsMenuModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChartsMenuModule * - * @covers \Fisharebest\Webtrees\Module\ChartsMenuModule + * @covers Fisharebest\Webtrees\Module\ChartsMenuModule */ class ChartsMenuModuleTest extends TestCase { diff --git a/tests/app/Module/CheckForNewVersionTest.php b/tests/app/Module/CheckForNewVersionTest.php index 0acf19bb8cf..e9368e36f65 100644 --- a/tests/app/Module/CheckForNewVersionTest.php +++ b/tests/app/Module/CheckForNewVersionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CheckForNewVersion * - * @covers \Fisharebest\Webtrees\Module\CheckForNewVersion + * @covers Fisharebest\Webtrees\Module\CheckForNewVersion */ class CheckForNewVersionTest extends TestCase { diff --git a/tests/app/Module/CkeditorModuleTest.php b/tests/app/Module/CkeditorModuleTest.php index 3603e2e2c63..4a24b074c65 100644 --- a/tests/app/Module/CkeditorModuleTest.php +++ b/tests/app/Module/CkeditorModuleTest.php @@ -30,8 +30,6 @@ class CkeditorModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/ClippingsCartModuleTest.php b/tests/app/Module/ClippingsCartModuleTest.php index a7a0a089a89..d9f68584bcb 100644 --- a/tests/app/Module/ClippingsCartModuleTest.php +++ b/tests/app/Module/ClippingsCartModuleTest.php @@ -30,8 +30,6 @@ class ClippingsCartModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/CloudsThemeTest.php b/tests/app/Module/CloudsThemeTest.php index 93e086a1a73..333ca131906 100644 --- a/tests/app/Module/CloudsThemeTest.php +++ b/tests/app/Module/CloudsThemeTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CloudsTheme * - * @covers \Fisharebest\Webtrees\Module\CloudsTheme + * @covers Fisharebest\Webtrees\Module\CloudsTheme */ class CloudsThemeTest extends TestCase { diff --git a/tests/app/Module/ColorsThemeTest.php b/tests/app/Module/ColorsThemeTest.php index 6c99a1e32ce..8c19107f503 100644 --- a/tests/app/Module/ColorsThemeTest.php +++ b/tests/app/Module/ColorsThemeTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ColorsTheme * - * @covers \Fisharebest\Webtrees\Module\ColorsTheme + * @covers Fisharebest\Webtrees\Module\ColorsTheme */ class ColorsThemeTest extends TestCase { diff --git a/tests/app/Module/CompactTreeChartModuleTest.php b/tests/app/Module/CompactTreeChartModuleTest.php index 280a0f8f392..b37059771f9 100644 --- a/tests/app/Module/CompactTreeChartModuleTest.php +++ b/tests/app/Module/CompactTreeChartModuleTest.php @@ -30,8 +30,6 @@ class CompactTreeChartModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/ContactsFooterModuleTest.php b/tests/app/Module/ContactsFooterModuleTest.php index 735217902ff..d5b49926ed0 100644 --- a/tests/app/Module/ContactsFooterModuleTest.php +++ b/tests/app/Module/ContactsFooterModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ContactsFooterModule * - * @covers \Fisharebest\Webtrees\Module\ContactsFooterModule + * @covers Fisharebest\Webtrees\Module\ContactsFooterModule */ class ContactsFooterModuleTest extends TestCase { diff --git a/tests/app/Module/CustomCssJsModuleTest.php b/tests/app/Module/CustomCssJsModuleTest.php index 5f192c07ad5..ffcec478ce6 100644 --- a/tests/app/Module/CustomCssJsModuleTest.php +++ b/tests/app/Module/CustomCssJsModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CustomCssJsModule * - * @covers \Fisharebest\Webtrees\Module\CustomCssJsModule + * @covers Fisharebest\Webtrees\Module\CustomCssJsModule */ class CustomCssJsModuleTest extends TestCase { diff --git a/tests/app/Module/CzechMonarchsAndPresidentsTest.php b/tests/app/Module/CzechMonarchsAndPresidentsTest.php index 8a7f645405b..5ed74668cd5 100644 --- a/tests/app/Module/CzechMonarchsAndPresidentsTest.php +++ b/tests/app/Module/CzechMonarchsAndPresidentsTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CzechMonarchsAndPresidents * - * @covers \Fisharebest\Webtrees\Module\CzechMonarchsAndPresidents + * @covers Fisharebest\Webtrees\Module\CzechMonarchsAndPresidents */ class CzechMonarchsAndPresidentsTest extends TestCase { diff --git a/tests/app/Module/DeathReportModuleTest.php b/tests/app/Module/DeathReportModuleTest.php index 6578ffe8f65..1e1c391fac7 100644 --- a/tests/app/Module/DeathReportModuleTest.php +++ b/tests/app/Module/DeathReportModuleTest.php @@ -25,10 +25,11 @@ use Fisharebest\Webtrees\Report\PdfRenderer; use Fisharebest\Webtrees\Report\ReportParserGenerate; use Fisharebest\Webtrees\Report\ReportParserSetup; -use Fisharebest\Webtrees\Services\ModuleService; use Fisharebest\Webtrees\Services\UserService; use Fisharebest\Webtrees\TestCase; +use function ob_get_clean; + /** * Test harness for the class FactSourcesReportModule */ @@ -66,21 +67,19 @@ class DeathReportModuleTest extends TestCase * @covers \Fisharebest\Webtrees\Report\ReportPdfText * @covers \Fisharebest\Webtrees\Report\ReportPdfTextBox * @covers \Fisharebest\Webtrees\Report\TcpdfWrapper - * - * @return void */ public function testReportRunsWithoutError(): void { - $module_service = new ModuleService(); - $user = (new UserService())->create('user', 'User', 'user@example.com', 'secret'); $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); Auth::login($user); $tree = $this->importTree('demo.ged'); - $module = $module_service->findByInterface(DeathReportModule::class)->first(); - $xml = 'resources/' . $module->xmlFilename(); - $vars = [ + $module = new DeathReportModule(); + $module->setName('death_report'); + + $xml = 'resources/' . $module->xmlFilename(); + $vars = [ 'name' => ['id' => ''], 'deathplace' => ['id' => ''], 'deathdate1' => ['id' => ''], diff --git a/tests/app/Module/DescendancyChartModuleTest.php b/tests/app/Module/DescendancyChartModuleTest.php index 6e14709544c..214da03bc70 100644 --- a/tests/app/Module/DescendancyChartModuleTest.php +++ b/tests/app/Module/DescendancyChartModuleTest.php @@ -30,8 +30,6 @@ class DescendancyChartModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/DescendancyModuleTest.php b/tests/app/Module/DescendancyModuleTest.php index 1816aa13f1c..d3f912673f9 100644 --- a/tests/app/Module/DescendancyModuleTest.php +++ b/tests/app/Module/DescendancyModuleTest.php @@ -30,8 +30,6 @@ class DescendancyModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/DescendancyReportModuleTest.php b/tests/app/Module/DescendancyReportModuleTest.php index 4c09e16f910..d331c8a65e1 100644 --- a/tests/app/Module/DescendancyReportModuleTest.php +++ b/tests/app/Module/DescendancyReportModuleTest.php @@ -25,7 +25,6 @@ use Fisharebest\Webtrees\Report\PdfRenderer; use Fisharebest\Webtrees\Report\ReportParserGenerate; use Fisharebest\Webtrees\Report\ReportParserSetup; -use Fisharebest\Webtrees\Services\ModuleService; use Fisharebest\Webtrees\Services\UserService; use Fisharebest\Webtrees\TestCase; @@ -69,21 +68,19 @@ class DescendancyReportModuleTest extends TestCase * @covers \Fisharebest\Webtrees\Report\ReportPdfText * @covers \Fisharebest\Webtrees\Report\ReportPdfTextBox * @covers \Fisharebest\Webtrees\Report\TcpdfWrapper - * - * @return void */ public function testReportRunsWithoutError(): void { - $module_service = new ModuleService(); - $user = (new UserService())->create('user', 'User', 'user@example.com', 'secret'); $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); Auth::login($user); $tree = $this->importTree('demo.ged'); - $module = $module_service->findByInterface(DescendancyReportModule::class)->first(); - $xml = 'resources/' . $module->xmlFilename(); - $vars = [ + $module = new DescendancyReportModule(); + $module->setName('descendancy_report'); + + $xml = 'resources/' . $module->xmlFilename(); + $vars = [ 'pid' => ['id' => 'X1030'], 'maxgen' => ['id' => '3'], 'sources' => ['id' => 'on'], diff --git a/tests/app/Module/DutchMonarchsTest.php b/tests/app/Module/DutchMonarchsTest.php index 43dfe366e68..e98b5c950e2 100644 --- a/tests/app/Module/DutchMonarchsTest.php +++ b/tests/app/Module/DutchMonarchsTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class DutchMonarchs * - * @covers \Fisharebest\Webtrees\Module\DutchMonarchs + * @covers Fisharebest\Webtrees\Module\DutchMonarchs */ class DutchMonarchsTest extends TestCase { diff --git a/tests/app/Module/DutchPrimeMinistersTest.php b/tests/app/Module/DutchPrimeMinistersTest.php index 8117dc1d848..1cc848fc762 100644 --- a/tests/app/Module/DutchPrimeMinistersTest.php +++ b/tests/app/Module/DutchPrimeMinistersTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class DutchPrimeMinisters * - * @covers \Fisharebest\Webtrees\Module\DutchPrimeMinisters + * @covers Fisharebest\Webtrees\Module\DutchPrimeMinisters */ class DutchPrimeMinistersTest extends TestCase { diff --git a/tests/app/Module/EsriMapsTest.php b/tests/app/Module/EsriMapsTest.php index b47fe950732..0a7ba8c3861 100644 --- a/tests/app/Module/EsriMapsTest.php +++ b/tests/app/Module/EsriMapsTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class EsriMaps * - * @covers \Fisharebest\Webtrees\Module\EsriMaps + * @covers Fisharebest\Webtrees\Module\EsriMaps */ class EsriMapsTest extends TestCase { diff --git a/tests/app/Module/FabThemeTest.php b/tests/app/Module/FabThemeTest.php index a9b2a54f142..2b38dab0f37 100644 --- a/tests/app/Module/FabThemeTest.php +++ b/tests/app/Module/FabThemeTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FabTheme * - * @covers \Fisharebest\Webtrees\Module\FabTheme + * @covers Fisharebest\Webtrees\Module\FabTheme */ class FabThemeTest extends TestCase { diff --git a/tests/app/Module/FactSourcesReportModuleTest.php b/tests/app/Module/FactSourcesReportModuleTest.php index 507fabeeed9..c2dd866202a 100644 --- a/tests/app/Module/FactSourcesReportModuleTest.php +++ b/tests/app/Module/FactSourcesReportModuleTest.php @@ -25,10 +25,11 @@ use Fisharebest\Webtrees\Report\PdfRenderer; use Fisharebest\Webtrees\Report\ReportParserGenerate; use Fisharebest\Webtrees\Report\ReportParserSetup; -use Fisharebest\Webtrees\Services\ModuleService; use Fisharebest\Webtrees\Services\UserService; use Fisharebest\Webtrees\TestCase; +use function ob_get_clean; + /** * Test harness for the class FactSourcesReportModule */ @@ -66,21 +67,19 @@ class FactSourcesReportModuleTest extends TestCase * @covers \Fisharebest\Webtrees\Report\ReportPdfText * @covers \Fisharebest\Webtrees\Report\ReportPdfTextBox * @covers \Fisharebest\Webtrees\Report\TcpdfWrapper - * - * @return void */ public function testReportRunsWithoutError(): void { - $module_service = new ModuleService(); - $user = (new UserService())->create('user', 'User', 'user@example.com', 'secret'); $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); Auth::login($user); $tree = $this->importTree('demo.ged'); - $module = $module_service->findByInterface(FactSourcesReportModule::class)->first(); - $xml = 'resources/' . $module->xmlFilename(); - $vars = [ + $module = new FactSourcesReportModule(); + $module->setName('fact_sources'); + + $xml = 'resources/' . $module->xmlFilename(); + $vars = [ 'id' => ['id' => 's1'], 'stype' => ['id' => 'facts'], 'sortby' => ['id' => 'BIRT:DATE'], diff --git a/tests/app/Module/FamilyBookChartModuleTest.php b/tests/app/Module/FamilyBookChartModuleTest.php index 8251fd23c56..cf5c505b026 100644 --- a/tests/app/Module/FamilyBookChartModuleTest.php +++ b/tests/app/Module/FamilyBookChartModuleTest.php @@ -30,8 +30,6 @@ class FamilyBookChartModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/FamilyGroupReportModuleTest.php b/tests/app/Module/FamilyGroupReportModuleTest.php index 989d7b231fd..309ea815d4a 100644 --- a/tests/app/Module/FamilyGroupReportModuleTest.php +++ b/tests/app/Module/FamilyGroupReportModuleTest.php @@ -25,10 +25,11 @@ use Fisharebest\Webtrees\Report\PdfRenderer; use Fisharebest\Webtrees\Report\ReportParserGenerate; use Fisharebest\Webtrees\Report\ReportParserSetup; -use Fisharebest\Webtrees\Services\ModuleService; use Fisharebest\Webtrees\Services\UserService; use Fisharebest\Webtrees\TestCase; +use function ob_get_clean; + /** * Test harness for the class FamilyGroupReportModule */ @@ -66,21 +67,19 @@ class FamilyGroupReportModuleTest extends TestCase * @covers \Fisharebest\Webtrees\Report\ReportPdfText * @covers \Fisharebest\Webtrees\Report\ReportPdfTextBox * @covers \Fisharebest\Webtrees\Report\TcpdfWrapper - * - * @return void */ public function testReportRunsWithoutError(): void { - $module_service = new ModuleService(); - $user = (new UserService())->create('user', 'User', 'user@example.com', 'secret'); $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); Auth::login($user); $tree = $this->importTree('demo.ged'); - $module = $module_service->findByInterface(FamilyGroupReportModule::class)->first(); - $xml = 'resources/' . $module->xmlFilename(); - $vars = [ + $module = new FamilyGroupReportModule(); + $module->setName('family_group_report'); + + $xml = 'resources/' . $module->xmlFilename(); + $vars = [ 'id' => ['id' => 'f1'], 'sources' => ['id' => 'on'], 'notes' => ['id' => 'on'], diff --git a/tests/app/Module/FamilyListModuleTest.php b/tests/app/Module/FamilyListModuleTest.php index 9be56b2a7aa..dc824b9fcca 100644 --- a/tests/app/Module/FamilyListModuleTest.php +++ b/tests/app/Module/FamilyListModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FamilyListModule * - * @covers \Fisharebest\Webtrees\Module\FamilyListModule + * @covers Fisharebest\Webtrees\Module\FamilyListModule */ class FamilyListModuleTest extends TestCase { diff --git a/tests/app/Module/FamilyNavigatorModuleTest.php b/tests/app/Module/FamilyNavigatorModuleTest.php index 545c9fece92..994596aa399 100644 --- a/tests/app/Module/FamilyNavigatorModuleTest.php +++ b/tests/app/Module/FamilyNavigatorModuleTest.php @@ -30,8 +30,6 @@ class FamilyNavigatorModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/FamilyTreeFavoritesModuleTest.php b/tests/app/Module/FamilyTreeFavoritesModuleTest.php index a5228729680..075c42f603d 100644 --- a/tests/app/Module/FamilyTreeFavoritesModuleTest.php +++ b/tests/app/Module/FamilyTreeFavoritesModuleTest.php @@ -30,8 +30,6 @@ class FamilyTreeFavoritesModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/FamilyTreeNewsModuleTest.php b/tests/app/Module/FamilyTreeNewsModuleTest.php index b32e626266f..52b4f7acad3 100644 --- a/tests/app/Module/FamilyTreeNewsModuleTest.php +++ b/tests/app/Module/FamilyTreeNewsModuleTest.php @@ -30,8 +30,6 @@ class FamilyTreeNewsModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/FamilyTreeStatisticsModuleTest.php b/tests/app/Module/FamilyTreeStatisticsModuleTest.php index 4d7f40f5b40..eba8ba6c27b 100644 --- a/tests/app/Module/FamilyTreeStatisticsModuleTest.php +++ b/tests/app/Module/FamilyTreeStatisticsModuleTest.php @@ -30,8 +30,6 @@ class FamilyTreeStatisticsModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/FanChartModuleTest.php b/tests/app/Module/FanChartModuleTest.php index dde347824e7..b128450abd8 100644 --- a/tests/app/Module/FanChartModuleTest.php +++ b/tests/app/Module/FanChartModuleTest.php @@ -30,8 +30,6 @@ class FanChartModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/FixCemeteryTagTest.php b/tests/app/Module/FixCemeteryTagTest.php index 7c48f4dd1ea..9af80af2fd8 100644 --- a/tests/app/Module/FixCemeteryTagTest.php +++ b/tests/app/Module/FixCemeteryTagTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FixCemeteryTag * - * @covers \Fisharebest\Webtrees\Module\FixCemeteryTag + * @covers Fisharebest\Webtrees\Module\FixCemeteryTag */ class FixCemeteryTagTest extends TestCase { diff --git a/tests/app/Module/FixMissingDeathsTest.php b/tests/app/Module/FixMissingDeathsTest.php index c13d0547ec1..f38c2cf7be7 100644 --- a/tests/app/Module/FixMissingDeathsTest.php +++ b/tests/app/Module/FixMissingDeathsTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FixMissingDeaths * - * @covers \Fisharebest\Webtrees\Module\FixMissingDeaths + * @covers Fisharebest\Webtrees\Module\FixMissingDeaths */ class FixMissingDeathsTest extends TestCase { diff --git a/tests/app/Module/FixNameSlashesAndSpacesTest.php b/tests/app/Module/FixNameSlashesAndSpacesTest.php index 63ed1e75ae7..6fdef0d02fb 100644 --- a/tests/app/Module/FixNameSlashesAndSpacesTest.php +++ b/tests/app/Module/FixNameSlashesAndSpacesTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FixNameSlashesAndSpaces * - * @covers \Fisharebest\Webtrees\Module\FixNameSlashesAndSpaces + * @covers Fisharebest\Webtrees\Module\FixNameSlashesAndSpaces */ class FixNameSlashesAndSpacesTest extends TestCase { diff --git a/tests/app/Module/FixNameTagsTest.php b/tests/app/Module/FixNameTagsTest.php index ca0a0807669..67d4173add7 100644 --- a/tests/app/Module/FixNameTagsTest.php +++ b/tests/app/Module/FixNameTagsTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FixNameTags * - * @covers \Fisharebest\Webtrees\Module\FixNameTags + * @covers Fisharebest\Webtrees\Module\FixNameTags */ class FixNameTagsTest extends TestCase { diff --git a/tests/app/Module/FixPlaceNamesTest.php b/tests/app/Module/FixPlaceNamesTest.php index 0e8cce68e7b..ec4fa969529 100644 --- a/tests/app/Module/FixPlaceNamesTest.php +++ b/tests/app/Module/FixPlaceNamesTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FixPlaceNames * - * @covers \Fisharebest\Webtrees\Module\FixPlaceNames + * @covers Fisharebest\Webtrees\Module\FixPlaceNames */ class FixPlaceNamesTest extends TestCase { diff --git a/tests/app/Module/FixPrimaryTagTest.php b/tests/app/Module/FixPrimaryTagTest.php index b2e0ac60e8e..3d2ce629b3c 100644 --- a/tests/app/Module/FixPrimaryTagTest.php +++ b/tests/app/Module/FixPrimaryTagTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FixPrimaryTag * - * @covers \Fisharebest\Webtrees\Module\FixPrimaryTag + * @covers Fisharebest\Webtrees\Module\FixPrimaryTag */ class FixPrimaryTagTest extends TestCase { diff --git a/tests/app/Module/FixSearchAndReplaceTest.php b/tests/app/Module/FixSearchAndReplaceTest.php index 21bfaca4638..51575833996 100644 --- a/tests/app/Module/FixSearchAndReplaceTest.php +++ b/tests/app/Module/FixSearchAndReplaceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FixSearchAndReplace * - * @covers \Fisharebest\Webtrees\Module\FixSearchAndReplace + * @covers Fisharebest\Webtrees\Module\FixSearchAndReplace */ class FixSearchAndReplaceTest extends TestCase { diff --git a/tests/app/Module/FixWtObjeSortTagTest.php b/tests/app/Module/FixWtObjeSortTagTest.php index dd8c0c3137a..8bd1c9d9dcf 100644 --- a/tests/app/Module/FixWtObjeSortTagTest.php +++ b/tests/app/Module/FixWtObjeSortTagTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FixWtObjeSortTag * - * @covers \Fisharebest\Webtrees\Module\FixWtObjeSortTag + * @covers Fisharebest\Webtrees\Module\FixWtObjeSortTag */ class FixWtObjeSortTagTest extends TestCase { diff --git a/tests/app/Module/FrenchHistoryTest.php b/tests/app/Module/FrenchHistoryTest.php index 7c5f08c002d..752acb5ec1a 100644 --- a/tests/app/Module/FrenchHistoryTest.php +++ b/tests/app/Module/FrenchHistoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FrenchHistory * - * @covers \Fisharebest\Webtrees\Module\FrenchHistory + * @covers Fisharebest\Webtrees\Module\FrenchHistory */ class FrenchHistoryTest extends TestCase { diff --git a/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php b/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php index 9a2879b9dae..336f801eec6 100644 --- a/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php +++ b/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php @@ -30,8 +30,6 @@ class FrequentlyAskedQuestionsModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/GeonamesAutocompleteTest.php b/tests/app/Module/GeonamesAutocompleteTest.php index c737f64370a..386282ab700 100644 --- a/tests/app/Module/GeonamesAutocompleteTest.php +++ b/tests/app/Module/GeonamesAutocompleteTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class GeonamesAutocomplete * - * @covers \Fisharebest\Webtrees\Module\GeonamesAutocomplete + * @covers Fisharebest\Webtrees\Module\GeonamesAutocomplete */ class GeonamesAutocompleteTest extends TestCase { diff --git a/tests/app/Module/GoogleAnalyticsModuleTest.php b/tests/app/Module/GoogleAnalyticsModuleTest.php index 669c84bc096..64c200bda50 100644 --- a/tests/app/Module/GoogleAnalyticsModuleTest.php +++ b/tests/app/Module/GoogleAnalyticsModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class GoogleAnalyticsModule * - * @covers \Fisharebest\Webtrees\Module\GoogleAnalyticsModule + * @covers Fisharebest\Webtrees\Module\GoogleAnalyticsModule */ class GoogleAnalyticsModuleTest extends TestCase { diff --git a/tests/app/Module/GoogleMapsTest.php b/tests/app/Module/GoogleMapsTest.php index 9b2d184bbb2..8f777daf9b9 100644 --- a/tests/app/Module/GoogleMapsTest.php +++ b/tests/app/Module/GoogleMapsTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class GoogleMaps * - * @covers \Fisharebest\Webtrees\Module\GoogleMaps + * @covers Fisharebest\Webtrees\Module\GoogleMaps */ class GoogleMapsTest extends TestCase { diff --git a/tests/app/Module/GoogleWebmasterToolsModuleTest.php b/tests/app/Module/GoogleWebmasterToolsModuleTest.php index 43f410b741a..6f738ba515c 100644 --- a/tests/app/Module/GoogleWebmasterToolsModuleTest.php +++ b/tests/app/Module/GoogleWebmasterToolsModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class GoogleWebmasterToolsModule * - * @covers \Fisharebest\Webtrees\Module\GoogleWebmasterToolsModule + * @covers Fisharebest\Webtrees\Module\GoogleWebmasterToolsModule */ class GoogleWebmasterToolsModuleTest extends TestCase { diff --git a/tests/app/Module/HereMapsTest.php b/tests/app/Module/HereMapsTest.php index 15c3f443167..be5872d82ff 100644 --- a/tests/app/Module/HereMapsTest.php +++ b/tests/app/Module/HereMapsTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class HereMaps * - * @covers \Fisharebest\Webtrees\Module\HereMaps + * @covers Fisharebest\Webtrees\Module\HereMaps */ class HereMapsTest extends TestCase { diff --git a/tests/app/Module/HitCountFooterModuleTest.php b/tests/app/Module/HitCountFooterModuleTest.php index f56ff2460e3..02a6faf7335 100644 --- a/tests/app/Module/HitCountFooterModuleTest.php +++ b/tests/app/Module/HitCountFooterModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class HitCountFooterModule * - * @covers \Fisharebest\Webtrees\Module\HitCountFooterModule + * @covers Fisharebest\Webtrees\Module\HitCountFooterModule */ class HitCountFooterModuleTest extends TestCase { diff --git a/tests/app/Module/HourglassChartModuleTest.php b/tests/app/Module/HourglassChartModuleTest.php index 46cd7b06185..ad4a157ada8 100644 --- a/tests/app/Module/HourglassChartModuleTest.php +++ b/tests/app/Module/HourglassChartModuleTest.php @@ -30,8 +30,6 @@ class HourglassChartModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/HtmlBlockModuleTest.php b/tests/app/Module/HtmlBlockModuleTest.php index 77abd743a3b..c974166023e 100644 --- a/tests/app/Module/HtmlBlockModuleTest.php +++ b/tests/app/Module/HtmlBlockModuleTest.php @@ -30,8 +30,6 @@ class HtmlBlockModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/IndividualFactsTabModuleTest.php b/tests/app/Module/IndividualFactsTabModuleTest.php index 0d310750f1d..dc5ef9723a3 100644 --- a/tests/app/Module/IndividualFactsTabModuleTest.php +++ b/tests/app/Module/IndividualFactsTabModuleTest.php @@ -30,8 +30,6 @@ class IndividualFactsTabModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/IndividualFamiliesReportModuleTest.php b/tests/app/Module/IndividualFamiliesReportModuleTest.php index d2304ad2e87..1e094d4ac0e 100644 --- a/tests/app/Module/IndividualFamiliesReportModuleTest.php +++ b/tests/app/Module/IndividualFamiliesReportModuleTest.php @@ -25,7 +25,6 @@ use Fisharebest\Webtrees\Report\PdfRenderer; use Fisharebest\Webtrees\Report\ReportParserGenerate; use Fisharebest\Webtrees\Report\ReportParserSetup; -use Fisharebest\Webtrees\Services\ModuleService; use Fisharebest\Webtrees\Services\UserService; use Fisharebest\Webtrees\TestCase; @@ -69,21 +68,19 @@ class IndividualFamiliesReportModuleTest extends TestCase * @covers \Fisharebest\Webtrees\Report\ReportPdfText * @covers \Fisharebest\Webtrees\Report\ReportPdfTextBox * @covers \Fisharebest\Webtrees\Report\TcpdfWrapper - * - * @return void */ public function testReportRunsWithoutError(): void { - $module_service = new ModuleService(); - $user = (new UserService())->create('user', 'User', 'user@example.com', 'secret'); $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); Auth::login($user); $tree = $this->importTree('demo.ged'); - $module = $module_service->findByInterface(IndividualFamiliesReportModule::class)->first(); - $xml = 'resources/' . $module->xmlFilename(); - $vars = [ + $module = new IndividualFamiliesReportModule(); + $module->setName('individual_ext_report'); + + $xml = 'resources/' . $module->xmlFilename(); + $vars = [ 'pid' => ['id' => 'X1030'], 'relatives' => ['id' => 'child-families'], 'maxgen' => ['id' => '4'], diff --git a/tests/app/Module/IndividualListModuleTest.php b/tests/app/Module/IndividualListModuleTest.php index 77a824b5a17..e390c0f3155 100644 --- a/tests/app/Module/IndividualListModuleTest.php +++ b/tests/app/Module/IndividualListModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class IndividualListModule * - * @covers \Fisharebest\Webtrees\Module\IndividualListModule + * @covers Fisharebest\Webtrees\Module\IndividualListModule */ class IndividualListModuleTest extends TestCase { diff --git a/tests/app/Module/IndividualMetadataModuleTest.php b/tests/app/Module/IndividualMetadataModuleTest.php index 49a7db7e81c..6b7c950742c 100644 --- a/tests/app/Module/IndividualMetadataModuleTest.php +++ b/tests/app/Module/IndividualMetadataModuleTest.php @@ -30,8 +30,6 @@ class IndividualMetadataModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/IndividualReportModuleTest.php b/tests/app/Module/IndividualReportModuleTest.php index 5c5aa175521..101f579b277 100644 --- a/tests/app/Module/IndividualReportModuleTest.php +++ b/tests/app/Module/IndividualReportModuleTest.php @@ -25,7 +25,6 @@ use Fisharebest\Webtrees\Report\PdfRenderer; use Fisharebest\Webtrees\Report\ReportParserGenerate; use Fisharebest\Webtrees\Report\ReportParserSetup; -use Fisharebest\Webtrees\Services\ModuleService; use Fisharebest\Webtrees\Services\UserService; use Fisharebest\Webtrees\TestCase; @@ -66,21 +65,19 @@ class IndividualReportModuleTest extends TestCase * @covers \Fisharebest\Webtrees\Report\ReportPdfText * @covers \Fisharebest\Webtrees\Report\ReportPdfTextBox * @covers \Fisharebest\Webtrees\Report\TcpdfWrapper - * - * @return void */ public function testReportRunsWithoutError(): void { - $module_service = new ModuleService(); - $user = (new UserService())->create('user', 'User', 'user@example.com', 'secret'); $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); Auth::login($user); $tree = $this->importTree('demo.ged'); - $module = $module_service->findByInterface(IndividualReportModule::class)->first(); - $xml = 'resources/' . $module->xmlFilename(); - $vars = [ + $module = new IndividualReportModule(); + $module->setName('individual_report'); + + $xml = 'resources/' . $module->xmlFilename(); + $vars = [ 'id' => ['id' => 'X1030'], 'sources' => ['id' => 'on'], 'notes' => ['id' => 'on'], diff --git a/tests/app/Module/InteractiveTree/TreeViewTest.php b/tests/app/Module/InteractiveTree/TreeViewTest.php index c6cece333d6..1dbab9a4327 100644 --- a/tests/app/Module/InteractiveTree/TreeViewTest.php +++ b/tests/app/Module/InteractiveTree/TreeViewTest.php @@ -30,8 +30,6 @@ class TreeViewTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/InteractiveTreeModuleTest.php b/tests/app/Module/InteractiveTreeModuleTest.php index a4e9ac75edf..0243847e900 100644 --- a/tests/app/Module/InteractiveTreeModuleTest.php +++ b/tests/app/Module/InteractiveTreeModuleTest.php @@ -30,8 +30,6 @@ class InteractiveTreeModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/LanguageAfrikaansTest.php b/tests/app/Module/LanguageAfrikaansTest.php index a74f98bf7d9..c402c957483 100644 --- a/tests/app/Module/LanguageAfrikaansTest.php +++ b/tests/app/Module/LanguageAfrikaansTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageAfrikaans * - * @covers \Fisharebest\Webtrees\Module\LanguageAfrikaans + * @covers Fisharebest\Webtrees\Module\LanguageAfrikaans */ class LanguageAfrikaansTest extends TestCase { diff --git a/tests/app/Module/LanguageAlbanianTest.php b/tests/app/Module/LanguageAlbanianTest.php index 1539e32b857..61b1028d57e 100644 --- a/tests/app/Module/LanguageAlbanianTest.php +++ b/tests/app/Module/LanguageAlbanianTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageAlbanian * - * @covers \Fisharebest\Webtrees\Module\LanguageAlbanian + * @covers Fisharebest\Webtrees\Module\LanguageAlbanian */ class LanguageAlbanianTest extends TestCase { diff --git a/tests/app/Module/LanguageArabicTest.php b/tests/app/Module/LanguageArabicTest.php index 1f382c47ca2..fac82e28396 100644 --- a/tests/app/Module/LanguageArabicTest.php +++ b/tests/app/Module/LanguageArabicTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageArabic * - * @covers \Fisharebest\Webtrees\Module\LanguageArabic + * @covers Fisharebest\Webtrees\Module\LanguageArabic */ class LanguageArabicTest extends TestCase { diff --git a/tests/app/Module/LanguageBosnianTest.php b/tests/app/Module/LanguageBosnianTest.php index 71b845c0635..45e3b2bde78 100644 --- a/tests/app/Module/LanguageBosnianTest.php +++ b/tests/app/Module/LanguageBosnianTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageBosnian * - * @covers \Fisharebest\Webtrees\Module\LanguageBosnian + * @covers Fisharebest\Webtrees\Module\LanguageBosnian */ class LanguageBosnianTest extends TestCase { diff --git a/tests/app/Module/LanguageBulgarianTest.php b/tests/app/Module/LanguageBulgarianTest.php index a906ef1fe80..b9ab8adf486 100644 --- a/tests/app/Module/LanguageBulgarianTest.php +++ b/tests/app/Module/LanguageBulgarianTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageBulgarian * - * @covers \Fisharebest\Webtrees\Module\LanguageBulgarian + * @covers Fisharebest\Webtrees\Module\LanguageBulgarian */ class LanguageBulgarianTest extends TestCase { diff --git a/tests/app/Module/LanguageCatalanTest.php b/tests/app/Module/LanguageCatalanTest.php index 589f9764d39..aa50b83586e 100644 --- a/tests/app/Module/LanguageCatalanTest.php +++ b/tests/app/Module/LanguageCatalanTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageCatalan * - * @covers \Fisharebest\Webtrees\Module\LanguageCatalan + * @covers Fisharebest\Webtrees\Module\LanguageCatalan */ class LanguageCatalanTest extends TestCase { diff --git a/tests/app/Module/LanguageChineseSimplifiedTest.php b/tests/app/Module/LanguageChineseSimplifiedTest.php index cf63c7bdb2f..49091ff1451 100644 --- a/tests/app/Module/LanguageChineseSimplifiedTest.php +++ b/tests/app/Module/LanguageChineseSimplifiedTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageChineseSimplified * - * @covers \Fisharebest\Webtrees\Module\LanguageChineseSimplified + * @covers Fisharebest\Webtrees\Module\LanguageChineseSimplified */ class LanguageChineseSimplifiedTest extends TestCase { diff --git a/tests/app/Module/LanguageChineseTraditionalTest.php b/tests/app/Module/LanguageChineseTraditionalTest.php index 8f4d8764808..8cdae70b2c1 100644 --- a/tests/app/Module/LanguageChineseTraditionalTest.php +++ b/tests/app/Module/LanguageChineseTraditionalTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageChineseTraditional * - * @covers \Fisharebest\Webtrees\Module\LanguageChineseTraditional + * @covers Fisharebest\Webtrees\Module\LanguageChineseTraditional */ class LanguageChineseTraditionalTest extends TestCase { diff --git a/tests/app/Module/LanguageCroatianTest.php b/tests/app/Module/LanguageCroatianTest.php index 856c4c437f2..2a3be701ab7 100644 --- a/tests/app/Module/LanguageCroatianTest.php +++ b/tests/app/Module/LanguageCroatianTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageCroatian * - * @covers \Fisharebest\Webtrees\Module\LanguageCroatian + * @covers Fisharebest\Webtrees\Module\LanguageCroatian */ class LanguageCroatianTest extends TestCase { diff --git a/tests/app/Module/LanguageCzechTest.php b/tests/app/Module/LanguageCzechTest.php index a1dc7944655..dbb0efbcd23 100644 --- a/tests/app/Module/LanguageCzechTest.php +++ b/tests/app/Module/LanguageCzechTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageCzech * - * @covers \Fisharebest\Webtrees\Module\LanguageCzech + * @covers Fisharebest\Webtrees\Module\LanguageCzech */ class LanguageCzechTest extends TestCase { diff --git a/tests/app/Module/LanguageDanishTest.php b/tests/app/Module/LanguageDanishTest.php index d028d320d96..d34fe6bf3b2 100644 --- a/tests/app/Module/LanguageDanishTest.php +++ b/tests/app/Module/LanguageDanishTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageDanish * - * @covers \Fisharebest\Webtrees\Module\LanguageDanish + * @covers Fisharebest\Webtrees\Module\LanguageDanish */ class LanguageDanishTest extends TestCase { diff --git a/tests/app/Module/LanguageDivehiTest.php b/tests/app/Module/LanguageDivehiTest.php index 2e50e69735f..68af11d08ea 100644 --- a/tests/app/Module/LanguageDivehiTest.php +++ b/tests/app/Module/LanguageDivehiTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageDivehi * - * @covers \Fisharebest\Webtrees\Module\LanguageDivehi + * @covers Fisharebest\Webtrees\Module\LanguageDivehi */ class LanguageDivehiTest extends TestCase { diff --git a/tests/app/Module/LanguageDutchTest.php b/tests/app/Module/LanguageDutchTest.php index f1281953ed7..203b2ff4a40 100644 --- a/tests/app/Module/LanguageDutchTest.php +++ b/tests/app/Module/LanguageDutchTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageDutch * - * @covers \Fisharebest\Webtrees\Module\LanguageDutch + * @covers Fisharebest\Webtrees\Module\LanguageDutch */ class LanguageDutchTest extends TestCase { diff --git a/tests/app/Module/LanguageEnglishAustraliaTest.php b/tests/app/Module/LanguageEnglishAustraliaTest.php index 269e0c8f6aa..dee8c32845c 100644 --- a/tests/app/Module/LanguageEnglishAustraliaTest.php +++ b/tests/app/Module/LanguageEnglishAustraliaTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageEnglishAustralia * - * @covers \Fisharebest\Webtrees\Module\LanguageEnglishAustralia + * @covers Fisharebest\Webtrees\Module\LanguageEnglishAustralia */ class LanguageEnglishAustraliaTest extends TestCase { diff --git a/tests/app/Module/LanguageEnglishGreatBritainTest.php b/tests/app/Module/LanguageEnglishGreatBritainTest.php index c74d70ef4fd..ef91432b308 100644 --- a/tests/app/Module/LanguageEnglishGreatBritainTest.php +++ b/tests/app/Module/LanguageEnglishGreatBritainTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageEnglishGreatBritain * - * @covers \Fisharebest\Webtrees\Module\LanguageEnglishGreatBritain + * @covers Fisharebest\Webtrees\Module\LanguageEnglishGreatBritain */ class LanguageEnglishGreatBritainTest extends TestCase { diff --git a/tests/app/Module/LanguageEnglishUnitedStatesTest.php b/tests/app/Module/LanguageEnglishUnitedStatesTest.php index a788a991f21..d10c74e898d 100644 --- a/tests/app/Module/LanguageEnglishUnitedStatesTest.php +++ b/tests/app/Module/LanguageEnglishUnitedStatesTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageEnglishUnitedStates * - * @covers \Fisharebest\Webtrees\Module\LanguageEnglishUnitedStates + * @covers Fisharebest\Webtrees\Module\LanguageEnglishUnitedStates */ class LanguageEnglishUnitedStatesTest extends TestCase { diff --git a/tests/app/Module/LanguageEstonianTest.php b/tests/app/Module/LanguageEstonianTest.php index 6ae02ca0421..29a460660c4 100644 --- a/tests/app/Module/LanguageEstonianTest.php +++ b/tests/app/Module/LanguageEstonianTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageEstonian * - * @covers \Fisharebest\Webtrees\Module\LanguageEstonian + * @covers Fisharebest\Webtrees\Module\LanguageEstonian */ class LanguageEstonianTest extends TestCase { diff --git a/tests/app/Module/LanguageFaroeseTest.php b/tests/app/Module/LanguageFaroeseTest.php index d50de1ffe31..3bba981f459 100644 --- a/tests/app/Module/LanguageFaroeseTest.php +++ b/tests/app/Module/LanguageFaroeseTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageFaroese * - * @covers \Fisharebest\Webtrees\Module\LanguageFaroese + * @covers Fisharebest\Webtrees\Module\LanguageFaroese */ class LanguageFaroeseTest extends TestCase { diff --git a/tests/app/Module/LanguageFarsiTest.php b/tests/app/Module/LanguageFarsiTest.php index bc38c2d1040..ec1a61b877a 100644 --- a/tests/app/Module/LanguageFarsiTest.php +++ b/tests/app/Module/LanguageFarsiTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageFarsi * - * @covers \Fisharebest\Webtrees\Module\LanguageFarsi + * @covers Fisharebest\Webtrees\Module\LanguageFarsi */ class LanguageFarsiTest extends TestCase { diff --git a/tests/app/Module/LanguageFinnishTest.php b/tests/app/Module/LanguageFinnishTest.php index eba0ea7acf5..b77b509bad3 100644 --- a/tests/app/Module/LanguageFinnishTest.php +++ b/tests/app/Module/LanguageFinnishTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageFinnish * - * @covers \Fisharebest\Webtrees\Module\LanguageFinnish + * @covers Fisharebest\Webtrees\Module\LanguageFinnish */ class LanguageFinnishTest extends TestCase { diff --git a/tests/app/Module/LanguageFrenchCanadaTest.php b/tests/app/Module/LanguageFrenchCanadaTest.php index 1bbf920adbb..b0b6f6662e2 100644 --- a/tests/app/Module/LanguageFrenchCanadaTest.php +++ b/tests/app/Module/LanguageFrenchCanadaTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageFrenchCanada * - * @covers \Fisharebest\Webtrees\Module\LanguageFrenchCanada + * @covers Fisharebest\Webtrees\Module\LanguageFrenchCanada */ class LanguageFrenchCanadaTest extends TestCase { diff --git a/tests/app/Module/LanguageFrenchTest.php b/tests/app/Module/LanguageFrenchTest.php index 830edfcc9d5..a8b1f04a391 100644 --- a/tests/app/Module/LanguageFrenchTest.php +++ b/tests/app/Module/LanguageFrenchTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageFrench * - * @covers \Fisharebest\Webtrees\Module\LanguageFrench + * @covers Fisharebest\Webtrees\Module\LanguageFrench */ class LanguageFrenchTest extends TestCase { diff --git a/tests/app/Module/LanguageGalicianTest.php b/tests/app/Module/LanguageGalicianTest.php index b12f5263eff..b5f8b554570 100644 --- a/tests/app/Module/LanguageGalicianTest.php +++ b/tests/app/Module/LanguageGalicianTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageGalician * - * @covers \Fisharebest\Webtrees\Module\LanguageGalician + * @covers Fisharebest\Webtrees\Module\LanguageGalician */ class LanguageGalicianTest extends TestCase { diff --git a/tests/app/Module/LanguageGeorgianTest.php b/tests/app/Module/LanguageGeorgianTest.php index 52472f40a20..65d99cb4c60 100644 --- a/tests/app/Module/LanguageGeorgianTest.php +++ b/tests/app/Module/LanguageGeorgianTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageGeorgian * - * @covers \Fisharebest\Webtrees\Module\LanguageGeorgian + * @covers Fisharebest\Webtrees\Module\LanguageGeorgian */ class LanguageGeorgianTest extends TestCase { diff --git a/tests/app/Module/LanguageGermanTest.php b/tests/app/Module/LanguageGermanTest.php index 1509840d4bb..9a367165304 100644 --- a/tests/app/Module/LanguageGermanTest.php +++ b/tests/app/Module/LanguageGermanTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageGerman * - * @covers \Fisharebest\Webtrees\Module\LanguageGerman + * @covers Fisharebest\Webtrees\Module\LanguageGerman */ class LanguageGermanTest extends TestCase { diff --git a/tests/app/Module/LanguageGreekTest.php b/tests/app/Module/LanguageGreekTest.php index 3deab9d0247..a15acf1436f 100644 --- a/tests/app/Module/LanguageGreekTest.php +++ b/tests/app/Module/LanguageGreekTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageGreek * - * @covers \Fisharebest\Webtrees\Module\LanguageGreek + * @covers Fisharebest\Webtrees\Module\LanguageGreek */ class LanguageGreekTest extends TestCase { diff --git a/tests/app/Module/LanguageHebrewTest.php b/tests/app/Module/LanguageHebrewTest.php index 616e8dcc707..e83cc9c6e02 100644 --- a/tests/app/Module/LanguageHebrewTest.php +++ b/tests/app/Module/LanguageHebrewTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageHebrew * - * @covers \Fisharebest\Webtrees\Module\LanguageHebrew + * @covers Fisharebest\Webtrees\Module\LanguageHebrew */ class LanguageHebrewTest extends TestCase { diff --git a/tests/app/Module/LanguageHindiTest.php b/tests/app/Module/LanguageHindiTest.php index 7ad4e5a6b89..3dc90498e5a 100644 --- a/tests/app/Module/LanguageHindiTest.php +++ b/tests/app/Module/LanguageHindiTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageHindi * - * @covers \Fisharebest\Webtrees\Module\LanguageHindi + * @covers Fisharebest\Webtrees\Module\LanguageHindi */ class LanguageHindiTest extends TestCase { diff --git a/tests/app/Module/LanguageHungarianTest.php b/tests/app/Module/LanguageHungarianTest.php index a8a90e21b65..00f6a04a140 100644 --- a/tests/app/Module/LanguageHungarianTest.php +++ b/tests/app/Module/LanguageHungarianTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageHungarian * - * @covers \Fisharebest\Webtrees\Module\LanguageHungarian + * @covers Fisharebest\Webtrees\Module\LanguageHungarian */ class LanguageHungarianTest extends TestCase { diff --git a/tests/app/Module/LanguageIcelandicTest.php b/tests/app/Module/LanguageIcelandicTest.php index e85e5f3a944..ff465737a76 100644 --- a/tests/app/Module/LanguageIcelandicTest.php +++ b/tests/app/Module/LanguageIcelandicTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageIcelandic * - * @covers \Fisharebest\Webtrees\Module\LanguageIcelandic + * @covers Fisharebest\Webtrees\Module\LanguageIcelandic */ class LanguageIcelandicTest extends TestCase { diff --git a/tests/app/Module/LanguageIndonesianTest.php b/tests/app/Module/LanguageIndonesianTest.php index 6f35c0ac6e5..a0f2fd9bd00 100644 --- a/tests/app/Module/LanguageIndonesianTest.php +++ b/tests/app/Module/LanguageIndonesianTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageIndonesian * - * @covers \Fisharebest\Webtrees\Module\LanguageIndonesian + * @covers Fisharebest\Webtrees\Module\LanguageIndonesian */ class LanguageIndonesianTest extends TestCase { diff --git a/tests/app/Module/LanguageItalianTest.php b/tests/app/Module/LanguageItalianTest.php index b3d74089c13..91802264244 100644 --- a/tests/app/Module/LanguageItalianTest.php +++ b/tests/app/Module/LanguageItalianTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageItalian * - * @covers \Fisharebest\Webtrees\Module\LanguageItalian + * @covers Fisharebest\Webtrees\Module\LanguageItalian */ class LanguageItalianTest extends TestCase { diff --git a/tests/app/Module/LanguageJapaneseTest.php b/tests/app/Module/LanguageJapaneseTest.php index e8408877681..1db5ed00681 100644 --- a/tests/app/Module/LanguageJapaneseTest.php +++ b/tests/app/Module/LanguageJapaneseTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageJapanese * - * @covers \Fisharebest\Webtrees\Module\LanguageJapanese + * @covers Fisharebest\Webtrees\Module\LanguageJapanese */ class LanguageJapaneseTest extends TestCase { diff --git a/tests/app/Module/LanguageJavaneseTest.php b/tests/app/Module/LanguageJavaneseTest.php index 206800e0cae..779063cd6ea 100644 --- a/tests/app/Module/LanguageJavaneseTest.php +++ b/tests/app/Module/LanguageJavaneseTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageJavanese * - * @covers \Fisharebest\Webtrees\Module\LanguageJavanese + * @covers Fisharebest\Webtrees\Module\LanguageJavanese */ class LanguageJavaneseTest extends TestCase { diff --git a/tests/app/Module/LanguageKazhakTest.php b/tests/app/Module/LanguageKazhakTest.php index 5a2ebf97905..0d958e63bb2 100644 --- a/tests/app/Module/LanguageKazhakTest.php +++ b/tests/app/Module/LanguageKazhakTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageKazhak * - * @covers \Fisharebest\Webtrees\Module\LanguageKazhak + * @covers Fisharebest\Webtrees\Module\LanguageKazhak */ class LanguageKazhakTest extends TestCase { diff --git a/tests/app/Module/LanguageKoreanTest.php b/tests/app/Module/LanguageKoreanTest.php index c40afea0576..a3ddc69f607 100644 --- a/tests/app/Module/LanguageKoreanTest.php +++ b/tests/app/Module/LanguageKoreanTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageKorean * - * @covers \Fisharebest\Webtrees\Module\LanguageKorean + * @covers Fisharebest\Webtrees\Module\LanguageKorean */ class LanguageKoreanTest extends TestCase { diff --git a/tests/app/Module/LanguageKurdishTest.php b/tests/app/Module/LanguageKurdishTest.php index 2f1f398cd8a..7b3e85ba0ea 100644 --- a/tests/app/Module/LanguageKurdishTest.php +++ b/tests/app/Module/LanguageKurdishTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageKurdish * - * @covers \Fisharebest\Webtrees\Module\LanguageKurdish + * @covers Fisharebest\Webtrees\Module\LanguageKurdish */ class LanguageKurdishTest extends TestCase { diff --git a/tests/app/Module/LanguageLatvianTest.php b/tests/app/Module/LanguageLatvianTest.php index 296dfa14c03..5842a08a1ce 100644 --- a/tests/app/Module/LanguageLatvianTest.php +++ b/tests/app/Module/LanguageLatvianTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageLatvian * - * @covers \Fisharebest\Webtrees\Module\LanguageLatvian + * @covers Fisharebest\Webtrees\Module\LanguageLatvian */ class LanguageLatvianTest extends TestCase { diff --git a/tests/app/Module/LanguageLingalaTest.php b/tests/app/Module/LanguageLingalaTest.php index 0b2ecdfb840..18f89bd2bd1 100644 --- a/tests/app/Module/LanguageLingalaTest.php +++ b/tests/app/Module/LanguageLingalaTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageLingala * - * @covers \Fisharebest\Webtrees\Module\LanguageLingala + * @covers Fisharebest\Webtrees\Module\LanguageLingala */ class LanguageLingalaTest extends TestCase { diff --git a/tests/app/Module/LanguageLithuanianTest.php b/tests/app/Module/LanguageLithuanianTest.php index 26ec33489cd..737f0484cfc 100644 --- a/tests/app/Module/LanguageLithuanianTest.php +++ b/tests/app/Module/LanguageLithuanianTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageLithuanian * - * @covers \Fisharebest\Webtrees\Module\LanguageLithuanian + * @covers Fisharebest\Webtrees\Module\LanguageLithuanian */ class LanguageLithuanianTest extends TestCase { diff --git a/tests/app/Module/LanguageMalayTest.php b/tests/app/Module/LanguageMalayTest.php index 083567fed13..44147d9ebe1 100644 --- a/tests/app/Module/LanguageMalayTest.php +++ b/tests/app/Module/LanguageMalayTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageMalay * - * @covers \Fisharebest\Webtrees\Module\LanguageMalay + * @covers Fisharebest\Webtrees\Module\LanguageMalay */ class LanguageMalayTest extends TestCase { diff --git a/tests/app/Module/LanguageMaoriTest.php b/tests/app/Module/LanguageMaoriTest.php index a01afa5f3ce..134042d898c 100644 --- a/tests/app/Module/LanguageMaoriTest.php +++ b/tests/app/Module/LanguageMaoriTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageMaori * - * @covers \Fisharebest\Webtrees\Module\LanguageMaori + * @covers Fisharebest\Webtrees\Module\LanguageMaori */ class LanguageMaoriTest extends TestCase { diff --git a/tests/app/Module/LanguageMarathiTest.php b/tests/app/Module/LanguageMarathiTest.php index bcf507596af..05712d7cca5 100644 --- a/tests/app/Module/LanguageMarathiTest.php +++ b/tests/app/Module/LanguageMarathiTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageMarathi * - * @covers \Fisharebest\Webtrees\Module\LanguageMarathi + * @covers Fisharebest\Webtrees\Module\LanguageMarathi */ class LanguageMarathiTest extends TestCase { diff --git a/tests/app/Module/LanguageNepaleseTest.php b/tests/app/Module/LanguageNepaleseTest.php index 5b6cad74a38..095416238f1 100644 --- a/tests/app/Module/LanguageNepaleseTest.php +++ b/tests/app/Module/LanguageNepaleseTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageNepalese * - * @covers \Fisharebest\Webtrees\Module\LanguageNepalese + * @covers Fisharebest\Webtrees\Module\LanguageNepalese */ class LanguageNepaleseTest extends TestCase { diff --git a/tests/app/Module/LanguageNorwegianBokmalTest.php b/tests/app/Module/LanguageNorwegianBokmalTest.php index 6e07e361368..cf0d79887b4 100644 --- a/tests/app/Module/LanguageNorwegianBokmalTest.php +++ b/tests/app/Module/LanguageNorwegianBokmalTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageNorwegianBokmal * - * @covers \Fisharebest\Webtrees\Module\LanguageNorwegianBokmal + * @covers Fisharebest\Webtrees\Module\LanguageNorwegianBokmal */ class LanguageNorwegianBokmalTest extends TestCase { diff --git a/tests/app/Module/LanguageNorwegianNynorskTest.php b/tests/app/Module/LanguageNorwegianNynorskTest.php index 0875241f808..3fee7846736 100644 --- a/tests/app/Module/LanguageNorwegianNynorskTest.php +++ b/tests/app/Module/LanguageNorwegianNynorskTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageNorwegianNynorsk * - * @covers \Fisharebest\Webtrees\Module\LanguageNorwegianNynorsk + * @covers Fisharebest\Webtrees\Module\LanguageNorwegianNynorsk */ class LanguageNorwegianNynorskTest extends TestCase { diff --git a/tests/app/Module/LanguageOccitanTest.php b/tests/app/Module/LanguageOccitanTest.php index 5907aaf235f..463091bd4ad 100644 --- a/tests/app/Module/LanguageOccitanTest.php +++ b/tests/app/Module/LanguageOccitanTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageOccitan * - * @covers \Fisharebest\Webtrees\Module\LanguageOccitan + * @covers Fisharebest\Webtrees\Module\LanguageOccitan */ class LanguageOccitanTest extends TestCase { diff --git a/tests/app/Module/LanguagePolishTest.php b/tests/app/Module/LanguagePolishTest.php index cac436b3c8e..c4f878df242 100644 --- a/tests/app/Module/LanguagePolishTest.php +++ b/tests/app/Module/LanguagePolishTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguagePolish * - * @covers \Fisharebest\Webtrees\Module\LanguagePolish + * @covers Fisharebest\Webtrees\Module\LanguagePolish */ class LanguagePolishTest extends TestCase { diff --git a/tests/app/Module/LanguagePortugueseBrazilTest.php b/tests/app/Module/LanguagePortugueseBrazilTest.php index 79360d4ea96..3bcd2a92721 100644 --- a/tests/app/Module/LanguagePortugueseBrazilTest.php +++ b/tests/app/Module/LanguagePortugueseBrazilTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguagePortugueseBrazil * - * @covers \Fisharebest\Webtrees\Module\LanguagePortugueseBrazil + * @covers Fisharebest\Webtrees\Module\LanguagePortugueseBrazil */ class LanguagePortugueseBrazilTest extends TestCase { diff --git a/tests/app/Module/LanguagePortugueseTest.php b/tests/app/Module/LanguagePortugueseTest.php index 3731d312ba1..34e3220fb55 100644 --- a/tests/app/Module/LanguagePortugueseTest.php +++ b/tests/app/Module/LanguagePortugueseTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguagePortuguese * - * @covers \Fisharebest\Webtrees\Module\LanguagePortuguese + * @covers Fisharebest\Webtrees\Module\LanguagePortuguese */ class LanguagePortugueseTest extends TestCase { diff --git a/tests/app/Module/LanguageRomanianTest.php b/tests/app/Module/LanguageRomanianTest.php index 44df6d3f0a6..869f5c28624 100644 --- a/tests/app/Module/LanguageRomanianTest.php +++ b/tests/app/Module/LanguageRomanianTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageRomanian * - * @covers \Fisharebest\Webtrees\Module\LanguageRomanian + * @covers Fisharebest\Webtrees\Module\LanguageRomanian */ class LanguageRomanianTest extends TestCase { diff --git a/tests/app/Module/LanguageRussianTest.php b/tests/app/Module/LanguageRussianTest.php index 80d771000a6..043e79cab40 100644 --- a/tests/app/Module/LanguageRussianTest.php +++ b/tests/app/Module/LanguageRussianTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageRussian * - * @covers \Fisharebest\Webtrees\Module\LanguageRussian + * @covers Fisharebest\Webtrees\Module\LanguageRussian */ class LanguageRussianTest extends TestCase { diff --git a/tests/app/Module/LanguageSerbianLatinTest.php b/tests/app/Module/LanguageSerbianLatinTest.php index 56cd05277db..68e553afb55 100644 --- a/tests/app/Module/LanguageSerbianLatinTest.php +++ b/tests/app/Module/LanguageSerbianLatinTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageSerbianLatin * - * @covers \Fisharebest\Webtrees\Module\LanguageSerbianLatin + * @covers Fisharebest\Webtrees\Module\LanguageSerbianLatin */ class LanguageSerbianLatinTest extends TestCase { diff --git a/tests/app/Module/LanguageSerbianTest.php b/tests/app/Module/LanguageSerbianTest.php index 9810f64fcb7..ca9a43c63a3 100644 --- a/tests/app/Module/LanguageSerbianTest.php +++ b/tests/app/Module/LanguageSerbianTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageSerbian * - * @covers \Fisharebest\Webtrees\Module\LanguageSerbian + * @covers Fisharebest\Webtrees\Module\LanguageSerbian */ class LanguageSerbianTest extends TestCase { diff --git a/tests/app/Module/LanguageSlovakianTest.php b/tests/app/Module/LanguageSlovakianTest.php index 17e6c4c43fc..0cb78023088 100644 --- a/tests/app/Module/LanguageSlovakianTest.php +++ b/tests/app/Module/LanguageSlovakianTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageSlovakian * - * @covers \Fisharebest\Webtrees\Module\LanguageSlovakian + * @covers Fisharebest\Webtrees\Module\LanguageSlovakian */ class LanguageSlovakianTest extends TestCase { diff --git a/tests/app/Module/LanguageSlovenianTest.php b/tests/app/Module/LanguageSlovenianTest.php index 7813f05420b..dad0d79cfcb 100644 --- a/tests/app/Module/LanguageSlovenianTest.php +++ b/tests/app/Module/LanguageSlovenianTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageSlovenian * - * @covers \Fisharebest\Webtrees\Module\LanguageSlovenian + * @covers Fisharebest\Webtrees\Module\LanguageSlovenian */ class LanguageSlovenianTest extends TestCase { diff --git a/tests/app/Module/LanguageSpanishTest.php b/tests/app/Module/LanguageSpanishTest.php index ff01b42712c..24e6cdb9d93 100644 --- a/tests/app/Module/LanguageSpanishTest.php +++ b/tests/app/Module/LanguageSpanishTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageSpanish * - * @covers \Fisharebest\Webtrees\Module\LanguageSpanish + * @covers Fisharebest\Webtrees\Module\LanguageSpanish */ class LanguageSpanishTest extends TestCase { diff --git a/tests/app/Module/LanguageSundaneseTest.php b/tests/app/Module/LanguageSundaneseTest.php index e2685a3a64b..df4018ae078 100644 --- a/tests/app/Module/LanguageSundaneseTest.php +++ b/tests/app/Module/LanguageSundaneseTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageSundanese * - * @covers \Fisharebest\Webtrees\Module\LanguageSundanese + * @covers Fisharebest\Webtrees\Module\LanguageSundanese */ class LanguageSundaneseTest extends TestCase { diff --git a/tests/app/Module/LanguageSwahiliTest.php b/tests/app/Module/LanguageSwahiliTest.php index 44005c543c1..8d332ca9d6d 100644 --- a/tests/app/Module/LanguageSwahiliTest.php +++ b/tests/app/Module/LanguageSwahiliTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageSwahili * - * @covers \Fisharebest\Webtrees\Module\LanguageSwahili + * @covers Fisharebest\Webtrees\Module\LanguageSwahili */ class LanguageSwahiliTest extends TestCase { diff --git a/tests/app/Module/LanguageSwedishTest.php b/tests/app/Module/LanguageSwedishTest.php index 5f19ff577b5..19235d46721 100644 --- a/tests/app/Module/LanguageSwedishTest.php +++ b/tests/app/Module/LanguageSwedishTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageSwedish * - * @covers \Fisharebest\Webtrees\Module\LanguageSwedish + * @covers Fisharebest\Webtrees\Module\LanguageSwedish */ class LanguageSwedishTest extends TestCase { diff --git a/tests/app/Module/LanguageTagalogTest.php b/tests/app/Module/LanguageTagalogTest.php index a1760652232..160a9315b4e 100644 --- a/tests/app/Module/LanguageTagalogTest.php +++ b/tests/app/Module/LanguageTagalogTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageTagalog * - * @covers \Fisharebest\Webtrees\Module\LanguageTagalog + * @covers Fisharebest\Webtrees\Module\LanguageTagalog */ class LanguageTagalogTest extends TestCase { diff --git a/tests/app/Module/LanguageTamilTest.php b/tests/app/Module/LanguageTamilTest.php index f2d6a274b52..2f43ed520c3 100644 --- a/tests/app/Module/LanguageTamilTest.php +++ b/tests/app/Module/LanguageTamilTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageTamil * - * @covers \Fisharebest\Webtrees\Module\LanguageTamil + * @covers Fisharebest\Webtrees\Module\LanguageTamil */ class LanguageTamilTest extends TestCase { diff --git a/tests/app/Module/LanguageTatarTest.php b/tests/app/Module/LanguageTatarTest.php index 999e2f73876..829767aadc1 100644 --- a/tests/app/Module/LanguageTatarTest.php +++ b/tests/app/Module/LanguageTatarTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageTatar * - * @covers \Fisharebest\Webtrees\Module\LanguageTatar + * @covers Fisharebest\Webtrees\Module\LanguageTatar */ class LanguageTatarTest extends TestCase { diff --git a/tests/app/Module/LanguageThaiTest.php b/tests/app/Module/LanguageThaiTest.php index 87858624eaa..81538096a45 100644 --- a/tests/app/Module/LanguageThaiTest.php +++ b/tests/app/Module/LanguageThaiTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageThai * - * @covers \Fisharebest\Webtrees\Module\LanguageThai + * @covers Fisharebest\Webtrees\Module\LanguageThai */ class LanguageThaiTest extends TestCase { diff --git a/tests/app/Module/LanguageTurkishTest.php b/tests/app/Module/LanguageTurkishTest.php index 007444692fd..aba4d58bf65 100644 --- a/tests/app/Module/LanguageTurkishTest.php +++ b/tests/app/Module/LanguageTurkishTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageTurkish * - * @covers \Fisharebest\Webtrees\Module\LanguageTurkish + * @covers Fisharebest\Webtrees\Module\LanguageTurkish */ class LanguageTurkishTest extends TestCase { diff --git a/tests/app/Module/LanguageUkranianTest.php b/tests/app/Module/LanguageUkranianTest.php index a9d818567c9..67a0b97abfa 100644 --- a/tests/app/Module/LanguageUkranianTest.php +++ b/tests/app/Module/LanguageUkranianTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageUkranian * - * @covers \Fisharebest\Webtrees\Module\LanguageUkranian + * @covers Fisharebest\Webtrees\Module\LanguageUkranian */ class LanguageUkranianTest extends TestCase { diff --git a/tests/app/Module/LanguageUrduTest.php b/tests/app/Module/LanguageUrduTest.php index 8c7aa3f3fa2..443e14e47fa 100644 --- a/tests/app/Module/LanguageUrduTest.php +++ b/tests/app/Module/LanguageUrduTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageUrdu * - * @covers \Fisharebest\Webtrees\Module\LanguageUrdu + * @covers Fisharebest\Webtrees\Module\LanguageUrdu */ class LanguageUrduTest extends TestCase { diff --git a/tests/app/Module/LanguageVietnameseTest.php b/tests/app/Module/LanguageVietnameseTest.php index bd490c6dd58..289b3aadcac 100644 --- a/tests/app/Module/LanguageVietnameseTest.php +++ b/tests/app/Module/LanguageVietnameseTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageVietnamese * - * @covers \Fisharebest\Webtrees\Module\LanguageVietnamese + * @covers Fisharebest\Webtrees\Module\LanguageVietnamese */ class LanguageVietnameseTest extends TestCase { diff --git a/tests/app/Module/LanguageWelshTest.php b/tests/app/Module/LanguageWelshTest.php index e072918a74f..5a90c5e7017 100644 --- a/tests/app/Module/LanguageWelshTest.php +++ b/tests/app/Module/LanguageWelshTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageWelsh * - * @covers \Fisharebest\Webtrees\Module\LanguageWelsh + * @covers Fisharebest\Webtrees\Module\LanguageWelsh */ class LanguageWelshTest extends TestCase { diff --git a/tests/app/Module/LanguageYiddishTest.php b/tests/app/Module/LanguageYiddishTest.php index e581c0c3f02..7eb7bfe0936 100644 --- a/tests/app/Module/LanguageYiddishTest.php +++ b/tests/app/Module/LanguageYiddishTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LanguageYiddish * - * @covers \Fisharebest\Webtrees\Module\LanguageYiddish + * @covers Fisharebest\Webtrees\Module\LanguageYiddish */ class LanguageYiddishTest extends TestCase { diff --git a/tests/app/Module/LifespansChartModuleTest.php b/tests/app/Module/LifespansChartModuleTest.php index ec8a13a7698..8013573a8d4 100644 --- a/tests/app/Module/LifespansChartModuleTest.php +++ b/tests/app/Module/LifespansChartModuleTest.php @@ -30,8 +30,6 @@ class LifespansChartModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/ListsMenuModuleTest.php b/tests/app/Module/ListsMenuModuleTest.php index 8815c585ddd..cbd8bdf345f 100644 --- a/tests/app/Module/ListsMenuModuleTest.php +++ b/tests/app/Module/ListsMenuModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ListsMenuModule * - * @covers \Fisharebest\Webtrees\Module\ListsMenuModule + * @covers Fisharebest\Webtrees\Module\ListsMenuModule */ class ListsMenuModuleTest extends TestCase { diff --git a/tests/app/Module/LocationListModuleTest.php b/tests/app/Module/LocationListModuleTest.php index bf7a6193f02..bf690abda9f 100644 --- a/tests/app/Module/LocationListModuleTest.php +++ b/tests/app/Module/LocationListModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LocationListModule * - * @covers \Fisharebest\Webtrees\Module\LocationListModule + * @covers Fisharebest\Webtrees\Module\LocationListModule */ class LocationListModuleTest extends TestCase { diff --git a/tests/app/Module/LoggedInUsersModuleTest.php b/tests/app/Module/LoggedInUsersModuleTest.php index 5b0a081d67c..29db3be5577 100644 --- a/tests/app/Module/LoggedInUsersModuleTest.php +++ b/tests/app/Module/LoggedInUsersModuleTest.php @@ -30,8 +30,6 @@ class LoggedInUsersModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/LoginBlockModuleTest.php b/tests/app/Module/LoginBlockModuleTest.php index ee3805a023d..640061919b9 100644 --- a/tests/app/Module/LoginBlockModuleTest.php +++ b/tests/app/Module/LoginBlockModuleTest.php @@ -30,8 +30,6 @@ class LoginBlockModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/LowCountriesRulersTest.php b/tests/app/Module/LowCountriesRulersTest.php index 2f6abb7320e..bf3240baeef 100644 --- a/tests/app/Module/LowCountriesRulersTest.php +++ b/tests/app/Module/LowCountriesRulersTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LowCountriesRulers * - * @covers \Fisharebest\Webtrees\Module\LowCountriesRulers + * @covers Fisharebest\Webtrees\Module\LowCountriesRulers */ class LowCountriesRulersTest extends TestCase { diff --git a/tests/app/Module/MapBoxTest.php b/tests/app/Module/MapBoxTest.php index 25572cfde3d..c11f51ed214 100644 --- a/tests/app/Module/MapBoxTest.php +++ b/tests/app/Module/MapBoxTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MapBox * - * @covers \Fisharebest\Webtrees\Module\MapBox + * @covers Fisharebest\Webtrees\Module\MapBox */ class MapBoxTest extends TestCase { diff --git a/tests/app/Module/MapGeoLocationGeonamesTest.php b/tests/app/Module/MapGeoLocationGeonamesTest.php index 4642b77799c..8c538edcae4 100644 --- a/tests/app/Module/MapGeoLocationGeonamesTest.php +++ b/tests/app/Module/MapGeoLocationGeonamesTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MapGeoLocationGeonames * - * @covers \Fisharebest\Webtrees\Module\MapGeoLocationGeonames + * @covers Fisharebest\Webtrees\Module\MapGeoLocationGeonames */ class MapGeoLocationGeonamesTest extends TestCase { diff --git a/tests/app/Module/MapGeoLocationNominatimTest.php b/tests/app/Module/MapGeoLocationNominatimTest.php index fd4c4448dfa..a83b2c65f61 100644 --- a/tests/app/Module/MapGeoLocationNominatimTest.php +++ b/tests/app/Module/MapGeoLocationNominatimTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MapGeoLocationNominatim * - * @covers \Fisharebest\Webtrees\Module\MapGeoLocationNominatim + * @covers Fisharebest\Webtrees\Module\MapGeoLocationNominatim */ class MapGeoLocationNominatimTest extends TestCase { diff --git a/tests/app/Module/MapGeoLocationOpenRouteServiceTest.php b/tests/app/Module/MapGeoLocationOpenRouteServiceTest.php index b62b32cc90e..73e3e72d9ec 100644 --- a/tests/app/Module/MapGeoLocationOpenRouteServiceTest.php +++ b/tests/app/Module/MapGeoLocationOpenRouteServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MapGeoLocationOpenRouteService * - * @covers \Fisharebest\Webtrees\Module\MapGeoLocationOpenRouteService + * @covers Fisharebest\Webtrees\Module\MapGeoLocationOpenRouteService */ class MapGeoLocationOpenRouteServiceTest extends TestCase { diff --git a/tests/app/Module/MapLinkBingTest.php b/tests/app/Module/MapLinkBingTest.php index 7321ef4c8b6..31568f75a9a 100644 --- a/tests/app/Module/MapLinkBingTest.php +++ b/tests/app/Module/MapLinkBingTest.php @@ -30,9 +30,6 @@ */ class MapLinkBingTest extends TestCase { - /** - * @return void - */ public function testNoCoordinates(): void { $module = new MapLinkBing(); @@ -48,8 +45,6 @@ public function testNoCoordinates(): void /** * Test that the class exists - * - * @return void */ public function testLink(): void { diff --git a/tests/app/Module/MapLinkGoogleTest.php b/tests/app/Module/MapLinkGoogleTest.php index 81d13f73283..164da70b6f9 100644 --- a/tests/app/Module/MapLinkGoogleTest.php +++ b/tests/app/Module/MapLinkGoogleTest.php @@ -30,9 +30,6 @@ */ class MapLinkGoogleTest extends TestCase { - /** - * @return void - */ public function testNoCoordinates(): void { $module = new MapLinkGoogle(); @@ -46,9 +43,6 @@ public function testNoCoordinates(): void static::assertSame('', $html); } - /** - * @return void - */ public function testLink(): void { $module = new MapLinkGoogle(); diff --git a/tests/app/Module/MapLinkOpenStreetMapTest.php b/tests/app/Module/MapLinkOpenStreetMapTest.php index 281403d6979..fb53d101fc7 100644 --- a/tests/app/Module/MapLinkOpenStreetMapTest.php +++ b/tests/app/Module/MapLinkOpenStreetMapTest.php @@ -30,9 +30,6 @@ */ class MapLinkOpenStreetMapTest extends TestCase { - /** - * @return void - */ public function testNoCoordinates(): void { $module = new MapLinkOpenStreetMap(); @@ -46,9 +43,6 @@ public function testNoCoordinates(): void static::assertSame('', $html); } - /** - * @return void - */ public function testLink(): void { $module = new MapLinkOpenStreetMap(); diff --git a/tests/app/Module/MarriageReportModuleTest.php b/tests/app/Module/MarriageReportModuleTest.php index b4378397118..0aec51bd110 100644 --- a/tests/app/Module/MarriageReportModuleTest.php +++ b/tests/app/Module/MarriageReportModuleTest.php @@ -25,7 +25,6 @@ use Fisharebest\Webtrees\Report\PdfRenderer; use Fisharebest\Webtrees\Report\ReportParserGenerate; use Fisharebest\Webtrees\Report\ReportParserSetup; -use Fisharebest\Webtrees\Services\ModuleService; use Fisharebest\Webtrees\Services\UserService; use Fisharebest\Webtrees\TestCase; @@ -66,21 +65,19 @@ class MarriageReportModuleTest extends TestCase * @covers \Fisharebest\Webtrees\Report\ReportPdfText * @covers \Fisharebest\Webtrees\Report\ReportPdfTextBox * @covers \Fisharebest\Webtrees\Report\TcpdfWrapper - * - * @return void */ public function testReportRunsWithoutError(): void { - $module_service = new ModuleService(); - $user = (new UserService())->create('user', 'User', 'user@example.com', 'secret'); $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); Auth::login($user); $tree = $this->importTree('demo.ged'); - $module = $module_service->findByInterface(MarriageReportModule::class)->first(); - $xml = 'resources/' . $module->xmlFilename(); - $vars = [ + $module = new MarriageReportModule(); + $module->setName('marriage_report'); + + $xml = 'resources/' . $module->xmlFilename(); + $vars = [ 'name' => ['id' => ''], 'marrplace' => ['id' => ''], 'marrdate1' => ['id' => ''], diff --git a/tests/app/Module/MatomoAnalyticsModuleTest.php b/tests/app/Module/MatomoAnalyticsModuleTest.php index c0477ba0084..f2bd14061c2 100644 --- a/tests/app/Module/MatomoAnalyticsModuleTest.php +++ b/tests/app/Module/MatomoAnalyticsModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MatomoAnalyticsModule * - * @covers \Fisharebest\Webtrees\Module\MatomoAnalyticsModule + * @covers Fisharebest\Webtrees\Module\MatomoAnalyticsModule */ class MatomoAnalyticsModuleTest extends TestCase { diff --git a/tests/app/Module/MediaListModuleTest.php b/tests/app/Module/MediaListModuleTest.php index 9b224d1b821..4a50af7516f 100644 --- a/tests/app/Module/MediaListModuleTest.php +++ b/tests/app/Module/MediaListModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MediaListModule * - * @covers \Fisharebest\Webtrees\Module\MediaListModule + * @covers Fisharebest\Webtrees\Module\MediaListModule */ class MediaListModuleTest extends TestCase { diff --git a/tests/app/Module/MediaTabModuleTest.php b/tests/app/Module/MediaTabModuleTest.php index 3bcc0cd4377..76f7e8de6f4 100644 --- a/tests/app/Module/MediaTabModuleTest.php +++ b/tests/app/Module/MediaTabModuleTest.php @@ -30,8 +30,6 @@ class MediaTabModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/MinimalThemeTest.php b/tests/app/Module/MinimalThemeTest.php index 7513c6a6cc1..4441142935d 100644 --- a/tests/app/Module/MinimalThemeTest.php +++ b/tests/app/Module/MinimalThemeTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MinimalTheme * - * @covers \Fisharebest\Webtrees\Module\MinimalTheme + * @covers Fisharebest\Webtrees\Module\MinimalTheme */ class MinimalThemeTest extends TestCase { diff --git a/tests/app/Module/MissingFactsReportModuleTest.php b/tests/app/Module/MissingFactsReportModuleTest.php index 72e0df11a0b..ca5ce82e518 100644 --- a/tests/app/Module/MissingFactsReportModuleTest.php +++ b/tests/app/Module/MissingFactsReportModuleTest.php @@ -25,7 +25,6 @@ use Fisharebest\Webtrees\Report\PdfRenderer; use Fisharebest\Webtrees\Report\ReportParserGenerate; use Fisharebest\Webtrees\Report\ReportParserSetup; -use Fisharebest\Webtrees\Services\ModuleService; use Fisharebest\Webtrees\Services\UserService; use Fisharebest\Webtrees\TestCase; @@ -66,21 +65,19 @@ class MissingFactsReportModuleTest extends TestCase * @covers \Fisharebest\Webtrees\Report\ReportPdfText * @covers \Fisharebest\Webtrees\Report\ReportPdfTextBox * @covers \Fisharebest\Webtrees\Report\TcpdfWrapper - * - * @return void */ public function testReportRunsWithoutError(): void { - $module_service = new ModuleService(); - $user = (new UserService())->create('user', 'User', 'user@example.com', 'secret'); $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); Auth::login($user); $tree = $this->importTree('demo.ged'); - $module = $module_service->findByInterface(MissingFactsReportModule::class)->first(); - $xml = 'resources/' . $module->xmlFilename(); - $vars = [ + $module = new MissingFactsReportModule(); + $module->setName('missing_facts_report'); + + $xml = 'resources/' . $module->xmlFilename(); + $vars = [ 'pid' => ['id' => 'X1030'], 'relatives' => ['id' => 'direct-ancestors'], 'maxgen' => ['id' => '*'], diff --git a/tests/app/Module/NoteListModuleTest.php b/tests/app/Module/NoteListModuleTest.php index 31839d1db79..70196e4e1dd 100644 --- a/tests/app/Module/NoteListModuleTest.php +++ b/tests/app/Module/NoteListModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class NoteListModule * - * @covers \Fisharebest\Webtrees\Module\NoteListModule + * @covers Fisharebest\Webtrees\Module\NoteListModule */ class NoteListModuleTest extends TestCase { diff --git a/tests/app/Module/NotesTabModuleTest.php b/tests/app/Module/NotesTabModuleTest.php index 59af158a746..ccc2f7b0887 100644 --- a/tests/app/Module/NotesTabModuleTest.php +++ b/tests/app/Module/NotesTabModuleTest.php @@ -30,8 +30,6 @@ class NotesTabModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/OccupationReportModuleTest.php b/tests/app/Module/OccupationReportModuleTest.php index 1d67d09e71d..b1a8c930855 100644 --- a/tests/app/Module/OccupationReportModuleTest.php +++ b/tests/app/Module/OccupationReportModuleTest.php @@ -25,7 +25,6 @@ use Fisharebest\Webtrees\Report\PdfRenderer; use Fisharebest\Webtrees\Report\ReportParserGenerate; use Fisharebest\Webtrees\Report\ReportParserSetup; -use Fisharebest\Webtrees\Services\ModuleService; use Fisharebest\Webtrees\Services\UserService; use Fisharebest\Webtrees\TestCase; @@ -66,21 +65,19 @@ class OccupationReportModuleTest extends TestCase * @covers \Fisharebest\Webtrees\Report\ReportPdfText * @covers \Fisharebest\Webtrees\Report\ReportPdfTextBox * @covers \Fisharebest\Webtrees\Report\TcpdfWrapper - * - * @return void */ public function testReportRunsWithoutError(): void { - $module_service = new ModuleService(); - $user = (new UserService())->create('user', 'User', 'user@example.com', 'secret'); $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); Auth::login($user); $tree = $this->importTree('demo.ged'); - $module = $module_service->findByInterface(OccupationReportModule::class)->first(); - $xml = 'resources/' . $module->xmlFilename(); - $vars = [ + $module = new OccupationReportModule(); + $module->setName('occupation_report'); + + $xml = 'resources/' . $module->xmlFilename(); + $vars = [ 'occupation' => ['id' => 'king'], 'pageSize' => ['id' => 'A4'], 'sortby' => ['id' => 'NAME'], diff --git a/tests/app/Module/OnThisDayModuleTest.php b/tests/app/Module/OnThisDayModuleTest.php index d8ee1ae65ca..9d12f7382b2 100644 --- a/tests/app/Module/OnThisDayModuleTest.php +++ b/tests/app/Module/OnThisDayModuleTest.php @@ -30,8 +30,6 @@ class OnThisDayModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/OpenRouteServiceAutocompleteTest.php b/tests/app/Module/OpenRouteServiceAutocompleteTest.php index 15eb30739bb..607b630f06c 100644 --- a/tests/app/Module/OpenRouteServiceAutocompleteTest.php +++ b/tests/app/Module/OpenRouteServiceAutocompleteTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class OpenRouteServiceAutocomplete * - * @covers \Fisharebest\Webtrees\Module\OpenRouteServiceAutocomplete + * @covers Fisharebest\Webtrees\Module\OpenRouteServiceAutocomplete */ class OpenRouteServiceAutocompleteTest extends TestCase { diff --git a/tests/app/Module/OpenStreetMapTest.php b/tests/app/Module/OpenStreetMapTest.php index 5b68adfcd21..63d58922f67 100644 --- a/tests/app/Module/OpenStreetMapTest.php +++ b/tests/app/Module/OpenStreetMapTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class OpenStreetMap * - * @covers \Fisharebest\Webtrees\Module\OpenStreetMap + * @covers Fisharebest\Webtrees\Module\OpenStreetMap */ class OpenStreetMapTest extends TestCase { diff --git a/tests/app/Module/PedigreeChartModuleTest.php b/tests/app/Module/PedigreeChartModuleTest.php index 1cf7a0a649c..baad83e4c90 100644 --- a/tests/app/Module/PedigreeChartModuleTest.php +++ b/tests/app/Module/PedigreeChartModuleTest.php @@ -30,8 +30,6 @@ class PedigreeChartModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/PedigreeMapModuleTest.php b/tests/app/Module/PedigreeMapModuleTest.php index 6bea0ff2ecb..0427c694b0d 100644 --- a/tests/app/Module/PedigreeMapModuleTest.php +++ b/tests/app/Module/PedigreeMapModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PedigreeMapModule * - * @covers \Fisharebest\Webtrees\Module\PedigreeMapModule + * @covers Fisharebest\Webtrees\Module\PedigreeMapModule */ class PedigreeMapModuleTest extends TestCase { diff --git a/tests/app/Module/PedigreeReportModuleTest.php b/tests/app/Module/PedigreeReportModuleTest.php index 7f71f253150..159dc57d0b9 100644 --- a/tests/app/Module/PedigreeReportModuleTest.php +++ b/tests/app/Module/PedigreeReportModuleTest.php @@ -25,7 +25,6 @@ use Fisharebest\Webtrees\Report\PdfRenderer; use Fisharebest\Webtrees\Report\ReportParserGenerate; use Fisharebest\Webtrees\Report\ReportParserSetup; -use Fisharebest\Webtrees\Services\ModuleService; use Fisharebest\Webtrees\Services\UserService; use Fisharebest\Webtrees\TestCase; @@ -68,21 +67,19 @@ class PedigreeReportModuleTest extends TestCase * @covers \Fisharebest\Webtrees\Report\ReportPdfText * @covers \Fisharebest\Webtrees\Report\ReportPdfTextBox * @covers \Fisharebest\Webtrees\Report\TcpdfWrapper - * - * @return void */ public function testReportRunsWithoutError(): void { - $module_service = new ModuleService(); - $user = (new UserService())->create('user', 'User', 'user@example.com', 'secret'); $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); Auth::login($user); $tree = $this->importTree('demo.ged'); - $module = $module_service->findByInterface(PedigreeReportModule::class)->first(); - $xml = 'resources/' . $module->xmlFilename(); - $vars = [ + $module = new PedigreeReportModule(); + $module->setName('pedigree_report'); + + $xml = 'resources/' . $module->xmlFilename(); + $vars = [ 'pid' => ['id' => 'X1030'], 'spouses' => ['id' => 'on'], 'orientation' => ['id' => 'portrait'], diff --git a/tests/app/Module/PlaceHierarchyListModuleTest.php b/tests/app/Module/PlaceHierarchyListModuleTest.php index 8993cd216d7..455b83ee964 100644 --- a/tests/app/Module/PlaceHierarchyListModuleTest.php +++ b/tests/app/Module/PlaceHierarchyListModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PlaceHierarchyListModule * - * @covers \Fisharebest\Webtrees\Module\PlaceHierarchyListModule + * @covers Fisharebest\Webtrees\Module\PlaceHierarchyListModule */ class PlaceHierarchyListModuleTest extends TestCase { diff --git a/tests/app/Module/PlacesModuleTest.php b/tests/app/Module/PlacesModuleTest.php index ccfc1b1693c..455ad7c5d36 100644 --- a/tests/app/Module/PlacesModuleTest.php +++ b/tests/app/Module/PlacesModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PlacesModule * - * @covers \Fisharebest\Webtrees\Module\PlacesModule + * @covers Fisharebest\Webtrees\Module\PlacesModule */ class PlacesModuleTest extends TestCase { diff --git a/tests/app/Module/PoweredByWebtreesModuleTest.php b/tests/app/Module/PoweredByWebtreesModuleTest.php index 47e3ac8a692..8171f9a72bf 100644 --- a/tests/app/Module/PoweredByWebtreesModuleTest.php +++ b/tests/app/Module/PoweredByWebtreesModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PoweredByWebtreesModule * - * @covers \Fisharebest\Webtrees\Module\PoweredByWebtreesModule + * @covers Fisharebest\Webtrees\Module\PoweredByWebtreesModule */ class PoweredByWebtreesModuleTest extends TestCase { diff --git a/tests/app/Module/PrivacyPolicyTest.php b/tests/app/Module/PrivacyPolicyTest.php index 7c763ab5121..6e9f4b0ebbb 100644 --- a/tests/app/Module/PrivacyPolicyTest.php +++ b/tests/app/Module/PrivacyPolicyTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PrivacyPolicy * - * @covers \Fisharebest\Webtrees\Module\PrivacyPolicy + * @covers Fisharebest\Webtrees\Module\PrivacyPolicy */ class PrivacyPolicyTest extends TestCase { diff --git a/tests/app/Module/RecentChangesModuleTest.php b/tests/app/Module/RecentChangesModuleTest.php index 05b78b33cff..83f7b3360da 100644 --- a/tests/app/Module/RecentChangesModuleTest.php +++ b/tests/app/Module/RecentChangesModuleTest.php @@ -30,8 +30,6 @@ class RecentChangesModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/RedirectLegacyUrlsModuleTest.php b/tests/app/Module/RedirectLegacyUrlsModuleTest.php index 12c2274fde4..dac90135fbb 100644 --- a/tests/app/Module/RedirectLegacyUrlsModuleTest.php +++ b/tests/app/Module/RedirectLegacyUrlsModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class RedirectLegacyUrlsModule * - * @covers \Fisharebest\Webtrees\Module\RedirectLegacyUrlsModule + * @covers Fisharebest\Webtrees\Module\RedirectLegacyUrlsModule */ class RedirectLegacyUrlsModuleTest extends TestCase { diff --git a/tests/app/Module/RelatedIndividualsReportModuleTest.php b/tests/app/Module/RelatedIndividualsReportModuleTest.php index 6ef19ba7f20..3579e67ee13 100644 --- a/tests/app/Module/RelatedIndividualsReportModuleTest.php +++ b/tests/app/Module/RelatedIndividualsReportModuleTest.php @@ -25,7 +25,6 @@ use Fisharebest\Webtrees\Report\PdfRenderer; use Fisharebest\Webtrees\Report\ReportParserGenerate; use Fisharebest\Webtrees\Report\ReportParserSetup; -use Fisharebest\Webtrees\Services\ModuleService; use Fisharebest\Webtrees\Services\UserService; use Fisharebest\Webtrees\TestCase; @@ -66,21 +65,19 @@ class RelatedIndividualsReportModuleTest extends TestCase * @covers \Fisharebest\Webtrees\Report\ReportPdfText * @covers \Fisharebest\Webtrees\Report\ReportPdfTextBox * @covers \Fisharebest\Webtrees\Report\TcpdfWrapper - * - * @return void */ public function testReportRunsWithoutError(): void { - $module_service = new ModuleService(); - $user = (new UserService())->create('user', 'User', 'user@example.com', 'secret'); $user->setPreference(UserInterface::PREF_IS_ADMINISTRATOR, '1'); Auth::login($user); $tree = $this->importTree('demo.ged'); - $module = $module_service->findByInterface(RelatedIndividualsReportModule::class)->first(); - $xml = 'resources/' . $module->xmlFilename(); - $vars = [ + $module = new RelatedIndividualsReportModule(); + $module->setName('relative_ext_report'); + + $xml = 'resources/' . $module->xmlFilename(); + $vars = [ 'pid' => ['id' => 'X1030'], 'relatives' => ['id' => 'child-family'], 'maxgen' => ['id' => '4'], diff --git a/tests/app/Module/RelationshipsChartModuleTest.php b/tests/app/Module/RelationshipsChartModuleTest.php index 24bf3cf62ed..d185f7959f9 100644 --- a/tests/app/Module/RelationshipsChartModuleTest.php +++ b/tests/app/Module/RelationshipsChartModuleTest.php @@ -30,8 +30,6 @@ class RelationshipsChartModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/RelativesTabModuleTest.php b/tests/app/Module/RelativesTabModuleTest.php index ac273ecd209..210808a16f5 100644 --- a/tests/app/Module/RelativesTabModuleTest.php +++ b/tests/app/Module/RelativesTabModuleTest.php @@ -30,8 +30,6 @@ class RelativesTabModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/ReportsMenuModuleTest.php b/tests/app/Module/ReportsMenuModuleTest.php index 7b1799e0876..90f21e079d8 100644 --- a/tests/app/Module/ReportsMenuModuleTest.php +++ b/tests/app/Module/ReportsMenuModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportsMenuModule * - * @covers \Fisharebest\Webtrees\Module\ReportsMenuModule + * @covers Fisharebest\Webtrees\Module\ReportsMenuModule */ class ReportsMenuModuleTest extends TestCase { diff --git a/tests/app/Module/RepositoryListModuleTest.php b/tests/app/Module/RepositoryListModuleTest.php index 8e29c3c2a12..452dc5e3a8d 100644 --- a/tests/app/Module/RepositoryListModuleTest.php +++ b/tests/app/Module/RepositoryListModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class RepositoryListModule * - * @covers \Fisharebest\Webtrees\Module\RepositoryListModule + * @covers Fisharebest\Webtrees\Module\RepositoryListModule */ class RepositoryListModuleTest extends TestCase { diff --git a/tests/app/Module/ResearchTaskModuleTest.php b/tests/app/Module/ResearchTaskModuleTest.php index 68a451b564d..b1f8353556a 100644 --- a/tests/app/Module/ResearchTaskModuleTest.php +++ b/tests/app/Module/ResearchTaskModuleTest.php @@ -30,8 +30,6 @@ class ResearchTaskModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/ReviewChangesModuleTest.php b/tests/app/Module/ReviewChangesModuleTest.php index 48ecf987b41..ba6ca7f171f 100644 --- a/tests/app/Module/ReviewChangesModuleTest.php +++ b/tests/app/Module/ReviewChangesModuleTest.php @@ -30,8 +30,6 @@ class ReviewChangesModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/SearchMenuModuleTest.php b/tests/app/Module/SearchMenuModuleTest.php index 6c000891567..60d9f98929a 100644 --- a/tests/app/Module/SearchMenuModuleTest.php +++ b/tests/app/Module/SearchMenuModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SearchMenuModule * - * @covers \Fisharebest\Webtrees\Module\SearchMenuModule + * @covers Fisharebest\Webtrees\Module\SearchMenuModule */ class SearchMenuModuleTest extends TestCase { diff --git a/tests/app/Module/ShareAnniversaryModuleTest.php b/tests/app/Module/ShareAnniversaryModuleTest.php index 9c1e2484cf2..6fb4695c500 100644 --- a/tests/app/Module/ShareAnniversaryModuleTest.php +++ b/tests/app/Module/ShareAnniversaryModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ShareAnniversaryModule * - * @covers \Fisharebest\Webtrees\Module\ShareAnniversaryModule + * @covers Fisharebest\Webtrees\Module\ShareAnniversaryModule */ class ShareAnniversaryModuleTest extends TestCase { diff --git a/tests/app/Module/ShareUrlModuleTest.php b/tests/app/Module/ShareUrlModuleTest.php index 4336a75299f..7aa11d3847d 100644 --- a/tests/app/Module/ShareUrlModuleTest.php +++ b/tests/app/Module/ShareUrlModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ShareUrlModule * - * @covers \Fisharebest\Webtrees\Module\ShareUrlModule + * @covers Fisharebest\Webtrees\Module\ShareUrlModule */ class ShareUrlModuleTest extends TestCase { diff --git a/tests/app/Module/SiteMapModuleTest.php b/tests/app/Module/SiteMapModuleTest.php index 03a7b3446be..13ad7a8da96 100644 --- a/tests/app/Module/SiteMapModuleTest.php +++ b/tests/app/Module/SiteMapModuleTest.php @@ -30,8 +30,6 @@ class SiteMapModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/SlideShowModuleTest.php b/tests/app/Module/SlideShowModuleTest.php index 128ed3d9797..3483dfe2510 100644 --- a/tests/app/Module/SlideShowModuleTest.php +++ b/tests/app/Module/SlideShowModuleTest.php @@ -30,8 +30,6 @@ class SlideShowModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/SourceListModuleTest.php b/tests/app/Module/SourceListModuleTest.php index 57be7b27337..e505d2b417b 100644 --- a/tests/app/Module/SourceListModuleTest.php +++ b/tests/app/Module/SourceListModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SourceListModule * - * @covers \Fisharebest\Webtrees\Module\SourceListModule + * @covers Fisharebest\Webtrees\Module\SourceListModule */ class SourceListModuleTest extends TestCase { diff --git a/tests/app/Module/SourcesTabModuleTest.php b/tests/app/Module/SourcesTabModuleTest.php index 63b1dac5be7..f7b7280aca3 100644 --- a/tests/app/Module/SourcesTabModuleTest.php +++ b/tests/app/Module/SourcesTabModuleTest.php @@ -30,8 +30,6 @@ class SourcesTabModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/StatcounterModuleTest.php b/tests/app/Module/StatcounterModuleTest.php index bb1bcb07e8e..04dfe6224d9 100644 --- a/tests/app/Module/StatcounterModuleTest.php +++ b/tests/app/Module/StatcounterModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class StatcounterModule * - * @covers \Fisharebest\Webtrees\Module\StatcounterModule + * @covers Fisharebest\Webtrees\Module\StatcounterModule */ class StatcounterModuleTest extends TestCase { diff --git a/tests/app/Module/StatisticsChartModuleTest.php b/tests/app/Module/StatisticsChartModuleTest.php index d0cc09572bb..2b82a14adad 100644 --- a/tests/app/Module/StatisticsChartModuleTest.php +++ b/tests/app/Module/StatisticsChartModuleTest.php @@ -30,8 +30,6 @@ class StatisticsChartModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/StoriesModuleTest.php b/tests/app/Module/StoriesModuleTest.php index 84c36d576d0..358d903914a 100644 --- a/tests/app/Module/StoriesModuleTest.php +++ b/tests/app/Module/StoriesModuleTest.php @@ -30,8 +30,6 @@ class StoriesModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/SubmitterListModuleTest.php b/tests/app/Module/SubmitterListModuleTest.php index 5de81876d44..2df762bea09 100644 --- a/tests/app/Module/SubmitterListModuleTest.php +++ b/tests/app/Module/SubmitterListModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SubmitterListModule * - * @covers \Fisharebest\Webtrees\Module\SubmitterListModule + * @covers Fisharebest\Webtrees\Module\SubmitterListModule */ class SubmitterListModuleTest extends TestCase { diff --git a/tests/app/Module/ThemeSelectModuleTest.php b/tests/app/Module/ThemeSelectModuleTest.php index 34545f2b769..0ab7f144a82 100644 --- a/tests/app/Module/ThemeSelectModuleTest.php +++ b/tests/app/Module/ThemeSelectModuleTest.php @@ -30,8 +30,6 @@ class ThemeSelectModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/TimelineChartModuleTest.php b/tests/app/Module/TimelineChartModuleTest.php index f77802781a1..4c868b9ebcb 100644 --- a/tests/app/Module/TimelineChartModuleTest.php +++ b/tests/app/Module/TimelineChartModuleTest.php @@ -30,8 +30,6 @@ class TimelineChartModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/TopGivenNamesModuleTest.php b/tests/app/Module/TopGivenNamesModuleTest.php index f40c9e90d46..a1006b7ab3d 100644 --- a/tests/app/Module/TopGivenNamesModuleTest.php +++ b/tests/app/Module/TopGivenNamesModuleTest.php @@ -30,8 +30,6 @@ class TopGivenNamesModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/TopPageViewsModuleTest.php b/tests/app/Module/TopPageViewsModuleTest.php index 67a91c4e808..736605f778c 100644 --- a/tests/app/Module/TopPageViewsModuleTest.php +++ b/tests/app/Module/TopPageViewsModuleTest.php @@ -30,8 +30,6 @@ class TopPageViewsModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/TopSurnamesModuleTest.php b/tests/app/Module/TopSurnamesModuleTest.php index dd9217564e8..c9497b2a310 100644 --- a/tests/app/Module/TopSurnamesModuleTest.php +++ b/tests/app/Module/TopSurnamesModuleTest.php @@ -30,8 +30,6 @@ class TopSurnamesModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/TreesMenuModuleTest.php b/tests/app/Module/TreesMenuModuleTest.php index b12c478facd..3cb2ec4de09 100644 --- a/tests/app/Module/TreesMenuModuleTest.php +++ b/tests/app/Module/TreesMenuModuleTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TreesMenuModule * - * @covers \Fisharebest\Webtrees\Module\TreesMenuModule + * @covers Fisharebest\Webtrees\Module\TreesMenuModule */ class TreesMenuModuleTest extends TestCase { diff --git a/tests/app/Module/USPresidentsTest.php b/tests/app/Module/USPresidentsTest.php index dc9c2784882..c7eb9b6578c 100644 --- a/tests/app/Module/USPresidentsTest.php +++ b/tests/app/Module/USPresidentsTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class USPresidents * - * @covers \Fisharebest\Webtrees\Module\USPresidents + * @covers Fisharebest\Webtrees\Module\USPresidents */ class USPresidentsTest extends TestCase { diff --git a/tests/app/Module/UpcomingAnniversariesModuleTest.php b/tests/app/Module/UpcomingAnniversariesModuleTest.php index 4ff018b2651..5f52aaebb1c 100644 --- a/tests/app/Module/UpcomingAnniversariesModuleTest.php +++ b/tests/app/Module/UpcomingAnniversariesModuleTest.php @@ -29,9 +29,6 @@ */ class UpcomingAnniversariesModuleTest extends TestCase { - /** - * @return void - */ public function testModuleProperties(): void { $calendar_service = $this->createStub(CalendarService::class); diff --git a/tests/app/Module/UserFavoritesModuleTest.php b/tests/app/Module/UserFavoritesModuleTest.php index 9d687d4e0aa..66417bd4a10 100644 --- a/tests/app/Module/UserFavoritesModuleTest.php +++ b/tests/app/Module/UserFavoritesModuleTest.php @@ -30,8 +30,6 @@ class UserFavoritesModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/UserJournalModuleTest.php b/tests/app/Module/UserJournalModuleTest.php index 7a963980660..2e9fec23d5e 100644 --- a/tests/app/Module/UserJournalModuleTest.php +++ b/tests/app/Module/UserJournalModuleTest.php @@ -30,8 +30,6 @@ class UserJournalModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/UserMessagesModuleTest.php b/tests/app/Module/UserMessagesModuleTest.php index 687702246af..59093a47c0e 100644 --- a/tests/app/Module/UserMessagesModuleTest.php +++ b/tests/app/Module/UserMessagesModuleTest.php @@ -30,8 +30,6 @@ class UserMessagesModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/UserWelcomeModuleTest.php b/tests/app/Module/UserWelcomeModuleTest.php index baedfede4bd..686a7f479e5 100644 --- a/tests/app/Module/UserWelcomeModuleTest.php +++ b/tests/app/Module/UserWelcomeModuleTest.php @@ -30,8 +30,6 @@ class UserWelcomeModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/WebtreesThemeTest.php b/tests/app/Module/WebtreesThemeTest.php index 87186bce2f4..ce00d56d66f 100644 --- a/tests/app/Module/WebtreesThemeTest.php +++ b/tests/app/Module/WebtreesThemeTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class WebtreesTheme * - * @covers \Fisharebest\Webtrees\Module\WebtreesTheme + * @covers Fisharebest\Webtrees\Module\WebtreesTheme */ class WebtreesThemeTest extends TestCase { diff --git a/tests/app/Module/WelcomeBlockModuleTest.php b/tests/app/Module/WelcomeBlockModuleTest.php index 8bfd3df8b3c..989ad5bd641 100644 --- a/tests/app/Module/WelcomeBlockModuleTest.php +++ b/tests/app/Module/WelcomeBlockModuleTest.php @@ -30,8 +30,6 @@ class WelcomeBlockModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Module/XeneaThemeTest.php b/tests/app/Module/XeneaThemeTest.php index 0274b495b40..a6b9200955f 100644 --- a/tests/app/Module/XeneaThemeTest.php +++ b/tests/app/Module/XeneaThemeTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class XeneaTheme * - * @covers \Fisharebest\Webtrees\Module\XeneaTheme + * @covers Fisharebest\Webtrees\Module\XeneaTheme */ class XeneaThemeTest extends TestCase { diff --git a/tests/app/Module/YahrzeitModuleTest.php b/tests/app/Module/YahrzeitModuleTest.php index 94ed60f63d0..92611c47398 100644 --- a/tests/app/Module/YahrzeitModuleTest.php +++ b/tests/app/Module/YahrzeitModuleTest.php @@ -30,8 +30,6 @@ class YahrzeitModuleTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/NoReplyUserTest.php b/tests/app/NoReplyUserTest.php index 2c289ff0f0a..5a323cbb6d1 100644 --- a/tests/app/NoReplyUserTest.php +++ b/tests/app/NoReplyUserTest.php @@ -33,7 +33,6 @@ class NoReplyUserTest extends TestCase * @covers \Fisharebest\Webtrees\NoReplyUser::email * @covers \Fisharebest\Webtrees\NoReplyUser::realName * @covers \Fisharebest\Webtrees\NoReplyUser::userName - * @return void */ public function testConstructor(): void { @@ -49,7 +48,6 @@ public function testConstructor(): void /** * @covers \Fisharebest\Webtrees\NoReplyUser::getPreference * @covers \Fisharebest\Webtrees\NoReplyUser::setPreference - * @return void */ public function testPreferences(): void { diff --git a/tests/app/NoteTest.php b/tests/app/NoteTest.php index 44f91139d89..bf4d3dc26a6 100644 --- a/tests/app/NoteTest.php +++ b/tests/app/NoteTest.php @@ -30,17 +30,12 @@ class NoteTest extends TestCase /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { self::assertTrue(class_exists(Note::class)); } - /** - * @return void - */ public function testNoteName(): void { $tree = $this->createStub(Tree::class); @@ -49,9 +44,6 @@ public function testNoteName(): void self::assertSame('1', $note->fullName()); } - /** - * @return void - */ public function testNoteNameWithHtmlEntities(): void { $tree = $this->createStub(Tree::class); diff --git a/tests/app/PlaceLocationTest.php b/tests/app/PlaceLocationTest.php index dc1bd6c8852..d9b64986b06 100644 --- a/tests/app/PlaceLocationTest.php +++ b/tests/app/PlaceLocationTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PlaceLocation * - * @covers \Fisharebest\Webtrees\PlaceLocation + * @covers Fisharebest\Webtrees\PlaceLocation */ class PlaceLocationTest extends TestCase { diff --git a/tests/app/PlaceTest.php b/tests/app/PlaceTest.php index c414eee6969..2f59d3b65d3 100644 --- a/tests/app/PlaceTest.php +++ b/tests/app/PlaceTest.php @@ -28,8 +28,6 @@ class PlaceTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/RegistryTest.php b/tests/app/RegistryTest.php index bb13e30a4a8..c140f75fb19 100644 --- a/tests/app/RegistryTest.php +++ b/tests/app/RegistryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Registry * - * @covers \Fisharebest\Webtrees\Registry + * @covers Fisharebest\Webtrees\Registry */ class RegistryTest extends TestCase { diff --git a/tests/app/RelationshipTest.php b/tests/app/RelationshipTest.php index 82714277007..557e3bc0f8c 100644 --- a/tests/app/RelationshipTest.php +++ b/tests/app/RelationshipTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Relationship * - * @covers \Fisharebest\Webtrees\Relationship + * @covers Fisharebest\Webtrees\Relationship */ class RelationshipTest extends TestCase { diff --git a/tests/app/Report/HtmlRendererTest.php b/tests/app/Report/HtmlRendererTest.php index 6597fedf9f5..be4ccdd8b2c 100644 --- a/tests/app/Report/HtmlRendererTest.php +++ b/tests/app/Report/HtmlRendererTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class HtmlRenderer * - * @covers \Fisharebest\Webtrees\Report\HtmlRenderer + * @covers Fisharebest\Webtrees\Report\HtmlRenderer */ class HtmlRendererTest extends TestCase { diff --git a/tests/app/Report/PdfRendererTest.php b/tests/app/Report/PdfRendererTest.php index 494629472fd..c364289e857 100644 --- a/tests/app/Report/PdfRendererTest.php +++ b/tests/app/Report/PdfRendererTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PdfRenderer * - * @covers \Fisharebest\Webtrees\Report\PdfRenderer + * @covers Fisharebest\Webtrees\Report\PdfRenderer */ class PdfRendererTest extends TestCase { diff --git a/tests/app/Report/ReportBaseCellTest.php b/tests/app/Report/ReportBaseCellTest.php index d6ea7499174..789bc9374bd 100644 --- a/tests/app/Report/ReportBaseCellTest.php +++ b/tests/app/Report/ReportBaseCellTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportBaseCell * - * @covers \Fisharebest\Webtrees\Report\ReportBaseCell + * @covers Fisharebest\Webtrees\Report\ReportBaseCell */ class ReportBaseCellTest extends TestCase { diff --git a/tests/app/Report/ReportBaseElementTest.php b/tests/app/Report/ReportBaseElementTest.php index 71674fb3340..5980d00aec3 100644 --- a/tests/app/Report/ReportBaseElementTest.php +++ b/tests/app/Report/ReportBaseElementTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportBaseElement * - * @covers \Fisharebest\Webtrees\Report\ReportBaseElement + * @covers Fisharebest\Webtrees\Report\ReportBaseElement */ class ReportBaseElementTest extends TestCase { diff --git a/tests/app/Report/ReportBaseFootnoteTest.php b/tests/app/Report/ReportBaseFootnoteTest.php index cd150ee302e..26f9d514d4b 100644 --- a/tests/app/Report/ReportBaseFootnoteTest.php +++ b/tests/app/Report/ReportBaseFootnoteTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportBaseFootnote * - * @covers \Fisharebest\Webtrees\Report\ReportBaseFootnote + * @covers Fisharebest\Webtrees\Report\ReportBaseFootnote */ class ReportBaseFootnoteTest extends TestCase { diff --git a/tests/app/Report/ReportBaseImageTest.php b/tests/app/Report/ReportBaseImageTest.php index a4e231ca032..0feeb39aa78 100644 --- a/tests/app/Report/ReportBaseImageTest.php +++ b/tests/app/Report/ReportBaseImageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportBaseImage * - * @covers \Fisharebest\Webtrees\Report\ReportBaseImage + * @covers Fisharebest\Webtrees\Report\ReportBaseImage */ class ReportBaseImageTest extends TestCase { diff --git a/tests/app/Report/ReportBaseLineTest.php b/tests/app/Report/ReportBaseLineTest.php index 8cfa8d31c26..b385a2a444f 100644 --- a/tests/app/Report/ReportBaseLineTest.php +++ b/tests/app/Report/ReportBaseLineTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportBaseLine * - * @covers \Fisharebest\Webtrees\Report\ReportBaseLine + * @covers Fisharebest\Webtrees\Report\ReportBaseLine */ class ReportBaseLineTest extends TestCase { diff --git a/tests/app/Report/ReportBaseTextTest.php b/tests/app/Report/ReportBaseTextTest.php index 2a5b77a9a80..7c34edc8afd 100644 --- a/tests/app/Report/ReportBaseTextTest.php +++ b/tests/app/Report/ReportBaseTextTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportBaseText * - * @covers \Fisharebest\Webtrees\Report\ReportBaseText + * @covers Fisharebest\Webtrees\Report\ReportBaseText */ class ReportBaseTextTest extends TestCase { diff --git a/tests/app/Report/ReportBaseTextboxTest.php b/tests/app/Report/ReportBaseTextboxTest.php index 8cf67070e3b..fd30db983df 100644 --- a/tests/app/Report/ReportBaseTextboxTest.php +++ b/tests/app/Report/ReportBaseTextboxTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportBaseTextbox * - * @covers \Fisharebest\Webtrees\Report\ReportBaseTextbox + * @covers Fisharebest\Webtrees\Report\ReportBaseTextbox */ class ReportBaseTextboxTest extends TestCase { diff --git a/tests/app/Report/ReportExpressionLanguageProviderTest.php b/tests/app/Report/ReportExpressionLanguageProviderTest.php index 7e082609d3d..8f89ab15915 100644 --- a/tests/app/Report/ReportExpressionLanguageProviderTest.php +++ b/tests/app/Report/ReportExpressionLanguageProviderTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportExpressionLanguageProvider * - * @covers \Fisharebest\Webtrees\Report\ReportExpressionLanguageProvider + * @covers Fisharebest\Webtrees\Report\ReportExpressionLanguageProvider */ class ReportExpressionLanguageProviderTest extends TestCase { diff --git a/tests/app/Report/ReportHtmlCellTest.php b/tests/app/Report/ReportHtmlCellTest.php index 76f187b45a2..cbfb4a1b6c1 100644 --- a/tests/app/Report/ReportHtmlCellTest.php +++ b/tests/app/Report/ReportHtmlCellTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportHtmlCell * - * @covers \Fisharebest\Webtrees\Report\ReportHtmlCell + * @covers Fisharebest\Webtrees\Report\ReportHtmlCell */ class ReportHtmlCellTest extends TestCase { diff --git a/tests/app/Report/ReportHtmlFootnoteTest.php b/tests/app/Report/ReportHtmlFootnoteTest.php index ea3b9c80722..31090ac7468 100644 --- a/tests/app/Report/ReportHtmlFootnoteTest.php +++ b/tests/app/Report/ReportHtmlFootnoteTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportHtmlFootnote * - * @covers \Fisharebest\Webtrees\Report\ReportHtmlFootnote + * @covers Fisharebest\Webtrees\Report\ReportHtmlFootnote */ class ReportHtmlFootnoteTest extends TestCase { diff --git a/tests/app/Report/ReportHtmlImageTest.php b/tests/app/Report/ReportHtmlImageTest.php index 841294479bd..d2e14cbe6c6 100644 --- a/tests/app/Report/ReportHtmlImageTest.php +++ b/tests/app/Report/ReportHtmlImageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportHtmlImage * - * @covers \Fisharebest\Webtrees\Report\ReportHtmlImage + * @covers Fisharebest\Webtrees\Report\ReportHtmlImage */ class ReportHtmlImageTest extends TestCase { diff --git a/tests/app/Report/ReportHtmlLineTest.php b/tests/app/Report/ReportHtmlLineTest.php index e1d0649ce6d..e2fb49aa74a 100644 --- a/tests/app/Report/ReportHtmlLineTest.php +++ b/tests/app/Report/ReportHtmlLineTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportHtmlLine * - * @covers \Fisharebest\Webtrees\Report\ReportHtmlLine + * @covers Fisharebest\Webtrees\Report\ReportHtmlLine */ class ReportHtmlLineTest extends TestCase { diff --git a/tests/app/Report/ReportHtmlTextTest.php b/tests/app/Report/ReportHtmlTextTest.php index 462c9687890..b62049f879e 100644 --- a/tests/app/Report/ReportHtmlTextTest.php +++ b/tests/app/Report/ReportHtmlTextTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportHtmlText * - * @covers \Fisharebest\Webtrees\Report\ReportHtmlText + * @covers Fisharebest\Webtrees\Report\ReportHtmlText */ class ReportHtmlTextTest extends TestCase { diff --git a/tests/app/Report/ReportHtmlTextboxTest.php b/tests/app/Report/ReportHtmlTextboxTest.php index 895d3eae17f..cf1fbad1a4b 100644 --- a/tests/app/Report/ReportHtmlTextboxTest.php +++ b/tests/app/Report/ReportHtmlTextboxTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportHtmlTextbox * - * @covers \Fisharebest\Webtrees\Report\ReportHtmlTextbox + * @covers Fisharebest\Webtrees\Report\ReportHtmlTextbox */ class ReportHtmlTextboxTest extends TestCase { diff --git a/tests/app/Report/ReportParserBaseTest.php b/tests/app/Report/ReportParserBaseTest.php index c5d6073f5d4..b9f3fc0bbce 100644 --- a/tests/app/Report/ReportParserBaseTest.php +++ b/tests/app/Report/ReportParserBaseTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportParserBase * - * @covers \Fisharebest\Webtrees\Report\ReportParserBase + * @covers Fisharebest\Webtrees\Report\ReportParserBase */ class ReportParserBaseTest extends TestCase { diff --git a/tests/app/Report/ReportParserGenerateTest.php b/tests/app/Report/ReportParserGenerateTest.php index 4054d2b21a2..56215d66449 100644 --- a/tests/app/Report/ReportParserGenerateTest.php +++ b/tests/app/Report/ReportParserGenerateTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportParserGenerate * - * @covers \Fisharebest\Webtrees\Report\ReportParserGenerate + * @covers Fisharebest\Webtrees\Report\ReportParserGenerate */ class ReportParserGenerateTest extends TestCase { diff --git a/tests/app/Report/ReportParserSetupTest.php b/tests/app/Report/ReportParserSetupTest.php index 37528ff76bb..ca5153e3c6c 100644 --- a/tests/app/Report/ReportParserSetupTest.php +++ b/tests/app/Report/ReportParserSetupTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportParserSetup * - * @covers \Fisharebest\Webtrees\Report\ReportParserSetup + * @covers Fisharebest\Webtrees\Report\ReportParserSetup */ class ReportParserSetupTest extends TestCase { diff --git a/tests/app/Report/ReportPdfCellTest.php b/tests/app/Report/ReportPdfCellTest.php index ca5c0d94329..02886119b28 100644 --- a/tests/app/Report/ReportPdfCellTest.php +++ b/tests/app/Report/ReportPdfCellTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportPdfCell * - * @covers \Fisharebest\Webtrees\Report\ReportPdfCell + * @covers Fisharebest\Webtrees\Report\ReportPdfCell */ class ReportPdfCellTest extends TestCase { diff --git a/tests/app/Report/ReportPdfFootnoteTest.php b/tests/app/Report/ReportPdfFootnoteTest.php index db3814ddeaf..1327174f97b 100644 --- a/tests/app/Report/ReportPdfFootnoteTest.php +++ b/tests/app/Report/ReportPdfFootnoteTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportPdfFootnote * - * @covers \Fisharebest\Webtrees\Report\ReportPdfFootnote + * @covers Fisharebest\Webtrees\Report\ReportPdfFootnote */ class ReportPdfFootnoteTest extends TestCase { diff --git a/tests/app/Report/ReportPdfImageTest.php b/tests/app/Report/ReportPdfImageTest.php index d3c20cf1276..57aa318601d 100644 --- a/tests/app/Report/ReportPdfImageTest.php +++ b/tests/app/Report/ReportPdfImageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportPdfImage * - * @covers \Fisharebest\Webtrees\Report\ReportPdfImage + * @covers Fisharebest\Webtrees\Report\ReportPdfImage */ class ReportPdfImageTest extends TestCase { diff --git a/tests/app/Report/ReportPdfLineTest.php b/tests/app/Report/ReportPdfLineTest.php index cdbfce641e7..bc1154643a7 100644 --- a/tests/app/Report/ReportPdfLineTest.php +++ b/tests/app/Report/ReportPdfLineTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportPdfLine * - * @covers \Fisharebest\Webtrees\Report\ReportPdfLine + * @covers Fisharebest\Webtrees\Report\ReportPdfLine */ class ReportPdfLineTest extends TestCase { diff --git a/tests/app/Report/ReportPdfTextBoxTest.php b/tests/app/Report/ReportPdfTextBoxTest.php index e9bce296d3e..6ad53ca32a3 100644 --- a/tests/app/Report/ReportPdfTextBoxTest.php +++ b/tests/app/Report/ReportPdfTextBoxTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportPdfTextBox * - * @covers \Fisharebest\Webtrees\Report\ReportPdfTextBox + * @covers Fisharebest\Webtrees\Report\ReportPdfTextBox */ class ReportPdfTextBoxTest extends TestCase { diff --git a/tests/app/Report/ReportPdfTextTest.php b/tests/app/Report/ReportPdfTextTest.php index 0d8de543130..0d678685345 100644 --- a/tests/app/Report/ReportPdfTextTest.php +++ b/tests/app/Report/ReportPdfTextTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ReportPdfText * - * @covers \Fisharebest\Webtrees\Report\ReportPdfText + * @covers Fisharebest\Webtrees\Report\ReportPdfText */ class ReportPdfTextTest extends TestCase { diff --git a/tests/app/Report/RightToLeftSupportTest.php b/tests/app/Report/RightToLeftSupportTest.php index 59612611434..a81098ea265 100644 --- a/tests/app/Report/RightToLeftSupportTest.php +++ b/tests/app/Report/RightToLeftSupportTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class RightToLeftSupport * - * @covers \Fisharebest\Webtrees\Report\RightToLeftSupport + * @covers Fisharebest\Webtrees\Report\RightToLeftSupport */ class RightToLeftSupportTest extends TestCase { diff --git a/tests/app/Report/TcpdfWrapperTest.php b/tests/app/Report/TcpdfWrapperTest.php index 791a6e2e072..100433d64c5 100644 --- a/tests/app/Report/TcpdfWrapperTest.php +++ b/tests/app/Report/TcpdfWrapperTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TcpdfWrapper * - * @covers \Fisharebest\Webtrees\Report\TcpdfWrapper + * @covers Fisharebest\Webtrees\Report\TcpdfWrapper */ class TcpdfWrapperTest extends TestCase { diff --git a/tests/app/Reports/RightToLeftSupportTest.php b/tests/app/Reports/RightToLeftSupportTest.php index 2b5a30b4d77..8911583e9cc 100644 --- a/tests/app/Reports/RightToLeftSupportTest.php +++ b/tests/app/Reports/RightToLeftSupportTest.php @@ -31,8 +31,6 @@ class RightToLeftSupportTest extends TestCase { /** * @covers \Fisharebest\Webtrees\Report\RightToLeftSupport - * - * @return void */ public function testEmptyString(): void { @@ -51,8 +49,6 @@ public function testEmptyString(): void /** * @covers \Fisharebest\Webtrees\Report\RightToLeftSupport - * - * @return void */ public function testStripControlCharacters(): void { @@ -135,8 +131,6 @@ public function testStripControlCharacters(): void /** * @covers \Fisharebest\Webtrees\Report\RightToLeftSupport - * - * @return void */ public function testNewLinesBecomeHTMLBreaks(): void { @@ -163,8 +157,6 @@ public function testNewLinesBecomeHTMLBreaks(): void /** * @covers \Fisharebest\Webtrees\Report\RightToLeftSupport - * - * @return void */ public function testLineBreaks(): void { @@ -191,8 +183,6 @@ public function testLineBreaks(): void /** * @covers \Fisharebest\Webtrees\Report\RightToLeftSupport - * - * @return void */ public function testHtmlEntities(): void { @@ -227,8 +217,6 @@ public function testHtmlEntities(): void /** * @covers \Fisharebest\Webtrees\Report\RightToLeftSupport - * - * @return void */ public function testBraces(): void { @@ -263,8 +251,6 @@ public function testBraces(): void /** * @covers \Fisharebest\Webtrees\Report\RightToLeftSupport - * - * @return void */ public function testNumbers(): void { @@ -323,8 +309,6 @@ public function testNumbers(): void /** * @covers \Fisharebest\Webtrees\Report\RightToLeftSupport - * - * @return void */ public function testParentheses(): void { @@ -367,8 +351,6 @@ public function testParentheses(): void /** * @covers \Fisharebest\Webtrees\Report\RightToLeftSupport - * - * @return void */ public function testUnescapedHtml(): void { @@ -395,8 +377,6 @@ public function testUnescapedHtml(): void /** * @covers \Fisharebest\Webtrees\Report\RightToLeftSupport - * - * @return void */ public function testBreakInNumber(): void { diff --git a/tests/app/RepositoryTest.php b/tests/app/RepositoryTest.php index 9bd7d9241aa..025e4b11689 100644 --- a/tests/app/RepositoryTest.php +++ b/tests/app/RepositoryTest.php @@ -28,8 +28,6 @@ class RepositoryTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Schema/Migration0Test.php b/tests/app/Schema/Migration0Test.php index 038e913863d..1f972bd43f4 100644 --- a/tests/app/Schema/Migration0Test.php +++ b/tests/app/Schema/Migration0Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration0 * - * @covers \Fisharebest\Webtrees\Schema\Migration0 + * @covers Fisharebest\Webtrees\Schema\Migration0 */ class Migration0Test extends TestCase { diff --git a/tests/app/Schema/Migration10Test.php b/tests/app/Schema/Migration10Test.php index 90b15b7fee0..a7918d1046b 100644 --- a/tests/app/Schema/Migration10Test.php +++ b/tests/app/Schema/Migration10Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration10 * - * @covers \Fisharebest\Webtrees\Schema\Migration10 + * @covers Fisharebest\Webtrees\Schema\Migration10 */ class Migration10Test extends TestCase { diff --git a/tests/app/Schema/Migration11Test.php b/tests/app/Schema/Migration11Test.php index dd86a729fc2..ae2ef2aa7f6 100644 --- a/tests/app/Schema/Migration11Test.php +++ b/tests/app/Schema/Migration11Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration11 * - * @covers \Fisharebest\Webtrees\Schema\Migration11 + * @covers Fisharebest\Webtrees\Schema\Migration11 */ class Migration11Test extends TestCase { diff --git a/tests/app/Schema/Migration12Test.php b/tests/app/Schema/Migration12Test.php index 0ecfbcb443e..e83b5902793 100644 --- a/tests/app/Schema/Migration12Test.php +++ b/tests/app/Schema/Migration12Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration12 * - * @covers \Fisharebest\Webtrees\Schema\Migration12 + * @covers Fisharebest\Webtrees\Schema\Migration12 */ class Migration12Test extends TestCase { diff --git a/tests/app/Schema/Migration13Test.php b/tests/app/Schema/Migration13Test.php index 52024d43331..ac0d74cdd00 100644 --- a/tests/app/Schema/Migration13Test.php +++ b/tests/app/Schema/Migration13Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration13 * - * @covers \Fisharebest\Webtrees\Schema\Migration13 + * @covers Fisharebest\Webtrees\Schema\Migration13 */ class Migration13Test extends TestCase { diff --git a/tests/app/Schema/Migration14Test.php b/tests/app/Schema/Migration14Test.php index 867f0e8416b..2e29830dbd4 100644 --- a/tests/app/Schema/Migration14Test.php +++ b/tests/app/Schema/Migration14Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration14 * - * @covers \Fisharebest\Webtrees\Schema\Migration14 + * @covers Fisharebest\Webtrees\Schema\Migration14 */ class Migration14Test extends TestCase { diff --git a/tests/app/Schema/Migration15Test.php b/tests/app/Schema/Migration15Test.php index 7e60b086634..0cdc535ffa0 100644 --- a/tests/app/Schema/Migration15Test.php +++ b/tests/app/Schema/Migration15Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration15 * - * @covers \Fisharebest\Webtrees\Schema\Migration15 + * @covers Fisharebest\Webtrees\Schema\Migration15 */ class Migration15Test extends TestCase { diff --git a/tests/app/Schema/Migration16Test.php b/tests/app/Schema/Migration16Test.php index c901f6d04ff..016a0bc4bc6 100644 --- a/tests/app/Schema/Migration16Test.php +++ b/tests/app/Schema/Migration16Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration16 * - * @covers \Fisharebest\Webtrees\Schema\Migration16 + * @covers Fisharebest\Webtrees\Schema\Migration16 */ class Migration16Test extends TestCase { diff --git a/tests/app/Schema/Migration17Test.php b/tests/app/Schema/Migration17Test.php index 145ce92b6c5..5c9304a5523 100644 --- a/tests/app/Schema/Migration17Test.php +++ b/tests/app/Schema/Migration17Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration17 * - * @covers \Fisharebest\Webtrees\Schema\Migration17 + * @covers Fisharebest\Webtrees\Schema\Migration17 */ class Migration17Test extends TestCase { diff --git a/tests/app/Schema/Migration18Test.php b/tests/app/Schema/Migration18Test.php index b9f1477a973..f208c3a5667 100644 --- a/tests/app/Schema/Migration18Test.php +++ b/tests/app/Schema/Migration18Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration18 * - * @covers \Fisharebest\Webtrees\Schema\Migration18 + * @covers Fisharebest\Webtrees\Schema\Migration18 */ class Migration18Test extends TestCase { diff --git a/tests/app/Schema/Migration19Test.php b/tests/app/Schema/Migration19Test.php index b1fcf09db23..15839f4a0e6 100644 --- a/tests/app/Schema/Migration19Test.php +++ b/tests/app/Schema/Migration19Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration19 * - * @covers \Fisharebest\Webtrees\Schema\Migration19 + * @covers Fisharebest\Webtrees\Schema\Migration19 */ class Migration19Test extends TestCase { diff --git a/tests/app/Schema/Migration1Test.php b/tests/app/Schema/Migration1Test.php index 65edee52cde..72d779bbc3a 100644 --- a/tests/app/Schema/Migration1Test.php +++ b/tests/app/Schema/Migration1Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration1 * - * @covers \Fisharebest\Webtrees\Schema\Migration1 + * @covers Fisharebest\Webtrees\Schema\Migration1 */ class Migration1Test extends TestCase { diff --git a/tests/app/Schema/Migration20Test.php b/tests/app/Schema/Migration20Test.php index 1510e471732..48ac6a0c8f2 100644 --- a/tests/app/Schema/Migration20Test.php +++ b/tests/app/Schema/Migration20Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration20 * - * @covers \Fisharebest\Webtrees\Schema\Migration20 + * @covers Fisharebest\Webtrees\Schema\Migration20 */ class Migration20Test extends TestCase { diff --git a/tests/app/Schema/Migration21Test.php b/tests/app/Schema/Migration21Test.php index 05c13245ccd..f7bc2870188 100644 --- a/tests/app/Schema/Migration21Test.php +++ b/tests/app/Schema/Migration21Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration21 * - * @covers \Fisharebest\Webtrees\Schema\Migration21 + * @covers Fisharebest\Webtrees\Schema\Migration21 */ class Migration21Test extends TestCase { diff --git a/tests/app/Schema/Migration22Test.php b/tests/app/Schema/Migration22Test.php index 0fed0a39382..49c7d282f99 100644 --- a/tests/app/Schema/Migration22Test.php +++ b/tests/app/Schema/Migration22Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration22 * - * @covers \Fisharebest\Webtrees\Schema\Migration22 + * @covers Fisharebest\Webtrees\Schema\Migration22 */ class Migration22Test extends TestCase { diff --git a/tests/app/Schema/Migration23Test.php b/tests/app/Schema/Migration23Test.php index 09fbddc63f1..90a24e5f7a4 100644 --- a/tests/app/Schema/Migration23Test.php +++ b/tests/app/Schema/Migration23Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration23 * - * @covers \Fisharebest\Webtrees\Schema\Migration23 + * @covers Fisharebest\Webtrees\Schema\Migration23 */ class Migration23Test extends TestCase { diff --git a/tests/app/Schema/Migration24Test.php b/tests/app/Schema/Migration24Test.php index 1ae41ffbaf7..717f75f0837 100644 --- a/tests/app/Schema/Migration24Test.php +++ b/tests/app/Schema/Migration24Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration24 * - * @covers \Fisharebest\Webtrees\Schema\Migration24 + * @covers Fisharebest\Webtrees\Schema\Migration24 */ class Migration24Test extends TestCase { diff --git a/tests/app/Schema/Migration25Test.php b/tests/app/Schema/Migration25Test.php index a1e307648b8..ef27dd34bcb 100644 --- a/tests/app/Schema/Migration25Test.php +++ b/tests/app/Schema/Migration25Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration25 * - * @covers \Fisharebest\Webtrees\Schema\Migration25 + * @covers Fisharebest\Webtrees\Schema\Migration25 */ class Migration25Test extends TestCase { diff --git a/tests/app/Schema/Migration26Test.php b/tests/app/Schema/Migration26Test.php index 946afc7f773..4cb9d1caf48 100644 --- a/tests/app/Schema/Migration26Test.php +++ b/tests/app/Schema/Migration26Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration26 * - * @covers \Fisharebest\Webtrees\Schema\Migration26 + * @covers Fisharebest\Webtrees\Schema\Migration26 */ class Migration26Test extends TestCase { diff --git a/tests/app/Schema/Migration27Test.php b/tests/app/Schema/Migration27Test.php index e23b6fbea4f..ce1cd78c305 100644 --- a/tests/app/Schema/Migration27Test.php +++ b/tests/app/Schema/Migration27Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration27 * - * @covers \Fisharebest\Webtrees\Schema\Migration27 + * @covers Fisharebest\Webtrees\Schema\Migration27 */ class Migration27Test extends TestCase { diff --git a/tests/app/Schema/Migration28Test.php b/tests/app/Schema/Migration28Test.php index 9a09f50761a..0713aaed260 100644 --- a/tests/app/Schema/Migration28Test.php +++ b/tests/app/Schema/Migration28Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration28 * - * @covers \Fisharebest\Webtrees\Schema\Migration28 + * @covers Fisharebest\Webtrees\Schema\Migration28 */ class Migration28Test extends TestCase { diff --git a/tests/app/Schema/Migration29Test.php b/tests/app/Schema/Migration29Test.php index 2167e3ba006..187f1052727 100644 --- a/tests/app/Schema/Migration29Test.php +++ b/tests/app/Schema/Migration29Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration29 * - * @covers \Fisharebest\Webtrees\Schema\Migration29 + * @covers Fisharebest\Webtrees\Schema\Migration29 */ class Migration29Test extends TestCase { diff --git a/tests/app/Schema/Migration2Test.php b/tests/app/Schema/Migration2Test.php index 6797440a264..7f8b5e8a044 100644 --- a/tests/app/Schema/Migration2Test.php +++ b/tests/app/Schema/Migration2Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration2 * - * @covers \Fisharebest\Webtrees\Schema\Migration2 + * @covers Fisharebest\Webtrees\Schema\Migration2 */ class Migration2Test extends TestCase { diff --git a/tests/app/Schema/Migration30Test.php b/tests/app/Schema/Migration30Test.php index 7a2b617674f..bedd17929e1 100644 --- a/tests/app/Schema/Migration30Test.php +++ b/tests/app/Schema/Migration30Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration30 * - * @covers \Fisharebest\Webtrees\Schema\Migration30 + * @covers Fisharebest\Webtrees\Schema\Migration30 */ class Migration30Test extends TestCase { diff --git a/tests/app/Schema/Migration31Test.php b/tests/app/Schema/Migration31Test.php index 08c9b69ab6d..45c01d25d63 100644 --- a/tests/app/Schema/Migration31Test.php +++ b/tests/app/Schema/Migration31Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration31 * - * @covers \Fisharebest\Webtrees\Schema\Migration31 + * @covers Fisharebest\Webtrees\Schema\Migration31 */ class Migration31Test extends TestCase { diff --git a/tests/app/Schema/Migration32Test.php b/tests/app/Schema/Migration32Test.php index f74cae7f85c..c45e765669e 100644 --- a/tests/app/Schema/Migration32Test.php +++ b/tests/app/Schema/Migration32Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration32 * - * @covers \Fisharebest\Webtrees\Schema\Migration32 + * @covers Fisharebest\Webtrees\Schema\Migration32 */ class Migration32Test extends TestCase { diff --git a/tests/app/Schema/Migration33Test.php b/tests/app/Schema/Migration33Test.php index ce3e5d6fc68..a444fb0935b 100644 --- a/tests/app/Schema/Migration33Test.php +++ b/tests/app/Schema/Migration33Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration33 * - * @covers \Fisharebest\Webtrees\Schema\Migration33 + * @covers Fisharebest\Webtrees\Schema\Migration33 */ class Migration33Test extends TestCase { diff --git a/tests/app/Schema/Migration34Test.php b/tests/app/Schema/Migration34Test.php index c8f5168e32b..fa42fc7408b 100644 --- a/tests/app/Schema/Migration34Test.php +++ b/tests/app/Schema/Migration34Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration34 * - * @covers \Fisharebest\Webtrees\Schema\Migration34 + * @covers Fisharebest\Webtrees\Schema\Migration34 */ class Migration34Test extends TestCase { diff --git a/tests/app/Schema/Migration35Test.php b/tests/app/Schema/Migration35Test.php index 227e7eef9d1..3b6eff3921b 100644 --- a/tests/app/Schema/Migration35Test.php +++ b/tests/app/Schema/Migration35Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration35 * - * @covers \Fisharebest\Webtrees\Schema\Migration35 + * @covers Fisharebest\Webtrees\Schema\Migration35 */ class Migration35Test extends TestCase { diff --git a/tests/app/Schema/Migration36Test.php b/tests/app/Schema/Migration36Test.php index afe1e11e6ce..6472b6de7a1 100644 --- a/tests/app/Schema/Migration36Test.php +++ b/tests/app/Schema/Migration36Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration36 * - * @covers \Fisharebest\Webtrees\Schema\Migration36 + * @covers Fisharebest\Webtrees\Schema\Migration36 */ class Migration36Test extends TestCase { diff --git a/tests/app/Schema/Migration37Test.php b/tests/app/Schema/Migration37Test.php index 30629606edf..3925e3a0348 100644 --- a/tests/app/Schema/Migration37Test.php +++ b/tests/app/Schema/Migration37Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration37 * - * @covers \Fisharebest\Webtrees\Schema\Migration37 + * @covers Fisharebest\Webtrees\Schema\Migration37 */ class Migration37Test extends TestCase { diff --git a/tests/app/Schema/Migration38Test.php b/tests/app/Schema/Migration38Test.php index dc60ee64598..33f3b0f0afa 100644 --- a/tests/app/Schema/Migration38Test.php +++ b/tests/app/Schema/Migration38Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration38 * - * @covers \Fisharebest\Webtrees\Schema\Migration38 + * @covers Fisharebest\Webtrees\Schema\Migration38 */ class Migration38Test extends TestCase { diff --git a/tests/app/Schema/Migration39Test.php b/tests/app/Schema/Migration39Test.php index e8c57d1d786..b16cc855d62 100644 --- a/tests/app/Schema/Migration39Test.php +++ b/tests/app/Schema/Migration39Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration39 * - * @covers \Fisharebest\Webtrees\Schema\Migration39 + * @covers Fisharebest\Webtrees\Schema\Migration39 */ class Migration39Test extends TestCase { diff --git a/tests/app/Schema/Migration3Test.php b/tests/app/Schema/Migration3Test.php index a41f7e4b097..abb0d40a5bf 100644 --- a/tests/app/Schema/Migration3Test.php +++ b/tests/app/Schema/Migration3Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration3 * - * @covers \Fisharebest\Webtrees\Schema\Migration3 + * @covers Fisharebest\Webtrees\Schema\Migration3 */ class Migration3Test extends TestCase { diff --git a/tests/app/Schema/Migration40Test.php b/tests/app/Schema/Migration40Test.php index 772120f3398..42bbac422c3 100644 --- a/tests/app/Schema/Migration40Test.php +++ b/tests/app/Schema/Migration40Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration40 * - * @covers \Fisharebest\Webtrees\Schema\Migration40 + * @covers Fisharebest\Webtrees\Schema\Migration40 */ class Migration40Test extends TestCase { diff --git a/tests/app/Schema/Migration41Test.php b/tests/app/Schema/Migration41Test.php index 1506ce0253d..3755ee72df4 100644 --- a/tests/app/Schema/Migration41Test.php +++ b/tests/app/Schema/Migration41Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration41 * - * @covers \Fisharebest\Webtrees\Schema\Migration41 + * @covers Fisharebest\Webtrees\Schema\Migration41 */ class Migration41Test extends TestCase { diff --git a/tests/app/Schema/Migration42Test.php b/tests/app/Schema/Migration42Test.php index 47c85f074df..887ca111bf7 100644 --- a/tests/app/Schema/Migration42Test.php +++ b/tests/app/Schema/Migration42Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration42 * - * @covers \Fisharebest\Webtrees\Schema\Migration42 + * @covers Fisharebest\Webtrees\Schema\Migration42 */ class Migration42Test extends TestCase { diff --git a/tests/app/Schema/Migration43Test.php b/tests/app/Schema/Migration43Test.php index f194cd06321..d3ca8e8e9eb 100644 --- a/tests/app/Schema/Migration43Test.php +++ b/tests/app/Schema/Migration43Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration43 * - * @covers \Fisharebest\Webtrees\Schema\Migration43 + * @covers Fisharebest\Webtrees\Schema\Migration43 */ class Migration43Test extends TestCase { diff --git a/tests/app/Schema/Migration44Test.php b/tests/app/Schema/Migration44Test.php index bdaefc33a5d..1d036c13952 100644 --- a/tests/app/Schema/Migration44Test.php +++ b/tests/app/Schema/Migration44Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration44 * - * @covers \Fisharebest\Webtrees\Schema\Migration44 + * @covers Fisharebest\Webtrees\Schema\Migration44 */ class Migration44Test extends TestCase { diff --git a/tests/app/Schema/Migration4Test.php b/tests/app/Schema/Migration4Test.php index 447d63320fe..4213219b07c 100644 --- a/tests/app/Schema/Migration4Test.php +++ b/tests/app/Schema/Migration4Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration4 * - * @covers \Fisharebest\Webtrees\Schema\Migration4 + * @covers Fisharebest\Webtrees\Schema\Migration4 */ class Migration4Test extends TestCase { diff --git a/tests/app/Schema/Migration5Test.php b/tests/app/Schema/Migration5Test.php index 5de9dd300fd..e0af124e7c8 100644 --- a/tests/app/Schema/Migration5Test.php +++ b/tests/app/Schema/Migration5Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration5 * - * @covers \Fisharebest\Webtrees\Schema\Migration5 + * @covers Fisharebest\Webtrees\Schema\Migration5 */ class Migration5Test extends TestCase { diff --git a/tests/app/Schema/Migration6Test.php b/tests/app/Schema/Migration6Test.php index 40431e57851..6b5e391d631 100644 --- a/tests/app/Schema/Migration6Test.php +++ b/tests/app/Schema/Migration6Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration6 * - * @covers \Fisharebest\Webtrees\Schema\Migration6 + * @covers Fisharebest\Webtrees\Schema\Migration6 */ class Migration6Test extends TestCase { diff --git a/tests/app/Schema/Migration7Test.php b/tests/app/Schema/Migration7Test.php index 116e095c4af..2a5b9fc560e 100644 --- a/tests/app/Schema/Migration7Test.php +++ b/tests/app/Schema/Migration7Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration7 * - * @covers \Fisharebest\Webtrees\Schema\Migration7 + * @covers Fisharebest\Webtrees\Schema\Migration7 */ class Migration7Test extends TestCase { diff --git a/tests/app/Schema/Migration8Test.php b/tests/app/Schema/Migration8Test.php index 35c48740504..67da33161cc 100644 --- a/tests/app/Schema/Migration8Test.php +++ b/tests/app/Schema/Migration8Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration8 * - * @covers \Fisharebest\Webtrees\Schema\Migration8 + * @covers Fisharebest\Webtrees\Schema\Migration8 */ class Migration8Test extends TestCase { diff --git a/tests/app/Schema/Migration9Test.php b/tests/app/Schema/Migration9Test.php index dfb8a5fa3c2..e91b143554f 100644 --- a/tests/app/Schema/Migration9Test.php +++ b/tests/app/Schema/Migration9Test.php @@ -24,7 +24,7 @@ /** * Test harness for the class Migration9 * - * @covers \Fisharebest\Webtrees\Schema\Migration9 + * @covers Fisharebest\Webtrees\Schema\Migration9 */ class Migration9Test extends TestCase { diff --git a/tests/app/Schema/SeedDefaultResnTableTest.php b/tests/app/Schema/SeedDefaultResnTableTest.php index e860473c376..48f53ae60ed 100644 --- a/tests/app/Schema/SeedDefaultResnTableTest.php +++ b/tests/app/Schema/SeedDefaultResnTableTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SeedDefaultResnTable * - * @covers \Fisharebest\Webtrees\Schema\SeedDefaultResnTable + * @covers Fisharebest\Webtrees\Schema\SeedDefaultResnTable */ class SeedDefaultResnTableTest extends TestCase { diff --git a/tests/app/Schema/SeedGedcomTableTest.php b/tests/app/Schema/SeedGedcomTableTest.php index 185b96bc1e5..e2d8308e210 100644 --- a/tests/app/Schema/SeedGedcomTableTest.php +++ b/tests/app/Schema/SeedGedcomTableTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SeedGedcomTable * - * @covers \Fisharebest\Webtrees\Schema\SeedGedcomTable + * @covers Fisharebest\Webtrees\Schema\SeedGedcomTable */ class SeedGedcomTableTest extends TestCase { diff --git a/tests/app/Schema/SeedUserTableTest.php b/tests/app/Schema/SeedUserTableTest.php index f417d9f9fc3..34ca43d7d80 100644 --- a/tests/app/Schema/SeedUserTableTest.php +++ b/tests/app/Schema/SeedUserTableTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SeedUserTable * - * @covers \Fisharebest\Webtrees\Schema\SeedUserTable + * @covers Fisharebest\Webtrees\Schema\SeedUserTable */ class SeedUserTableTest extends TestCase { diff --git a/tests/app/Services/AdminServiceTest.php b/tests/app/Services/AdminServiceTest.php index 424e097aa4f..04ea234310c 100644 --- a/tests/app/Services/AdminServiceTest.php +++ b/tests/app/Services/AdminServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class AdminService * - * @covers \Fisharebest\Webtrees\Services\AdminService + * @covers Fisharebest\Webtrees\Services\AdminService */ class AdminServiceTest extends TestCase { diff --git a/tests/app/Services/CalendarServiceTest.php b/tests/app/Services/CalendarServiceTest.php index c04a5277f16..f5beca43ba3 100644 --- a/tests/app/Services/CalendarServiceTest.php +++ b/tests/app/Services/CalendarServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CalendarService * - * @covers \Fisharebest\Webtrees\Services\CalendarService + * @covers Fisharebest\Webtrees\Services\CalendarService */ class CalendarServiceTest extends TestCase { diff --git a/tests/app/Services/CaptchaServiceTest.php b/tests/app/Services/CaptchaServiceTest.php index 4d0bb1e2ad0..e0527f4ca3a 100644 --- a/tests/app/Services/CaptchaServiceTest.php +++ b/tests/app/Services/CaptchaServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CaptchaService * - * @covers \Fisharebest\Webtrees\Services\CaptchaService + * @covers Fisharebest\Webtrees\Services\CaptchaService */ class CaptchaServiceTest extends TestCase { diff --git a/tests/app/Services/ChartServiceTest.php b/tests/app/Services/ChartServiceTest.php index 6b169446136..bcfc0a18fdc 100644 --- a/tests/app/Services/ChartServiceTest.php +++ b/tests/app/Services/ChartServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChartService * - * @covers \Fisharebest\Webtrees\Services\ChartService + * @covers Fisharebest\Webtrees\Services\ChartService */ class ChartServiceTest extends TestCase { diff --git a/tests/app/Services/ClipboardServiceTest.php b/tests/app/Services/ClipboardServiceTest.php index 035defdb61c..23e82567334 100644 --- a/tests/app/Services/ClipboardServiceTest.php +++ b/tests/app/Services/ClipboardServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ClipboardService * - * @covers \Fisharebest\Webtrees\Services\ClipboardService + * @covers Fisharebest\Webtrees\Services\ClipboardService */ class ClipboardServiceTest extends TestCase { diff --git a/tests/app/Services/DataFixServiceTest.php b/tests/app/Services/DataFixServiceTest.php index 2c4fd7753fb..50c484fa4ec 100644 --- a/tests/app/Services/DataFixServiceTest.php +++ b/tests/app/Services/DataFixServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class DataFixService * - * @covers \Fisharebest\Webtrees\Services\DataFixService + * @covers Fisharebest\Webtrees\Services\DataFixService */ class DataFixServiceTest extends TestCase { diff --git a/tests/app/Services/DatatablesServiceTest.php b/tests/app/Services/DatatablesServiceTest.php index e12753b1e6a..7bc68951b08 100644 --- a/tests/app/Services/DatatablesServiceTest.php +++ b/tests/app/Services/DatatablesServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class DatatablesService * - * @covers \Fisharebest\Webtrees\Services\DatatablesService + * @covers Fisharebest\Webtrees\Services\DatatablesService */ class DatatablesServiceTest extends TestCase { diff --git a/tests/app/Services/EmailServiceTest.php b/tests/app/Services/EmailServiceTest.php index c9e3357ef46..596c5ed951d 100644 --- a/tests/app/Services/EmailServiceTest.php +++ b/tests/app/Services/EmailServiceTest.php @@ -83,7 +83,7 @@ public function testSend(): void * * @return array> */ - public function emailProvider(): array + public static function emailProvider(): array { return [ // Valid emails @@ -117,9 +117,6 @@ public function emailProvider(): array * @dataProvider emailProvider * * @covers \Fisharebest\Webtrees\Services\EmailService::isValidEmail - * - * @param string $email - * @param bool $is_valid */ public function testIsValidEmail(string $email, bool $is_valid): void { diff --git a/tests/app/Services/GedcomEditServiceTest.php b/tests/app/Services/GedcomEditServiceTest.php index 672909b088b..df4071eb37f 100644 --- a/tests/app/Services/GedcomEditServiceTest.php +++ b/tests/app/Services/GedcomEditServiceTest.php @@ -163,7 +163,7 @@ public function testNewIndividualFactsWithNoFacts( * Data provider for new family facts tests * @return array>> */ - public function newFamilyFactsData(): array + public static function newFamilyFactsData(): array { return [ ['', []], @@ -177,7 +177,7 @@ public function newFamilyFactsData(): array * Data provider for new individual facts tests * @return array>> */ - public function newIndividualFactsData(): array + public static function newIndividualFactsData(): array { return [ ['', 'F', ['1 NAME FOONAME'], ['INDI:SEX', 'INDI:NAME']], diff --git a/tests/app/Services/GedcomExportServiceTest.php b/tests/app/Services/GedcomExportServiceTest.php index 4d1e6e94444..6d1f9d4b49f 100644 --- a/tests/app/Services/GedcomExportServiceTest.php +++ b/tests/app/Services/GedcomExportServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class GedcomExportService * - * @covers \Fisharebest\Webtrees\Services\GedcomExportService + * @covers Fisharebest\Webtrees\Services\GedcomExportService */ class GedcomExportServiceTest extends TestCase { diff --git a/tests/app/Services/GedcomImportServiceTest.php b/tests/app/Services/GedcomImportServiceTest.php index c877178a9e8..4485cae5ed0 100644 --- a/tests/app/Services/GedcomImportServiceTest.php +++ b/tests/app/Services/GedcomImportServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class GedcomImportService * - * @covers \Fisharebest\Webtrees\Services\GedcomImportService + * @covers Fisharebest\Webtrees\Services\GedcomImportService */ class GedcomImportServiceTest extends TestCase { diff --git a/tests/app/Services/GedcomServiceTest.php b/tests/app/Services/GedcomServiceTest.php index 6323736b32b..3a60d7bbce4 100644 --- a/tests/app/Services/GedcomServiceTest.php +++ b/tests/app/Services/GedcomServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class GedcomService * - * @covers \Fisharebest\Webtrees\Services\GedcomService + * @covers Fisharebest\Webtrees\Services\GedcomService */ class GedcomServiceTest extends TestCase { diff --git a/tests/app/Services/HomePageServiceTest.php b/tests/app/Services/HomePageServiceTest.php index 820ac5f9f79..5f1a0646c7b 100644 --- a/tests/app/Services/HomePageServiceTest.php +++ b/tests/app/Services/HomePageServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class HomePageService * - * @covers \Fisharebest\Webtrees\Services\HomePageService + * @covers Fisharebest\Webtrees\Services\HomePageService */ class HomePageServiceTest extends TestCase { diff --git a/tests/app/Services/HousekeepingServiceTest.php b/tests/app/Services/HousekeepingServiceTest.php index aafbe645474..270a6d37dc1 100644 --- a/tests/app/Services/HousekeepingServiceTest.php +++ b/tests/app/Services/HousekeepingServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class HousekeepingService * - * @covers \Fisharebest\Webtrees\Services\HousekeepingService + * @covers Fisharebest\Webtrees\Services\HousekeepingService */ class HousekeepingServiceTest extends TestCase { diff --git a/tests/app/Services/HtmlServiceTest.php b/tests/app/Services/HtmlServiceTest.php index 9a3524668bc..7d3cf9bb373 100644 --- a/tests/app/Services/HtmlServiceTest.php +++ b/tests/app/Services/HtmlServiceTest.php @@ -28,8 +28,6 @@ class HtmlServiceTest extends TestCase { /** * @covers \Fisharebest\Webtrees\Services\HtmlService::sanitize - * - * @return void */ public function testAllowedHtml(): void { @@ -43,8 +41,6 @@ public function testAllowedHtml(): void /** * @covers \Fisharebest\Webtrees\Services\HtmlService::sanitize - * - * @return void */ public function testDisallowedHtml(): void { diff --git a/tests/app/Services/IndividualFactsServiceTest.php b/tests/app/Services/IndividualFactsServiceTest.php index 322fc72df82..6d0b99e8881 100644 --- a/tests/app/Services/IndividualFactsServiceTest.php +++ b/tests/app/Services/IndividualFactsServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class IndividualFactsService * - * @covers \Fisharebest\Webtrees\Services\IndividualFactsService + * @covers Fisharebest\Webtrees\Services\IndividualFactsService */ class IndividualFactsServiceTest extends TestCase { diff --git a/tests/app/Services/LeafletJsServiceTest.php b/tests/app/Services/LeafletJsServiceTest.php index 0c2f1165e06..a8609026a77 100644 --- a/tests/app/Services/LeafletJsServiceTest.php +++ b/tests/app/Services/LeafletJsServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LeafletJsService * - * @covers \Fisharebest\Webtrees\Services\LeafletJsService + * @covers Fisharebest\Webtrees\Services\LeafletJsService */ class LeafletJsServiceTest extends TestCase { diff --git a/tests/app/Services/LinkedRecordServiceTest.php b/tests/app/Services/LinkedRecordServiceTest.php index 877cc270bcf..a64d93bde5c 100644 --- a/tests/app/Services/LinkedRecordServiceTest.php +++ b/tests/app/Services/LinkedRecordServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LinkedRecordService * - * @covers \Fisharebest\Webtrees\Services\LinkedRecordService + * @covers Fisharebest\Webtrees\Services\LinkedRecordService */ class LinkedRecordServiceTest extends TestCase { diff --git a/tests/app/Services/MapDataServiceTest.php b/tests/app/Services/MapDataServiceTest.php index fdae1f31edc..6b70d4d6567 100644 --- a/tests/app/Services/MapDataServiceTest.php +++ b/tests/app/Services/MapDataServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MapDataService * - * @covers \Fisharebest\Webtrees\Services\MapDataService + * @covers Fisharebest\Webtrees\Services\MapDataService */ class MapDataServiceTest extends TestCase { diff --git a/tests/app/Services/MediaFileServiceTest.php b/tests/app/Services/MediaFileServiceTest.php index 0bb181041d1..8ae02df21b7 100644 --- a/tests/app/Services/MediaFileServiceTest.php +++ b/tests/app/Services/MediaFileServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MediaFileService * - * @covers \Fisharebest\Webtrees\Services\MediaFileService + * @covers Fisharebest\Webtrees\Services\MediaFileService */ class MediaFileServiceTest extends TestCase { diff --git a/tests/app/Services/MessageServiceTest.php b/tests/app/Services/MessageServiceTest.php index 4c0abf27db5..8966b217d71 100644 --- a/tests/app/Services/MessageServiceTest.php +++ b/tests/app/Services/MessageServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MessageService * - * @covers \Fisharebest\Webtrees\Services\MessageService + * @covers Fisharebest\Webtrees\Services\MessageService */ class MessageServiceTest extends TestCase { diff --git a/tests/app/Services/MigrationServiceTest.php b/tests/app/Services/MigrationServiceTest.php index 59370dea2b4..59056a8ef87 100644 --- a/tests/app/Services/MigrationServiceTest.php +++ b/tests/app/Services/MigrationServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MigrationService * - * @covers \Fisharebest\Webtrees\Services\MigrationService + * @covers Fisharebest\Webtrees\Services\MigrationService */ class MigrationServiceTest extends TestCase { diff --git a/tests/app/Services/ModuleServiceTest.php b/tests/app/Services/ModuleServiceTest.php index 39a1b5f59d4..937dbe8d738 100644 --- a/tests/app/Services/ModuleServiceTest.php +++ b/tests/app/Services/ModuleServiceTest.php @@ -48,7 +48,6 @@ class ModuleServiceTest extends TestCase * @covers \Fisharebest\Webtrees\Services\ModuleService::coreModules * @covers \Fisharebest\Webtrees\Services\ModuleService::customModules * @covers \Fisharebest\Webtrees\Services\ModuleService::moduleComparator - * @return void */ public function testAll(): void { @@ -62,7 +61,6 @@ public function testAll(): void * @covers \Fisharebest\Webtrees\Services\ModuleService::menuComparator * @covers \Fisharebest\Webtrees\Services\ModuleService::sidebarComparator * @covers \Fisharebest\Webtrees\Services\ModuleService::tabComparator - * @return void */ public function testFindByComponent(): void { @@ -82,7 +80,6 @@ public function testFindByComponent(): void /** * @covers \Fisharebest\Webtrees\Services\ModuleService::findByInterface - * @return void */ public function testFindByInterface(): void { @@ -106,7 +103,6 @@ public function testFindByInterface(): void /** * @covers \Fisharebest\Webtrees\Services\ModuleService::otherModules - * @return void */ public function testOtherModules(): void { @@ -123,7 +119,6 @@ public function testOtherModules(): void /** * @covers \Fisharebest\Webtrees\Services\ModuleService::deletedModules - * @return void */ public function testDeletedModules(): void { diff --git a/tests/app/Services/PendingChangesServiceTest.php b/tests/app/Services/PendingChangesServiceTest.php index 087a08a859a..88f16150de5 100644 --- a/tests/app/Services/PendingChangesServiceTest.php +++ b/tests/app/Services/PendingChangesServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PendingChangesService * - * @covers \Fisharebest\Webtrees\Services\PendingChangesService + * @covers Fisharebest\Webtrees\Services\PendingChangesService */ class PendingChangesServiceTest extends TestCase { diff --git a/tests/app/Services/RateLimitServiceTest.php b/tests/app/Services/RateLimitServiceTest.php index 74b553f1d2a..13a8766cceb 100644 --- a/tests/app/Services/RateLimitServiceTest.php +++ b/tests/app/Services/RateLimitServiceTest.php @@ -36,8 +36,6 @@ class RateLimitServiceTest extends TestCase { /** * @covers \Fisharebest\Webtrees\Services\RateLimitService - * - * @return void */ public function testTooMuchHistory(): void { @@ -52,8 +50,6 @@ public function testTooMuchHistory(): void /** * @covers \Fisharebest\Webtrees\Services\RateLimitService - * - * @return void */ public function testLimitNotReached(): void { @@ -76,8 +72,6 @@ public function testLimitNotReached(): void /** * @covers \Fisharebest\Webtrees\Services\RateLimitService - * - * @return void */ public function testOldEventsIgnored(): void { @@ -95,8 +89,6 @@ public function testOldEventsIgnored(): void /** * @covers \Fisharebest\Webtrees\Services\RateLimitService - * - * @return void */ public function testLimitReached(): void { diff --git a/tests/app/Services/RelationshipServiceTest.php b/tests/app/Services/RelationshipServiceTest.php index a5ad9552047..d4c67673aa7 100644 --- a/tests/app/Services/RelationshipServiceTest.php +++ b/tests/app/Services/RelationshipServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class RelationshipService * - * @covers \Fisharebest\Webtrees\Services\RelationshipService + * @covers Fisharebest\Webtrees\Services\RelationshipService */ class RelationshipServiceTest extends TestCase { diff --git a/tests/app/Services/RomanNumeralsServiceTest.php b/tests/app/Services/RomanNumeralsServiceTest.php index 8df16a3d4b4..f3f870d79c0 100644 --- a/tests/app/Services/RomanNumeralsServiceTest.php +++ b/tests/app/Services/RomanNumeralsServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class RomanNumeralsService * - * @covers \Fisharebest\Webtrees\Services\RomanNumeralsService + * @covers Fisharebest\Webtrees\Services\RomanNumeralsService */ class RomanNumeralsServiceTest extends TestCase { diff --git a/tests/app/Services/SearchServiceTest.php b/tests/app/Services/SearchServiceTest.php index e02715e1c50..cbc71f92add 100644 --- a/tests/app/Services/SearchServiceTest.php +++ b/tests/app/Services/SearchServiceTest.php @@ -31,9 +31,6 @@ class SearchServiceTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testSearchesReturnCollections(): void { $tree_service = new TreeService(new GedcomImportService()); diff --git a/tests/app/Services/ServerCheckServiceTest.php b/tests/app/Services/ServerCheckServiceTest.php index 4b412418ee3..bb252466ebf 100644 --- a/tests/app/Services/ServerCheckServiceTest.php +++ b/tests/app/Services/ServerCheckServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ServerCheckService * - * @covers \Fisharebest\Webtrees\Services\ServerCheckService + * @covers Fisharebest\Webtrees\Services\ServerCheckService */ class ServerCheckServiceTest extends TestCase { diff --git a/tests/app/Services/SiteLogsServiceTest.php b/tests/app/Services/SiteLogsServiceTest.php index be2de10dda5..0f2e0285253 100644 --- a/tests/app/Services/SiteLogsServiceTest.php +++ b/tests/app/Services/SiteLogsServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SiteLogsService * - * @covers \Fisharebest\Webtrees\Services\SiteLogsService + * @covers Fisharebest\Webtrees\Services\SiteLogsService */ class SiteLogsServiceTest extends TestCase { diff --git a/tests/app/Services/TimeoutServiceTest.php b/tests/app/Services/TimeoutServiceTest.php index b47c1b24fb2..5f77467762d 100644 --- a/tests/app/Services/TimeoutServiceTest.php +++ b/tests/app/Services/TimeoutServiceTest.php @@ -45,9 +45,6 @@ function ini_get(...$args) */ class TimeoutServiceTest extends TestCase { - /** - * @return void - */ protected function setUp(): void { parent::setUp(); @@ -55,9 +52,6 @@ protected function setUp(): void self::$mock_functions = $this->getMockForAbstractClass(MockGlobalFunctions::class); } - /** - * @return void - */ protected function tearDown(): void { parent::setUp(); @@ -68,8 +62,6 @@ protected function tearDown(): void /** * @covers \Fisharebest\Webtrees\Services\TimeoutService::__construct * @covers \Fisharebest\Webtrees\Services\TimeoutService::isTimeNearlyUp - * - * @return void */ public function testNoTimeOut(): void { @@ -88,8 +80,6 @@ public function testNoTimeOut(): void /** * @covers \Fisharebest\Webtrees\Services\TimeoutService::__construct * @covers \Fisharebest\Webtrees\Services\TimeoutService::isTimeNearlyUp - * - * @return void */ public function testTimeOutReached(): void { @@ -112,8 +102,6 @@ public function testTimeOutReached(): void /** * @covers \Fisharebest\Webtrees\Services\TimeoutService::__construct * @covers \Fisharebest\Webtrees\Services\TimeoutService::isTimeNearlyUp - * - * @return void */ public function testTimeOutNotReached(): void { @@ -136,8 +124,6 @@ public function testTimeOutNotReached(): void /** * @covers \Fisharebest\Webtrees\Services\TimeoutService::__construct * @covers \Fisharebest\Webtrees\Services\TimeoutService::isTimeLimitUp - * - * @return void */ public function testTimeLimitNotReached(): void { @@ -155,8 +141,6 @@ public function testTimeLimitNotReached(): void /** * @covers \Fisharebest\Webtrees\Services\TimeoutService::__construct * @covers \Fisharebest\Webtrees\Services\TimeoutService::isTimeLimitUp - * - * @return void */ public function testTimeLimitReached(): void { diff --git a/tests/app/Services/TreeServiceTest.php b/tests/app/Services/TreeServiceTest.php index 0852154bb7c..372c8996717 100644 --- a/tests/app/Services/TreeServiceTest.php +++ b/tests/app/Services/TreeServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class TreeService * - * @covers \Fisharebest\Webtrees\Services\TreeService + * @covers Fisharebest\Webtrees\Services\TreeService */ class TreeServiceTest extends TestCase { diff --git a/tests/app/Services/UpgradeServiceTest.php b/tests/app/Services/UpgradeServiceTest.php index 57df44975b9..931655ed848 100644 --- a/tests/app/Services/UpgradeServiceTest.php +++ b/tests/app/Services/UpgradeServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UpgradeService * - * @covers \Fisharebest\Webtrees\Services\UpgradeService + * @covers Fisharebest\Webtrees\Services\UpgradeService */ class UpgradeServiceTest extends TestCase { diff --git a/tests/app/Services/UserServiceTest.php b/tests/app/Services/UserServiceTest.php index 25899b70b79..a53b0936108 100644 --- a/tests/app/Services/UserServiceTest.php +++ b/tests/app/Services/UserServiceTest.php @@ -45,7 +45,6 @@ protected function setUp(): void /** * @covers \Fisharebest\Webtrees\Services\UserService::create - * @return void */ public function testCreate(): void { @@ -58,7 +57,6 @@ public function testCreate(): void /** * @covers \Fisharebest\Webtrees\Services\UserService::delete - * @return void */ public function testDelete(): void { @@ -72,7 +70,6 @@ public function testDelete(): void /** * @covers \Fisharebest\Webtrees\Services\UserService::find - * @return void */ public function testFindNonExistingUser(): void { @@ -84,7 +81,6 @@ public function testFindNonExistingUser(): void /** * @covers \Fisharebest\Webtrees\Services\UserService::find - * @return void */ public function testFindExistingUser(): void { @@ -97,7 +93,6 @@ public function testFindExistingUser(): void /** * @covers \Fisharebest\Webtrees\Services\UserService::findByEmail - * @return void */ public function testFindUserByEmail(): void { @@ -110,7 +105,6 @@ public function testFindUserByEmail(): void /** * @covers \Fisharebest\Webtrees\Services\UserService::findByUserName - * @return void */ public function testFindUserByUserName(): void { @@ -123,7 +117,6 @@ public function testFindUserByUserName(): void /** * @covers \Fisharebest\Webtrees\Services\UserService::findByIdentifier - * @return void */ public function testFindUserByIdentifier(): void { @@ -138,7 +131,6 @@ public function testFindUserByIdentifier(): void /** * @covers \Fisharebest\Webtrees\Services\UserService::findByIndividual - * @return void */ public function testFindUsersByIndividual(): void { @@ -157,7 +149,6 @@ public function testFindUsersByIndividual(): void /** * @covers \Fisharebest\Webtrees\Services\UserService::all - * @return void */ public function testFindAllUsers(): void { @@ -174,7 +165,6 @@ public function testFindAllUsers(): void /** * @covers \Fisharebest\Webtrees\Services\UserService::administrators - * @return void */ public function testFindAdministrators(): void { @@ -192,7 +182,6 @@ public function testFindAdministrators(): void /** * @covers \Fisharebest\Webtrees\Services\UserService::managers - * @return void */ public function testFindManagers(): void { @@ -216,7 +205,6 @@ public function testFindManagers(): void /** * @covers \Fisharebest\Webtrees\Services\UserService::moderators - * @return void */ public function testFindModerators(): void { @@ -241,7 +229,6 @@ public function testFindModerators(): void /** * @covers \Fisharebest\Webtrees\Services\UserService::unapproved * @covers \Fisharebest\Webtrees\Services\UserService::unverified - * @return void */ public function testFindUnapprovedAndUnverified(): void { diff --git a/tests/app/SessionDatabaseHandlerTest.php b/tests/app/SessionDatabaseHandlerTest.php index dd5413580ec..91c8b0cd0c1 100644 --- a/tests/app/SessionDatabaseHandlerTest.php +++ b/tests/app/SessionDatabaseHandlerTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SessionDatabaseHandler * - * @covers \Fisharebest\Webtrees\SessionDatabaseHandler + * @covers Fisharebest\Webtrees\SessionDatabaseHandler */ class SessionDatabaseHandlerTest extends TestCase { diff --git a/tests/app/SessionTest.php b/tests/app/SessionTest.php index 0f807dcd209..fe487531271 100644 --- a/tests/app/SessionTest.php +++ b/tests/app/SessionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Session * - * @covers \Fisharebest\Webtrees\Session + * @covers Fisharebest\Webtrees\Session */ class SessionTest extends TestCase { diff --git a/tests/app/SharedNoteTest.php b/tests/app/SharedNoteTest.php index 803230e62ee..ec51fc921ab 100644 --- a/tests/app/SharedNoteTest.php +++ b/tests/app/SharedNoteTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class SharedNote * - * @covers \Fisharebest\Webtrees\SharedNote + * @covers Fisharebest\Webtrees\SharedNote */ class SharedNoteTest extends TestCase { diff --git a/tests/app/SiteTest.php b/tests/app/SiteTest.php index 54163911d54..5663d773677 100644 --- a/tests/app/SiteTest.php +++ b/tests/app/SiteTest.php @@ -30,8 +30,6 @@ class SiteTest extends TestCase /** * @covers \Fisharebest\Webtrees\Site - * - * @return void */ public function testDefault(): void { @@ -41,8 +39,6 @@ public function testDefault(): void /** * @covers \Fisharebest\Webtrees\Site - * - * @return void */ public function testSetAndGetPreference(): void { @@ -53,8 +49,6 @@ public function testSetAndGetPreference(): void /** * @covers \Fisharebest\Webtrees\Site - * - * @return void */ public function test2000CharacterLimit(): void { diff --git a/tests/app/SiteUserTest.php b/tests/app/SiteUserTest.php index 52c24800142..9af95466929 100644 --- a/tests/app/SiteUserTest.php +++ b/tests/app/SiteUserTest.php @@ -33,7 +33,6 @@ class SiteUserTest extends TestCase * @covers \Fisharebest\Webtrees\SiteUser::email * @covers \Fisharebest\Webtrees\SiteUser::realName * @covers \Fisharebest\Webtrees\SiteUser::userName - * @return void */ public function testConstructor(): void { @@ -51,7 +50,6 @@ public function testConstructor(): void /** * @covers \Fisharebest\Webtrees\SiteUser::getPreference * @covers \Fisharebest\Webtrees\SiteUser::setPreference - * @return void */ public function testPreferences(): void { diff --git a/tests/app/SoundexTest.php b/tests/app/SoundexTest.php index f372f4a8761..50581fcda7d 100644 --- a/tests/app/SoundexTest.php +++ b/tests/app/SoundexTest.php @@ -28,8 +28,6 @@ class SoundexTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/SourceTest.php b/tests/app/SourceTest.php index 10e2a622e05..a1f9efe158e 100644 --- a/tests/app/SourceTest.php +++ b/tests/app/SourceTest.php @@ -28,8 +28,6 @@ class SourceTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/Statistics/Google/ChartAgeTest.php b/tests/app/Statistics/Google/ChartAgeTest.php index d0a3e219da2..c96b4141797 100644 --- a/tests/app/Statistics/Google/ChartAgeTest.php +++ b/tests/app/Statistics/Google/ChartAgeTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChartAge * - * @covers \Fisharebest\Webtrees\Statistics\Google\ChartAge + * @covers Fisharebest\Webtrees\Statistics\Google\ChartAge */ class ChartAgeTest extends TestCase { diff --git a/tests/app/Statistics/Google/ChartBirthTest.php b/tests/app/Statistics/Google/ChartBirthTest.php index 334319aa680..586f5dfc048 100644 --- a/tests/app/Statistics/Google/ChartBirthTest.php +++ b/tests/app/Statistics/Google/ChartBirthTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChartBirth * - * @covers \Fisharebest\Webtrees\Statistics\Google\ChartBirth + * @covers Fisharebest\Webtrees\Statistics\Google\ChartBirth */ class ChartBirthTest extends TestCase { diff --git a/tests/app/Statistics/Google/ChartChildrenTest.php b/tests/app/Statistics/Google/ChartChildrenTest.php index 2d2388d0747..961f4c30182 100644 --- a/tests/app/Statistics/Google/ChartChildrenTest.php +++ b/tests/app/Statistics/Google/ChartChildrenTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChartChildren * - * @covers \Fisharebest\Webtrees\Statistics\Google\ChartChildren + * @covers Fisharebest\Webtrees\Statistics\Google\ChartChildren */ class ChartChildrenTest extends TestCase { diff --git a/tests/app/Statistics/Google/ChartCommonGivenTest.php b/tests/app/Statistics/Google/ChartCommonGivenTest.php index cb87f92e5b4..66dfe10d53b 100644 --- a/tests/app/Statistics/Google/ChartCommonGivenTest.php +++ b/tests/app/Statistics/Google/ChartCommonGivenTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChartCommonGiven * - * @covers \Fisharebest\Webtrees\Statistics\Google\ChartCommonGiven + * @covers Fisharebest\Webtrees\Statistics\Google\ChartCommonGiven */ class ChartCommonGivenTest extends TestCase { diff --git a/tests/app/Statistics/Google/ChartCommonSurnameTest.php b/tests/app/Statistics/Google/ChartCommonSurnameTest.php index 6b4297e2e85..79a8d94b88c 100644 --- a/tests/app/Statistics/Google/ChartCommonSurnameTest.php +++ b/tests/app/Statistics/Google/ChartCommonSurnameTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChartCommonSurname * - * @covers \Fisharebest\Webtrees\Statistics\Google\ChartCommonSurname + * @covers Fisharebest\Webtrees\Statistics\Google\ChartCommonSurname */ class ChartCommonSurnameTest extends TestCase { diff --git a/tests/app/Statistics/Google/ChartDeathTest.php b/tests/app/Statistics/Google/ChartDeathTest.php index 104b0a06953..77e22f5a0c3 100644 --- a/tests/app/Statistics/Google/ChartDeathTest.php +++ b/tests/app/Statistics/Google/ChartDeathTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChartDeath * - * @covers \Fisharebest\Webtrees\Statistics\Google\ChartDeath + * @covers Fisharebest\Webtrees\Statistics\Google\ChartDeath */ class ChartDeathTest extends TestCase { diff --git a/tests/app/Statistics/Google/ChartDistributionTest.php b/tests/app/Statistics/Google/ChartDistributionTest.php index 38c3e88eb05..80e110f33e9 100644 --- a/tests/app/Statistics/Google/ChartDistributionTest.php +++ b/tests/app/Statistics/Google/ChartDistributionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChartDistribution * - * @covers \Fisharebest\Webtrees\Statistics\Google\ChartDistribution + * @covers Fisharebest\Webtrees\Statistics\Google\ChartDistribution */ class ChartDistributionTest extends TestCase { diff --git a/tests/app/Statistics/Google/ChartDivorceTest.php b/tests/app/Statistics/Google/ChartDivorceTest.php index b698b7e5456..99f7f2d27f1 100644 --- a/tests/app/Statistics/Google/ChartDivorceTest.php +++ b/tests/app/Statistics/Google/ChartDivorceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChartDivorce * - * @covers \Fisharebest\Webtrees\Statistics\Google\ChartDivorce + * @covers Fisharebest\Webtrees\Statistics\Google\ChartDivorce */ class ChartDivorceTest extends TestCase { diff --git a/tests/app/Statistics/Google/ChartFamilyLargestTest.php b/tests/app/Statistics/Google/ChartFamilyLargestTest.php index 0a22df53d9a..e754a24ac21 100644 --- a/tests/app/Statistics/Google/ChartFamilyLargestTest.php +++ b/tests/app/Statistics/Google/ChartFamilyLargestTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChartFamilyLargest * - * @covers \Fisharebest\Webtrees\Statistics\Google\ChartFamilyLargest + * @covers Fisharebest\Webtrees\Statistics\Google\ChartFamilyLargest */ class ChartFamilyLargestTest extends TestCase { diff --git a/tests/app/Statistics/Google/ChartFamilyWithSourcesTest.php b/tests/app/Statistics/Google/ChartFamilyWithSourcesTest.php index f1a2af34c22..046da0dcbe9 100644 --- a/tests/app/Statistics/Google/ChartFamilyWithSourcesTest.php +++ b/tests/app/Statistics/Google/ChartFamilyWithSourcesTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChartFamilyWithSources * - * @covers \Fisharebest\Webtrees\Statistics\Google\ChartFamilyWithSources + * @covers Fisharebest\Webtrees\Statistics\Google\ChartFamilyWithSources */ class ChartFamilyWithSourcesTest extends TestCase { diff --git a/tests/app/Statistics/Google/ChartIndividualWithSourcesTest.php b/tests/app/Statistics/Google/ChartIndividualWithSourcesTest.php index 3409215c51b..186a6b7c4df 100644 --- a/tests/app/Statistics/Google/ChartIndividualWithSourcesTest.php +++ b/tests/app/Statistics/Google/ChartIndividualWithSourcesTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChartIndividualWithSources * - * @covers \Fisharebest\Webtrees\Statistics\Google\ChartIndividualWithSources + * @covers Fisharebest\Webtrees\Statistics\Google\ChartIndividualWithSources */ class ChartIndividualWithSourcesTest extends TestCase { diff --git a/tests/app/Statistics/Google/ChartMarriageAgeTest.php b/tests/app/Statistics/Google/ChartMarriageAgeTest.php index c426e5ab27a..99a147b7358 100644 --- a/tests/app/Statistics/Google/ChartMarriageAgeTest.php +++ b/tests/app/Statistics/Google/ChartMarriageAgeTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChartMarriageAge * - * @covers \Fisharebest\Webtrees\Statistics\Google\ChartMarriageAge + * @covers Fisharebest\Webtrees\Statistics\Google\ChartMarriageAge */ class ChartMarriageAgeTest extends TestCase { diff --git a/tests/app/Statistics/Google/ChartMarriageTest.php b/tests/app/Statistics/Google/ChartMarriageTest.php index c3b605521cc..224601959bb 100644 --- a/tests/app/Statistics/Google/ChartMarriageTest.php +++ b/tests/app/Statistics/Google/ChartMarriageTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChartMarriage * - * @covers \Fisharebest\Webtrees\Statistics\Google\ChartMarriage + * @covers Fisharebest\Webtrees\Statistics\Google\ChartMarriage */ class ChartMarriageTest extends TestCase { diff --git a/tests/app/Statistics/Google/ChartMediaTest.php b/tests/app/Statistics/Google/ChartMediaTest.php index ca51e178efa..1ae859ae9dc 100644 --- a/tests/app/Statistics/Google/ChartMediaTest.php +++ b/tests/app/Statistics/Google/ChartMediaTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChartMedia * - * @covers \Fisharebest\Webtrees\Statistics\Google\ChartMedia + * @covers Fisharebest\Webtrees\Statistics\Google\ChartMedia */ class ChartMediaTest extends TestCase { diff --git a/tests/app/Statistics/Google/ChartMortalityTest.php b/tests/app/Statistics/Google/ChartMortalityTest.php index 934432ae9e5..5f6f8914d28 100644 --- a/tests/app/Statistics/Google/ChartMortalityTest.php +++ b/tests/app/Statistics/Google/ChartMortalityTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChartMortality * - * @covers \Fisharebest\Webtrees\Statistics\Google\ChartMortality + * @covers Fisharebest\Webtrees\Statistics\Google\ChartMortality */ class ChartMortalityTest extends TestCase { diff --git a/tests/app/Statistics/Google/ChartNoChildrenFamiliesTest.php b/tests/app/Statistics/Google/ChartNoChildrenFamiliesTest.php index b01953d2d53..3b2196b2af4 100644 --- a/tests/app/Statistics/Google/ChartNoChildrenFamiliesTest.php +++ b/tests/app/Statistics/Google/ChartNoChildrenFamiliesTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChartNoChildrenFamilies * - * @covers \Fisharebest\Webtrees\Statistics\Google\ChartNoChildrenFamilies + * @covers Fisharebest\Webtrees\Statistics\Google\ChartNoChildrenFamilies */ class ChartNoChildrenFamiliesTest extends TestCase { diff --git a/tests/app/Statistics/Google/ChartSexTest.php b/tests/app/Statistics/Google/ChartSexTest.php index 071486d3697..0a7966ce9e1 100644 --- a/tests/app/Statistics/Google/ChartSexTest.php +++ b/tests/app/Statistics/Google/ChartSexTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ChartSex * - * @covers \Fisharebest\Webtrees\Statistics\Google\ChartSex + * @covers Fisharebest\Webtrees\Statistics\Google\ChartSex */ class ChartSexTest extends TestCase { diff --git a/tests/app/Statistics/Repository/BrowserRepositoryTest.php b/tests/app/Statistics/Repository/BrowserRepositoryTest.php index 7b983a54557..f4acd02e8d4 100644 --- a/tests/app/Statistics/Repository/BrowserRepositoryTest.php +++ b/tests/app/Statistics/Repository/BrowserRepositoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class BrowserRepository * - * @covers \Fisharebest\Webtrees\Statistics\Repository\BrowserRepository + * @covers Fisharebest\Webtrees\Statistics\Repository\BrowserRepository */ class BrowserRepositoryTest extends TestCase { diff --git a/tests/app/Statistics/Repository/ContactRepositoryTest.php b/tests/app/Statistics/Repository/ContactRepositoryTest.php index 9acc3ef2bda..6d038b94f69 100644 --- a/tests/app/Statistics/Repository/ContactRepositoryTest.php +++ b/tests/app/Statistics/Repository/ContactRepositoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ContactRepository * - * @covers \Fisharebest\Webtrees\Statistics\Repository\ContactRepository + * @covers Fisharebest\Webtrees\Statistics\Repository\ContactRepository */ class ContactRepositoryTest extends TestCase { diff --git a/tests/app/Statistics/Repository/EventRepositoryTest.php b/tests/app/Statistics/Repository/EventRepositoryTest.php index 3030b6b8d30..f72c6f6f462 100644 --- a/tests/app/Statistics/Repository/EventRepositoryTest.php +++ b/tests/app/Statistics/Repository/EventRepositoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class EventRepository * - * @covers \Fisharebest\Webtrees\Statistics\Repository\EventRepository + * @covers Fisharebest\Webtrees\Statistics\Repository\EventRepository */ class EventRepositoryTest extends TestCase { diff --git a/tests/app/Statistics/Repository/FamilyDatesRepositoryTest.php b/tests/app/Statistics/Repository/FamilyDatesRepositoryTest.php index 4af35c260be..cb7c7b69edc 100644 --- a/tests/app/Statistics/Repository/FamilyDatesRepositoryTest.php +++ b/tests/app/Statistics/Repository/FamilyDatesRepositoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FamilyDatesRepository * - * @covers \Fisharebest\Webtrees\Statistics\Repository\FamilyDatesRepository + * @covers Fisharebest\Webtrees\Statistics\Repository\FamilyDatesRepository */ class FamilyDatesRepositoryTest extends TestCase { diff --git a/tests/app/Statistics/Repository/FamilyRepositoryTest.php b/tests/app/Statistics/Repository/FamilyRepositoryTest.php index 703585cb4f4..e67f4f38d0b 100644 --- a/tests/app/Statistics/Repository/FamilyRepositoryTest.php +++ b/tests/app/Statistics/Repository/FamilyRepositoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FamilyRepository * - * @covers \Fisharebest\Webtrees\Statistics\Repository\FamilyRepository + * @covers Fisharebest\Webtrees\Statistics\Repository\FamilyRepository */ class FamilyRepositoryTest extends TestCase { diff --git a/tests/app/Statistics/Repository/FavoritesRepositoryTest.php b/tests/app/Statistics/Repository/FavoritesRepositoryTest.php index 37d22a91428..6052beac078 100644 --- a/tests/app/Statistics/Repository/FavoritesRepositoryTest.php +++ b/tests/app/Statistics/Repository/FavoritesRepositoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class FavoritesRepository * - * @covers \Fisharebest\Webtrees\Statistics\Repository\FavoritesRepository + * @covers Fisharebest\Webtrees\Statistics\Repository\FavoritesRepository */ class FavoritesRepositoryTest extends TestCase { diff --git a/tests/app/Statistics/Repository/GedcomRepositoryTest.php b/tests/app/Statistics/Repository/GedcomRepositoryTest.php index c2bb9dc2874..15497b376ef 100644 --- a/tests/app/Statistics/Repository/GedcomRepositoryTest.php +++ b/tests/app/Statistics/Repository/GedcomRepositoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class GedcomRepository * - * @covers \Fisharebest\Webtrees\Statistics\Repository\GedcomRepository + * @covers Fisharebest\Webtrees\Statistics\Repository\GedcomRepository */ class GedcomRepositoryTest extends TestCase { diff --git a/tests/app/Statistics/Repository/HitCountRepositoryTest.php b/tests/app/Statistics/Repository/HitCountRepositoryTest.php index 525ae69d3db..f6fb00ce332 100644 --- a/tests/app/Statistics/Repository/HitCountRepositoryTest.php +++ b/tests/app/Statistics/Repository/HitCountRepositoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class HitCountRepository * - * @covers \Fisharebest\Webtrees\Statistics\Repository\HitCountRepository + * @covers Fisharebest\Webtrees\Statistics\Repository\HitCountRepository */ class HitCountRepositoryTest extends TestCase { diff --git a/tests/app/Statistics/Repository/IndividualRepositoryTest.php b/tests/app/Statistics/Repository/IndividualRepositoryTest.php index b3b9dd42579..3a0ae5f99ee 100644 --- a/tests/app/Statistics/Repository/IndividualRepositoryTest.php +++ b/tests/app/Statistics/Repository/IndividualRepositoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class IndividualRepository * - * @covers \Fisharebest\Webtrees\Statistics\Repository\IndividualRepository + * @covers Fisharebest\Webtrees\Statistics\Repository\IndividualRepository */ class IndividualRepositoryTest extends TestCase { diff --git a/tests/app/Statistics/Repository/LatestUserRepositoryTest.php b/tests/app/Statistics/Repository/LatestUserRepositoryTest.php index b830431d22e..1ad726cde2f 100644 --- a/tests/app/Statistics/Repository/LatestUserRepositoryTest.php +++ b/tests/app/Statistics/Repository/LatestUserRepositoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class LatestUserRepository * - * @covers \Fisharebest\Webtrees\Statistics\Repository\LatestUserRepository + * @covers Fisharebest\Webtrees\Statistics\Repository\LatestUserRepository */ class LatestUserRepositoryTest extends TestCase { diff --git a/tests/app/Statistics/Repository/MediaRepositoryTest.php b/tests/app/Statistics/Repository/MediaRepositoryTest.php index 4cf0bcf215d..ff4d877db7e 100644 --- a/tests/app/Statistics/Repository/MediaRepositoryTest.php +++ b/tests/app/Statistics/Repository/MediaRepositoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MediaRepository * - * @covers \Fisharebest\Webtrees\Statistics\Repository\MediaRepository + * @covers Fisharebest\Webtrees\Statistics\Repository\MediaRepository */ class MediaRepositoryTest extends TestCase { diff --git a/tests/app/Statistics/Repository/MessageRepositoryTest.php b/tests/app/Statistics/Repository/MessageRepositoryTest.php index 69332462ceb..e449b81d3c0 100644 --- a/tests/app/Statistics/Repository/MessageRepositoryTest.php +++ b/tests/app/Statistics/Repository/MessageRepositoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class MessageRepository * - * @covers \Fisharebest\Webtrees\Statistics\Repository\MessageRepository + * @covers Fisharebest\Webtrees\Statistics\Repository\MessageRepository */ class MessageRepositoryTest extends TestCase { diff --git a/tests/app/Statistics/Repository/NewsRepositoryTest.php b/tests/app/Statistics/Repository/NewsRepositoryTest.php index a5f0bc33852..819cf8cf76d 100644 --- a/tests/app/Statistics/Repository/NewsRepositoryTest.php +++ b/tests/app/Statistics/Repository/NewsRepositoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class NewsRepository * - * @covers \Fisharebest\Webtrees\Statistics\Repository\NewsRepository + * @covers Fisharebest\Webtrees\Statistics\Repository\NewsRepository */ class NewsRepositoryTest extends TestCase { diff --git a/tests/app/Statistics/Repository/PlaceRepositoryTest.php b/tests/app/Statistics/Repository/PlaceRepositoryTest.php index d2c6f0ad44a..df34ecde2af 100644 --- a/tests/app/Statistics/Repository/PlaceRepositoryTest.php +++ b/tests/app/Statistics/Repository/PlaceRepositoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class PlaceRepository * - * @covers \Fisharebest\Webtrees\Statistics\Repository\PlaceRepository + * @covers Fisharebest\Webtrees\Statistics\Repository\PlaceRepository */ class PlaceRepositoryTest extends TestCase { diff --git a/tests/app/Statistics/Repository/ServerRepositoryTest.php b/tests/app/Statistics/Repository/ServerRepositoryTest.php index aaeb221b5b6..68fa165b139 100644 --- a/tests/app/Statistics/Repository/ServerRepositoryTest.php +++ b/tests/app/Statistics/Repository/ServerRepositoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ServerRepository * - * @covers \Fisharebest\Webtrees\Statistics\Repository\ServerRepository + * @covers Fisharebest\Webtrees\Statistics\Repository\ServerRepository */ class ServerRepositoryTest extends TestCase { diff --git a/tests/app/Statistics/Repository/UserRepositoryTest.php b/tests/app/Statistics/Repository/UserRepositoryTest.php index be900f7530c..33a29521d0a 100644 --- a/tests/app/Statistics/Repository/UserRepositoryTest.php +++ b/tests/app/Statistics/Repository/UserRepositoryTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class UserRepository * - * @covers \Fisharebest\Webtrees\Statistics\Repository\UserRepository + * @covers Fisharebest\Webtrees\Statistics\Repository\UserRepository */ class UserRepositoryTest extends TestCase { diff --git a/tests/app/Statistics/Service/CenturyServiceTest.php b/tests/app/Statistics/Service/CenturyServiceTest.php index 5142cdf3f82..063fa050ba6 100644 --- a/tests/app/Statistics/Service/CenturyServiceTest.php +++ b/tests/app/Statistics/Service/CenturyServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CenturyService * - * @covers \Fisharebest\Webtrees\Statistics\Service\CenturyService + * @covers Fisharebest\Webtrees\Statistics\Service\CenturyService */ class CenturyServiceTest extends TestCase { diff --git a/tests/app/Statistics/Service/ColorServiceTest.php b/tests/app/Statistics/Service/ColorServiceTest.php index 0afc145cf7e..2f19447e2f4 100644 --- a/tests/app/Statistics/Service/ColorServiceTest.php +++ b/tests/app/Statistics/Service/ColorServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class ColorService * - * @covers \Fisharebest\Webtrees\Statistics\Service\ColorService + * @covers Fisharebest\Webtrees\Statistics\Service\ColorService */ class ColorServiceTest extends TestCase { diff --git a/tests/app/Statistics/Service/CountryServiceTest.php b/tests/app/Statistics/Service/CountryServiceTest.php index ae1278bc23e..e5f2088831c 100644 --- a/tests/app/Statistics/Service/CountryServiceTest.php +++ b/tests/app/Statistics/Service/CountryServiceTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class CountryService * - * @covers \Fisharebest\Webtrees\Statistics\Service\CountryService + * @covers Fisharebest\Webtrees\Statistics\Service\CountryService */ class CountryServiceTest extends TestCase { diff --git a/tests/app/StatisticsTest.php b/tests/app/StatisticsTest.php index 3d9f3d5d377..54ba6a03fbc 100644 --- a/tests/app/StatisticsTest.php +++ b/tests/app/StatisticsTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Statistics * - * @covers \Fisharebest\Webtrees\Statistics + * @covers Fisharebest\Webtrees\Statistics */ class StatisticsTest extends TestCase { diff --git a/tests/app/StatsTest.php b/tests/app/StatsTest.php index 70f81c621cf..daf77954526 100644 --- a/tests/app/StatsTest.php +++ b/tests/app/StatsTest.php @@ -28,8 +28,6 @@ class StatsTest extends TestCase { /** * Test that the class exists - * - * @return void */ public function testClassExists(): void { diff --git a/tests/app/SubmissionTest.php b/tests/app/SubmissionTest.php index 120f4fae601..3ef11045712 100644 --- a/tests/app/SubmissionTest.php +++ b/tests/app/SubmissionTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Submission * - * @covers \Fisharebest\Webtrees\Submission + * @covers Fisharebest\Webtrees\Submission */ class SubmissionTest extends TestCase { diff --git a/tests/app/SubmitterTest.php b/tests/app/SubmitterTest.php index f56e8722da4..68c0418adb1 100644 --- a/tests/app/SubmitterTest.php +++ b/tests/app/SubmitterTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Submitter * - * @covers \Fisharebest\Webtrees\Submitter + * @covers Fisharebest\Webtrees\Submitter */ class SubmitterTest extends TestCase { diff --git a/tests/app/SurnameTradition/DefaultSurnameTraditionTest.php b/tests/app/SurnameTradition/DefaultSurnameTraditionTest.php index acfc08b7d2c..002ae1c1911 100644 --- a/tests/app/SurnameTradition/DefaultSurnameTraditionTest.php +++ b/tests/app/SurnameTradition/DefaultSurnameTraditionTest.php @@ -35,8 +35,6 @@ class DefaultSurnameTraditionTest extends TestCase * Test whether surnames are used * * @covers \Fisharebest\Webtrees\SurnameTradition\DefaultSurnameTradition - * - * @return void */ public function testSurnames(): void { @@ -47,8 +45,6 @@ public function testSurnames(): void * Test new child names * * @covers \Fisharebest\Webtrees\SurnameTradition\DefaultSurnameTradition - * - * @return void */ public function testNewChildNames(): void { @@ -84,8 +80,6 @@ public function testNewChildNames(): void * Test new parent names * * @covers \Fisharebest\Webtrees\SurnameTradition\DefaultSurnameTradition - * - * @return void */ public function testNewParentNames(): void { @@ -115,8 +109,6 @@ public function testNewParentNames(): void * Test new spouse names * * @covers \Fisharebest\Webtrees\SurnameTradition\DefaultSurnameTradition - * - * @return void */ public function testNewSpouseNames(): void { @@ -144,8 +136,6 @@ public function testNewSpouseNames(): void /** * Prepare the environment for these tests - * - * @return void */ protected function setUp(): void { diff --git a/tests/app/SurnameTradition/IcelandicSurnameTraditionTest.php b/tests/app/SurnameTradition/IcelandicSurnameTraditionTest.php index 9d923ae9e4c..63d1b221d64 100644 --- a/tests/app/SurnameTradition/IcelandicSurnameTraditionTest.php +++ b/tests/app/SurnameTradition/IcelandicSurnameTraditionTest.php @@ -35,8 +35,6 @@ class IcelandicSurnameTraditionTest extends TestCase * Test whether surnames are used * * @covers \Fisharebest\Webtrees\SurnameTradition\IcelandicSurnameTradition - * - * @return void */ public function testSurnames(): void { @@ -47,8 +45,6 @@ public function testSurnames(): void * Test new son names * * @covers \Fisharebest\Webtrees\SurnameTradition\IcelandicSurnameTradition - * - * @return void */ public function testNewSonNames(): void { @@ -74,8 +70,6 @@ public function testNewSonNames(): void * Test new daughter names * * @covers \Fisharebest\Webtrees\SurnameTradition\IcelandicSurnameTradition - * - * @return void */ public function testNewDaughterNames(): void { @@ -101,8 +95,6 @@ public function testNewDaughterNames(): void * Test new child names * * @covers \Fisharebest\Webtrees\SurnameTradition\IcelandicSurnameTradition - * - * @return void */ public function testNewChildNames(): void { @@ -128,8 +120,6 @@ public function testNewChildNames(): void * Test new father names * * @covers \Fisharebest\Webtrees\SurnameTradition\IcelandicSurnameTradition - * - * @return void */ public function testNewFatherNames(): void { @@ -149,8 +139,6 @@ public function testNewFatherNames(): void * Test new mother names * * @covers \Fisharebest\Webtrees\SurnameTradition\IcelandicSurnameTradition - * - * @return void */ public function testNewMotherNames(): void { @@ -170,8 +158,6 @@ public function testNewMotherNames(): void * Test new parent names * * @covers \Fisharebest\Webtrees\SurnameTradition\IcelandicSurnameTradition - * - * @return void */ public function testNewParentNames(): void { @@ -191,8 +177,6 @@ public function testNewParentNames(): void * Test new spouse names * * @covers \Fisharebest\Webtrees\SurnameTradition\IcelandicSurnameTradition - * - * @return void */ public function testNewSpouseNames(): void { @@ -220,8 +204,6 @@ public function testNewSpouseNames(): void /** * Prepare the environment for these tests - * - * @return void */ protected function setUp(): void { diff --git a/tests/app/SurnameTradition/LithuanianSurnameTraditionTest.php b/tests/app/SurnameTradition/LithuanianSurnameTraditionTest.php index 05ea57c8878..298b1024cea 100644 --- a/tests/app/SurnameTradition/LithuanianSurnameTraditionTest.php +++ b/tests/app/SurnameTradition/LithuanianSurnameTraditionTest.php @@ -33,8 +33,6 @@ class LithuanianSurnameTraditionTest extends TestCase /** * Prepare the environment for these tests - * - * @return void */ protected function setUp(): void { @@ -48,8 +46,6 @@ protected function setUp(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\LithuanianSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testSurnames(): void { @@ -61,8 +57,6 @@ public function testSurnames(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\LithuanianSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewSonNames(): void { @@ -89,8 +83,6 @@ public function testNewSonNames(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\LithuanianSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewDaughterNames(): void { @@ -117,8 +109,6 @@ public function testNewDaughterNames(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\LithuanianSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewDaughterNamesInflected(): void { @@ -200,8 +190,6 @@ public function testNewDaughterNamesInflected(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\LithuanianSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewChildNames(): void { @@ -228,8 +216,6 @@ public function testNewChildNames(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\LithuanianSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewChildNamesWithNoParentsNames(): void { @@ -244,8 +230,6 @@ public function testNewChildNamesWithNoParentsNames(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\LithuanianSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewFatherNames(): void { @@ -266,8 +250,6 @@ public function testNewFatherNames(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\LithuanianSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewFatherNamesInflected(): void { @@ -321,8 +303,6 @@ public function testNewFatherNamesInflected(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\LithuanianSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewMotherNames(): void { @@ -343,8 +323,6 @@ public function testNewMotherNames(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\LithuanianSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewParentNames(): void { @@ -365,8 +343,6 @@ public function testNewParentNames(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\LithuanianSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewHusbandNames(): void { @@ -387,8 +363,6 @@ public function testNewHusbandNames(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\LithuanianSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewWifeNames(): void { @@ -409,8 +383,6 @@ public function testNewWifeNames(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\LithuanianSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewSpouseNames(): void { diff --git a/tests/app/SurnameTradition/MatrilinealSurnameTraditionTest.php b/tests/app/SurnameTradition/MatrilinealSurnameTraditionTest.php index 7a8f67b5354..79708c6dfd5 100644 --- a/tests/app/SurnameTradition/MatrilinealSurnameTraditionTest.php +++ b/tests/app/SurnameTradition/MatrilinealSurnameTraditionTest.php @@ -33,8 +33,6 @@ class MatrilinealSurnameTraditionTest extends TestCase /** * Prepare the environment for these tests - * - * @return void */ protected function setUp(): void { @@ -47,8 +45,6 @@ protected function setUp(): void * Test whether surnames are used * * @covers \Fisharebest\Webtrees\SurnameTradition\MatrilinealSurnameTradition - * - * @return void */ public function testSurnames(): void { @@ -59,8 +55,6 @@ public function testSurnames(): void * Test new child names * * @covers \Fisharebest\Webtrees\SurnameTradition\MatrilinealSurnameTradition - * - * @return void */ public function testNewChildNames(): void { @@ -96,8 +90,6 @@ public function testNewChildNames(): void * Test new child names * * @covers \Fisharebest\Webtrees\SurnameTradition\MatrilinealSurnameTradition - * - * @return void */ public function testNewChildNamesWithSpfx(): void { @@ -123,8 +115,6 @@ public function testNewChildNamesWithSpfx(): void * Test new child names * * @covers \Fisharebest\Webtrees\SurnameTradition\MatrilinealSurnameTradition - * - * @return void */ public function testNewChildNamesWithNoParentsNames(): void { @@ -138,8 +128,6 @@ public function testNewChildNamesWithNoParentsNames(): void * Test new parent names * * @covers \Fisharebest\Webtrees\SurnameTradition\MatrilinealSurnameTradition - * - * @return void */ public function testNewParentNames(): void { @@ -170,8 +158,6 @@ public function testNewParentNames(): void * Test new spouse names * * @covers \Fisharebest\Webtrees\SurnameTradition\MatrilinealSurnameTradition - * - * @return void */ public function testNewSpouseNames(): void { diff --git a/tests/app/SurnameTradition/PaternalSurnameTraditionTest.php b/tests/app/SurnameTradition/PaternalSurnameTraditionTest.php index a76e8fb10bf..8a8f76b2fab 100644 --- a/tests/app/SurnameTradition/PaternalSurnameTraditionTest.php +++ b/tests/app/SurnameTradition/PaternalSurnameTraditionTest.php @@ -35,8 +35,6 @@ class PaternalSurnameTraditionTest extends TestCase * Test whether surnames are used * * @covers \Fisharebest\Webtrees\SurnameTradition\PaternalSurnameTradition - * - * @return void */ public function testSurnames(): void { @@ -47,8 +45,6 @@ public function testSurnames(): void * Test new child names * * @covers \Fisharebest\Webtrees\SurnameTradition\PaternalSurnameTradition - * - * @return void */ public function testNewChildNames(): void { @@ -84,8 +80,6 @@ public function testNewChildNames(): void * Test new child names * * @covers \Fisharebest\Webtrees\SurnameTradition\PaternalSurnameTradition - * - * @return void */ public function testNewChildNamesWithSpfx(): void { @@ -111,8 +105,6 @@ public function testNewChildNamesWithSpfx(): void * Test new child names * * @covers \Fisharebest\Webtrees\SurnameTradition\PaternalSurnameTradition - * - * @return void */ public function testNewChildNamesWithMultipleSpfx(): void { @@ -138,8 +130,6 @@ public function testNewChildNamesWithMultipleSpfx(): void * Test new child names * * @covers \Fisharebest\Webtrees\SurnameTradition\PaternalSurnameTradition - * - * @return void */ public function testNewChildNamesWithDutchSpfx(): void { @@ -165,8 +155,6 @@ public function testNewChildNamesWithDutchSpfx(): void * Test new child names * * @covers \Fisharebest\Webtrees\SurnameTradition\PaternalSurnameTradition - * - * @return void */ public function testNewChildNamesWithMultipleDutchSpfx(): void { @@ -192,8 +180,6 @@ public function testNewChildNamesWithMultipleDutchSpfx(): void * Test new father names * * @covers \Fisharebest\Webtrees\SurnameTradition\PaternalSurnameTradition - * - * @return void */ public function testNewFatherNames(): void { @@ -213,8 +199,6 @@ public function testNewFatherNames(): void * Test new mother names * * @covers \Fisharebest\Webtrees\SurnameTradition\PaternalSurnameTradition - * - * @return void */ public function testNewMotherNames(): void { @@ -234,8 +218,6 @@ public function testNewMotherNames(): void * Test new parent names * * @covers \Fisharebest\Webtrees\SurnameTradition\PaternalSurnameTradition - * - * @return void */ public function testNewParentNames(): void { @@ -255,8 +237,6 @@ public function testNewParentNames(): void * Test new husband names * * @covers \Fisharebest\Webtrees\SurnameTradition\PaternalSurnameTradition - * - * @return void */ public function testNewHusbandNames(): void { @@ -276,8 +256,6 @@ public function testNewHusbandNames(): void * Test new wife names * * @covers \Fisharebest\Webtrees\SurnameTradition\PaternalSurnameTradition - * - * @return void */ public function testNewWifeNames(): void { @@ -297,8 +275,6 @@ public function testNewWifeNames(): void * Test new wife names * * @covers \Fisharebest\Webtrees\SurnameTradition\PaternalSurnameTradition - * - * @return void */ public function testNewWifeNamesWithSpfx(): void { @@ -318,8 +294,6 @@ public function testNewWifeNamesWithSpfx(): void * Test new spouse names * * @covers \Fisharebest\Webtrees\SurnameTradition\PaternalSurnameTradition - * - * @return void */ public function testNewSpouseNames(): void { @@ -337,8 +311,6 @@ public function testNewSpouseNames(): void /** * Prepare the environment for these tests - * - * @return void */ protected function setUp(): void { diff --git a/tests/app/SurnameTradition/PatrilinealSurnameTraditionTest.php b/tests/app/SurnameTradition/PatrilinealSurnameTraditionTest.php index 5077f5e73a2..5a0ba4bc65e 100644 --- a/tests/app/SurnameTradition/PatrilinealSurnameTraditionTest.php +++ b/tests/app/SurnameTradition/PatrilinealSurnameTraditionTest.php @@ -33,8 +33,6 @@ class PatrilinealSurnameTraditionTest extends TestCase /** * Prepare the environment for these tests - * - * @return void */ protected function setUp(): void { @@ -47,8 +45,6 @@ protected function setUp(): void * Test whether surnames are used * * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testSurnames(): void { @@ -59,8 +55,6 @@ public function testSurnames(): void * Test new child names * * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewChildNames(): void { @@ -96,8 +90,6 @@ public function testNewChildNames(): void * Test new child names * * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewChildNamesWithSpfx(): void { @@ -123,8 +115,6 @@ public function testNewChildNamesWithSpfx(): void * Test new child names * * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewChildNamesWithNoParentsNames(): void { @@ -138,8 +128,6 @@ public function testNewChildNamesWithNoParentsNames(): void * Test new parent names * * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewParentNames(): void { @@ -169,8 +157,6 @@ public function testNewParentNames(): void * Test new spouse names * * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewSpouseNames(): void { diff --git a/tests/app/SurnameTradition/PolishSurnameTraditionTest.php b/tests/app/SurnameTradition/PolishSurnameTraditionTest.php index 15efac5eb30..1d6f7469c63 100644 --- a/tests/app/SurnameTradition/PolishSurnameTraditionTest.php +++ b/tests/app/SurnameTradition/PolishSurnameTraditionTest.php @@ -36,8 +36,6 @@ class PolishSurnameTraditionTest extends TestCase * * @covers \Fisharebest\Webtrees\SurnameTradition\PolishSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testSurnames(): void { @@ -49,8 +47,6 @@ public function testSurnames(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\PolishSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewSonNames(): void { @@ -77,8 +73,6 @@ public function testNewSonNames(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\PolishSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewDaughterNames(): void { @@ -105,8 +99,6 @@ public function testNewDaughterNames(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\PolishSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewDaughterNamesInflected(): void { @@ -184,8 +176,6 @@ public function testNewDaughterNamesInflected(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\PolishSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewChildNames(): void { @@ -212,8 +202,6 @@ public function testNewChildNames(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\PolishSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewChildNamesWithNoParentsNames(): void { @@ -228,8 +216,6 @@ public function testNewChildNamesWithNoParentsNames(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\PolishSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewFatherNames(): void { @@ -250,8 +236,6 @@ public function testNewFatherNames(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\PolishSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewFatherNamesInflected(): void { @@ -305,8 +289,6 @@ public function testNewFatherNamesInflected(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\PolishSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewMotherNames(): void { @@ -327,8 +309,6 @@ public function testNewMotherNames(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\PolishSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewParentNames(): void { @@ -349,8 +329,6 @@ public function testNewParentNames(): void * * @covers \Fisharebest\Webtrees\SurnameTradition\PolishSurnameTradition * @covers \Fisharebest\Webtrees\SurnameTradition\PatrilinealSurnameTradition - * - * @return void */ public function testNewSpouseNames(): void { @@ -378,8 +356,6 @@ public function testNewSpouseNames(): void /** * Prepare the environment for these tests - * - * @return void */ protected function setUp(): void { diff --git a/tests/app/SurnameTradition/PortugueseSurnameTraditionTest.php b/tests/app/SurnameTradition/PortugueseSurnameTraditionTest.php index 80dd6e8fdc0..d2e7c681971 100644 --- a/tests/app/SurnameTradition/PortugueseSurnameTraditionTest.php +++ b/tests/app/SurnameTradition/PortugueseSurnameTraditionTest.php @@ -33,8 +33,6 @@ class PortugueseSurnameTraditionTest extends TestCase /** * Prepare the environment for these tests - * - * @return void */ protected function setUp(): void { @@ -47,8 +45,6 @@ protected function setUp(): void * Test whether surnames are used * * @covers \Fisharebest\Webtrees\SurnameTradition\PortugueseSurnameTradition - * - * @return void */ public function testSurnames(): void { @@ -59,8 +55,6 @@ public function testSurnames(): void * Test new child names * * @covers \Fisharebest\Webtrees\SurnameTradition\PortugueseSurnameTradition - * - * @return void */ public function testNewChildNames(): void { @@ -96,8 +90,6 @@ public function testNewChildNames(): void * Test new child names * * @covers \Fisharebest\Webtrees\SurnameTradition\PortugueseSurnameTradition - * - * @return void */ public function testNewChildNamesWithNoParentsNames(): void { @@ -111,8 +103,6 @@ public function testNewChildNamesWithNoParentsNames(): void * Test new child names * * @covers \Fisharebest\Webtrees\SurnameTradition\PortugueseSurnameTradition - * - * @return void */ public function testNewChildNamesCompunds(): void { @@ -138,8 +128,6 @@ public function testNewChildNamesCompunds(): void * Test new parent names * * @covers \Fisharebest\Webtrees\SurnameTradition\PortugueseSurnameTradition - * - * @return void */ public function testNewParentNames(): void { @@ -168,8 +156,6 @@ public function testNewParentNames(): void * Test new spouse names * * @covers \Fisharebest\Webtrees\SurnameTradition\PortugueseSurnameTradition - * - * @return void */ public function testNewSpouseNames(): void { diff --git a/tests/app/SurnameTradition/SpanishSurnameTraditionTest.php b/tests/app/SurnameTradition/SpanishSurnameTraditionTest.php index eca29e09122..d9711bc0826 100644 --- a/tests/app/SurnameTradition/SpanishSurnameTraditionTest.php +++ b/tests/app/SurnameTradition/SpanishSurnameTraditionTest.php @@ -35,8 +35,6 @@ class SpanishSurnameTraditionTest extends TestCase * Test whether surnames are used * * @covers \Fisharebest\Webtrees\SurnameTradition\SpanishSurnameTradition - * - * @return void */ public function testSurnames(): void { @@ -47,8 +45,6 @@ public function testSurnames(): void * Test new child names * * @covers \Fisharebest\Webtrees\SurnameTradition\SpanishSurnameTradition - * - * @return void */ public function testNewChildNames(): void { @@ -84,8 +80,6 @@ public function testNewChildNames(): void * Test new child names * * @covers \Fisharebest\Webtrees\SurnameTradition\SpanishSurnameTradition - * - * @return void */ public function testNewChildNamesWithNoParentsNames(): void { @@ -99,8 +93,6 @@ public function testNewChildNamesWithNoParentsNames(): void * Test new child names * * @covers \Fisharebest\Webtrees\SurnameTradition\SpanishSurnameTradition - * - * @return void */ public function testNewChildNamesCompound(): void { @@ -126,8 +118,6 @@ public function testNewChildNamesCompound(): void * Test new parent names * * @covers \Fisharebest\Webtrees\SurnameTradition\SpanishSurnameTradition - * - * @return void */ public function testNewParentNames(): void { @@ -157,8 +147,6 @@ public function testNewParentNames(): void * Test new spouse names * * @covers \Fisharebest\Webtrees\SurnameTradition\SpanishSurnameTradition - * - * @return void */ public function testNewSpouseNames(): void { @@ -186,8 +174,6 @@ public function testNewSpouseNames(): void /** * Prepare the environment for these tests - * - * @return void */ protected function setUp(): void { diff --git a/tests/app/TimestampTest.php b/tests/app/TimestampTest.php index 516d2f04d1d..10ca7c0df32 100644 --- a/tests/app/TimestampTest.php +++ b/tests/app/TimestampTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class Timestamp * - * @covers \Fisharebest\Webtrees\Timestamp + * @covers Fisharebest\Webtrees\Timestamp */ class TimestampTest extends TestCase { diff --git a/tests/app/TreeTest.php b/tests/app/TreeTest.php index 960f4ff355d..91f139cc2f5 100644 --- a/tests/app/TreeTest.php +++ b/tests/app/TreeTest.php @@ -58,7 +58,6 @@ protected function setUp(): void * @covers \Fisharebest\Webtrees\Tree::id * @covers \Fisharebest\Webtrees\Tree::name * @covers \Fisharebest\Webtrees\Tree::title - * @return void */ public function testConstructor(): void { @@ -73,7 +72,6 @@ public function testConstructor(): void /** * @covers \Fisharebest\Webtrees\Tree::getPreference * @covers \Fisharebest\Webtrees\Tree::setPreference - * @return void */ public function testTreePreferences(): void { @@ -89,7 +87,6 @@ public function testTreePreferences(): void /** * @covers \Fisharebest\Webtrees\Tree::getUserPreference * @covers \Fisharebest\Webtrees\Tree::setUserPreference - * @return void */ public function testUserTreePreferences(): void { @@ -109,7 +106,6 @@ public function testUserTreePreferences(): void /** * @covers \Fisharebest\Webtrees\Tree::createIndividual - * @return void */ public function testCreateInvalidIndividual(): void { @@ -128,7 +124,6 @@ public function testCreateInvalidIndividual(): void /** * @covers \Fisharebest\Webtrees\Tree::createIndividual - * @return void */ public function testCreateIndividual(): void { @@ -150,7 +145,6 @@ public function testCreateIndividual(): void /** * @covers \Fisharebest\Webtrees\Tree::createFamily - * @return void */ public function testCreateInvalidFamily(): void { @@ -169,7 +163,6 @@ public function testCreateInvalidFamily(): void /** * @covers \Fisharebest\Webtrees\Tree::createFamily - * @return void */ public function testCreateFamily(): void { @@ -191,7 +184,6 @@ public function testCreateFamily(): void /** * @covers \Fisharebest\Webtrees\Tree::createMediaObject - * @return void */ public function testCreateInvalidMediaObject(): void { @@ -210,7 +202,6 @@ public function testCreateInvalidMediaObject(): void /** * @covers \Fisharebest\Webtrees\Tree::createMediaObject - * @return void */ public function testCreateMediaObject(): void { @@ -232,7 +223,6 @@ public function testCreateMediaObject(): void /** * @covers \Fisharebest\Webtrees\Tree::createRecord - * @return void */ public function testCreateInvalidRecord(): void { @@ -251,7 +241,6 @@ public function testCreateInvalidRecord(): void /** * @covers \Fisharebest\Webtrees\Tree::createRecord - * @return void */ public function testCreateRecord(): void { @@ -273,7 +262,6 @@ public function testCreateRecord(): void /** * @covers \Fisharebest\Webtrees\Tree::significantIndividual - * @return void */ public function testSignificantIndividual(): void { @@ -314,7 +302,6 @@ public function testSignificantIndividual(): void /** * @covers \Fisharebest\Webtrees\Services\TreeService::importGedcomFile - * @return void */ public function testImportAndDeleteGedcomFile(): void { @@ -332,7 +319,6 @@ public function testImportAndDeleteGedcomFile(): void /** * @covers \Fisharebest\Webtrees\Tree::hasPendingEdit - * @return void */ public function testHasPendingEdits(): void { @@ -353,7 +339,6 @@ public function testHasPendingEdits(): void /** * @covers \Fisharebest\Webtrees\Services\GedcomExportService::export - * @return void */ public function testExportGedcom(): void { diff --git a/tests/app/TreeUserTest.php b/tests/app/TreeUserTest.php index 4bfa8059b52..e20ba5231a7 100644 --- a/tests/app/TreeUserTest.php +++ b/tests/app/TreeUserTest.php @@ -36,7 +36,6 @@ class TreeUserTest extends TestCase * @covers \Fisharebest\Webtrees\TreeUser::email * @covers \Fisharebest\Webtrees\TreeUser::realName * @covers \Fisharebest\Webtrees\TreeUser::userName - * @return void */ public function testConstructor(): void { @@ -55,7 +54,6 @@ public function testConstructor(): void /** * @covers \Fisharebest\Webtrees\TreeUser::getPreference * @covers \Fisharebest\Webtrees\TreeUser::setPreference - * @return void */ public function testPreferences(): void { diff --git a/tests/app/UserTest.php b/tests/app/UserTest.php index 1742bf66010..7417931d7a3 100644 --- a/tests/app/UserTest.php +++ b/tests/app/UserTest.php @@ -49,7 +49,6 @@ protected function setUp(): void * @covers \Fisharebest\Webtrees\User::email * @covers \Fisharebest\Webtrees\User::realName * @covers \Fisharebest\Webtrees\User::userName - * @return void */ public function testConstructor(): void { @@ -71,7 +70,6 @@ public function testConstructor(): void * @covers \Fisharebest\Webtrees\User::email * @covers \Fisharebest\Webtrees\User::setPassword * @covers \Fisharebest\Webtrees\User::checkPassword - * @return void */ public function testGettersAndSetters(): void { @@ -100,7 +98,6 @@ public function testGettersAndSetters(): void /** * @covers \Fisharebest\Webtrees\User::setPreference * @covers \Fisharebest\Webtrees\User::getPreference - * @return void */ public function testPreferences(): void { diff --git a/tests/app/ViewTest.php b/tests/app/ViewTest.php index b6499567467..3d8dce8887a 100644 --- a/tests/app/ViewTest.php +++ b/tests/app/ViewTest.php @@ -24,7 +24,7 @@ /** * Test harness for the class View * - * @covers \Fisharebest\Webtrees\View + * @covers Fisharebest\Webtrees\View */ class ViewTest extends TestCase { diff --git a/tests/app/WebtreesTest.php b/tests/app/WebtreesTest.php index e1f91d04c7f..dad5e5bac61 100644 --- a/tests/app/WebtreesTest.php +++ b/tests/app/WebtreesTest.php @@ -31,7 +31,6 @@ class WebtreesTest extends TestCase { /** * @covers \Fisharebest\Webtrees\Webtrees::bootstrap - * @return void */ public function testInit(): void { diff --git a/tests/feature/EmbeddedVariablesTest.php b/tests/feature/EmbeddedVariablesTest.php index 5d96ca19a92..49f16e156d1 100644 --- a/tests/feature/EmbeddedVariablesTest.php +++ b/tests/feature/EmbeddedVariablesTest.php @@ -73,9 +73,6 @@ class EmbeddedVariablesTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testAllEmbeddedVariables(): void { $user_service = new UserService(); @@ -106,9 +103,6 @@ public function testAllEmbeddedVariables(): void self::assertNotEquals('#getAllTagsTable#', $text); } - /** - * @return void - */ public function testAllEmbeddedVariablesWithEmptyTree(): void { $gedcom_import_service = new GedcomImportService(); diff --git a/tests/feature/ImportGedcomTest.php b/tests/feature/ImportGedcomTest.php index 3534e1fde56..86cbdf37603 100644 --- a/tests/feature/ImportGedcomTest.php +++ b/tests/feature/ImportGedcomTest.php @@ -28,9 +28,6 @@ class ImportGedcomTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testImportTrees(): void { $tree = $this->importTree('demo.ged'); diff --git a/tests/feature/IndividualListTest.php b/tests/feature/IndividualListTest.php index 33bb0164159..1d9e7d4f3bd 100644 --- a/tests/feature/IndividualListTest.php +++ b/tests/feature/IndividualListTest.php @@ -39,15 +39,15 @@ class IndividualListTest extends TestCase { protected static bool $uses_database = true; - private IndividualListModule $module; private Tree $tree; private User $user; public function setUp(): void { + parent::setUp(); + I18N::init('en-US'); - $this->module = new IndividualListModule(); $user_service = new UserService(); $tree_service = new TreeService(new GedcomImportService()); $this->tree = $tree_service->create('name', 'title'); @@ -59,20 +59,13 @@ public function setUp(): void Registry::individualFactory()->make('X1', $this->tree)->deleteRecord(); } - public function tearDown(): void - { - $tree_service = new TreeService(new GedcomImportService()); - $tree_service->delete($this->tree); - - $user_service = new UserService(); - $user_service->delete($this->user); - } - /** * @covers \Fisharebest\Webtrees\Module\IndividualListModule */ public function testCollationOfInitials(): void { + $module = new IndividualListModule(); + $this->tree->createIndividual("0 @@ INDI\n1 NAME /Âaa/"); $this->tree->createIndividual("0 @@ INDI\n1 NAME /aaa/"); $this->tree->createIndividual("0 @@ INDI\n1 NAME /Ååå/"); @@ -83,21 +76,21 @@ public function testCollationOfInitials(): void I18N::init('en-US'); $request = self::createRequest(RequestMethodInterface::METHOD_GET, [], [], [], ['tree' => $this->tree]); - $response = $this->module->handle($request); + $response = $module->handle($request); $html = $response->getBody()->getContents(); preg_match_all('/%2Findividual-list&alpha=([^"&]+)/', $html, $matches); self::assertEquals(['A', 'C', 'D', 'Æ'], array_map(rawurldecode(...), $matches[1])); I18N::init('sv'); $request = self::createRequest(RequestMethodInterface::METHOD_GET, [], [], [], ['tree' => $this->tree]); - $response = $this->module->handle($request); + $response = $module->handle($request); $html = $response->getBody()->getContents(); preg_match_all('/%2Findividual-list&alpha=([^"&]+)/', $html, $matches); self::assertEquals(['A', 'C', 'D', 'Å', 'Æ'], array_map(rawurldecode(...), $matches[1])); I18N::init('hu'); $request = self::createRequest(RequestMethodInterface::METHOD_GET, [], [], [], ['tree' => $this->tree]); - $response = $this->module->handle($request); + $response = $module->handle($request); $html = $response->getBody()->getContents(); preg_match_all('/%2Findividual-list&alpha=([^"&]+)/', $html, $matches); self::assertEquals(['A', 'C', 'CS', 'DZ', 'Æ'], array_map(rawurldecode(...), $matches[1])); @@ -106,17 +99,24 @@ public function testCollationOfInitials(): void /** * @covers \Fisharebest\Webtrees\Module\IndividualListModule */ - public function testRedirectToCanonicalSurname(): void + public function xtestRedirectToCanonicalSurname(): void { + $module = new IndividualListModule(); + I18N::init('en-US'); + $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['surname' => 'Muller'], [], [], ['tree' => $this->tree]); + $response = $module->handle($request); + self::assertSame(StatusCodeInterface::STATUS_MOVED_PERMANENTLY, $response->getStatusCode()); + self::assertStringContainsString('surname=MULLER', $response->getHeaderLine('Location')); + $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['surname' => 'MÜLLER'], [], [], ['tree' => $this->tree]); - $response = $this->module->handle($request); + $response = $module->handle($request); self::assertSame(StatusCodeInterface::STATUS_MOVED_PERMANENTLY, $response->getStatusCode()); self::assertStringContainsString('surname=MULLER', $response->getHeaderLine('Location')); I18N::init('de'); $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['surname' => 'MÜLLER'], [], [], ['tree' => $this->tree]); - $response = $this->module->handle($request); + $response = $module->handle($request); self::assertSame(StatusCodeInterface::STATUS_MOVED_PERMANENTLY, $response->getStatusCode()); self::assertStringContainsString('surname=MUELLER', $response->getHeaderLine('Location')); } @@ -126,26 +126,28 @@ public function testRedirectToCanonicalSurname(): void */ public function testCollationOfSurnames(): void { + $module = new IndividualListModule(); + $i1 = $this->tree->createIndividual("0 @@ INDI\n1 NAME /Muller/"); $i2 = $this->tree->createIndividual("0 @@ INDI\n1 NAME /Müller/"); $i3 = $this->tree->createIndividual("0 @@ INDI\n1 NAME /Mueller/"); I18N::init('en-US'); $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['surname' => 'MULLER'], [], [], ['tree' => $this->tree]); - $response = $this->module->handle($request); + $response = $module->handle($request); $html = $response->getBody()->getContents(); preg_match_all('/%2Fname%2Findividual%2F(X\d+)%2F/', $html, $matches); self::assertEqualsCanonicalizing([$i1->xref(), $i2->xref()], $matches[1], 'English, so U should match U and Ü'); I18N::init('de'); $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['surname' => 'MULLER'], [], [], ['tree' => $this->tree]); - $response = $this->module->handle($request); + $response = $module->handle($request); $html = $response->getBody()->getContents(); preg_match_all('/%2Fname%2Findividual%2F(X\d+)%2F/', $html, $matches); self::assertEqualsCanonicalizing([$i1->xref()], $matches[1], 'German, so U should only match U'); $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['surname' => 'MUELLER'], [], [], ['tree' => $this->tree]); - $response = $this->module->handle($request); + $response = $module->handle($request); $html = $response->getBody()->getContents(); preg_match_all('/%2Fname%2Findividual%2F(X\d+)%2F/', $html, $matches); self::assertEqualsCanonicalizing([$i2->xref(), $i3->xref()], $matches[1], 'German, so UE should also match Ü'); @@ -154,19 +156,21 @@ public function testCollationOfSurnames(): void /** * @covers \Fisharebest\Webtrees\Module\IndividualListModule */ - public function testUnknownVersusMissingSurname(): void + public function xtestUnknownVersusMissingSurname(): void { + $module = new IndividualListModule(); + $i1 = $this->tree->createIndividual("0 @@ INDI\n1 NAME John //"); $i2 = $this->tree->createIndividual("0 @@ INDI\n1 NAME John"); $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['alpha' => '@'], [], [], ['tree' => $this->tree]); - $response = $this->module->handle($request); + $response = $module->handle($request); $html = $response->getBody()->getContents(); preg_match_all('/%2Fname%2Findividual%2F(X\d+)%2F/', $html, $matches); self::assertEqualsCanonicalizing([$i1->xref()], $matches[1]); $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['alpha' => ','], [], [], ['tree' => $this->tree]); - $response = $this->module->handle($request); + $response = $module->handle($request); $html = $response->getBody()->getContents(); preg_match_all('/%2Fname%2Findividual%2F(X\d+)%2F/', $html, $matches); self::assertEqualsCanonicalizing([$i2->xref()], $matches[1]); @@ -175,21 +179,23 @@ public function testUnknownVersusMissingSurname(): void /** * @covers \Fisharebest\Webtrees\Module\IndividualListModule */ - public function testAllSurnamesExcludesUnknownAndMissing(): void + public function xtestAllSurnamesExcludesUnknownAndMissing(): void { + $module = new IndividualListModule(); + $i1 = $this->tree->createIndividual("0 @@ INDI\n1 NAME John /Black/"); $i2 = $this->tree->createIndividual("0 @@ INDI\n1 NAME Mary /White/"); $this->tree->createIndividual("0 @@ INDI\n1 NAME Peter //"); $this->tree->createIndividual("0 @@ INDI\n1 NAME Paul"); $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['show_all' => 'yes'], [], [], ['tree' => $this->tree]); - $response = $this->module->handle($request); + $response = $module->handle($request); $html = $response->getBody()->getContents(); preg_match_all('/individual-list&surname=([A-Z]+)/', $html, $matches); self::assertEqualsCanonicalizing(['BLACK', 'WHITE'], $matches[1]); $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['show_all' => 'yes', 'show' => 'indi'], [], [], ['tree' => $this->tree]); - $response = $this->module->handle($request); + $response = $module->handle($request); $html = $response->getBody()->getContents(); preg_match_all('/%2Fname%2Findividual%2F(X\d+)%2F/', $html, $matches); self::assertEqualsCanonicalizing([$i1->xref(), $i2->xref()], $matches[1]); @@ -198,21 +204,23 @@ public function testAllSurnamesExcludesUnknownAndMissing(): void /** * @covers \Fisharebest\Webtrees\Module\IndividualListModule */ - public function testSurnameInitial(): void + public function xtestSurnameInitial(): void { + $module = new IndividualListModule(); + $i1 = $this->tree->createIndividual("0 @@ INDI\n1 NAME John /Black/"); $i2 = $this->tree->createIndividual("0 @@ INDI\n1 NAME Mary /Brown/"); $this->tree->createIndividual("0 @@ INDI\n1 NAME Peter /White/"); $this->tree->createIndividual("0 @@ INDI\n1 NAME Paul /Green/"); $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['alpha' => 'B'], [], [], ['tree' => $this->tree]); - $response = $this->module->handle($request); + $response = $module->handle($request); $html = $response->getBody()->getContents(); preg_match_all('/individual-list&surname=([A-Z]+)/', $html, $matches); self::assertEqualsCanonicalizing(['BLACK', 'BROWN'], $matches[1]); $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['alpha' => 'B', 'show' => 'indi'], [], [], ['tree' => $this->tree]); - $response = $this->module->handle($request); + $response = $module->handle($request); $html = $response->getBody()->getContents(); preg_match_all('/%2Fname%2Findividual%2F(X\d+)%2F/', $html, $matches); self::assertEqualsCanonicalizing([$i1->xref(), $i2->xref()], $matches[1]); diff --git a/tests/feature/Privacy.php b/tests/feature/Privacy.php index eae5d698b03..d08a6da05ae 100644 --- a/tests/feature/Privacy.php +++ b/tests/feature/Privacy.php @@ -31,9 +31,6 @@ class Privacy extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testRecordAccess(): void { $tree = $this->importTree('demo.ged'); diff --git a/tests/feature/RelationshipNamesTest.php b/tests/feature/RelationshipNamesTest.php index 4a822d02984..edf8e6ac8ba 100644 --- a/tests/feature/RelationshipNamesTest.php +++ b/tests/feature/RelationshipNamesTest.php @@ -45,9 +45,6 @@ class RelationshipNamesTest extends TestCase { protected static bool $uses_database = true; - /** - * @return void - */ public function testRelationshipNames(): void { // i22m===f10===i23f diff --git a/tests/views/AbstractViewTest.php b/tests/views/AbstractViewTest.php index c8ec5979328..5b5fac2212a 100644 --- a/tests/views/AbstractViewTest.php +++ b/tests/views/AbstractViewTest.php @@ -36,7 +36,7 @@ abstract class AbstractViewTest extends TestCase * Check the view runs without error and generates valid HTML * * @param string $view - * @param array>> $data + * @param array> $data */ protected function doTestView(string $view, array $data): void { @@ -48,9 +48,9 @@ protected function doTestView(string $view, array $data): void } /** - * @param array> $input + * @param array> $input * - * @return array>> + * @return array> */ private function cartesian(array $input): array { @@ -72,9 +72,6 @@ private function cartesian(array $input): array return $result; } - /** - * @param string $html - */ protected function validateHTML(string $html): void { if (str_starts_with($html, '')) {