summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2025-02-17 22:17:07 +0000
committerGreg Roach <greg@subaqua.co.uk>2025-02-19 10:07:54 +0000
commit063e5bfcde5bb7ea21d13dce1b6ad10e52b00c24 (patch)
tree85c7ea6af6b79764880f7d49f2cf7e417808eaed
parent67310607fd01ff3b0380e628afce6d7844afc00a (diff)
downloadwebtrees-063e5bfcde5bb7ea21d13dce1b6ad10e52b00c24.tar.gz
webtrees-063e5bfcde5bb7ea21d13dce1b6ad10e52b00c24.tar.bz2
webtrees-063e5bfcde5bb7ea21d13dce1b6ad10e52b00c24.zip
PHPdoc and PHPstan issues
-rw-r--r--app/FlashMessages.php2
-rw-r--r--app/Http/RequestHandlers/MapDataList.php2
-rw-r--r--app/Module/FamilyNavigatorModule.php7
-rw-r--r--app/Module/FamilyTreeFavoritesModule.php10
-rw-r--r--app/Module/FrequentlyAskedQuestionsModule.php14
-rw-r--r--app/Module/LifespansChartModule.php9
-rw-r--r--app/Module/RelativesTabModule.php3
-rw-r--r--app/Module/StoriesModule.php4
-rw-r--r--app/Module/TopSurnamesModule.php2
-rw-r--r--app/Module/UserFavoritesModule.php10
-rw-r--r--app/Services/PendingChangesService.php15
-rw-r--r--app/StatisticsData.php4
-rw-r--r--phpstan-baseline.neon1192
-rw-r--r--resources/views/admin/locations.phtml6
-rw-r--r--resources/views/admin/trees-merge.phtml2
-rw-r--r--resources/views/admin/trees-preferences.phtml2
-rw-r--r--resources/views/chart-box.phtml4
-rw-r--r--resources/views/components/badge.phtml4
-rw-r--r--resources/views/components/select-number.phtml12
-rw-r--r--resources/views/help/date.phtml22
-rw-r--r--resources/views/layouts/default.phtml4
-rw-r--r--resources/views/lists/locations-table.phtml5
-rw-r--r--resources/views/lists/media-table.phtml7
-rw-r--r--resources/views/lists/notes-table.phtml9
-rw-r--r--resources/views/lists/repositories-table.phtml3
-rw-r--r--resources/views/lists/sources-table.phtml9
-rw-r--r--resources/views/lists/submitters-table.phtml5
-rw-r--r--resources/views/lists/surnames-table.phtml3
-rw-r--r--resources/views/lists/surnames-tag-cloud.phtml14
-rw-r--r--resources/views/modules/bing-webmaster-tools/form.phtml6
-rw-r--r--resources/views/modules/bing-webmaster-tools/snippet.phtml9
-rw-r--r--resources/views/modules/census-assistant.phtml2
-rw-r--r--resources/views/modules/family_nav/sidebar-family.phtml19
-rw-r--r--resources/views/modules/family_nav/sidebar.phtml10
-rw-r--r--resources/views/modules/faq/config.phtml19
-rw-r--r--resources/views/modules/faq/show.phtml11
-rw-r--r--resources/views/modules/favorites/favorites.phtml11
-rw-r--r--resources/views/modules/google-analytics/form.phtml6
-rw-r--r--resources/views/modules/google-webmaster-tools/form.phtml6
-rw-r--r--resources/views/modules/google-webmaster-tools/snippet.phtml9
-rw-r--r--resources/views/modules/lifespans-chart/chart.phtml21
-rw-r--r--resources/views/modules/matomo-analytics/form.phtml9
-rw-r--r--resources/views/modules/matomo-analytics/snippet.phtml3
-rw-r--r--resources/views/modules/pedigree-chart/chart-up.phtml13
-rw-r--r--resources/views/modules/place-hierarchy/sidebar.phtml12
-rw-r--r--resources/views/modules/relatives/family.phtml18
-rw-r--r--resources/views/modules/relatives/tab.phtml46
-rw-r--r--resources/views/modules/statcounter/form.phtml9
-rw-r--r--resources/views/modules/statcounter/snippet.phtml11
-rw-r--r--resources/views/modules/stories/config.phtml3
-rw-r--r--resources/views/modules/stories/list.phtml3
-rw-r--r--resources/views/modules/stories/tab.phtml8
-rw-r--r--resources/views/modules/submitter-list/page.phtml2
-rw-r--r--resources/views/modules/timeline-chart/chart.phtml17
-rw-r--r--resources/views/modules/top10_pageviews/list.phtml3
-rw-r--r--resources/views/modules/user-messages/user-messages.phtml12
-rw-r--r--resources/views/pending-changes-page.phtml14
-rw-r--r--resources/views/search-advanced-page.phtml1
-rw-r--r--resources/views/statistics/families/top10-list-age.phtml4
-rw-r--r--resources/views/statistics/families/top10-list-grand.phtml13
-rw-r--r--resources/views/statistics/families/top10-list-spouses.phtml3
-rw-r--r--resources/views/statistics/families/top10-list.phtml3
-rw-r--r--resources/views/statistics/families/top10-nolist-age.phtml2
-rw-r--r--resources/views/statistics/families/top10-nolist-grand.phtml3
-rw-r--r--resources/views/statistics/families/top10-nolist-spouses.phtml4
-rw-r--r--resources/views/statistics/families/top10-nolist.phtml2
-rw-r--r--resources/views/statistics/other/charts/column.phtml39
-rw-r--r--resources/views/statistics/other/charts/combo.phtml9
-rw-r--r--resources/views/statistics/other/charts/custom.phtml8
-rw-r--r--tests/TestCase.php11
-rw-r--r--tests/app/Census/CensusColumnRelationToHeadTest.php6
-rw-r--r--tests/app/Census/CensusOfCanada1851Test.php6
-rw-r--r--tests/app/Census/CensusOfCanada1861Test.php6
-rw-r--r--tests/app/Census/CensusOfCanada1871Test.php6
-rw-r--r--tests/app/Census/CensusOfCanada1881Test.php6
-rw-r--r--tests/app/Census/CensusOfCanada1891Test.php6
-rw-r--r--tests/app/Census/CensusOfCanada1901Test.php6
-rw-r--r--tests/app/Census/CensusOfCanada1911Test.php6
-rw-r--r--tests/app/Census/CensusOfCanada1921Test.php6
-rw-r--r--tests/app/Census/CensusOfCanada1931Test.php6
-rw-r--r--tests/app/Census/CensusOfCanadaPraries1916Test.php6
-rw-r--r--tests/app/Census/CensusOfCanadaPraries1926Test.php6
-rw-r--r--tests/app/Census/CensusOfCanadaTest.php9
-rw-r--r--tests/app/Census/CensusOfCzechRepublic1880Test.php6
-rw-r--r--tests/app/Census/CensusOfCzechRepublic1890Test.php6
-rw-r--r--tests/app/Census/CensusOfCzechRepublic1900Test.php6
-rw-r--r--tests/app/Census/CensusOfCzechRepublic1910Test.php6
-rw-r--r--tests/app/Census/CensusOfCzechRepublic1921Test.php6
-rw-r--r--tests/app/Census/CensusOfCzechRepublicTest.php9
-rw-r--r--tests/app/Census/CensusOfDenmark1787Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1801Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1803Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1834Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1835Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1840Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1845Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1850Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1855Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1860Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1870Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1880Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1885Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1890Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1901Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1906Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1911Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1916Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1921Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1925Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1930Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmark1940Test.php6
-rw-r--r--tests/app/Census/CensusOfDenmarkTest.php9
-rw-r--r--tests/app/Census/CensusOfDeutschland1819Test.php6
-rw-r--r--tests/app/Census/CensusOfDeutschland1867Test.php6
-rw-r--r--tests/app/Census/CensusOfDeutschland1900Test.php6
-rw-r--r--tests/app/Census/CensusOfDeutschland1919Test.php6
-rw-r--r--tests/app/Census/CensusOfDeutschlandNL1867Test.php6
-rw-r--r--tests/app/Census/CensusOfDeutschlandTest.php9
-rw-r--r--tests/app/Census/CensusOfEngland1841Test.php6
-rw-r--r--tests/app/Census/CensusOfEngland1851Test.php6
-rw-r--r--tests/app/Census/CensusOfEngland1861Test.php6
-rw-r--r--tests/app/Census/CensusOfEngland1871Test.php6
-rw-r--r--tests/app/Census/CensusOfEngland1881Test.php6
-rw-r--r--tests/app/Census/CensusOfEngland1891Test.php6
-rw-r--r--tests/app/Census/CensusOfEngland1901Test.php6
-rw-r--r--tests/app/Census/CensusOfEngland1911Test.php6
-rw-r--r--tests/app/Census/CensusOfEnglandTest.php9
-rw-r--r--tests/app/Census/CensusOfFrance1831Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1836Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1841Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1846Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1851Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1856Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1861Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1866Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1872Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1876Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1881Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1886Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1891Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1896Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1901Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1906Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1911Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1921Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1926Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1931Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1936Test.php6
-rw-r--r--tests/app/Census/CensusOfFrance1946Test.php6
-rw-r--r--tests/app/Census/CensusOfFranceTest.php9
-rw-r--r--tests/app/Census/CensusOfRhodeIsland1905Test.php6
-rw-r--r--tests/app/Census/CensusOfRhodeIsland1915Test.php6
-rw-r--r--tests/app/Census/CensusOfRhodeIsland1925Test.php6
-rw-r--r--tests/app/Census/CensusOfRhodeIslandTest.php9
-rw-r--r--tests/app/Census/CensusOfScotland1841Test.php6
-rw-r--r--tests/app/Census/CensusOfScotland1851Test.php6
-rw-r--r--tests/app/Census/CensusOfScotland1861Test.php6
-rw-r--r--tests/app/Census/CensusOfScotland1871Test.php6
-rw-r--r--tests/app/Census/CensusOfScotland1881Test.php6
-rw-r--r--tests/app/Census/CensusOfScotland1891Test.php6
-rw-r--r--tests/app/Census/CensusOfScotland1901Test.php6
-rw-r--r--tests/app/Census/CensusOfScotland1911Test.php6
-rw-r--r--tests/app/Census/CensusOfScotlandTest.php9
-rw-r--r--tests/app/Census/CensusOfSlovakia1869Test.php6
-rw-r--r--tests/app/Census/CensusOfSlovakia1930Test.php6
-rw-r--r--tests/app/Census/CensusOfSlovakia1940Test.php6
-rw-r--r--tests/app/Census/CensusOfSlovakiaTest.php9
-rw-r--r--tests/app/Census/CensusOfUnitedStates1790Test.php6
-rw-r--r--tests/app/Census/CensusOfUnitedStates1800Test.php6
-rw-r--r--tests/app/Census/CensusOfUnitedStates1810Test.php6
-rw-r--r--tests/app/Census/CensusOfUnitedStates1820Test.php6
-rw-r--r--tests/app/Census/CensusOfUnitedStates1830Test.php6
-rw-r--r--tests/app/Census/CensusOfUnitedStates1840Test.php6
-rw-r--r--tests/app/Census/CensusOfUnitedStates1850Test.php6
-rw-r--r--tests/app/Census/CensusOfUnitedStates1860Test.php6
-rw-r--r--tests/app/Census/CensusOfUnitedStates1870Test.php6
-rw-r--r--tests/app/Census/CensusOfUnitedStates1880Test.php6
-rw-r--r--tests/app/Census/CensusOfUnitedStates1890Test.php6
-rw-r--r--tests/app/Census/CensusOfUnitedStates1900Test.php6
-rw-r--r--tests/app/Census/CensusOfUnitedStates1910Test.php6
-rw-r--r--tests/app/Census/CensusOfUnitedStates1920Test.php6
-rw-r--r--tests/app/Census/CensusOfUnitedStates1930Test.php6
-rw-r--r--tests/app/Census/CensusOfUnitedStates1940Test.php6
-rw-r--r--tests/app/Census/CensusOfUnitedStates1950Test.php6
-rw-r--r--tests/app/Census/CensusOfUnitedStatesTest.php9
-rw-r--r--tests/app/Census/CensusOfWales1841Test.php6
-rw-r--r--tests/app/Census/CensusOfWales1851Test.php6
-rw-r--r--tests/app/Census/CensusOfWales1861Test.php6
-rw-r--r--tests/app/Census/CensusOfWales1871Test.php6
-rw-r--r--tests/app/Census/CensusOfWales1881Test.php6
-rw-r--r--tests/app/Census/CensusOfWales1891Test.php6
-rw-r--r--tests/app/Census/CensusOfWales1901Test.php6
-rw-r--r--tests/app/Census/CensusOfWales1911Test.php6
-rw-r--r--tests/app/Census/CensusOfWalesTest.php9
-rw-r--r--tests/app/Census/RegisterOfEngland1939Test.php6
-rw-r--r--tests/app/Census/RegisterOfScotland1939Test.php6
-rw-r--r--tests/app/Census/RegisterOfWales1939Test.php6
-rw-r--r--tests/app/Date/FrenchDateTest.php3
-rw-r--r--tests/app/Date/GregorianDateTest.php3
-rw-r--r--tests/app/Date/HijriDateTest.php3
-rw-r--r--tests/app/Date/JalaliDateTest.php3
-rw-r--r--tests/app/Date/JewishDateTest.php3
-rw-r--r--tests/app/Date/JulianDateTest.php3
-rw-r--r--tests/app/Date/RomanDateTest.php3
-rw-r--r--tests/app/DateTest.php3
-rw-r--r--tests/app/DefaultUserTest.php3
-rw-r--r--tests/app/Elements/AbstractEventElementTestCase.php3
-rw-r--r--tests/app/Elements/AbstractXrefElementTestCase.php3
-rw-r--r--tests/app/Elements/AddressCityTest.php3
-rw-r--r--tests/app/Elements/AddressCountryTest.php3
-rw-r--r--tests/app/Elements/AddressEmailTest.php3
-rw-r--r--tests/app/Elements/AddressFaxTest.php3
-rw-r--r--tests/app/Elements/AddressLine1Test.php3
-rw-r--r--tests/app/Elements/AddressLine2Test.php3
-rw-r--r--tests/app/Elements/AddressLine3Test.php3
-rw-r--r--tests/app/Elements/AddressLineTest.php3
-rw-r--r--tests/app/Elements/AddressPostalCodeTest.php3
-rw-r--r--tests/app/Elements/AddressStateTest.php3
-rw-r--r--tests/app/Elements/AddressWebPageTest.php3
-rw-r--r--tests/app/Elements/AdoptedByWhichParentTest.php3
-rw-r--r--tests/app/Elements/AdoptionTest.php3
-rw-r--r--tests/app/Elements/AdultChristeningTest.php3
-rw-r--r--tests/app/Elements/AgeAtEventTest.php3
-rw-r--r--tests/app/Elements/AncestralFileNumberTest.php3
-rw-r--r--tests/app/Elements/AnnulmentTest.php3
-rw-r--r--tests/app/Elements/ApprovedSystemIdTest.php3
-rw-r--r--tests/app/Elements/AttributeDescriptorTest.php3
-rw-r--r--tests/app/Elements/AutomatedRecordIdTest.php3
-rw-r--r--tests/app/Elements/BaptismTest.php3
-rw-r--r--tests/app/Elements/BarMitzvahTest.php3
-rw-r--r--tests/app/Elements/BasMitzvahTest.php3
-rw-r--r--tests/app/Elements/BirthTest.php3
-rw-r--r--tests/app/Elements/BlessingTest.php3
-rw-r--r--tests/app/Elements/BurialTest.php3
-rw-r--r--tests/app/Elements/CasteNameTest.php3
-rw-r--r--tests/app/Elements/CauseOfEventTest.php3
-rw-r--r--tests/app/Elements/CensusTest.php3
-rw-r--r--tests/app/Elements/CertaintyAssessmentTest.php3
-rw-r--r--tests/app/Elements/ChangeDateTest.php3
-rw-r--r--tests/app/Elements/ChangeTest.php3
-rw-r--r--tests/app/Elements/CharacterSetTest.php3
-rw-r--r--tests/app/Elements/ChildLinkageStatusTest.php3
-rw-r--r--tests/app/Elements/ChristeningTest.php3
-rw-r--r--tests/app/Elements/ConfirmationTest.php3
-rw-r--r--tests/app/Elements/ContentDescriptionTest.php3
-rw-r--r--tests/app/Elements/CopyrightFileTest.php3
-rw-r--r--tests/app/Elements/CopyrightSourceDataTest.php3
-rw-r--r--tests/app/Elements/CountOfChildrenTest.php3
-rw-r--r--tests/app/Elements/CountOfMarriagesTest.php3
-rw-r--r--tests/app/Elements/CremationTest.php3
-rw-r--r--tests/app/Elements/CustomElementTest.php3
-rw-r--r--tests/app/Elements/CustomEventTest.php3
-rw-r--r--tests/app/Elements/CustomFactTest.php3
-rw-r--r--tests/app/Elements/DateLdsOrdTest.php3
-rw-r--r--tests/app/Elements/DateValueTest.php3
-rw-r--r--tests/app/Elements/DeathTest.php3
-rw-r--r--tests/app/Elements/DemographicDataTypeTest.php3
-rw-r--r--tests/app/Elements/DescriptiveTitleTest.php3
-rw-r--r--tests/app/Elements/DivorceFiledTest.php3
-rw-r--r--tests/app/Elements/DivorceTest.php3
-rw-r--r--tests/app/Elements/EmigrationTest.php3
-rw-r--r--tests/app/Elements/EmptyElementTest.php3
-rw-r--r--tests/app/Elements/EngagementTest.php3
-rw-r--r--tests/app/Elements/EventAttributeTypeTest.php3
-rw-r--r--tests/app/Elements/EventOrFactClassificationTest.php3
-rw-r--r--tests/app/Elements/EventTypeCitedFromTest.php3
-rw-r--r--tests/app/Elements/EventsRecordedTest.php3
-rw-r--r--tests/app/Elements/FamilyRecordTest.php3
-rw-r--r--tests/app/Elements/FamilySearchFamilyTreeIdTest.php3
-rw-r--r--tests/app/Elements/FamilyStatusTextTest.php3
-rw-r--r--tests/app/Elements/FileNameTest.php3
-rw-r--r--tests/app/Elements/FirstCommunionTest.php3
-rw-r--r--tests/app/Elements/FormTest.php3
-rw-r--r--tests/app/Elements/GedcomElementTest.php3
-rw-r--r--tests/app/Elements/GenerationsOfAncestorsTest.php3
-rw-r--r--tests/app/Elements/GenerationsOfDescendantsTest.php3
-rw-r--r--tests/app/Elements/GovIdTypeTest.php3
-rw-r--r--tests/app/Elements/GovIdentifierTest.php3
-rw-r--r--tests/app/Elements/GraduationTest.php3
-rw-r--r--tests/app/Elements/HeaderRecordTest.php3
-rw-r--r--tests/app/Elements/HierarchicalRelationshipTest.php3
-rw-r--r--tests/app/Elements/ImmigrationTest.php3
-rw-r--r--tests/app/Elements/IndividualRecordTest.php3
-rw-r--r--tests/app/Elements/LanguageIdTest.php3
-rw-r--r--tests/app/Elements/LdsBaptismDateStatusTest.php3
-rw-r--r--tests/app/Elements/LdsBaptismTest.php3
-rw-r--r--tests/app/Elements/LdsChildSealingDateStatusTest.php3
-rw-r--r--tests/app/Elements/LdsChildSealingTest.php3
-rw-r--r--tests/app/Elements/LdsConfirmationTest.php3
-rw-r--r--tests/app/Elements/LdsEndowmentDateStatusTest.php3
-rw-r--r--tests/app/Elements/LdsEndowmentTest.php3
-rw-r--r--tests/app/Elements/LdsSpouseSealingDateStatusTest.php3
-rw-r--r--tests/app/Elements/LdsSpouseSealingTest.php3
-rw-r--r--tests/app/Elements/LocationRecordTest.php3
-rw-r--r--tests/app/Elements/MaidenheadLocatorTest.php3
-rw-r--r--tests/app/Elements/MarriageBannsTest.php3
-rw-r--r--tests/app/Elements/MarriageContractTest.php3
-rw-r--r--tests/app/Elements/MarriageLicenceTest.php3
-rw-r--r--tests/app/Elements/MarriageSettlementTest.php3
-rw-r--r--tests/app/Elements/MarriageTest.php3
-rw-r--r--tests/app/Elements/MarriageTypeTest.php3
-rw-r--r--tests/app/Elements/MediaRecordTest.php3
-rw-r--r--tests/app/Elements/MultimediaFileReferenceTest.php3
-rw-r--r--tests/app/Elements/MultimediaFormatTest.php3
-rw-r--r--tests/app/Elements/NameOfBusinessTest.php3
-rw-r--r--tests/app/Elements/NameOfFamilyFileTest.php3
-rw-r--r--tests/app/Elements/NameOfProductTest.php3
-rw-r--r--tests/app/Elements/NameOfRepositoryTest.php3
-rw-r--r--tests/app/Elements/NameOfSourceDataTest.php3
-rw-r--r--tests/app/Elements/NamePersonalTest.php3
-rw-r--r--tests/app/Elements/NamePhoneticVariationTest.php3
-rw-r--r--tests/app/Elements/NamePieceGivenTest.php3
-rw-r--r--tests/app/Elements/NamePieceNicknameTest.php3
-rw-r--r--tests/app/Elements/NamePiecePrefixTest.php3
-rw-r--r--tests/app/Elements/NamePieceSuffixTest.php3
-rw-r--r--tests/app/Elements/NamePieceSurnamePrefixTest.php3
-rw-r--r--tests/app/Elements/NamePieceSurnameTest.php3
-rw-r--r--tests/app/Elements/NameRomanizedVariationTest.php3
-rw-r--r--tests/app/Elements/NameTypeTest.php3
-rw-r--r--tests/app/Elements/NationalIdNumberTest.php3
-rw-r--r--tests/app/Elements/NationalOrTribalOriginTest.php3
-rw-r--r--tests/app/Elements/NaturalizationTest.php3
-rw-r--r--tests/app/Elements/NobilityTypeTitleTest.php3
-rw-r--r--tests/app/Elements/NoteRecordTest.php3
-rw-r--r--tests/app/Elements/NoteStructureTest.php3
-rw-r--r--tests/app/Elements/OccupationTest.php3
-rw-r--r--tests/app/Elements/OrdinanceProcessFlagTest.php3
-rw-r--r--tests/app/Elements/OrdinationTest.php3
-rw-r--r--tests/app/Elements/PafUidTest.php3
-rw-r--r--tests/app/Elements/PedigreeLinkageTypeTest.php3
-rw-r--r--tests/app/Elements/PermanentRecordFileNumberTest.php3
-rw-r--r--tests/app/Elements/PhoneNumberTest.php3
-rw-r--r--tests/app/Elements/PhoneticTypeTest.php3
-rw-r--r--tests/app/Elements/PhysicalDescriptionTest.php3
-rw-r--r--tests/app/Elements/PlaceHierarchyTest.php3
-rw-r--r--tests/app/Elements/PlaceLatitudeTest.php3
-rw-r--r--tests/app/Elements/PlaceLivingOrdinanceTest.php3
-rw-r--r--tests/app/Elements/PlaceLongtitudeTest.php3
-rw-r--r--tests/app/Elements/PlaceNameTest.php3
-rw-r--r--tests/app/Elements/PlacePhoneticVariationTest.php3
-rw-r--r--tests/app/Elements/PlaceRomanizedVariationTest.php3
-rw-r--r--tests/app/Elements/PossessionsTest.php3
-rw-r--r--tests/app/Elements/ProbateTest.php3
-rw-r--r--tests/app/Elements/PublicationDateTest.php3
-rw-r--r--tests/app/Elements/ReceivingSystemNameTest.php3
-rw-r--r--tests/app/Elements/RelationIsDescriptorTest.php3
-rw-r--r--tests/app/Elements/ReligiousAffiliationTest.php3
-rw-r--r--tests/app/Elements/RepositoryRecordTest.php3
-rw-r--r--tests/app/Elements/ResearchTaskPriorityTest.php3
-rw-r--r--tests/app/Elements/ResearchTaskStatusTest.php3
-rw-r--r--tests/app/Elements/ResearchTaskTest.php3
-rw-r--r--tests/app/Elements/ResearchTaskTypeTest.php3
-rw-r--r--tests/app/Elements/ResidenceTest.php3
-rw-r--r--tests/app/Elements/ResponsibleAgencyTest.php3
-rw-r--r--tests/app/Elements/RestrictionNoticeTest.php3
-rw-r--r--tests/app/Elements/RetirementTest.php3
-rw-r--r--tests/app/Elements/RoleInEventTest.php3
-rw-r--r--tests/app/Elements/RomanizedTypeTest.php3
-rw-r--r--tests/app/Elements/ScholasticAchievementTest.php3
-rw-r--r--tests/app/Elements/SexValueTest.php3
-rw-r--r--tests/app/Elements/SexXValueTest.php3
-rw-r--r--tests/app/Elements/SocialSecurityNumberTest.php3
-rw-r--r--tests/app/Elements/SourceCallNumberTest.php3
-rw-r--r--tests/app/Elements/SourceDataTest.php3
-rw-r--r--tests/app/Elements/SourceDescriptiveTitleTest.php3
-rw-r--r--tests/app/Elements/SourceFiledByEntryTest.php3
-rw-r--r--tests/app/Elements/SourceJurisdictionPlaceTest.php3
-rw-r--r--tests/app/Elements/SourceMediaTypeTest.php3
-rw-r--r--tests/app/Elements/SourceOriginatorTest.php3
-rw-r--r--tests/app/Elements/SourcePublicationFactsTest.php3
-rw-r--r--tests/app/Elements/SourceRecordTest.php3
-rw-r--r--tests/app/Elements/SubmissionRecordTest.php3
-rw-r--r--tests/app/Elements/SubmitterNameTest.php3
-rw-r--r--tests/app/Elements/SubmitterRecordTest.php3
-rw-r--r--tests/app/Elements/SubmitterRegisteredRfnTest.php3
-rw-r--r--tests/app/Elements/SubmitterTextTest.php3
-rw-r--r--tests/app/Elements/TempleCodeTest.php3
-rw-r--r--tests/app/Elements/TextFromSourceTest.php3
-rw-r--r--tests/app/Elements/TimeValueTest.php3
-rw-r--r--tests/app/Elements/TransmissionDateTest.php3
-rw-r--r--tests/app/Elements/UidTest.php3
-rw-r--r--tests/app/Elements/UnknownElementTest.php3
-rw-r--r--tests/app/Elements/UserReferenceNumberTest.php3
-rw-r--r--tests/app/Elements/UserReferenceTypeTest.php3
-rw-r--r--tests/app/Elements/VersionNumberTest.php3
-rw-r--r--tests/app/Elements/WebtreesUserTest.php3
-rw-r--r--tests/app/Elements/WhereWithinSourceTest.php3
-rw-r--r--tests/app/Elements/WillTest.php3
-rw-r--r--tests/app/Factories/SurnameTraditionFactoryTest.php6
-rw-r--r--tests/app/FamilyTest.php3
-rw-r--r--tests/app/FlashMessagesTest.php3
-rw-r--r--tests/app/GedcomRecordTest.php4
-rw-r--r--tests/app/Http/Middleware/HandleExceptionsTest.php2
-rw-r--r--tests/app/Http/RequestHandlers/ControlPanelControllerTest.php10
-rw-r--r--tests/app/Http/RequestHandlers/DataFixDataTest.php3
-rw-r--r--tests/app/Http/RequestHandlers/ManageMediaPageTest.php2
-rw-r--r--tests/app/Http/RequestHandlers/RedirectModulePhpTest.php2
-rw-r--r--tests/app/Http/RequestHandlers/UploadMediaActionTest.php2
-rw-r--r--tests/app/Http/RequestHandlers/UploadMediaPageTest.php4
-rw-r--r--tests/app/IndividualTest.php3
-rw-r--r--tests/app/LogTest.php3
-rw-r--r--tests/app/MediaTest.php3
-rw-r--r--tests/app/Module/AlbumModuleTest.php3
-rw-r--r--tests/app/Module/AncestorsChartModuleTest.php3
-rw-r--r--tests/app/Module/AustrianHistoricEventsTest.php6
-rw-r--r--tests/app/Module/AustrianPresidentsTest.php4
-rw-r--r--tests/app/Module/BritishMonarchsTest.php4
-rw-r--r--tests/app/Module/BritishPrimeMinistersTest.php4
-rw-r--r--tests/app/Module/BritishSocialHistoryTest.php4
-rw-r--r--tests/app/Module/CensusAssistantModuleTest.php3
-rw-r--r--tests/app/Module/ChartsBlockModuleTest.php3
-rw-r--r--tests/app/Module/CkeditorModuleTest.php3
-rw-r--r--tests/app/Module/ClippingsCartModuleTest.php3
-rw-r--r--tests/app/Module/CompactTreeChartModuleTest.php3
-rw-r--r--tests/app/Module/CzechMonarchsAndPresidentsTest.php4
-rw-r--r--tests/app/Module/DescendancyChartModuleTest.php3
-rw-r--r--tests/app/Module/DescendancyModuleTest.php3
-rw-r--r--tests/app/Module/DutchMonarchsTest.php4
-rw-r--r--tests/app/Module/DutchPrimeMinistersTest.php4
-rw-r--r--tests/app/Module/FamilyBookChartModuleTest.php3
-rw-r--r--tests/app/Module/FamilyNavigatorModuleTest.php3
-rw-r--r--tests/app/Module/FamilyTreeFavoritesModuleTest.php3
-rw-r--r--tests/app/Module/FamilyTreeNewsModuleTest.php3
-rw-r--r--tests/app/Module/FamilyTreeStatisticsModuleTest.php3
-rw-r--r--tests/app/Module/FanChartModuleTest.php3
-rw-r--r--tests/app/Module/FixDuplicateLinksTest.php21
-rw-r--r--tests/app/Module/FrenchHistoryTest.php4
-rw-r--r--tests/app/Module/FrequentlyAskedQuestionsModuleTest.php3
-rw-r--r--tests/app/Module/HourglassChartModuleTest.php3
-rw-r--r--tests/app/Module/HtmlBlockModuleTest.php3
-rw-r--r--tests/app/Module/IndividualFactsTabModuleTest.php3
-rw-r--r--tests/app/Module/IndividualMetadataModuleTest.php3
-rw-r--r--tests/app/Module/InteractiveTree/TreeViewTest.php3
-rw-r--r--tests/app/Module/InteractiveTreeModuleTest.php3
-rw-r--r--tests/app/Module/LanguageArmenianTest.php (renamed from tests/app/StatsTest.php)14
-rw-r--r--tests/app/Module/LifespansChartModuleTest.php3
-rw-r--r--tests/app/Module/LoggedInUsersModuleTest.php3
-rw-r--r--tests/app/Module/LoginBlockModuleTest.php3
-rw-r--r--tests/app/Module/LowCountriesRulersTest.php4
-rw-r--r--tests/app/Module/MapLinkBingTest.php3
-rw-r--r--tests/app/Module/MediaTabModuleTest.php3
-rw-r--r--tests/app/Module/NewZealandPrimeMinistersTest.php4
-rw-r--r--tests/app/Module/NotesTabModuleTest.php3
-rw-r--r--tests/app/Module/OnThisDayModuleTest.php3
-rw-r--r--tests/app/Module/PedigreeChartModuleTest.php3
-rw-r--r--tests/app/Module/RecentChangesModuleTest.php3
-rw-r--r--tests/app/Module/RelationshipsChartModuleTest.php3
-rw-r--r--tests/app/Module/RelativesTabModuleTest.php3
-rw-r--r--tests/app/Module/ResearchTaskModuleTest.php3
-rw-r--r--tests/app/Module/ReviewChangesModuleTest.php3
-rw-r--r--tests/app/Module/SiteMapModuleTest.php3
-rw-r--r--tests/app/Module/SlideShowModuleTest.php3
-rw-r--r--tests/app/Module/SourcesTabModuleTest.php3
-rw-r--r--tests/app/Module/StoriesModuleTest.php3
-rw-r--r--tests/app/Module/ThemeSelectModuleTest.php3
-rw-r--r--tests/app/Module/TimelineChartModuleTest.php3
-rw-r--r--tests/app/Module/TopGivenNamesModuleTest.php3
-rw-r--r--tests/app/Module/TopPageViewsModuleTest.php3
-rw-r--r--tests/app/Module/TopSurnamesModuleTest.php3
-rw-r--r--tests/app/Module/USPresidentsTest.php4
-rw-r--r--tests/app/Module/UserFavoritesModuleTest.php3
-rw-r--r--tests/app/Module/UserJournalModuleTest.php3
-rw-r--r--tests/app/Module/UserMessagesModuleTest.php3
-rw-r--r--tests/app/Module/UserWelcomeModuleTest.php3
-rw-r--r--tests/app/Module/WelcomeBlockModuleTest.php3
-rw-r--r--tests/app/Module/YahrzeitModuleTest.php3
-rw-r--r--tests/app/NoteTest.php3
-rw-r--r--tests/app/PlaceTest.php3
-rw-r--r--tests/app/RepositoryTest.php3
-rw-r--r--tests/app/Services/GedcomEditServiceTest.php2
-rw-r--r--tests/app/Services/ModuleServiceTest.php4
-rw-r--r--tests/app/Services/TimeoutServiceTest.php10
-rw-r--r--tests/app/Services/UserServiceTest.php3
-rw-r--r--tests/app/SoundexTest.php3
-rw-r--r--tests/app/SourceTest.php3
-rw-r--r--tests/app/SurnameTradition/DefaultSurnameTraditionTest.php15
-rw-r--r--tests/app/SurnameTradition/IcelandicSurnameTraditionTest.php27
-rw-r--r--tests/app/SurnameTradition/LithuanianSurnameTraditionTest.php42
-rw-r--r--tests/app/SurnameTradition/MatrilinealSurnameTraditionTest.php21
-rw-r--r--tests/app/SurnameTradition/PaternalSurnameTraditionTest.php42
-rw-r--r--tests/app/SurnameTradition/PatrilinealSurnameTraditionTest.php21
-rw-r--r--tests/app/SurnameTradition/PolishSurnameTraditionTest.php36
-rw-r--r--tests/app/SurnameTradition/PortugueseSurnameTraditionTest.php21
-rw-r--r--tests/app/SurnameTradition/SpanishSurnameTraditionTest.php21
-rw-r--r--tests/app/TreeTest.php3
-rw-r--r--tests/app/UserTest.php3
-rw-r--r--tests/views/VerifySuccessPageTest.php3
487 files changed, 476 insertions, 3265 deletions
diff --git a/app/FlashMessages.php b/app/FlashMessages.php
index 75954787e7..fd421911ba 100644
--- a/app/FlashMessages.php
+++ b/app/FlashMessages.php
@@ -53,7 +53,7 @@ class FlashMessages
/**
* Get the current messages, and remove them from session storage.
*
- * @return array<object>
+ * @return array<object{text:string,status:string}>
*/
public static function getMessages(): array
{
diff --git a/app/Http/RequestHandlers/MapDataList.php b/app/Http/RequestHandlers/MapDataList.php
index cee8fe20e3..adc30de487 100644
--- a/app/Http/RequestHandlers/MapDataList.php
+++ b/app/Http/RequestHandlers/MapDataList.php
@@ -117,7 +117,7 @@ class MapDataList implements RequestHandlerInterface
return $this->viewResponse('admin/locations', [
'active' => $this->map_data_service->activePlaces($parent),
- 'all_trees' => $this->tree_service->all(),
+ 'all_trees' => $this->tree_service->all()->all(),
'breadcrumbs' => array_reverse($breadcrumbs),
'parent_id' => $parent_id,
'placelist' => $this->map_data_service->getPlaceListLocation($parent_id),
diff --git a/app/Module/FamilyNavigatorModule.php b/app/Module/FamilyNavigatorModule.php
index d368244c81..e968ca57f3 100644
--- a/app/Module/FamilyNavigatorModule.php
+++ b/app/Module/FamilyNavigatorModule.php
@@ -21,6 +21,8 @@ namespace Fisharebest\Webtrees\Module;
use Fisharebest\Webtrees\I18N;
use Fisharebest\Webtrees\Individual;
+use Fisharebest\Webtrees\Registry;
+use Fisharebest\Webtrees\Services\RelationshipService;
class FamilyNavigatorModule extends AbstractModule implements ModuleSidebarInterface
{
@@ -67,6 +69,9 @@ class FamilyNavigatorModule extends AbstractModule implements ModuleSidebarInter
*/
public function getSidebarContent(Individual $individual): string
{
- return view('modules/family_nav/sidebar', ['individual' => $individual]);
+ return view('modules/family_nav/sidebar', [
+ 'individual' => $individual,
+ 'relationship_service' => Registry::container()->get(RelationshipService::class),
+ ]);
}
}
diff --git a/app/Module/FamilyTreeFavoritesModule.php b/app/Module/FamilyTreeFavoritesModule.php
index 482f3aa587..f5ddb8a50f 100644
--- a/app/Module/FamilyTreeFavoritesModule.php
+++ b/app/Module/FamilyTreeFavoritesModule.php
@@ -116,13 +116,21 @@ class FamilyTreeFavoritesModule extends AbstractModule implements ModuleBlockInt
*
* @param Tree $tree
*
- * @return array<object>
+ * @return array<int,object{
+ * favorite_id:string,
+ * favorite_type:string,
+ * url:string|null,
+ * note:string|null,
+ * title:string|null,
+ * record:GedcomRecord|null
+ * }>
*/
public function getFavorites(Tree $tree): array
{
return DB::table('favorite')
->where('gedcom_id', '=', $tree->id())
->whereNull('user_id')
+ ->select(['favorite_id', 'xref', 'favorite_type', 'url', 'title', 'note'])
->get()
->map(static function (object $row) use ($tree): object {
if ($row->xref !== null) {
diff --git a/app/Module/FrequentlyAskedQuestionsModule.php b/app/Module/FrequentlyAskedQuestionsModule.php
index 5c04cc95af..aafca4ef8a 100644
--- a/app/Module/FrequentlyAskedQuestionsModule.php
+++ b/app/Module/FrequentlyAskedQuestionsModule.php
@@ -122,7 +122,7 @@ class FrequentlyAskedQuestionsModule extends AbstractModule implements ModuleCon
return redirect(route(ControlPanel::class));
}
- $faqs = $this->faqsForTree($tree);
+ $faqs = $this->faqsForTree($tree)->all();
$min_block_order = (int) DB::table('block')
->where('module_name', '=', $this->name())
@@ -375,7 +375,8 @@ class FrequentlyAskedQuestionsModule extends AbstractModule implements ModuleCon
// Filter foreign languages.
$faqs = $this->faqsForTree($tree)
- ->filter(static fn (object $faq): bool => $faq->languages === '' || in_array(I18N::languageTag(), explode(',', $faq->languages), true));
+ ->filter(static fn (object $faq): bool => $faq->languages === '' || in_array(I18N::languageTag(), explode(',', $faq->languages), true))
+ ->all();
return $this->viewResponse('modules/faq/show', [
'faqs' => $faqs,
@@ -387,7 +388,14 @@ class FrequentlyAskedQuestionsModule extends AbstractModule implements ModuleCon
/**
* @param Tree $tree
*
- * @return Collection<int,object>
+ * @return Collection<int,object{
+ * block_id: int,
+ * block_order: int,
+ * gedcom_id: int,
+ * header: string,
+ * faqbody: string,
+ * languages: string
+ * }>
*/
private function faqsForTree(Tree $tree): Collection
{
diff --git a/app/Module/LifespansChartModule.php b/app/Module/LifespansChartModule.php
index c97ea25b89..ef7f1021e6 100644
--- a/app/Module/LifespansChartModule.php
+++ b/app/Module/LifespansChartModule.php
@@ -408,7 +408,14 @@ class LifespansChartModule extends AbstractModule implements ModuleChartInterfac
/**
* @param array<Individual> $individuals
*
- * @return array<object>
+ * @return array<object{
+ * background: string,
+ * birth_year: int,
+ * death_year: int,
+ * id: string,
+ * individual: Individual,
+ * row: int
+ * }>
*/
private function layoutIndividuals(array $individuals): array
{
diff --git a/app/Module/RelativesTabModule.php b/app/Module/RelativesTabModule.php
index 0a6cd77455..d1aec1e0f2 100644
--- a/app/Module/RelativesTabModule.php
+++ b/app/Module/RelativesTabModule.php
@@ -22,6 +22,8 @@ namespace Fisharebest\Webtrees\Module;
use Fisharebest\Webtrees\Auth;
use Fisharebest\Webtrees\I18N;
use Fisharebest\Webtrees\Individual;
+use Fisharebest\Webtrees\Registry;
+use Fisharebest\Webtrees\Services\RelationshipService;
use Illuminate\Support\Collection;
class RelativesTabModule extends AbstractModule implements ModuleTabInterface
@@ -71,6 +73,7 @@ class RelativesTabModule extends AbstractModule implements ModuleTabInterface
'can_edit' => $individual->canEdit(),
'individual' => $individual,
'parent_families' => $individual->childFamilies(),
+ 'relationship_service' => Registry::container()->get(RelationshipService::class),
'spouse_families' => $individual->spouseFamilies(),
'step_child_families' => $individual->spouseStepFamilies(),
'step_parent_families' => $individual->childStepFamilies(),
diff --git a/app/Module/StoriesModule.php b/app/Module/StoriesModule.php
index 314b6fd146..490db0a28c 100644
--- a/app/Module/StoriesModule.php
+++ b/app/Module/StoriesModule.php
@@ -104,9 +104,7 @@ class StoriesModule extends AbstractModule implements ModuleConfigInterface, Mod
}
/**
- * @param Individual $individual
- *
- * @return array<object>
+ * @return array<object{block_id:int,title:string,story_body:string}>
*/
private function getStoriesForIndividual(Individual $individual): array
{
diff --git a/app/Module/TopSurnamesModule.php b/app/Module/TopSurnamesModule.php
index a7ece3ed61..d218a65d9f 100644
--- a/app/Module/TopSurnamesModule.php
+++ b/app/Module/TopSurnamesModule.php
@@ -102,7 +102,7 @@ class TopSurnamesModule extends AbstractModule implements ModuleBlockInterface
DB::binaryColumn('n_surname'),
]);
- /** @var array<array<int>> $top_surnames */
+ /** @var array<non-empty-array<int>> $top_surnames */
$top_surnames = [];
foreach ($query->get() as $row) {
diff --git a/app/Module/UserFavoritesModule.php b/app/Module/UserFavoritesModule.php
index c61af2919f..c2a102c738 100644
--- a/app/Module/UserFavoritesModule.php
+++ b/app/Module/UserFavoritesModule.php
@@ -118,13 +118,21 @@ class UserFavoritesModule extends AbstractModule implements ModuleBlockInterface
* @param Tree $tree
* @param UserInterface $user
*
- * @return array<object>
+ * @return array<int,object{
+ * favorite_id:string,
+ * favorite_type:string,
+ * url:string|null,
+ * note:string|null,
+ * title:string|null,
+ * record:GedcomRecord|null
+ * }>
*/
public function getFavorites(Tree $tree, UserInterface $user): array
{
return DB::table('favorite')
->where('gedcom_id', '=', $tree->id())
->where('user_id', '=', $user->id())
+ ->select(['favorite_id', 'xref', 'favorite_type', 'url', 'title', 'note'])
->get()
->map(static function (object $row) use ($tree): object {
if ($row->xref !== null) {
diff --git a/app/Services/PendingChangesService.php b/app/Services/PendingChangesService.php
index bd2d080a76..676b45574a 100644
--- a/app/Services/PendingChangesService.php
+++ b/app/Services/PendingChangesService.php
@@ -23,6 +23,7 @@ use DateInterval;
use DateTimeImmutable;
use DateTimeZone;
use Fisharebest\Webtrees\Auth;
+use Fisharebest\Webtrees\Contracts\TimestampInterface;
use Fisharebest\Webtrees\Contracts\UserInterface;
use Fisharebest\Webtrees\DB;
use Fisharebest\Webtrees\Exceptions\GedcomErrorException;
@@ -80,10 +81,16 @@ class PendingChangesService
}
/**
- * @param Tree $tree
- * @param int $n
- *
- * @return array<array<object>>
+ * @return array<array<object{
+ * xref:string,
+ * change_id:string,
+ * old_gedcom:string|null,
+ * new_gedcom:string|null,
+ * change_time:TimestampInterface,
+ * record:GedcomRecord,
+ * user_name:string,
+ * real_name:string
+ * }>>
*/
public function pendingChanges(Tree $tree, int $n): array
{
diff --git a/app/StatisticsData.php b/app/StatisticsData.php
index 6b62a4a68d..6fcabdb358 100644
--- a/app/StatisticsData.php
+++ b/app/StatisticsData.php
@@ -1422,7 +1422,7 @@ readonly class StatisticsData
}
/**
- * @return array<array<string,int|Family>>
+ * @return array<array{family:Family,count:int}>
*/
private function topTenGrandFamilyQuery(int $limit): array
{
@@ -1612,7 +1612,7 @@ readonly class StatisticsData
}
/**
- * @return array<array<string,mixed>>
+ * @return array<array{family:Family,count:int}>
*/
private function topTenFamilyQuery(int $limit): array
{
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 7b6e7fe20c..da1560366e 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -1201,7 +1201,7 @@ parameters:
path: app/Family.php
-
- message: '#^Method Fisharebest\\Webtrees\\FlashMessages\:\:getMessages\(\) should return array\<object\> but returns array\<mixed\>\.$#'
+ message: '#^Method Fisharebest\\Webtrees\\FlashMessages\:\:getMessages\(\) should return array\<object\{text\: string, status\: string\}\> but returns array\<mixed\>\.$#'
identifier: return.type
count: 1
path: app/FlashMessages.php
@@ -3763,6 +3763,12 @@ parameters:
path: app/Module/FabTheme.php
-
+ message: '#^Method Fisharebest\\Webtrees\\Module\\FamilyTreeFavoritesModule\:\:getFavorites\(\) should return array\<int, object\{favorite_id\: string, favorite_type\: string, url\: string\|null, note\: string\|null, title\: string\|null, record\: Fisharebest\\Webtrees\\GedcomRecord\|null\}\> but returns array\<int, stdClass\>\.$#'
+ identifier: return.type
+ count: 1
+ path: app/Module/FamilyTreeFavoritesModule.php
+
+ -
message: '#^Parameter \#1 \$xref of method Fisharebest\\Webtrees\\Contracts\\GedcomRecordFactoryInterface\:\:make\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
@@ -4309,21 +4315,21 @@ parameters:
path: app/Module/FrequentlyAskedQuestionsModule.php
-
- message: '#^Access to an undefined property object\:\:\$languages\.$#'
- identifier: property.notFound
- count: 1
- path: app/Module/FrequentlyAskedQuestionsModule.php
-
- -
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 6
path: app/Module/FrequentlyAskedQuestionsModule.php
-
+ message: '#^Method Fisharebest\\Webtrees\\Module\\FrequentlyAskedQuestionsModule\:\:faqsForTree\(\) should return Illuminate\\Support\\Collection\<int, object\{block_id\: int, block_order\: int, gedcom_id\: int, header\: string, faqbody\: string, languages\: string\}\> but returns Illuminate\\Support\\Collection\<int, stdClass\>\.$#'
+ identifier: return.type
+ count: 1
+ path: app/Module/FrequentlyAskedQuestionsModule.php
+
+ -
message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
identifier: argument.type
- count: 2
+ count: 1
path: app/Module/FrequentlyAskedQuestionsModule.php
-
@@ -5071,6 +5077,12 @@ parameters:
path: app/Module/TopSurnamesModule.php
-
+ message: '#^Method Fisharebest\\Webtrees\\Module\\UserFavoritesModule\:\:getFavorites\(\) should return array\<int, object\{favorite_id\: string, favorite_type\: string, url\: string\|null, note\: string\|null, title\: string\|null, record\: Fisharebest\\Webtrees\\GedcomRecord\|null\}\> but returns array\<int, stdClass\>\.$#'
+ identifier: return.type
+ count: 1
+ path: app/Module/UserFavoritesModule.php
+
+ -
message: '#^Parameter \#1 \$xref of method Fisharebest\\Webtrees\\Contracts\\GedcomRecordFactoryInterface\:\:make\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
@@ -7015,6 +7027,12 @@ parameters:
path: app/Services/PendingChangesService.php
-
+ message: '#^Method Fisharebest\\Webtrees\\Services\\PendingChangesService\:\:pendingChanges\(\) should return array\<array\<object\{xref\: string, change_id\: string, old_gedcom\: string\|null, new_gedcom\: string\|null, change_time\: Fisharebest\\Webtrees\\Contracts\\TimestampInterface, record\: Fisharebest\\Webtrees\\GedcomRecord, user_name\: string, real_name\: string\}\>\> but returns array\<list\<stdClass\>\>\.$#'
+ identifier: return.type
+ count: 1
+ path: app/Services/PendingChangesService.php
+
+ -
message: '#^Method Fisharebest\\Webtrees\\Services\\PendingChangesService\:\:pendingXrefs\(\) should return Illuminate\\Support\\Collection\<int, string\> but returns Illuminate\\Support\\Collection\<\(int\|string\), mixed\>\.$#'
identifier: return.type
count: 1
@@ -7915,24 +7933,6 @@ parameters:
path: resources/views/admin/control-panel.phtml
-
- message: '#^Parameter \#1 \$tree of method Fisharebest\\Webtrees\\Module\\PlaceHierarchyListModule\:\:listUrl\(\) expects Fisharebest\\Webtrees\\Tree, Fisharebest\\Webtrees\\Tree\|null given\.$#'
- identifier: argument.type
- count: 2
- path: resources/views/admin/locations.phtml
-
- -
- message: '#^Cannot call method name\(\) on Fisharebest\\Webtrees\\Tree\|null\.$#'
- identifier: method.nonObject
- count: 2
- path: resources/views/admin/trees-merge.phtml
-
- -
- message: '#^Cannot call method title\(\) on Fisharebest\\Webtrees\\Tree\|null\.$#'
- identifier: method.nonObject
- count: 2
- path: resources/views/admin/trees-merge.phtml
-
- -
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
@@ -7993,24 +7993,6 @@ parameters:
path: resources/views/chart-box.phtml
-
- message: '#^Parameter \#1 \$n of static method Fisharebest\\Webtrees\\I18N\:\:number\(\) expects float, int\|null given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/components/badge.phtml
-
- -
- message: '#^Cannot cast mixed to int\.$#'
- identifier: cast.int
- count: 1
- path: resources/views/components/select-number.phtml
-
- -
- message: '#^Parameter \#1 \$n of static method Fisharebest\\Webtrees\\I18N\:\:number\(\) expects float, string given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/components/select-number.phtml
-
- -
message: '#^Cannot cast mixed to string\.$#'
identifier: cast.string
count: 1
@@ -8293,30 +8275,6 @@ parameters:
path: resources/views/fact.phtml
-
- message: '#^Argument of an invalid type string supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
- count: 3
- path: resources/views/help/date.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 3
- path: resources/views/help/date.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$status\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/layouts/administration.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$text\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/layouts/administration.phtml
-
- -
message: '#^Cannot call method findByInterface\(\) on mixed\.$#'
identifier: method.nonObject
count: 2
@@ -8337,22 +8295,10 @@ parameters:
-
message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
identifier: echo.nonString
- count: 4
+ count: 2
path: resources/views/layouts/administration.phtml
-
- message: '#^Access to an undefined property object\:\:\$status\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/layouts/default.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$text\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/layouts/default.phtml
-
- -
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 3
@@ -8403,18 +8349,12 @@ parameters:
-
message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
identifier: argument.type
- count: 4
+ count: 2
path: resources/views/layouts/default.phtml
-
message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
identifier: echo.nonString
- count: 5
- path: resources/views/layouts/default.phtml
-
- -
- message: '#^Strict comparison using \!\=\= between Fisharebest\\Webtrees\\Tree and null will always evaluate to true\.$#'
- identifier: notIdentical.alwaysTrue
count: 3
path: resources/views/layouts/default.phtml
@@ -8431,408 +8371,42 @@ parameters:
path: resources/views/lists/individuals-table.phtml
-
- message: '#^Cannot cast mixed to int\.$#'
- identifier: cast.int
+ message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: int, Closure\(string\)\: int given\.$#'
+ identifier: argument.type
count: 2
path: resources/views/lists/locations-table.phtml
-
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 1
- path: resources/views/lists/locations-table.phtml
-
- -
- message: '#^Cannot cast mixed to int\.$#'
- identifier: cast.int
+ message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: int, Closure\(string\)\: int given\.$#'
+ identifier: argument.type
count: 3
path: resources/views/lists/media-table.phtml
-
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 1
- path: resources/views/lists/media-table.phtml
-
- -
- message: '#^Cannot cast mixed to int\.$#'
- identifier: cast.int
+ message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: int, Closure\(string\)\: int given\.$#'
+ identifier: argument.type
count: 4
path: resources/views/lists/notes-table.phtml
-
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 1
- path: resources/views/lists/notes-table.phtml
-
- -
- message: '#^Cannot cast mixed to int\.$#'
- identifier: cast.int
- count: 1
- path: resources/views/lists/repositories-table.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
+ message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: int, Closure\(string\)\: int given\.$#'
+ identifier: argument.type
count: 1
path: resources/views/lists/repositories-table.phtml
-
- message: '#^Cannot cast mixed to int\.$#'
- identifier: cast.int
+ message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: int, Closure\(string\)\: int given\.$#'
+ identifier: argument.type
count: 4
path: resources/views/lists/sources-table.phtml
-
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 1
- path: resources/views/lists/sources-table.phtml
-
- -
message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: int, Closure\(string\)\: int given\.$#'
identifier: argument.type
count: 2
path: resources/views/lists/submitters-table.phtml
-
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 1
- path: resources/views/lists/submitters-table.phtml
-
- -
- message: '#^Binary operation "\+" between 1 and mixed results in an error\.$#'
- identifier: binaryOp.invalid
- count: 1
- path: resources/views/lists/surnames-table.phtml
-
- -
- message: '#^Parameter \#1 \.\.\.\$arg1 of function max expects non\-empty\-array, array\<int\> given\.$#'
- identifier: argument.type
- count: 2
- path: resources/views/lists/surnames-tag-cloud.phtml
-
- -
- message: '#^Parameter \#1 \.\.\.\$arg1 of function min expects non\-empty\-array, array\<int\> given\.$#'
- identifier: argument.type
- count: 2
- path: resources/views/lists/surnames-tag-cloud.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/modules/bing-webmaster-tools/form.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/modules/bing-webmaster-tools/snippet.phtml
-
- -
- message: '#^Cannot call method fullName\(\) on Fisharebest\\Webtrees\\Individual\|null\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/modules/census-assistant.phtml
-
- -
- message: '#^Cannot call method tree\(\) on Fisharebest\\Webtrees\\Individual\|null\.$#'
- identifier: method.nonObject
- count: 3
- path: resources/views/modules/census-assistant.phtml
-
- -
- message: '#^Cannot call method getCloseRelationshipName\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 6
- path: resources/views/modules/family_nav/sidebar-family.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 6
- path: resources/views/modules/family_nav/sidebar-family.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$block_id\.$#'
- identifier: property.notFound
- count: 4
- path: resources/views/modules/faq/config.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$block_order\.$#'
- identifier: property.notFound
- count: 3
- path: resources/views/modules/faq/config.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$gedcom_id\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/modules/faq/config.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$header\.$#'
- identifier: property.notFound
- count: 2
- path: resources/views/modules/faq/config.phtml
-
- -
- message: '#^Parameter \#1 \$n of static method Fisharebest\\Webtrees\\I18N\:\:number\(\) expects float, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/modules/faq/config.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 2
- path: resources/views/modules/faq/config.phtml
-
- -
- message: '#^Parameter \#2 \$parameters of function route expects array\<array\<string\>\|bool\|int\|string\|null\>, array\<string, mixed\> given\.$#'
- identifier: argument.type
- count: 4
- path: resources/views/modules/faq/config.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$faqbody\.$#'
- identifier: property.notFound
- count: 3
- path: resources/views/modules/faq/show.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$header\.$#'
- identifier: property.notFound
- count: 2
- path: resources/views/modules/faq/show.phtml
-
- -
- message: '#^Parameter \#1 \$haystack of function str_starts_with expects string, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/modules/faq/show.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 3
- path: resources/views/modules/faq/show.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 1
- path: resources/views/modules/faq/show.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$favorite_id\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/modules/favorites/favorites.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$favorite_type\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/modules/favorites/favorites.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$note\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/modules/favorites/favorites.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$record\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/modules/favorites/favorites.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$title\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/modules/favorites/favorites.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$url\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/modules/favorites/favorites.phtml
-
- -
- message: '#^Cannot call method formatList\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/modules/favorites/favorites.phtml
-
- -
- message: '#^Cannot cast mixed to string\.$#'
- identifier: cast.string
- count: 1
- path: resources/views/modules/favorites/favorites.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 2
- path: resources/views/modules/favorites/favorites.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 1
- path: resources/views/modules/favorites/favorites.phtml
-
- -
- message: '#^Parameter \#2 \$parameters of function route expects array\<array\<string\>\|bool\|int\|string\|null\>, array\<string, mixed\> given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/modules/favorites/favorites.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/modules/google-analytics/form.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/modules/google-webmaster-tools/form.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/modules/google-webmaster-tools/snippet.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$background\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/modules/lifespans-chart/chart.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$birth_year\.$#'
- identifier: property.notFound
- count: 3
- path: resources/views/modules/lifespans-chart/chart.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$death_year\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/modules/lifespans-chart/chart.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$id\.$#'
- identifier: property.notFound
- count: 3
- path: resources/views/modules/lifespans-chart/chart.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$individual\.$#'
- identifier: property.notFound
- count: 5
- path: resources/views/modules/lifespans-chart/chart.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$row\.$#'
- identifier: property.notFound
- count: 2
- path: resources/views/modules/lifespans-chart/chart.phtml
-
- -
- message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
- count: 1
- path: resources/views/modules/lifespans-chart/chart.phtml
-
- -
- message: '#^Binary operation "\*" between mixed and 1\.5 results in an error\.$#'
- identifier: binaryOp.invalid
- count: 1
- path: resources/views/modules/lifespans-chart/chart.phtml
-
- -
- message: '#^Binary operation "\+" between mixed and 1 results in an error\.$#'
- identifier: binaryOp.invalid
- count: 1
- path: resources/views/modules/lifespans-chart/chart.phtml
-
- -
- message: '#^Binary operation "\-" between mixed and int results in an error\.$#'
- identifier: binaryOp.invalid
- count: 2
- path: resources/views/modules/lifespans-chart/chart.phtml
-
- -
- message: '#^Binary operation "\-" between mixed and mixed results in an error\.$#'
- identifier: binaryOp.invalid
- count: 1
- path: resources/views/modules/lifespans-chart/chart.phtml
-
- -
- message: '#^Cannot call method facts\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/modules/lifespans-chart/chart.phtml
-
- -
- message: '#^Cannot call method fullName\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 2
- path: resources/views/modules/lifespans-chart/chart.phtml
-
- -
- message: '#^Cannot call method lifespan\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/modules/lifespans-chart/chart.phtml
-
- -
- message: '#^Cannot call method summary\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/modules/lifespans-chart/chart.phtml
-
- -
- message: '#^Cannot call method url\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/modules/lifespans-chart/chart.phtml
-
- -
- message: '#^Parameter \#1 \$string of function strip_tags expects string, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/modules/lifespans-chart/chart.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 4
- path: resources/views/modules/lifespans-chart/chart.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 4
- path: resources/views/modules/lifespans-chart/chart.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 2
- path: resources/views/modules/matomo-analytics/form.phtml
-
- -
message: '#^Parameter \#1 \$string of function trim expects string, string\|null given\.$#'
identifier: argument.type
count: 1
@@ -8851,24 +8425,6 @@ parameters:
path: resources/views/modules/notes/tab.phtml
-
- message: '#^PHPDoc tag @var for variable \$ancestors contains generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
- identifier: missingType.generics
- count: 1
- path: resources/views/modules/pedigree-chart/chart-up.phtml
-
- -
- message: '#^PHPDoc tag @var for variable \$links contains generic class Illuminate\\Support\\Collection but does not specify its types\: TKey, TValue$#'
- identifier: missingType.generics
- count: 1
- path: resources/views/modules/pedigree-chart/chart-up.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 2
- path: resources/views/modules/pedigree-chart/chart-up.phtml
-
- -
message: '#^Call to an undefined method Fisharebest\\Webtrees\\GedcomRecord\:\:displayImage\(\)\.$#'
identifier: method.notFound
count: 1
@@ -8881,679 +8437,7 @@ parameters:
path: resources/views/modules/pedigree-map/events.phtml
-
- message: '#^Parameter \#1 \$n of static method Fisharebest\\Webtrees\\I18N\:\:number\(\) expects float, string given\.$#'
- identifier: argument.type
- count: 3
- path: resources/views/modules/place-hierarchy/sidebar.phtml
-
- -
- message: '#^Cannot call method getCloseRelationshipName\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 3
- path: resources/views/modules/relatives/family.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 3
- path: resources/views/modules/relatives/family.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 2
- path: resources/views/modules/statcounter/form.phtml
-
- -
- message: '#^Cannot cast mixed to int\.$#'
- identifier: cast.int
- count: 1
- path: resources/views/modules/statcounter/snippet.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$block_id\.$#'
- identifier: property.notFound
- count: 2
- path: resources/views/modules/stories/config.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$individual\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/modules/stories/config.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$title\.$#'
- identifier: property.notFound
- count: 2
- path: resources/views/modules/stories/config.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$xref\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/modules/stories/config.phtml
-
- -
- message: '#^Cannot call method fullName\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/modules/stories/config.phtml
-
- -
- message: '#^Cannot call method url\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/modules/stories/config.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 3
- path: resources/views/modules/stories/config.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 2
- path: resources/views/modules/stories/config.phtml
-
- -
- message: '#^Parameter \#2 \$parameters of function route expects array\<array\<string\>\|bool\|int\|string\|null\>, array\<string, mixed\> given\.$#'
- identifier: argument.type
- count: 2
- path: resources/views/modules/stories/config.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$individual\.$#'
- identifier: property.notFound
- count: 2
- path: resources/views/modules/stories/list.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$title\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/modules/stories/list.phtml
-
- -
- message: '#^Cannot call method fullName\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/modules/stories/list.phtml
-
- -
- message: '#^Cannot call method url\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/modules/stories/list.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 2
- path: resources/views/modules/stories/list.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 1
- path: resources/views/modules/stories/list.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$block_id\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/modules/stories/tab.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$story_body\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/modules/stories/tab.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$title\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/modules/stories/tab.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/modules/stories/tab.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 1
- path: resources/views/modules/stories/tab.phtml
-
- -
- message: '#^Parameter \#2 \$parameters of function route expects array\<array\<string\>\|bool\|int\|string\|null\>, array\<string, mixed\> given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/modules/stories/tab.phtml
-
- -
- message: '#^Call to an undefined method Fisharebest\\Webtrees\\GedcomRecord\:\:husband\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: resources/views/modules/timeline-chart/chart.phtml
-
- -
- message: '#^Call to an undefined method Fisharebest\\Webtrees\\GedcomRecord\:\:wife\(\)\.$#'
- identifier: method.notFound
- count: 1
- path: resources/views/modules/timeline-chart/chart.phtml
-
- -
- message: '#^Cannot access offset int on mixed\.$#'
- identifier: offsetAccess.nonOffsetAccessible
- count: 2
- path: resources/views/modules/timeline-chart/chart.phtml
-
- -
- message: '#^Cannot access offset ''count'' on mixed\.$#'
- identifier: offsetAccess.nonOffsetAccessible
- count: 1
- path: resources/views/modules/top10_pageviews/list.phtml
-
- -
- message: '#^Cannot access offset ''record'' on mixed\.$#'
- identifier: offsetAccess.nonOffsetAccessible
- count: 2
- path: resources/views/modules/top10_pageviews/list.phtml
-
- -
- message: '#^Cannot call method fullName\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/modules/top10_pageviews/list.phtml
-
- -
- message: '#^Cannot call method url\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/modules/top10_pageviews/list.phtml
-
- -
- message: '#^Parameter \#1 \$n of static method Fisharebest\\Webtrees\\I18N\:\:number\(\) expects float, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/modules/top10_pageviews/list.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/modules/top10_pageviews/list.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 1
- path: resources/views/modules/top10_pageviews/list.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$body\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/modules/user-messages/user-messages.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$created\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/modules/user-messages/user-messages.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$message_id\.$#'
- identifier: property.notFound
- count: 6
- path: resources/views/modules/user-messages/user-messages.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$sender\.$#'
- identifier: property.notFound
- count: 3
- path: resources/views/modules/user-messages/user-messages.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$subject\.$#'
- identifier: property.notFound
- count: 5
- path: resources/views/modules/user-messages/user-messages.phtml
-
- -
- message: '#^Binary operation "\." between string and mixed results in an error\.$#'
- identifier: binaryOp.invalid
- count: 1
- path: resources/views/modules/user-messages/user-messages.phtml
-
- -
- message: '#^Parameter \#1 \$haystack of function str_starts_with expects string, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/modules/user-messages/user-messages.phtml
-
- -
- message: '#^Parameter \#1 \$identifier of method Fisharebest\\Webtrees\\Services\\UserService\:\:findByIdentifier\(\) expects string, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/modules/user-messages/user-messages.phtml
-
- -
- message: '#^Parameter \#1 \$markdown of method Fisharebest\\Webtrees\\Contracts\\MarkdownFactoryInterface\:\:autolink\(\) expects string, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/modules/user-messages/user-messages.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 3
- path: resources/views/modules/user-messages/user-messages.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 6
- path: resources/views/modules/user-messages/user-messages.phtml
-
- -
- message: '#^Parameter \#2 \$parameters of function route expects array\<array\<string\>\|bool\|int\|string\|null\>, array\<string, mixed\> given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/modules/user-messages/user-messages.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$change_id\.$#'
- identifier: property.notFound
- count: 2
- path: resources/views/pending-changes-page.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$change_time\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/pending-changes-page.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$real_name\.$#'
- identifier: property.notFound
- count: 1
- path: resources/views/pending-changes-page.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$record\.$#'
- identifier: property.notFound
- count: 5
- path: resources/views/pending-changes-page.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$user_name\.$#'
- identifier: property.notFound
- count: 2
- path: resources/views/pending-changes-page.phtml
-
- -
- message: '#^Access to an undefined property object\:\:\$xref\.$#'
- identifier: property.notFound
- count: 2
- path: resources/views/pending-changes-page.phtml
-
- -
- message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
- identifier: foreach.nonIterable
- count: 1
- path: resources/views/pending-changes-page.phtml
-
- -
- message: '#^Cannot call method facts\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/pending-changes-page.phtml
-
- -
- message: '#^Cannot call method fullName\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 2
- path: resources/views/pending-changes-page.phtml
-
- -
- message: '#^Cannot call method isPendingAddition\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/pending-changes-page.phtml
-
- -
- message: '#^Cannot call method isPendingDeletion\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/pending-changes-page.phtml
-
- -
- message: '#^Cannot call method summary\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 2
- path: resources/views/pending-changes-page.phtml
-
- -
- message: '#^Cannot call method tag\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 2
- path: resources/views/pending-changes-page.phtml
-
- -
- message: '#^Cannot call method url\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 2
- path: resources/views/pending-changes-page.phtml
-
- -
- message: '#^Parameter \#1 \$haystack of function str_ends_with expects string, mixed given\.$#'
- identifier: argument.type
- count: 2
- path: resources/views/pending-changes-page.phtml
-
- -
- message: '#^Parameter \#1 \$string of function strip_tags expects string, mixed given\.$#'
- identifier: argument.type
- count: 3
- path: resources/views/pending-changes-page.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 3
- path: resources/views/pending-changes-page.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 1
- path: resources/views/pending-changes-page.phtml
-
- -
- message: '#^Parameter \#2 \$parameters of function route expects array\<array\<string\>\|bool\|int\|string\|null\>, array\<string, mixed\> given\.$#'
- identifier: argument.type
- count: 3
- path: resources/views/pending-changes-page.phtml
-
- -
- message: '#^Cannot access offset non\-falsy\-string on mixed\.$#'
- identifier: offsetAccess.nonOffsetAccessible
- count: 2
- path: resources/views/search-advanced-page.phtml
-
- -
- message: '#^Cannot access offset string on mixed\.$#'
- identifier: offsetAccess.nonOffsetAccessible
- count: 1
- path: resources/views/search-advanced-page.phtml
-
- -
- message: '#^Cannot call method fullName\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 2
- path: resources/views/statistics/families/top10-list-age.phtml
-
- -
- message: '#^Cannot call method url\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 3
- path: resources/views/statistics/families/top10-list-age.phtml
-
- -
- message: '#^PHPDoc tag @var for variable \$records has no value type specified in iterable type array\.$#'
- identifier: missingType.iterableValue
- count: 1
- path: resources/views/statistics/families/top10-list-age.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 3
- path: resources/views/statistics/families/top10-list-age.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 3
- path: resources/views/statistics/families/top10-list-age.phtml
-
- -
- message: '#^Cannot call method fullName\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/statistics/families/top10-list-grand.phtml
-
- -
- message: '#^Cannot call method url\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/statistics/families/top10-list-grand.phtml
-
- -
- message: '#^PHPDoc tag @var for variable \$records has no value type specified in iterable type array\.$#'
- identifier: missingType.iterableValue
- count: 1
- path: resources/views/statistics/families/top10-list-grand.phtml
-
- -
- message: '#^Parameter \#1 \$n of static method Fisharebest\\Webtrees\\I18N\:\:number\(\) expects float, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/statistics/families/top10-list-grand.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/statistics/families/top10-list-grand.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 1
- path: resources/views/statistics/families/top10-list-grand.phtml
-
- -
- message: '#^Parameter \#3 \$count of static method Fisharebest\\Webtrees\\I18N\:\:plural\(\) expects int, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/statistics/families/top10-list-grand.phtml
-
- -
- message: '#^Cannot call method fullName\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/statistics/families/top10-list-spouses.phtml
-
- -
- message: '#^Cannot call method url\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/statistics/families/top10-list-spouses.phtml
-
- -
- message: '#^PHPDoc tag @var for variable \$records has no value type specified in iterable type array\.$#'
- identifier: missingType.iterableValue
- count: 1
- path: resources/views/statistics/families/top10-list-spouses.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/statistics/families/top10-list-spouses.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 2
- path: resources/views/statistics/families/top10-list-spouses.phtml
-
- -
- message: '#^Cannot call method fullName\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/statistics/families/top10-list.phtml
-
- -
- message: '#^Cannot call method url\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/statistics/families/top10-list.phtml
-
- -
- message: '#^PHPDoc tag @var for variable \$records has no value type specified in iterable type array\.$#'
- identifier: missingType.iterableValue
- count: 1
- path: resources/views/statistics/families/top10-list.phtml
-
- -
- message: '#^Parameter \#1 \$n of static method Fisharebest\\Webtrees\\I18N\:\:number\(\) expects float, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/statistics/families/top10-list.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/statistics/families/top10-list.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 1
- path: resources/views/statistics/families/top10-list.phtml
-
- -
- message: '#^Parameter \#3 \$count of static method Fisharebest\\Webtrees\\I18N\:\:plural\(\) expects int, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/statistics/families/top10-list.phtml
-
- -
- message: '#^Cannot call method fullName\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/statistics/families/top10-nolist-grand.phtml
-
- -
- message: '#^Cannot call method url\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/statistics/families/top10-nolist-grand.phtml
-
- -
- message: '#^PHPDoc tag @var for variable \$records has no value type specified in iterable type array\.$#'
- identifier: missingType.iterableValue
- count: 1
- path: resources/views/statistics/families/top10-nolist-grand.phtml
-
- -
- message: '#^Parameter \#1 \$n of static method Fisharebest\\Webtrees\\I18N\:\:number\(\) expects float, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/statistics/families/top10-nolist-grand.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/statistics/families/top10-nolist-grand.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 1
- path: resources/views/statistics/families/top10-nolist-grand.phtml
-
- -
- message: '#^Parameter \#3 \$count of static method Fisharebest\\Webtrees\\I18N\:\:plural\(\) expects int, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/statistics/families/top10-nolist-grand.phtml
-
- -
- message: '#^Cannot call method fullName\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/statistics/families/top10-nolist-spouses.phtml
-
- -
- message: '#^Cannot call method url\(\) on mixed\.$#'
- identifier: method.nonObject
- count: 1
- path: resources/views/statistics/families/top10-nolist-spouses.phtml
-
- -
- message: '#^PHPDoc tag @var for variable \$records has no value type specified in iterable type array\.$#'
- identifier: missingType.iterableValue
- count: 1
- path: resources/views/statistics/families/top10-nolist-spouses.phtml
-
- -
- message: '#^Parameter \#1 \$value of function e expects BackedEnum\|float\|Illuminate\\Contracts\\Support\\DeferringDisplayableValue\|Illuminate\\Contracts\\Support\\Htmlable\|int\|string\|null, mixed given\.$#'
- identifier: argument.type
- count: 1
- path: resources/views/statistics/families/top10-nolist-spouses.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 2
- path: resources/views/statistics/families/top10-nolist-spouses.phtml
-
- -
- message: '#^PHPDoc tag @var for variable \$data has no value type specified in iterable type array\.$#'
- identifier: missingType.iterableValue
- count: 1
- path: resources/views/statistics/other/charts/column.phtml
-
- -
- message: '#^PHPDoc tag @var for variable \$data has no value type specified in iterable type array\.$#'
- identifier: missingType.iterableValue
- count: 1
- path: resources/views/statistics/other/charts/combo.phtml
-
- -
- message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
- identifier: echo.nonString
- count: 1
- path: resources/views/statistics/other/charts/combo.phtml
-
- -
- message: '#^PHPDoc tag @var for variable \$data has no value type specified in iterable type array\.$#'
- identifier: missingType.iterableValue
- count: 1
- path: resources/views/statistics/other/charts/custom.phtml
-
- -
- message: '#^Method Fisharebest\\Webtrees\\TestCase\:\:withConsecutive\(\) return type with generic class PHPUnit\\Framework\\Constraint\\Callback does not specify its types\: CallbackInput$#'
- identifier: missingType.generics
- count: 1
- path: tests/TestCase.php
-
- -
message: '#^Parameter \#1 \$array of function array_shift expects array, mixed given\.$#'
identifier: argument.type
count: 1
path: tests/TestCase.php
-
- -
- message: '#^Parameter \#1 \$interface of method Fisharebest\\Webtrees\\Services\\ModuleService\:\:findByInterface\(\) expects class\-string\<Fisharebest\\Webtrees\\Module\\ModuleInterface\|Psr\\Http\\Server\\MiddlewareInterface\>, string given\.$#'
- identifier: argument.type
- count: 1
- path: tests/app/Services/ModuleServiceTest.php
-
- -
- message: '#^Unable to resolve the template type T in call to method Fisharebest\\Webtrees\\Services\\ModuleService\:\:findByInterface\(\)$#'
- identifier: argument.templateType
- count: 1
- path: tests/app/Services/ModuleServiceTest.php
diff --git a/resources/views/admin/locations.phtml b/resources/views/admin/locations.phtml
index a72f2cd832..877f8077ee 100644
--- a/resources/views/admin/locations.phtml
+++ b/resources/views/admin/locations.phtml
@@ -17,7 +17,7 @@ use Illuminate\Support\Collection;
/**
* @var array<list<object{p_place:string,tree_name:string,tree_title:string,p_id:int}>> $active
- * @var Collection<array-key,Tree> $all_trees
+ * @var array<array-key,Tree> $all_trees
* @var array<string,string> $breadcrumbs
* @var int $parent_id
* @var Collection<int,object{
@@ -109,7 +109,7 @@ use Illuminate\Support\Collection;
<td>
<?php if ($list_module !== null && array_key_exists($place->key, $active)) : ?>
<?php if (count($active[$place->key]) === 1) : ?>
- <a class="btn btn-link" href="<?= e($list_module->listUrl($all_trees->get($active[$place->key][0]->tree_name), ['place_id' => $active[$place->key][0]->p_id, 'action2' => 'hierarchy-e'])) ?>">
+ <a class="btn btn-link" href="<?= e($list_module->listUrl($all_trees[$active[$place->key][0]->tree_name], ['place_id' => $active[$place->key][0]->p_id, 'action2' => 'hierarchy-e'])) ?>">
<?= e($active[$place->key][0]->tree_title) ?>
</a>
<?php else : ?>
@@ -120,7 +120,7 @@ use Illuminate\Support\Collection;
<div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
<?php foreach ($active[$place->key] as $n => $link) : ?>
- <a class="dropdown-item" href="<?= e($list_module->listUrl($all_trees->get($active[$place->key][$n]->tree_name), ['place_id' => $link->p_id])) ?>">
+ <a class="dropdown-item" href="<?= e($list_module->listUrl($all_trees[$active[$place->key][$n]->tree_name], ['place_id' => $link->p_id])) ?>">
<?= e($link->tree_title) ?>
</a>
<?php endforeach ?>
diff --git a/resources/views/admin/trees-merge.phtml b/resources/views/admin/trees-merge.phtml
index 54309246c4..f0a74ed294 100644
--- a/resources/views/admin/trees-merge.phtml
+++ b/resources/views/admin/trees-merge.phtml
@@ -22,7 +22,7 @@ use Fisharebest\Webtrees\Tree;
<h1><?= $title ?></h1>
-<?php if ($xrefs > 0) : ?>
+<?php if ($tree1 !== null && $tree2 !== null && $xrefs > 0) : ?>
<p>
<?= I18N::translate('In a family tree, each record has an internal reference number (called an “XREF”) such as “F123” or “R14”.') ?>
</p>
diff --git a/resources/views/admin/trees-preferences.phtml b/resources/views/admin/trees-preferences.phtml
index 388c13c27b..aba614b8a2 100644
--- a/resources/views/admin/trees-preferences.phtml
+++ b/resources/views/admin/trees-preferences.phtml
@@ -568,7 +568,7 @@ use Illuminate\Support\Collection;
<?= /* I18N: The placeholders are edit controls. Show the [first/last] [1/2/3/4/5] parts of a place name */ I18N::translate(
'Show the %1$s %2$s parts of a place name.',
view('components/select', ['name' => 'SHOW_PEDIGREE_PLACES_SUFFIX', 'selected' => $tree->getPreference('SHOW_PEDIGREE_PLACES_SUFFIX'), 'options' => ['0' => I18N::translateContext('Show the [first/last] [N] parts of a place name.', 'first'), '1' => I18N::translateContext('Show the [first/last] [N] parts of a place name.', 'last')]]),
- view('components/select-number', ['name' => 'SHOW_PEDIGREE_PLACES', 'selected' => $tree->getPreference('SHOW_PEDIGREE_PLACES'), 'options' => range(1, 9)])
+ view('components/select-number', ['name' => 'SHOW_PEDIGREE_PLACES', 'selected' => (int) $tree->getPreference('SHOW_PEDIGREE_PLACES'), 'options' => range(1, 9)])
) ?>
<div class="form-text">
<?= /* I18N: Help text for the “Abbreviate place names” configuration setting */ I18N::translate('Place names are frequently too long to fit on charts, lists, etc. They can be abbreviated by showing just the first few parts of the name, such as <i>village, county</i>, or the last few part of it, such as <i>region, country</i>.') ?>
diff --git a/resources/views/chart-box.phtml b/resources/views/chart-box.phtml
index 7f03636d92..2de0ffb399 100644
--- a/resources/views/chart-box.phtml
+++ b/resources/views/chart-box.phtml
@@ -31,7 +31,7 @@ $menus = $module_service->findByComponent(ModuleChartInterface::class, $individu
foreach ($individual->spouseFamilies() as $family) {
$menus->push(new Menu('<strong>' . I18N::translate('Family with spouse') . '</strong>', $family->url()));
$spouse = $family->spouse($individual);
- if ($spouse && $spouse->canShow()) {
+ if ($spouse instanceof Individual && $spouse->canShow()) {
$menus->push(new Menu($spouse->fullName(), $spouse->url()));
}
foreach ($family->children() as $child) {
@@ -92,7 +92,7 @@ $id = Registry::idFactory()->id();
?>
<div class="wt-chart-box wt-chart-box-<?= strtolower($individual->sex()) ?> <?= $individual->isPendingAddition() ? 'wt-new' : '' ?> <?= $individual->isPendingDeletion() ? 'wt-old' : '' ?> overflow-hidden" data-wt-chart-xref="<?= e($individual->xref()) ?>" data-tree="<?= e($individual->tree()->name()) ?>">
- <?php if ($individual->canShow() && $individual->tree()->getPreference('SHOW_HIGHLIGHT_IMAGES')) : ?>
+ <?php if ($individual->canShow() && $individual->tree()->getPreference('SHOW_HIGHLIGHT_IMAGES') === '1') : ?>
<div class="wt-chart-box-thumbnail float-start me-1">
<?= $individual->displayImage(40, 50, 'crop', ['class' => 'wt-chart-box-thumbnail']) ?>
</div>
diff --git a/resources/views/components/badge.phtml b/resources/views/components/badge.phtml
index 0b8c98466a..773e78718b 100644
--- a/resources/views/components/badge.phtml
+++ b/resources/views/components/badge.phtml
@@ -10,11 +10,13 @@ use Fisharebest\Webtrees\I18N;
* @var int|null $total
*/
+$total ??= null;
+
?>
<span class="badge bg-<?= $context ?? 'secondary' ?>">
<?= I18N::number($count) ?>
- <?php if (($total ?? $count) > $count) : ?>
+ <?php if ($total !== null && $total > $count) : ?>
/ <?= I18N::number($total) ?>
<?php endif ?>
</span>
diff --git a/resources/views/components/select-number.phtml b/resources/views/components/select-number.phtml
index 1fac1fcc51..3f591644b3 100644
--- a/resources/views/components/select-number.phtml
+++ b/resources/views/components/select-number.phtml
@@ -5,11 +5,11 @@ declare(strict_types=1);
use Fisharebest\Webtrees\I18N;
/**
- * @var string|null $class
- * @var string|null $id
- * @var string $name
- * @var mixed $selected
- * @var array<string> $options
+ * @var string|null $class
+ * @var string|null $id
+ * @var string $name
+ * @var int $selected
+ * @var array<int> $options
*/
?>
@@ -20,7 +20,7 @@ use Fisharebest\Webtrees\I18N;
id="<?= e($id ?? $name) ?>"
>
<?php foreach ($options as $n) : ?>
- <option value="<?= (int) $n ?>" <?= (int) $n === (int) $selected ? 'selected' : '' ?>>
+ <option value="<?= $n ?>" <?= $n === $selected ? 'selected' : '' ?>>
<?= I18N::number($n) ?>
</option>
<?php endforeach ?>
diff --git a/resources/views/help/date.phtml b/resources/views/help/date.phtml
index dbb02dacd0..fc7104d7b0 100644
--- a/resources/views/help/date.phtml
+++ b/resources/views/help/date.phtml
@@ -5,17 +5,17 @@ declare(strict_types=1);
use Fisharebest\Webtrees\I18N;
/**
- * @var array<string,string> $date_dates
- * @var array<string,string> $date_period_dates
- * @var array<string,string> $date_period_shortcuts
- * @var array<string,string> $date_range_dates
- * @var array<string,string> $date_range_shortcuts
- * @var array<string,string> $date_shortcuts
- * @var array<string,string> $french_dates
- * @var array<string,string> $hijri_dates
- * @var array<string,string> $jalali_dates
- * @var array<string,string> $jewish_dates
- * @var array<string,string> $julian_dates
+ * @var array<string,string> $date_dates
+ * @var array<string,string> $date_period_dates
+ * @var array<string,array<string,string>> $date_period_shortcuts
+ * @var array<string,string> $date_range_dates
+ * @var array<string,array<string,string>> $date_range_shortcuts
+ * @var array<string,array<string,string>> $date_shortcuts
+ * @var array<string,string> $french_dates
+ * @var array<string,string> $hijri_dates
+ * @var array<string,string> $jalali_dates
+ * @var array<string,string> $jewish_dates
+ * @var array<string,string> $julian_dates
*/
?>
diff --git a/resources/views/layouts/default.phtml b/resources/views/layouts/default.phtml
index e77dad51c3..4d69923bd6 100644
--- a/resources/views/layouts/default.phtml
+++ b/resources/views/layouts/default.phtml
@@ -21,9 +21,11 @@ use Psr\Http\Message\ServerRequestInterface;
/**
* @var string $content
+ * @var string|null $meta_description
+ * @var string|null $meta_robots
* @var ServerRequestInterface $request
* @var string $title
- * @var Tree $tree
+ * @var Tree|null $tree
*/
?>
diff --git a/resources/views/lists/locations-table.phtml b/resources/views/lists/locations-table.phtml
index 25dce0195c..5133aab440 100644
--- a/resources/views/lists/locations-table.phtml
+++ b/resources/views/lists/locations-table.phtml
@@ -11,6 +11,7 @@ use Illuminate\Database\Query\JoinClause;
use Illuminate\Support\Collection;
/**
+ * @var string|null $caption
* @var Collection<int,Location> $locations
* @var Tree $tree
*/
@@ -30,7 +31,7 @@ $count_individuals = DB::table('individuals')
->where('l_file', '=', $tree->id())
->groupBy(['l_to'])
->pluck(new Expression('COUNT(*)'), 'l_to')
- ->map(static fn ($n) => (int) $n)
+ ->map(static fn (string $n): int => (int) $n)
->all();
$count_families = DB::table('families')
@@ -42,7 +43,7 @@ $count_families = DB::table('families')
->where('l_file', '=', $tree->id())
->groupBy(['l_to'])
->pluck(new Expression('COUNT(*)'), 'l_to')
- ->map(static fn ($n) => (int) $n)
+ ->map(static fn (string $n): int => (int) $n)
->all();
?>
diff --git a/resources/views/lists/media-table.phtml b/resources/views/lists/media-table.phtml
index 9a97d8a991..cb04880d90 100644
--- a/resources/views/lists/media-table.phtml
+++ b/resources/views/lists/media-table.phtml
@@ -11,6 +11,7 @@ use Illuminate\Database\Query\JoinClause;
use Illuminate\Support\Collection;
/**
+ * @var string|null $caption
* @var Collection<int,Media> $media_objects
* @var Tree $tree
*/
@@ -30,7 +31,7 @@ $count_individuals = DB::table('individuals')
->where('l_file', '=', $tree->id())
->groupBy(['l_to'])
->pluck(new Expression('COUNT(*)'), 'l_to')
- ->map(static fn ($n) => (int) $n)
+ ->map(static fn (string $n): int => (int) $n)
->all();
$count_families = DB::table('families')
@@ -42,7 +43,7 @@ $count_families = DB::table('families')
->where('l_file', '=', $tree->id())
->groupBy(['l_to'])
->pluck(new Expression('COUNT(*)'), 'l_to')
- ->map(static fn ($n) => (int) $n)
+ ->map(static fn (string $n): int => (int) $n)
->all();
$count_sources = DB::table('sources')
@@ -54,7 +55,7 @@ $count_sources = DB::table('sources')
->where('l_file', '=', $tree->id())
->groupBy(['l_to'])
->pluck(new Expression('COUNT(*)'), 'l_to')
- ->map(static fn ($n) => (int) $n)
+ ->map(static fn (string $n): int => (int) $n)
->all();
?>
diff --git a/resources/views/lists/notes-table.phtml b/resources/views/lists/notes-table.phtml
index afeaf47ee0..1536820674 100644
--- a/resources/views/lists/notes-table.phtml
+++ b/resources/views/lists/notes-table.phtml
@@ -11,6 +11,7 @@ use Illuminate\Database\Query\JoinClause;
use Illuminate\Support\Collection;
/**
+ * @var string|null $caption
* @var Collection<int,Note> $notes
* @var Tree $tree
*/
@@ -30,7 +31,7 @@ $count_individuals = DB::table('individuals')
->where('l_file', '=', $tree->id())
->groupBy(['l_to'])
->pluck(new Expression('COUNT(*)'), 'l_to')
- ->map(static fn ($n) => (int) $n)
+ ->map(static fn (string $n): int => (int) $n)
->all();
$count_families = DB::table('families')
@@ -42,7 +43,7 @@ $count_families = DB::table('families')
->where('l_file', '=', $tree->id())
->groupBy(['l_to'])
->pluck(new Expression('COUNT(*)'), 'l_to')
- ->map(static fn ($n) => (int) $n)
+ ->map(static fn (string $n): int => (int) $n)
->all();
$count_media = DB::table('media')
@@ -54,7 +55,7 @@ $count_media = DB::table('media')
->where('l_file', '=', $tree->id())
->groupBy(['l_to'])
->pluck(new Expression('COUNT(*)'), 'l_to')
- ->map(static fn ($n) => (int) $n)
+ ->map(static fn (string $n): int => (int) $n)
->all();
$count_sources = DB::table('sources')
@@ -66,7 +67,7 @@ $count_sources = DB::table('sources')
->where('l_file', '=', $tree->id())
->groupBy(['l_to'])
->pluck(new Expression('COUNT(*)'), 'l_to')
- ->map(static fn ($n) => (int) $n)
+ ->map(static fn (string $n): int => (int) $n)
->all();
?>
diff --git a/resources/views/lists/repositories-table.phtml b/resources/views/lists/repositories-table.phtml
index 289ab9cc88..0e4350a07b 100644
--- a/resources/views/lists/repositories-table.phtml
+++ b/resources/views/lists/repositories-table.phtml
@@ -11,6 +11,7 @@ use Illuminate\Database\Query\JoinClause;
use Illuminate\Support\Collection;
/**
+ * @var string|null $caption
* @var Collection<int,Repository> $repositories
* @var Tree $tree
*/
@@ -30,7 +31,7 @@ $count_sources = DB::table('sources')
->where('l_file', '=', $tree->id())
->groupBy(['l_to'])
->pluck(new Expression('COUNT(*)'), 'l_to')
- ->map(static fn ($n) => (int) $n)
+ ->map(static fn (string $n): int => (int) $n)
->all();
?>
diff --git a/resources/views/lists/sources-table.phtml b/resources/views/lists/sources-table.phtml
index cefd2dd844..fdbc8d836f 100644
--- a/resources/views/lists/sources-table.phtml
+++ b/resources/views/lists/sources-table.phtml
@@ -12,6 +12,7 @@ use Illuminate\Database\Query\JoinClause;
use Illuminate\Support\Collection;
/**
+ * @var string|null $caption
* @var Collection<int,Source> $sources
* @var Tree $tree
*/
@@ -31,7 +32,7 @@ $count_individuals = DB::table('individuals')
->where('l_file', '=', $tree->id())
->groupBy(['l_to'])
->pluck(new Expression('COUNT(*)'), 'l_to')
- ->map(static fn ($n) => (int) $n)
+ ->map(static fn (string $n): int => (int) $n)
->all();
$count_families = DB::table('families')
@@ -43,7 +44,7 @@ $count_families = DB::table('families')
->where('l_file', '=', $tree->id())
->groupBy(['l_to'])
->pluck(new Expression('COUNT(*)'), 'l_to')
- ->map(static fn ($n) => (int) $n)
+ ->map(static fn (string $n): int => (int) $n)
->all();
$count_media = DB::table('media')
@@ -55,7 +56,7 @@ $count_media = DB::table('media')
->where('l_file', '=', $tree->id())
->groupBy(['l_to'])
->pluck(new Expression('COUNT(*)'), 'l_to')
- ->map(static fn ($n) => (int) $n)
+ ->map(static fn (string $n): int => (int) $n)
->all();
$count_notes = DB::table('other')
@@ -68,7 +69,7 @@ $count_notes = DB::table('other')
->where('l_file', '=', $tree->id())
->groupBy(['l_to'])
->pluck(new Expression('COUNT(*)'), 'l_to')
- ->map(static fn ($n) => (int) $n)
+ ->map(static fn (string $n): int => (int) $n)
->all();
?>
diff --git a/resources/views/lists/submitters-table.phtml b/resources/views/lists/submitters-table.phtml
index 6eb0153e7f..3a84b95d5c 100644
--- a/resources/views/lists/submitters-table.phtml
+++ b/resources/views/lists/submitters-table.phtml
@@ -11,6 +11,7 @@ use Illuminate\Database\Query\JoinClause;
use Illuminate\Support\Collection;
/**
+ * @var string|null $caption
* @var Collection<int,Submitter> $submitters
* @var Tree $tree
*/
@@ -33,7 +34,7 @@ $count_individuals = DB::table('individuals')
->where('l_file', '=', $tree->id())
->groupBy(['l_to'])
->pluck(new Expression('COUNT(*)'), 'l_to')
- ->map(static fn (string $n) => (int) $n)
+ ->map(static fn (string $n): int => (int) $n)
->all();
$count_families = DB::table('families')
@@ -45,7 +46,7 @@ $count_families = DB::table('families')
->where('l_file', '=', $tree->id())
->groupBy(['l_to'])
->pluck(new Expression('COUNT(*)'), 'l_to')
- ->map(static fn (string $n) => (int) $n)
+ ->map(static fn (string $n): int => (int) $n)
->all();
?>
diff --git a/resources/views/lists/surnames-table.phtml b/resources/views/lists/surnames-table.phtml
index d3d0f59834..6164ac14df 100644
--- a/resources/views/lists/surnames-table.phtml
+++ b/resources/views/lists/surnames-table.phtml
@@ -45,9 +45,10 @@ use Fisharebest\Webtrees\Tree;
</thead>
<tbody>
+ <?php $n = 0 ?>
<?php foreach ($surnames as $surn => $surns) : ?>
<tr>
- <td data-sort="<?= sprintf('x%07d', $n = 1 + ($n ?? 0)) ?>">
+ <td data-sort="<?= sprintf('x%07d', ++$n) ?>">
<!-- Multiple surname variants, e.g. von Groot, van Groot, van der Groot, etc. -->
<?php foreach (array_keys($surns) as $surname) : ?>
<?php if ($module instanceof AbstractIndividualListModule) : ?>
diff --git a/resources/views/lists/surnames-tag-cloud.phtml b/resources/views/lists/surnames-tag-cloud.phtml
index ce4c82f627..f8032c9283 100644
--- a/resources/views/lists/surnames-tag-cloud.phtml
+++ b/resources/views/lists/surnames-tag-cloud.phtml
@@ -9,15 +9,15 @@ use Fisharebest\Webtrees\Module\ModuleListInterface;
use Fisharebest\Webtrees\Tree;
/**
- * @var IndividualListModule|null $module
- * @var array<string,string> $params
- * @var array<array<int>> $surnames
- * @var bool $totals
- * @var Tree $tree
+ * @var IndividualListModule|null $module
+ * @var array<string,string> $params
+ * @var array<non-empty-array<int>> $surnames
+ * @var bool $totals
+ * @var Tree $tree
*/
-$maximum = max(array_map(static fn (array $x): int => max($x), $surnames));
-$minimum = min(array_map(static fn (array $x): int => min($x), $surnames));
+$maximum = $surnames === [] ? 0 : max(array_map(static fn (array $x): int => max($x), $surnames));
+$minimum = $surnames === [] ? 0 : min(array_map(static fn (array $x): int => min($x), $surnames));
?>
diff --git a/resources/views/modules/bing-webmaster-tools/form.phtml b/resources/views/modules/bing-webmaster-tools/form.phtml
index 31c72e634c..b43de2691b 100644
--- a/resources/views/modules/bing-webmaster-tools/form.phtml
+++ b/resources/views/modules/bing-webmaster-tools/form.phtml
@@ -2,6 +2,10 @@
declare(strict_types=1);
+/**
+ * @var string $BING_WEBMASTER_ID
+ */
+
use Fisharebest\Webtrees\I18N;
?>
@@ -12,7 +16,7 @@ use Fisharebest\Webtrees\I18N;
</label>
<div class="col-sm-9">
- <input type="text" class="form-control" id="BING_WEBMASTER_ID" name="BING_WEBMASTER_ID" value="<?= e($BING_WEBMASTER_ID ?? '') ?>" maxlength="255" pattern="[0-9a-zA-Z+=/_:.!-]*">
+ <input type="text" class="form-control" id="BING_WEBMASTER_ID" name="BING_WEBMASTER_ID" value="<?= e($BING_WEBMASTER_ID) ?>" maxlength="255" pattern="[0-9a-zA-Z+=/_:.!-]*">
</div>
</div>
diff --git a/resources/views/modules/bing-webmaster-tools/snippet.phtml b/resources/views/modules/bing-webmaster-tools/snippet.phtml
index f78fb17c81..05f441a652 100644
--- a/resources/views/modules/bing-webmaster-tools/snippet.phtml
+++ b/resources/views/modules/bing-webmaster-tools/snippet.phtml
@@ -1 +1,8 @@
-<meta name="msvalidate.01" content="<?= e($BING_WEBMASTER_ID ?? '') ?>">
+<?php
+
+/**
+ * @var string $BING_WEBMASTER_ID
+ */
+
+?>
+<meta name="msvalidate.01" content="<?= e($BING_WEBMASTER_ID) ?>">
diff --git a/resources/views/modules/census-assistant.phtml b/resources/views/modules/census-assistant.phtml
index 635309be41..2ca2d445e8 100644
--- a/resources/views/modules/census-assistant.phtml
+++ b/resources/views/modules/census-assistant.phtml
@@ -7,7 +7,7 @@ use Fisharebest\Webtrees\Individual;
use Fisharebest\Webtrees\View;
/**
- * @var Individual|null $individual
+ * @var Individual $individual
*/
?>
diff --git a/resources/views/modules/family_nav/sidebar-family.phtml b/resources/views/modules/family_nav/sidebar-family.phtml
index 483b8eee90..980a7520de 100644
--- a/resources/views/modules/family_nav/sidebar-family.phtml
+++ b/resources/views/modules/family_nav/sidebar-family.phtml
@@ -9,9 +9,10 @@ use Fisharebest\Webtrees\Registry;
use Fisharebest\Webtrees\Services\RelationshipService;
/**
- * @var Individual $individual
- * @var Family $family
- * @var string $title
+ * @var Individual $individual
+ * @var Family $family
+ * @var RelationshipService $relationship_service
+ * @var string $title
*/
?>
@@ -31,12 +32,12 @@ use Fisharebest\Webtrees\Services\RelationshipService;
<tr class="text-center wt-family-navigator-parent wt-sex-<?= strtolower($spouse->sex()) ?>">
<th class="align-middle wt-family-navigator-label" scope="row">
<?php if ($spouse === $individual) : ?>
- <?= Registry::container()->get(RelationshipService::class)->getCloseRelationshipName($individual, $spouse) ?>
+ <?= $relationship_service->getCloseRelationshipName($individual, $spouse) ?>
<i class="icon-selected"></i>
<?php elseif ($spouse->childFamilies()->isNotEmpty()) : ?>
<div class="dropdown">
<a class="dropdown-toggle" href="#" role="button" id="dropdown-<?= e($spouse->xref()) ?>" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
- <?= Registry::container()->get(RelationshipService::class)->getCloseRelationshipName($individual, $spouse) ?>
+ <?= $relationship_service->getCloseRelationshipName($individual, $spouse) ?>
</a>
<div class="dropdown-menu wt-family-navigator-dropdown">
@@ -56,7 +57,7 @@ use Fisharebest\Webtrees\Services\RelationshipService;
</div>
</div>
<?php else : ?>
- <?= Registry::container()->get(RelationshipService::class)->getCloseRelationshipName($individual, $spouse) ?>
+ <?= $relationship_service->getCloseRelationshipName($individual, $spouse) ?>
<?php endif ?>
</th>
@@ -79,12 +80,12 @@ use Fisharebest\Webtrees\Services\RelationshipService;
<tr class="text-center wt-family-navigator-child wt-sex-<?= strtolower($child->sex()) ?>">
<th class="align-middle wt-family-navigator-label" scope="row">
<?php if ($child === $individual) : ?>
- <?= Registry::container()->get(RelationshipService::class)->getCloseRelationshipName($individual, $child) ?>
+ <?= $relationship_service->getCloseRelationshipName($individual, $child) ?>
<i class="icon-selected"></i>
<?php elseif ($child->spouseFamilies()->isNotEmpty()) : ?>
<div class="dropdown">
<a class="dropdown-toggle" href="#" role="button" id="dropdown-<?= e($child->xref()) ?>" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
- <?= Registry::container()->get(RelationshipService::class)->getCloseRelationshipName($individual, $child) ?>
+ <?= $relationship_service->getCloseRelationshipName($individual, $child) ?>
</a>
<div class="dropdown-menu">
@@ -117,7 +118,7 @@ use Fisharebest\Webtrees\Services\RelationshipService;
</div>
</div>
<?php else : ?>
- <?= Registry::container()->get(RelationshipService::class)->getCloseRelationshipName($individual, $child) ?>
+ <?= $relationship_service->getCloseRelationshipName($individual, $child) ?>
<?php endif ?>
</th>
diff --git a/resources/views/modules/family_nav/sidebar.phtml b/resources/views/modules/family_nav/sidebar.phtml
index 65e613a817..cced44a502 100644
--- a/resources/views/modules/family_nav/sidebar.phtml
+++ b/resources/views/modules/family_nav/sidebar.phtml
@@ -3,30 +3,32 @@
declare(strict_types=1);
use Fisharebest\Webtrees\Individual;
+use Fisharebest\Webtrees\Services\RelationshipService;
/**
* @var Individual $individual
+ * @var RelationshipService $relationship_service
*/
?>
<div class="wt-sidebar-content wt-sidebar-family-navigator">
<!-- parent families -->
<?php foreach ($individual->childFamilies() as $family) : ?>
- <?= view('modules/family_nav/sidebar-family', ['individual' => $individual, 'family' => $family, 'title' => $individual->getChildFamilyLabel($family)]) ?>
+ <?= view('modules/family_nav/sidebar-family', ['individual' => $individual, 'family' => $family, 'relationship_service' => $relationship_service, 'title' => $individual->getChildFamilyLabel($family)]) ?>
<?php endforeach ?>
<!-- step parents -->
<?php foreach ($individual->childStepFamilies() as $family) : ?>
- <?= view('modules/family_nav/sidebar-family', ['individual' => $individual, 'family' => $family, 'title' => $individual->getStepFamilyLabel($family)]) ?>
+ <?= view('modules/family_nav/sidebar-family', ['individual' => $individual, 'family' => $family, 'relationship_service' => $relationship_service, 'title' => $individual->getStepFamilyLabel($family)]) ?>
<?php endforeach ?>
<!-- spouse and children -->
<?php foreach ($individual->spouseFamilies() as $family) : ?>
- <?= view('modules/family_nav/sidebar-family', ['individual' => $individual, 'family' => $family, 'title' => $individual->getSpouseFamilyLabel($family)]) ?>
+ <?= view('modules/family_nav/sidebar-family', ['individual' => $individual, 'family' => $family, 'relationship_service' => $relationship_service, 'title' => $individual->getSpouseFamilyLabel($family)]) ?>
<?php endforeach ?>
<!-- step children -->
<?php foreach ($individual->spouseStepFamilies() as $family) : ?>
- <?= view('modules/family_nav/sidebar-family', ['individual' => $individual, 'family' => $family, 'title' => $family->fullName()]) ?>
+ <?= view('modules/family_nav/sidebar-family', ['individual' => $individual, 'family' => $family, 'relationship_service' => $relationship_service, 'title' => $family->fullName()]) ?>
<?php endforeach ?>
</div>
diff --git a/resources/views/modules/faq/config.phtml b/resources/views/modules/faq/config.phtml
index d906f811d5..a283e454fa 100644
--- a/resources/views/modules/faq/config.phtml
+++ b/resources/views/modules/faq/config.phtml
@@ -9,12 +9,19 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<int,object> $faqs
- * @var int $max_block_order
- * @var int $min_block_order
- * @var string $title
- * @var Tree $tree
- * @var array<string,string> $tree_names
+ * @var array<int,object{
+ * block_id: int,
+ * block_order: int,
+ * gedcom_id: int,
+ * header: string,
+ * faqbody: string,
+ * languages: string
+ * }> $faqs
+ * @var int $max_block_order
+ * @var int $min_block_order
+ * @var string $title
+ * @var Tree $tree
+ * @var array<string,string> $tree_names
*/
?>
diff --git a/resources/views/modules/faq/show.phtml b/resources/views/modules/faq/show.phtml
index 3da1d3e70e..f3e052fc8b 100644
--- a/resources/views/modules/faq/show.phtml
+++ b/resources/views/modules/faq/show.phtml
@@ -6,8 +6,15 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var Collection<int,object> $faqs
- * @var string $title
+ * @var array<int,object{
+ * block_id: int,
+ * block_order: int,
+ * gedcom_id: int,
+ * header: string,
+ * faqbody: string,
+ * languages: string
+ * }> $faqs
+ * @var string $title
*/
?>
diff --git a/resources/views/modules/favorites/favorites.phtml b/resources/views/modules/favorites/favorites.phtml
index 71b1abf933..fcc887e185 100644
--- a/resources/views/modules/favorites/favorites.phtml
+++ b/resources/views/modules/favorites/favorites.phtml
@@ -2,15 +2,22 @@
declare(strict_types=1);
+use Fisharebest\Webtrees\GedcomRecord;
use Fisharebest\Webtrees\I18N;
use Fisharebest\Webtrees\Individual;
use Fisharebest\Webtrees\Tree;
-use Illuminate\Support\Collection;
/**
* @var int $block_id
* @var bool $can_edit
- * @var Collection<int,object> $favorites
+ * @var array<int,object{
+ * favorite_id:string,
+ * favorite_type:string,
+ * url:string|null,
+ * note:string|null,
+ * title:string|null,
+ * record:GedcomRecord|null
+ * }> $favorites
* @var string $module_name
* @var Tree $tree
*/
diff --git a/resources/views/modules/google-analytics/form.phtml b/resources/views/modules/google-analytics/form.phtml
index bd7f91487d..1d6d15b695 100644
--- a/resources/views/modules/google-analytics/form.phtml
+++ b/resources/views/modules/google-analytics/form.phtml
@@ -2,6 +2,10 @@
declare(strict_types=1);
+/**
+ * @var string $GOOGLE_ANALYTICS_ID
+ */
+
use Fisharebest\Webtrees\I18N;
?>
@@ -12,6 +16,6 @@ use Fisharebest\Webtrees\I18N;
<span class="visually-hidden">Google Analytics</span>
</label>
<div class="col-sm-9">
- <input type="text" class="form-control" id="GOOGLE_ANALYTICS_ID" name="GOOGLE_ANALYTICS_ID" value="<?= e($GOOGLE_ANALYTICS_ID ?? '') ?>" placeholder="UA-12345-6 / G-1A2B3C4D" maxlength="255" pattern="UA-[0-9]+-[0-9]+|G-[0-9A-Z]+">
+ <input type="text" class="form-control" id="GOOGLE_ANALYTICS_ID" name="GOOGLE_ANALYTICS_ID" value="<?= e($GOOGLE_ANALYTICS_ID) ?>" placeholder="UA-12345-6 / G-1A2B3C4D" maxlength="255" pattern="UA-[0-9]+-[0-9]+|G-[0-9A-Z]+">
</div>
</div>
diff --git a/resources/views/modules/google-webmaster-tools/form.phtml b/resources/views/modules/google-webmaster-tools/form.phtml
index 8731330195..27d883094d 100644
--- a/resources/views/modules/google-webmaster-tools/form.phtml
+++ b/resources/views/modules/google-webmaster-tools/form.phtml
@@ -2,6 +2,10 @@
declare(strict_types=1);
+/**
+ * @var string $GOOGLE_WEBMASTER_ID
+ */
+
use Fisharebest\Webtrees\I18N;
?>
@@ -12,7 +16,7 @@ use Fisharebest\Webtrees\I18N;
<span class="visually-hidden">Google Webmaster Tools</span>
</label>
<div class="col-sm-9">
- <input type="text" class="form-control" id="GOOGLE_WEBMASTER_ID" name="GOOGLE_WEBMASTER_ID" value="<?= e($GOOGLE_WEBMASTER_ID ?? '') ?>" maxlength="255" pattern="[0-9a-zA-Z+=/_:.!-]*">
+ <input type="text" class="form-control" id="GOOGLE_WEBMASTER_ID" name="GOOGLE_WEBMASTER_ID" value="<?= e($GOOGLE_WEBMASTER_ID) ?>" maxlength="255" pattern="[0-9a-zA-Z+=/_:.!-]*">
</div>
</div>
diff --git a/resources/views/modules/google-webmaster-tools/snippet.phtml b/resources/views/modules/google-webmaster-tools/snippet.phtml
index 8728d9ada4..3f0da400c4 100644
--- a/resources/views/modules/google-webmaster-tools/snippet.phtml
+++ b/resources/views/modules/google-webmaster-tools/snippet.phtml
@@ -1 +1,8 @@
-<meta name="google-site-verification" content="<?= e($GOOGLE_WEBMASTER_ID ?? '') ?>">
+<?php
+
+/**
+ * @var string $GOOGLE_WEBMASTER_ID
+ */
+
+?>
+<meta name="google-site-verification" content="<?= e($GOOGLE_WEBMASTER_ID) ?>">
diff --git a/resources/views/modules/lifespans-chart/chart.phtml b/resources/views/modules/lifespans-chart/chart.phtml
index 67b56eb65d..5c1fbbc365 100644
--- a/resources/views/modules/lifespans-chart/chart.phtml
+++ b/resources/views/modules/lifespans-chart/chart.phtml
@@ -3,14 +3,22 @@
declare(strict_types=1);
use Fisharebest\Webtrees\Gedcom;
+use Fisharebest\Webtrees\Individual;
/**
- * @var string $dir
- * @var int $end_year
- * @var array<object> $lifespans
- * @var int $max_rows
- * @var int $start_year
- * @var string $subtitle
+ * @var string $dir
+ * @var int $end_year
+ * @var array<object{
+ * background: string,
+ * birth_year: int,
+ * death_year: int,
+ * id: string,
+ * individual: Individual,
+ * row: int
+ * }> $lifespans
+ * @var int $max_rows
+ * @var int $start_year
+ * @var string $subtitle
*/
?>
@@ -45,4 +53,3 @@ use Fisharebest\Webtrees\Gedcom;
</div>
<?php endforeach ?>
</div>
-
diff --git a/resources/views/modules/matomo-analytics/form.phtml b/resources/views/modules/matomo-analytics/form.phtml
index 24c0eb185f..00ed7f4795 100644
--- a/resources/views/modules/matomo-analytics/form.phtml
+++ b/resources/views/modules/matomo-analytics/form.phtml
@@ -2,6 +2,11 @@
declare(strict_types=1);
+/**
+ * @var string $MATOMO_SITE_ID
+ * @var string $MATOMO_URL
+ */
+
use Fisharebest\Webtrees\I18N;
?>
@@ -11,7 +16,7 @@ use Fisharebest\Webtrees\I18N;
<?= /* I18N: A configuration setting */ I18N::translate('Site identification code') ?>
</label>
<div class="col-sm-9">
- <input type="text" class="form-control" id="MATOMO_SITE_ID" name="MATOMO_SITE_ID" value="<?= e($MATOMO_SITE_ID ?? '') ?>" maxlength="255" pattern="[0-9]+">
+ <input type="text" class="form-control" id="MATOMO_SITE_ID" name="MATOMO_SITE_ID" value="<?= e($MATOMO_SITE_ID) ?>" maxlength="255" pattern="[0-9]+">
</div>
</div>
@@ -20,6 +25,6 @@ use Fisharebest\Webtrees\I18N;
<?= /* I18N: A configuration setting */ I18N::translate('URL') ?>
</label>
<div class="col-sm-9">
- <input type="text" class="form-control" id="MATOMO_URL" name="MATOMO_URL" value="<?= e($MATOMO_URL ?? '') ?>" placeholder="//example.com/piwik/" maxlength="255">
+ <input type="text" class="form-control" id="MATOMO_URL" name="MATOMO_URL" value="<?= e($MATOMO_URL) ?>" placeholder="//example.com/piwik/" maxlength="255">
</div>
</div>
diff --git a/resources/views/modules/matomo-analytics/snippet.phtml b/resources/views/modules/matomo-analytics/snippet.phtml
index d59c360226..cae3992c93 100644
--- a/resources/views/modules/matomo-analytics/snippet.phtml
+++ b/resources/views/modules/matomo-analytics/snippet.phtml
@@ -2,12 +2,9 @@
declare(strict_types=1);
-use Fisharebest\Webtrees\Contracts\UserInterface;
-
/**
* @var string $MATOMO_SITE_ID
* @var string $MATOMO_URL
- * @var UserInterface $user
*/
?>
diff --git a/resources/views/modules/pedigree-chart/chart-up.phtml b/resources/views/modules/pedigree-chart/chart-up.phtml
index 748c53b8a5..37bed470ee 100644
--- a/resources/views/modules/pedigree-chart/chart-up.phtml
+++ b/resources/views/modules/pedigree-chart/chart-up.phtml
@@ -6,12 +6,12 @@ use Fisharebest\Webtrees\Individual;
use Illuminate\Support\Collection;
/**
- * @var Collection|Individual[] $ancestors Indexed by sosa number
- * @var int $generation Draw this generation
- * @var int $generations Final generation to draw
- * @var Collection|string[] $links Links to extend the tree
- * @var int $sosa Draw this individual
- * @var string $spacer
+ * @var Collection<int,Individual> $ancestors Indexed by sosa number
+ * @var int $generation Draw this generation
+ * @var int $generations Final generation to draw
+ * @var Collection<int,string> $links Links to extend the tree
+ * @var int $sosa Draw this individual
+ * @var string $spacer
*/
?>
@@ -43,4 +43,3 @@ use Illuminate\Support\Collection;
</div>
</div>
</div>
-
diff --git a/resources/views/modules/place-hierarchy/sidebar.phtml b/resources/views/modules/place-hierarchy/sidebar.phtml
index 597ebb059e..130f8961b9 100644
--- a/resources/views/modules/place-hierarchy/sidebar.phtml
+++ b/resources/views/modules/place-hierarchy/sidebar.phtml
@@ -9,12 +9,12 @@ use Fisharebest\Webtrees\Location;
use Fisharebest\Webtrees\Place;
/**
- * @var string $edit_url
- * @var int $id
- * @var Place $place
- * @var bool $showlink
- * @var string $sidebar_class
- * @var array<string,string> $stats
+ * @var string $edit_url
+ * @var int $id
+ * @var Place $place
+ * @var bool $showlink
+ * @var string $sidebar_class
+ * @var array<string,int> $stats
*/
?>
diff --git a/resources/views/modules/relatives/family.phtml b/resources/views/modules/relatives/family.phtml
index 0aea018f49..fc9763736e 100644
--- a/resources/views/modules/relatives/family.phtml
+++ b/resources/views/modules/relatives/family.phtml
@@ -11,15 +11,15 @@ use Fisharebest\Webtrees\Http\RequestHandlers\AddSpouseToFamilyPage;
use Fisharebest\Webtrees\Http\RequestHandlers\ReorderChildrenPage;
use Fisharebest\Webtrees\I18N;
use Fisharebest\Webtrees\Individual;
-use Fisharebest\Webtrees\Registry;
use Fisharebest\Webtrees\Services\RelationshipService;
/**
- * @var Family $family
- * @var int $fam_access_level
- * @var Individual $individual
- * @var string $label
- * @var string $type
+ * @var Family $family
+ * @var int $fam_access_level
+ * @var Individual $individual
+ * @var string $label
+ * @var RelationshipService $relationship_service
+ * @var string $type
*/
?>
@@ -46,7 +46,7 @@ use Fisharebest\Webtrees\Services\RelationshipService;
<tr class="<?= $row_class ?>">
<th scope="row">
<?= $individual === $person ? '<i class="icon-selected"></i>' : '' ?>
- <?= Registry::container()->get(RelationshipService::class)->getCloseRelationshipName($individual, $person) ?>
+ <?= $relationship_service->getCloseRelationshipName($individual, $person) ?>
</th>
<td class="border-0 p-0">
<?= view('chart-box', ['individual' => $person]) ?>
@@ -84,7 +84,7 @@ use Fisharebest\Webtrees\Services\RelationshipService;
<tr class="<?= $row_class ?>">
<th scope="row">
<?= $individual === $person ? '<i class="icon-selected"></i>' : '' ?>
- <?= Registry::container()->get(RelationshipService::class)->getCloseRelationshipName($individual, $person) ?>
+ <?= $relationship_service->getCloseRelationshipName($individual, $person) ?>
</th>
<td class="border-0 p-0">
<?= view('chart-box', ['individual' => $person]) ?>
@@ -199,7 +199,7 @@ use Fisharebest\Webtrees\Services\RelationshipService;
</div>
<?php endif ?>
- <?= Registry::container()->get(RelationshipService::class)->getCloseRelationshipName($individual, $person) ?>
+ <?= $relationship_service->getCloseRelationshipName($individual, $person) ?>
</th>
<td class="border-0 p-0">
<?= view('chart-box', ['individual' => $person]) ?>
diff --git a/resources/views/modules/relatives/tab.phtml b/resources/views/modules/relatives/tab.phtml
index 752dde3520..26ea0a1179 100644
--- a/resources/views/modules/relatives/tab.phtml
+++ b/resources/views/modules/relatives/tab.phtml
@@ -11,6 +11,7 @@ use Fisharebest\Webtrees\Http\RequestHandlers\LinkSpouseToIndividualPage;
use Fisharebest\Webtrees\Http\RequestHandlers\ReorderFamiliesPage;
use Fisharebest\Webtrees\I18N;
use Fisharebest\Webtrees\Individual;
+use Fisharebest\Webtrees\Services\RelationshipService;
use Illuminate\Support\Collection;
/**
@@ -18,6 +19,7 @@ use Illuminate\Support\Collection;
* @var int $fam_access_level
* @var Individual $individual
* @var Collection<int,Family> $parent_families
+ * @var RelationshipService $relationship_service
* @var Collection<int,Family> $spouse_families
* @var Collection<int,Family> $step_child_families
* @var Collection<int,Family> $step_parent_families
@@ -44,44 +46,48 @@ use Illuminate\Support\Collection;
<!-- Parents -->
<?php foreach ($parent_families as $family) : ?>
<?= view('modules/relatives/family', [
- 'individual' => $individual,
- 'family' => $family,
- 'type' => 'FAMC',
- 'label' => $individual->getChildFamilyLabel($family),
- 'fam_access_level' => $fam_access_level,
+ 'individual' => $individual,
+ 'family' => $family,
+ 'type' => 'FAMC',
+ 'label' => $individual->getChildFamilyLabel($family),
+ 'fam_access_level' => $fam_access_level,
+ 'relationship_service' => $relationship_service,
]) ?>
<?php endforeach ?>
<!-- step-parents -->
<?php foreach ($step_parent_families as $family) : ?>
<?= view('modules/relatives/family', [
- 'individual' => $individual,
- 'family' => $family,
- 'type' => 'FAMC',
- 'label' => $individual->getStepFamilyLabel($family),
- 'fam_access_level' => $fam_access_level,
+ 'individual' => $individual,
+ 'family' => $family,
+ 'type' => 'FAMC',
+ 'label' => $individual->getStepFamilyLabel($family),
+ 'fam_access_level' => $fam_access_level,
+ 'relationship_service' => $relationship_service,
]) ?>
<?php endforeach ?>
<!-- spouses -->
<?php foreach ($spouse_families as $family) : ?>
<?= view('modules/relatives/family', [
- 'individual' => $individual,
- 'family' => $family,
- 'type' => 'FAMS',
- 'label' => $individual->getSpouseFamilyLabel($family),
- 'fam_access_level' => $fam_access_level,
+ 'individual' => $individual,
+ 'family' => $family,
+ 'type' => 'FAMS',
+ 'label' => $individual->getSpouseFamilyLabel($family),
+ 'fam_access_level' => $fam_access_level,
+ 'relationship_service' => $relationship_service,
]) ?>
<?php endforeach ?>
<!-- step-children -->
<?php foreach ($step_child_families as $family) : ?>
<?= view('modules/relatives/family', [
- 'individual' => $individual,
- 'family' => $family,
- 'type' => 'FAMS',
- 'label' => $family->fullName(),
- 'fam_access_level' => $fam_access_level,
+ 'individual' => $individual,
+ 'family' => $family,
+ 'type' => 'FAMS',
+ 'label' => $family->fullName(),
+ 'fam_access_level' => $fam_access_level,
+ 'relationship_service' => $relationship_service,
]) ?>
<?php endforeach ?>
diff --git a/resources/views/modules/statcounter/form.phtml b/resources/views/modules/statcounter/form.phtml
index 615983519e..ae9dc4984e 100644
--- a/resources/views/modules/statcounter/form.phtml
+++ b/resources/views/modules/statcounter/form.phtml
@@ -2,6 +2,11 @@
declare(strict_types=1);
+/**
+ * @var string $STATCOUNTER_PROJECT_ID
+ * @var string $STATCOUNTER_SECURITY_ID
+ */
+
use Fisharebest\Webtrees\I18N;
?>
@@ -11,7 +16,7 @@ use Fisharebest\Webtrees\I18N;
<?= /* I18N: A configuration setting */ I18N::translate('Site identification code') ?>
</label>
<div class="col-sm-9">
- <input type="text" class="form-control" id="STATCOUNTER_PROJECT_ID" name="STATCOUNTER_PROJECT_ID" value="<?= e($STATCOUNTER_PROJECT_ID ?? '') ?>" maxlength="255" pattern="[0-9]+">
+ <input type="text" class="form-control" id="STATCOUNTER_PROJECT_ID" name="STATCOUNTER_PROJECT_ID" value="<?= e($STATCOUNTER_PROJECT_ID) ?>" maxlength="255" pattern="[0-9]+">
</div>
</div>
@@ -20,6 +25,6 @@ use Fisharebest\Webtrees\I18N;
<?= /* I18N: A configuration setting */ I18N::translate('Security code') ?>
</label>
<div class="col-sm-9">
- <input type="text" class="form-control" id="STATCOUNTER_SECURITY_ID" name="STATCOUNTER_SECURITY_ID" value="<?= e($STATCOUNTER_SECURITY_ID ?? '') ?>" maxlength="255" pattern="[0-9a-zA-Z]+">
+ <input type="text" class="form-control" id="STATCOUNTER_SECURITY_ID" name="STATCOUNTER_SECURITY_ID" value="<?= e($STATCOUNTER_SECURITY_ID) ?>" maxlength="255" pattern="[0-9a-zA-Z]+">
</div>
</div>
diff --git a/resources/views/modules/statcounter/snippet.phtml b/resources/views/modules/statcounter/snippet.phtml
index a384887d10..24d65b3c81 100644
--- a/resources/views/modules/statcounter/snippet.phtml
+++ b/resources/views/modules/statcounter/snippet.phtml
@@ -1,9 +1,14 @@
+<?php
+/**
+ * @var string $STATCOUNTER_PROJECT_ID
+ * @var string $STATCOUNTER_SECURITY_ID
+ */
+?>
<script>
- var sc_project=<?= json_encode((int) ($STATCOUNTER_PROJECT_ID ?? ''), JSON_THROW_ON_ERROR) ?>;
+ var sc_project=<?= json_encode((int) $STATCOUNTER_PROJECT_ID, JSON_THROW_ON_ERROR) ?>;
var sc_invisible=1;
- var sc_security=<?= json_encode($STATCOUNTER_SECURITY_ID ?? '', JSON_THROW_ON_ERROR) ?>;
+ var sc_security=<?= json_encode($STATCOUNTER_SECURITY_ID, JSON_THROW_ON_ERROR) ?>;
var sc_https=1;
var scJsHost = (("https:" == document.location.protocol) ? "https://secure." : "http://www.");
document.write("<sc"+"ript type='text/javascript' async src='" + scJsHost + "statcounter.com/counter/counter_xhtml.js'></"+"script>");
</script>
-
diff --git a/resources/views/modules/stories/config.phtml b/resources/views/modules/stories/config.phtml
index 28ecab7bf5..ee26e521f0 100644
--- a/resources/views/modules/stories/config.phtml
+++ b/resources/views/modules/stories/config.phtml
@@ -5,11 +5,12 @@ declare(strict_types=1);
use Fisharebest\Webtrees\Http\RequestHandlers\ControlPanel;
use Fisharebest\Webtrees\Http\RequestHandlers\ModulesAllPage;
use Fisharebest\Webtrees\I18N;
+use Fisharebest\Webtrees\Individual;
use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<int,object> $stories
+ * @var Collection<int,object{block_id:int,xref:string,individual:Individual,title:string}> $stories
* @var string $title
* @var Tree $tree
* @var array<string> $tree_names
diff --git a/resources/views/modules/stories/list.phtml b/resources/views/modules/stories/list.phtml
index ba79daf38b..83c8293a4f 100644
--- a/resources/views/modules/stories/list.phtml
+++ b/resources/views/modules/stories/list.phtml
@@ -3,10 +3,11 @@
declare(strict_types=1);
use Fisharebest\Webtrees\I18N;
+use Fisharebest\Webtrees\Individual;
use Illuminate\Support\Collection;
/**
- * @var Collection<int,object> $stories
+ * @var Collection<int,object{title:string,individual:Individual}> $stories
* @var string $title
*/
diff --git a/resources/views/modules/stories/tab.phtml b/resources/views/modules/stories/tab.phtml
index 341ec39eeb..26e10a35b4 100644
--- a/resources/views/modules/stories/tab.phtml
+++ b/resources/views/modules/stories/tab.phtml
@@ -7,10 +7,10 @@ use Fisharebest\Webtrees\Individual;
use Fisharebest\Webtrees\Tree;
/**
- * @var bool $is_admin
- * @var Individual $individual
- * @var array<object> $stories
- * @var Tree $tree
+ * @var bool $is_admin
+ * @var Individual $individual
+ * @var array<object{block_id:int,title:string,story_body:string}> $stories
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/modules/submitter-list/page.phtml b/resources/views/modules/submitter-list/page.phtml
index e44257681e..5658c2bee9 100644
--- a/resources/views/modules/submitter-list/page.phtml
+++ b/resources/views/modules/submitter-list/page.phtml
@@ -9,7 +9,7 @@ use Illuminate\Support\Collection;
/**
* @var Collection<int,Submitter> $submitters
* @var string $title
- * @var Tree $tree
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/modules/timeline-chart/chart.phtml b/resources/views/modules/timeline-chart/chart.phtml
index be95932357..da80fe7c44 100644
--- a/resources/views/modules/timeline-chart/chart.phtml
+++ b/resources/views/modules/timeline-chart/chart.phtml
@@ -284,6 +284,7 @@ use Fisharebest\Webtrees\Individual;
<?= e($topyear) ?>
</div>
+ <?php $placements = [] ?>
<?php foreach ($indifacts as $factcount => $event) : ?>
<?php
$desc = $event->value();
@@ -325,19 +326,21 @@ use Fisharebest\Webtrees\Individual;
echo 'right: 3px;">';
}
- $col = array_search($event->record(), $individuals, true);
- if ($col === false) {
+ if ($event->record() instanceof Family) {
// Marriage event - use the color of the husband
$col = array_search($event->record()->husband(), $individuals, true);
- }
- if ($col === false) {
- // Marriage event - use the color of the wife
- $col = array_search($event->record()->wife(), $individuals, true);
+
+ if ($col === false) {
+ // Marriage event - use the color of the wife
+ $col = array_search($event->record()->wife(), $individuals, true);
+ }
+ } else {
+ $col = array_search($event->record(), $individuals, true);
}
$col %= 6;
echo '</td><td class="person' . $col . '">';
if (count($individuals) > 6) {
- // We only have six colours, so show naes if more than this number
+ // We only have six colours, so show names if more than this number
echo $event->record()->fullName() . ' — ';
}
$record = $event->record();
diff --git a/resources/views/modules/top10_pageviews/list.phtml b/resources/views/modules/top10_pageviews/list.phtml
index e94f211354..521451b37b 100644
--- a/resources/views/modules/top10_pageviews/list.phtml
+++ b/resources/views/modules/top10_pageviews/list.phtml
@@ -2,10 +2,11 @@
declare(strict_types=1);
+use Fisharebest\Webtrees\GedcomRecord;
use Fisharebest\Webtrees\I18N;
/**
- * @var array<string,mixed> $results
+ * @var array<array{record:GedcomRecord,count:int}> $results
*/
?>
diff --git a/resources/views/modules/user-messages/user-messages.phtml b/resources/views/modules/user-messages/user-messages.phtml
index 7f734349bc..1f501f6e17 100644
--- a/resources/views/modules/user-messages/user-messages.phtml
+++ b/resources/views/modules/user-messages/user-messages.phtml
@@ -2,6 +2,7 @@
declare(strict_types=1);
+use Fisharebest\Webtrees\Contracts\TimestampInterface;
use Fisharebest\Webtrees\Http\RequestHandlers\MessagePage;
use Fisharebest\Webtrees\Http\RequestHandlers\MessageSelect;
use Fisharebest\Webtrees\Http\RequestHandlers\UserPage;
@@ -12,13 +13,22 @@ use Fisharebest\Webtrees\Services\UserService;
use Fisharebest\Webtrees\Tree;
use Fisharebest\Webtrees\User;
use Illuminate\Support\Collection;
+use stdClass;
/**
* @var int $block_id
* @var string $context
* @var ModuleInterface $module
* @var Tree $tree
- * @var Collection<int,object> $messages
+ * @var Collection<int,object{
+ * message_id:string,
+ * sender:string,
+ * ip_address:string,
+ * user_id:string,
+ * subject:string,
+ * body:string,
+ * created:TimestampInterface
+ * }&stdClass> $messages
* @var Collection<int,User> $users
* @var UserService $user_service
*/
diff --git a/resources/views/pending-changes-page.phtml b/resources/views/pending-changes-page.phtml
index 35afddb6de..616b22cad1 100644
--- a/resources/views/pending-changes-page.phtml
+++ b/resources/views/pending-changes-page.phtml
@@ -2,6 +2,9 @@
declare(strict_types=1);
+use Fisharebest\Webtrees\Contracts\TimestampInterface;
+use Fisharebest\Webtrees\Gedcom;
+use Fisharebest\Webtrees\GedcomRecord;
use Fisharebest\Webtrees\Http\RequestHandlers\MessagePage;
use Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesAcceptChange;
use Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesAcceptTree;
@@ -11,7 +14,16 @@ use Fisharebest\Webtrees\I18N;
use Fisharebest\Webtrees\Tree;
/**
- * @var array<array<object>> $changes
+ * @var array<array<object{
+ * xref:string,
+ * change_id:string,
+ * old_gedcom:string|null,
+ * new_gedcom:string|null,
+ * change_time:TimestampInterface,
+ * record:GedcomRecord,
+ * user_name:string,
+ * real_name:string
+ * }>> $changes
* @var int $count
* @var string $title
* @var Tree $tree
diff --git a/resources/views/search-advanced-page.phtml b/resources/views/search-advanced-page.phtml
index 12a9288ba3..81bfa0693b 100644
--- a/resources/views/search-advanced-page.phtml
+++ b/resources/views/search-advanced-page.phtml
@@ -13,6 +13,7 @@ use Illuminate\Support\Collection;
* @var array<string,string> $fields
* @var array<string,string> $field_labels
* @var Collection<int,Individual> $individuals
+ * @var array<string,string> $modifiers
* @var array<string,string> $name_options
* @var array<string,string> $other_fields
* @var string $title
diff --git a/resources/views/statistics/families/top10-list-age.phtml b/resources/views/statistics/families/top10-list-age.phtml
index 2c67cb7985..a0ab455d26 100644
--- a/resources/views/statistics/families/top10-list-age.phtml
+++ b/resources/views/statistics/families/top10-list-age.phtml
@@ -2,10 +2,12 @@
declare(strict_types=1);
+use Fisharebest\Webtrees\Family;
use Fisharebest\Webtrees\I18N;
+use Fisharebest\Webtrees\Individual;
/**
- * @var array<array> $records
+ * @var array<array{child1:Individual,child2:Individual,family:Family,age:int}> $records
*/
?>
diff --git a/resources/views/statistics/families/top10-list-grand.phtml b/resources/views/statistics/families/top10-list-grand.phtml
index 0cb87aa2e7..426b5574e5 100644
--- a/resources/views/statistics/families/top10-list-grand.phtml
+++ b/resources/views/statistics/families/top10-list-grand.phtml
@@ -2,15 +2,20 @@
declare(strict_types=1);
+use Fisharebest\Webtrees\Family;
use Fisharebest\Webtrees\I18N;
/**
- * @var array<array> $records
+ * @var array<array{family:Family,count:int}> $records
*/
?>
-<?php if ($records) : ?>
+<?php if ($records === []) : ?>
+ <div class="card-body">
+ <?= I18N::translate('This information is not available.') ?>
+ </div>
+<?php else : ?>
<ul class="list-group list-group-flush">
<?php foreach ($records as $record) : ?>
<?php $family = $record['family']; ?>
@@ -22,8 +27,4 @@ use Fisharebest\Webtrees\I18N;
</li>
<?php endforeach; ?>
</ul>
-<?php else : ?>
- <div class="card-body">
- <?= I18N::translate('This information is not available.') ?>
- </div>
<?php endif; ?>
diff --git a/resources/views/statistics/families/top10-list-spouses.phtml b/resources/views/statistics/families/top10-list-spouses.phtml
index 011492f6b6..224e3cdc11 100644
--- a/resources/views/statistics/families/top10-list-spouses.phtml
+++ b/resources/views/statistics/families/top10-list-spouses.phtml
@@ -2,10 +2,11 @@
declare(strict_types=1);
+use Fisharebest\Webtrees\Family;
use Fisharebest\Webtrees\I18N;
/**
- * @var array<array> $records
+ * @var array<array{family:Family,age:string}> $records
*/
?>
diff --git a/resources/views/statistics/families/top10-list.phtml b/resources/views/statistics/families/top10-list.phtml
index 23b4260b02..5b94dd65b5 100644
--- a/resources/views/statistics/families/top10-list.phtml
+++ b/resources/views/statistics/families/top10-list.phtml
@@ -2,10 +2,11 @@
declare(strict_types=1);
+use Fisharebest\Webtrees\Family;
use Fisharebest\Webtrees\I18N;
/**
- * @var array<array> $records
+ * @var array<array{family:Family,count:int}> $records
*/
?>
diff --git a/resources/views/statistics/families/top10-nolist-age.phtml b/resources/views/statistics/families/top10-nolist-age.phtml
index 0870712387..d7903ee20e 100644
--- a/resources/views/statistics/families/top10-nolist-age.phtml
+++ b/resources/views/statistics/families/top10-nolist-age.phtml
@@ -7,7 +7,7 @@ use Fisharebest\Webtrees\I18N;
use Fisharebest\Webtrees\Individual;
/**
- * @var array<Family|Individual> $record
+ * @var array{child1:Individual,child2:Individual,family:Family,age:int} $record
*/
?>
diff --git a/resources/views/statistics/families/top10-nolist-grand.phtml b/resources/views/statistics/families/top10-nolist-grand.phtml
index c94275a6a3..07944a3294 100644
--- a/resources/views/statistics/families/top10-nolist-grand.phtml
+++ b/resources/views/statistics/families/top10-nolist-grand.phtml
@@ -2,10 +2,11 @@
declare(strict_types=1);
+use Fisharebest\Webtrees\Family;
use Fisharebest\Webtrees\I18N;
/**
- * @var array<array> $records
+ * @var array<array{family:Family,count:int}> $records
*/
?>
diff --git a/resources/views/statistics/families/top10-nolist-spouses.phtml b/resources/views/statistics/families/top10-nolist-spouses.phtml
index 554a5ab8d8..13b10e79b5 100644
--- a/resources/views/statistics/families/top10-nolist-spouses.phtml
+++ b/resources/views/statistics/families/top10-nolist-spouses.phtml
@@ -3,9 +3,11 @@
declare(strict_types=1);
/**
- * @var array<array> $records
+ * @var array<array{family:Family,age:string}> $records
*/
+use Fisharebest\Webtrees\Family;
+
?>
<?php foreach ($records as $record) : ?>
diff --git a/resources/views/statistics/families/top10-nolist.phtml b/resources/views/statistics/families/top10-nolist.phtml
index ce25ccba19..d51029001a 100644
--- a/resources/views/statistics/families/top10-nolist.phtml
+++ b/resources/views/statistics/families/top10-nolist.phtml
@@ -6,7 +6,7 @@ use Fisharebest\Webtrees\Family;
use Fisharebest\Webtrees\I18N;
/**
- * @var array<array{count:int,family:Family}> $records
+ * @var array<array{family:Family,count:int}> $records
*/
?>
diff --git a/resources/views/statistics/other/charts/column.phtml b/resources/views/statistics/other/charts/column.phtml
index bbcc4a5117..12f957e44f 100644
--- a/resources/views/statistics/other/charts/column.phtml
+++ b/resources/views/statistics/other/charts/column.phtml
@@ -5,41 +5,44 @@ declare(strict_types=1);
use Fisharebest\Webtrees\I18N;
/**
- * @var array<mixed> $chart_options
- * @var string $chart_title
- * @var array<array> $data
- * @var string $language
+ * @var array<int,array<string|array<string,int|bool|string>>> $chart_options
+ * @var string $chart_title
+ * @var array<string,array{0:string,1:int}> $data
+ * @var string $language
*/
$id = 'google-chart-' . bin2hex(random_bytes(8));
$name = 'callback_' . bin2hex(random_bytes(12));
?>
-<?php if (count($data) === 1) : ?>
+<?php
+if (count($data) === 1) : ?>
<?= I18N::translate('This information is not available.') ?>
-<?php else : ?>
+<?php
+else : ?>
<div id="<?= $id ?>" title="<?= $chart_title ?>"></div>
<script>
- let <?= $name ?> = function () {
+ let <?= $name ?> = function () {
statistics.drawColumnChart(
<?= json_encode($id, JSON_THROW_ON_ERROR) ?>,
<?= json_encode($data, JSON_THROW_ON_ERROR) ?>,
- <?= json_encode($chart_options, JSON_THROW_ON_ERROR) ?>
+ <?= json_encode($chart_options, JSON_THROW_ON_ERROR) ?>,
);
- };
+ };
- if (document.readyState === "complete"
- || (document.readyState !== "loading" && !document.documentElement.doScroll)
- ) {
+ if (document.readyState === 'complete'
+ || (document.readyState !== 'loading' && !document.documentElement.doScroll)
+ ) {
statistics.init(<?= json_encode($language, JSON_THROW_ON_ERROR) ?>);
statistics.addCallback(<?= $name ?>);
- } else {
- document.addEventListener("DOMContentLoaded", function () {
- statistics.init(<?= json_encode($language, JSON_THROW_ON_ERROR) ?>);
- statistics.addCallback(<?= $name ?>);
+ } else {
+ document.addEventListener('DOMContentLoaded', function () {
+ statistics.init(<?= json_encode($language, JSON_THROW_ON_ERROR) ?>);
+ statistics.addCallback(<?= $name ?>);
});
- }
+ }
</script>
-<?php endif; ?>
+<?php
+endif; ?>
diff --git a/resources/views/statistics/other/charts/combo.phtml b/resources/views/statistics/other/charts/combo.phtml
index f0f652df8b..89eb1415f7 100644
--- a/resources/views/statistics/other/charts/combo.phtml
+++ b/resources/views/statistics/other/charts/combo.phtml
@@ -5,9 +5,10 @@ declare(strict_types=1);
use Fisharebest\Webtrees\I18N;
/**
- * @var array<mixed> $chart_options
- * @var array<array> $data
- * @var string $language
+ * @var array<int,array<string|array<string,int|bool|string>>> $chart_options
+ * @var string $chart_title
+ * @var array<array{0:string,1:float,2:float,3:float}> $data
+ * @var string $language
*/
$id = 'google-chart-' . bin2hex(random_bytes(8));
@@ -17,7 +18,7 @@ $name = 'callback_' . bin2hex(random_bytes(12));
<?php if (count($data) === 1) : ?>
<?= I18N::translate('This information is not available.') ?>
<?php else : ?>
- <div id="<?= $id ?>" title="<?= $chart_title ?? '' ?>"></div>
+ <div id="<?= $id ?>" title="<?= $chart_title ?>"></div>
<script>
let <?= $name ?> = function () {
diff --git a/resources/views/statistics/other/charts/custom.phtml b/resources/views/statistics/other/charts/custom.phtml
index c9bb6a4d5e..cd8228fd4e 100644
--- a/resources/views/statistics/other/charts/custom.phtml
+++ b/resources/views/statistics/other/charts/custom.phtml
@@ -5,10 +5,10 @@ declare(strict_types=1);
use Fisharebest\Webtrees\I18N;
/**
- * @var array<mixed> $chart_options
- * @var string $chart_title
- * @var array<array> $data
- * @var string $language
+ * @var array<int,array<string|array<string,int|bool|string>>> $chart_options
+ * @var string $chart_title
+ * @var array<array{0:string,1:int}> $data
+ * @var string $language
*/
?>
diff --git a/tests/TestCase.php b/tests/TestCase.php
index 43e79efc79..5d8f3873bf 100644
--- a/tests/TestCase.php
+++ b/tests/TestCase.php
@@ -59,9 +59,6 @@ class TestCase extends \PHPUnit\Framework\TestCase
{
protected static bool $uses_database = false;
- /**
- * Create an SQLite in-memory database for testing
- */
private static function createTestDatabase(): void
{
DB::connect(
@@ -129,9 +126,6 @@ class TestCase extends \PHPUnit\Framework\TestCase
return $request;
}
- /**
- * Things to run before every test.
- */
protected function setUp(): void
{
parent::setUp();
@@ -164,9 +158,6 @@ class TestCase extends \PHPUnit\Framework\TestCase
self::createRequest();
}
- /**
- * Things to run after every test
- */
protected function tearDown(): void
{
if (static::$uses_database) {
@@ -291,7 +282,7 @@ class TestCase extends \PHPUnit\Framework\TestCase
*
* @param array<int,mixed> $parameters
- * @return Callback
+ * @return Callback<mixed>
*/
protected static function withConsecutive(array $parameters): Callback
{
diff --git a/tests/app/Census/CensusColumnRelationToHeadTest.php b/tests/app/Census/CensusColumnRelationToHeadTest.php
index 4b2a2ffeb3..958e735919 100644
--- a/tests/app/Census/CensusColumnRelationToHeadTest.php
+++ b/tests/app/Census/CensusColumnRelationToHeadTest.php
@@ -21,6 +21,7 @@ namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
use Fisharebest\Webtrees\TestCase;
+use Illuminate\Support\Collection;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CensusColumnRelationToHead::class)]
@@ -34,6 +35,11 @@ class CensusColumnRelationToHeadTest extends TestCase
$individual1 = $this->createMock(Individual::class);
$individual2 = $this->createMock(Individual::class);
+ $individual1->method('childFamilies')->willReturn(new Collection());
+ $individual1->method('spouseFamilies')->willReturn(new Collection());
+ $individual2->method('childFamilies')->willReturn(new Collection());
+ $individual2->method('spouseFamilies')->willReturn(new Collection());
+
$census = $this->createMock(CensusInterface::class);
$column = new CensusColumnRelationToHead($census, '', '');
diff --git a/tests/app/Census/CensusOfCanada1851Test.php b/tests/app/Census/CensusOfCanada1851Test.php
index 422edc8a62..aa8bc1f043 100644
--- a/tests/app/Census/CensusOfCanada1851Test.php
+++ b/tests/app/Census/CensusOfCanada1851Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfCanada1851Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfCanada1851();
@@ -37,9 +34,6 @@ class CensusOfCanada1851Test extends TestCase
self::assertSame('31 DEC 1851', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfCanada1851();
diff --git a/tests/app/Census/CensusOfCanada1861Test.php b/tests/app/Census/CensusOfCanada1861Test.php
index fcb6e9d122..e9c1aa8281 100644
--- a/tests/app/Census/CensusOfCanada1861Test.php
+++ b/tests/app/Census/CensusOfCanada1861Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfCanada1861Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfCanada1861();
@@ -37,9 +34,6 @@ class CensusOfCanada1861Test extends TestCase
self::assertSame('14 JAN 1861', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfCanada1861();
diff --git a/tests/app/Census/CensusOfCanada1871Test.php b/tests/app/Census/CensusOfCanada1871Test.php
index 566d159901..d65be5f273 100644
--- a/tests/app/Census/CensusOfCanada1871Test.php
+++ b/tests/app/Census/CensusOfCanada1871Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfCanada1871Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfCanada1871();
@@ -37,9 +34,6 @@ class CensusOfCanada1871Test extends TestCase
self::assertSame('02 APR 1871', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfCanada1871();
diff --git a/tests/app/Census/CensusOfCanada1881Test.php b/tests/app/Census/CensusOfCanada1881Test.php
index 8a5c3a2a4f..83038efa0e 100644
--- a/tests/app/Census/CensusOfCanada1881Test.php
+++ b/tests/app/Census/CensusOfCanada1881Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfCanada1881Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfCanada1881();
@@ -37,9 +34,6 @@ class CensusOfCanada1881Test extends TestCase
self::assertSame('04 APR 1881', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfCanada1881();
diff --git a/tests/app/Census/CensusOfCanada1891Test.php b/tests/app/Census/CensusOfCanada1891Test.php
index bc5f2337c8..662145783e 100644
--- a/tests/app/Census/CensusOfCanada1891Test.php
+++ b/tests/app/Census/CensusOfCanada1891Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfCanada1891Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfCanada1891();
@@ -37,9 +34,6 @@ class CensusOfCanada1891Test extends TestCase
self::assertSame('06 APR 1891', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfCanada1891();
diff --git a/tests/app/Census/CensusOfCanada1901Test.php b/tests/app/Census/CensusOfCanada1901Test.php
index 42f1dbfecb..e4fc38ccf3 100644
--- a/tests/app/Census/CensusOfCanada1901Test.php
+++ b/tests/app/Census/CensusOfCanada1901Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfCanada1901Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfCanada1901();
@@ -37,9 +34,6 @@ class CensusOfCanada1901Test extends TestCase
self::assertSame('31 MAR 1901', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfCanada1901();
diff --git a/tests/app/Census/CensusOfCanada1911Test.php b/tests/app/Census/CensusOfCanada1911Test.php
index 368a1f5d50..535e6cda9b 100644
--- a/tests/app/Census/CensusOfCanada1911Test.php
+++ b/tests/app/Census/CensusOfCanada1911Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfCanada1911Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfCanada1911();
@@ -37,9 +34,6 @@ class CensusOfCanada1911Test extends TestCase
self::assertSame('01 JUN 1911', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfCanada1911();
diff --git a/tests/app/Census/CensusOfCanada1921Test.php b/tests/app/Census/CensusOfCanada1921Test.php
index 069b9c6288..8f02ec4159 100644
--- a/tests/app/Census/CensusOfCanada1921Test.php
+++ b/tests/app/Census/CensusOfCanada1921Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfCanada1921Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfCanada1921();
@@ -37,9 +34,6 @@ class CensusOfCanada1921Test extends TestCase
self::assertSame('01 JUN 1921', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfCanada1921();
diff --git a/tests/app/Census/CensusOfCanada1931Test.php b/tests/app/Census/CensusOfCanada1931Test.php
index 22e08cbb48..6a00a2d6c2 100644
--- a/tests/app/Census/CensusOfCanada1931Test.php
+++ b/tests/app/Census/CensusOfCanada1931Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfCanada1931Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfCanada1931();
@@ -37,9 +34,6 @@ class CensusOfCanada1931Test extends TestCase
self::assertSame('01 JUN 1931', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfCanada1931();
diff --git a/tests/app/Census/CensusOfCanadaPraries1916Test.php b/tests/app/Census/CensusOfCanadaPraries1916Test.php
index 5a45d15ca7..8e944cce29 100644
--- a/tests/app/Census/CensusOfCanadaPraries1916Test.php
+++ b/tests/app/Census/CensusOfCanadaPraries1916Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfCanadaPraries1916Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfCanadaPraries1916();
@@ -37,9 +34,6 @@ class CensusOfCanadaPraries1916Test extends TestCase
self::assertSame('01 JUN 1916', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfCanadaPraries1916();
diff --git a/tests/app/Census/CensusOfCanadaPraries1926Test.php b/tests/app/Census/CensusOfCanadaPraries1926Test.php
index 6c65dbb7da..184f6e0bcc 100644
--- a/tests/app/Census/CensusOfCanadaPraries1926Test.php
+++ b/tests/app/Census/CensusOfCanadaPraries1926Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfCanadaPraries1926Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfCanadaPraries1926();
@@ -37,9 +34,6 @@ class CensusOfCanadaPraries1926Test extends TestCase
self::assertSame('01 JUN 1926', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfCanadaPraries1926();
diff --git a/tests/app/Census/CensusOfCanadaTest.php b/tests/app/Census/CensusOfCanadaTest.php
index 60683e509d..68772e9f4c 100644
--- a/tests/app/Census/CensusOfCanadaTest.php
+++ b/tests/app/Census/CensusOfCanadaTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CensusOfCanada::class)]
class CensusOfCanadaTest extends TestCase
{
- /**
- * Test the census place
- */
public function testPlace(): void
{
$census = new CensusOfCanada();
@@ -35,9 +32,6 @@ class CensusOfCanadaTest extends TestCase
self::assertSame('Canada', $census->censusPlace());
}
- /**
- * Test the census language
- */
public function testLanguage(): void
{
$census = new CensusOfCanada();
@@ -45,9 +39,6 @@ class CensusOfCanadaTest extends TestCase
self::assertSame('en-US', $census->censusLanguage());
}
- /**
- * Test the census dates
- */
public function testAllDates(): void
{
$census = new CensusOfCanada();
diff --git a/tests/app/Census/CensusOfCzechRepublic1880Test.php b/tests/app/Census/CensusOfCzechRepublic1880Test.php
index a4c2b0bce0..91a8eaa162 100644
--- a/tests/app/Census/CensusOfCzechRepublic1880Test.php
+++ b/tests/app/Census/CensusOfCzechRepublic1880Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfCzechRepublic1880Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfCzechRepublic1880();
@@ -37,9 +34,6 @@ class CensusOfCzechRepublic1880Test extends TestCase
self::assertSame('31 DEC 1880', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfCzechRepublic1880();
diff --git a/tests/app/Census/CensusOfCzechRepublic1890Test.php b/tests/app/Census/CensusOfCzechRepublic1890Test.php
index c872e29695..85f37fe73b 100644
--- a/tests/app/Census/CensusOfCzechRepublic1890Test.php
+++ b/tests/app/Census/CensusOfCzechRepublic1890Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfCzechRepublic1890Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfCzechRepublic1890();
@@ -37,9 +34,6 @@ class CensusOfCzechRepublic1890Test extends TestCase
self::assertSame('31 DEC 1890', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfCzechRepublic1890();
diff --git a/tests/app/Census/CensusOfCzechRepublic1900Test.php b/tests/app/Census/CensusOfCzechRepublic1900Test.php
index b223e81aee..692919deb7 100644
--- a/tests/app/Census/CensusOfCzechRepublic1900Test.php
+++ b/tests/app/Census/CensusOfCzechRepublic1900Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfCzechRepublic1900Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfCzechRepublic1900();
@@ -37,9 +34,6 @@ class CensusOfCzechRepublic1900Test extends TestCase
self::assertSame('31 DEC 1900', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfCzechRepublic1900();
diff --git a/tests/app/Census/CensusOfCzechRepublic1910Test.php b/tests/app/Census/CensusOfCzechRepublic1910Test.php
index e6ec914df1..49397cab75 100644
--- a/tests/app/Census/CensusOfCzechRepublic1910Test.php
+++ b/tests/app/Census/CensusOfCzechRepublic1910Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfCzechRepublic1910Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfCzechRepublic1910();
@@ -37,9 +34,6 @@ class CensusOfCzechRepublic1910Test extends TestCase
self::assertSame('31 DEC 1910', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfCzechRepublic1910();
diff --git a/tests/app/Census/CensusOfCzechRepublic1921Test.php b/tests/app/Census/CensusOfCzechRepublic1921Test.php
index 1401e2088a..1c3e1442d3 100644
--- a/tests/app/Census/CensusOfCzechRepublic1921Test.php
+++ b/tests/app/Census/CensusOfCzechRepublic1921Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfCzechRepublic1921Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfCzechRepublic1921();
@@ -37,9 +34,6 @@ class CensusOfCzechRepublic1921Test extends TestCase
self::assertSame('15 FEB 1921', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfCzechRepublic1921();
diff --git a/tests/app/Census/CensusOfCzechRepublicTest.php b/tests/app/Census/CensusOfCzechRepublicTest.php
index 1c668e5fb8..e80b7ad76c 100644
--- a/tests/app/Census/CensusOfCzechRepublicTest.php
+++ b/tests/app/Census/CensusOfCzechRepublicTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CensusOfCzechRepublic::class)]
class CensusOfCzechRepublicTest extends TestCase
{
- /**
- * Test the census place
- */
public function testPlace(): void
{
$census = new CensusOfCzechRepublic();
@@ -35,9 +32,6 @@ class CensusOfCzechRepublicTest extends TestCase
self::assertSame('Česko', $census->censusPlace());
}
- /**
- * Test the census language
- */
public function testLanguage(): void
{
$census = new CensusOfCzechRepublic();
@@ -45,9 +39,6 @@ class CensusOfCzechRepublicTest extends TestCase
self::assertSame('cs', $census->censusLanguage());
}
- /**
- * Test the census dates
- */
public function testAllDates(): void
{
$census = new CensusOfCzechRepublic();
diff --git a/tests/app/Census/CensusOfDenmark1787Test.php b/tests/app/Census/CensusOfDenmark1787Test.php
index df4895082a..45fc20936f 100644
--- a/tests/app/Census/CensusOfDenmark1787Test.php
+++ b/tests/app/Census/CensusOfDenmark1787Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1787Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1787();
@@ -37,9 +34,6 @@ class CensusOfDenmark1787Test extends TestCase
self::assertSame('01 JUL 1787', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1787();
diff --git a/tests/app/Census/CensusOfDenmark1801Test.php b/tests/app/Census/CensusOfDenmark1801Test.php
index f1c5712724..997e2a5cc5 100644
--- a/tests/app/Census/CensusOfDenmark1801Test.php
+++ b/tests/app/Census/CensusOfDenmark1801Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1801Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1801();
@@ -37,9 +34,6 @@ class CensusOfDenmark1801Test extends TestCase
self::assertSame('01 FEB 1801', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1801();
diff --git a/tests/app/Census/CensusOfDenmark1803Test.php b/tests/app/Census/CensusOfDenmark1803Test.php
index 9f6aa5f8ea..4621d8c077 100644
--- a/tests/app/Census/CensusOfDenmark1803Test.php
+++ b/tests/app/Census/CensusOfDenmark1803Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1803Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1803();
@@ -37,9 +34,6 @@ class CensusOfDenmark1803Test extends TestCase
self::assertSame('01 FEB 1803', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1803();
diff --git a/tests/app/Census/CensusOfDenmark1834Test.php b/tests/app/Census/CensusOfDenmark1834Test.php
index cc9f0bdf1b..8e5e0f64a0 100644
--- a/tests/app/Census/CensusOfDenmark1834Test.php
+++ b/tests/app/Census/CensusOfDenmark1834Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1834Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1834();
@@ -37,9 +34,6 @@ class CensusOfDenmark1834Test extends TestCase
self::assertSame('18 FEB 1834', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1834();
diff --git a/tests/app/Census/CensusOfDenmark1835Test.php b/tests/app/Census/CensusOfDenmark1835Test.php
index 0dc59e9469..08513bbe7d 100644
--- a/tests/app/Census/CensusOfDenmark1835Test.php
+++ b/tests/app/Census/CensusOfDenmark1835Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1835Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1835();
@@ -37,9 +34,6 @@ class CensusOfDenmark1835Test extends TestCase
self::assertSame('18 FEB 1835', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1835();
diff --git a/tests/app/Census/CensusOfDenmark1840Test.php b/tests/app/Census/CensusOfDenmark1840Test.php
index 8e7822aca3..1941e6091e 100644
--- a/tests/app/Census/CensusOfDenmark1840Test.php
+++ b/tests/app/Census/CensusOfDenmark1840Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1840Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1840();
@@ -37,9 +34,6 @@ class CensusOfDenmark1840Test extends TestCase
self::assertSame('01 FEB 1840', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1840();
diff --git a/tests/app/Census/CensusOfDenmark1845Test.php b/tests/app/Census/CensusOfDenmark1845Test.php
index 882ea32441..3b3fafa707 100644
--- a/tests/app/Census/CensusOfDenmark1845Test.php
+++ b/tests/app/Census/CensusOfDenmark1845Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1845Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1845();
@@ -37,9 +34,6 @@ class CensusOfDenmark1845Test extends TestCase
self::assertSame('01 FEB 1845', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1845();
diff --git a/tests/app/Census/CensusOfDenmark1850Test.php b/tests/app/Census/CensusOfDenmark1850Test.php
index 22d69e79b9..4e68963cc1 100644
--- a/tests/app/Census/CensusOfDenmark1850Test.php
+++ b/tests/app/Census/CensusOfDenmark1850Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1850Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1850();
@@ -37,9 +34,6 @@ class CensusOfDenmark1850Test extends TestCase
self::assertSame('01 FEB 1850', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1850();
diff --git a/tests/app/Census/CensusOfDenmark1855Test.php b/tests/app/Census/CensusOfDenmark1855Test.php
index eeb0955bb7..d0f6eab67c 100644
--- a/tests/app/Census/CensusOfDenmark1855Test.php
+++ b/tests/app/Census/CensusOfDenmark1855Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1855Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1855();
@@ -37,9 +34,6 @@ class CensusOfDenmark1855Test extends TestCase
self::assertSame('01 FEB 1855', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1855();
diff --git a/tests/app/Census/CensusOfDenmark1860Test.php b/tests/app/Census/CensusOfDenmark1860Test.php
index 543f7b4862..413eb46120 100644
--- a/tests/app/Census/CensusOfDenmark1860Test.php
+++ b/tests/app/Census/CensusOfDenmark1860Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1860Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1860();
@@ -37,9 +34,6 @@ class CensusOfDenmark1860Test extends TestCase
self::assertSame('01 FEB 1860', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1860();
diff --git a/tests/app/Census/CensusOfDenmark1870Test.php b/tests/app/Census/CensusOfDenmark1870Test.php
index d252e5f89e..230fcc25da 100644
--- a/tests/app/Census/CensusOfDenmark1870Test.php
+++ b/tests/app/Census/CensusOfDenmark1870Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1870Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1870();
@@ -37,9 +34,6 @@ class CensusOfDenmark1870Test extends TestCase
self::assertSame('01 FEB 1870', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1870();
diff --git a/tests/app/Census/CensusOfDenmark1880Test.php b/tests/app/Census/CensusOfDenmark1880Test.php
index 7350c1a497..c7fdf1a1fb 100644
--- a/tests/app/Census/CensusOfDenmark1880Test.php
+++ b/tests/app/Census/CensusOfDenmark1880Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1880Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1880();
@@ -37,9 +34,6 @@ class CensusOfDenmark1880Test extends TestCase
self::assertSame('01 FEB 1880', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1880();
diff --git a/tests/app/Census/CensusOfDenmark1885Test.php b/tests/app/Census/CensusOfDenmark1885Test.php
index 8cd76602ba..5b5558a41a 100644
--- a/tests/app/Census/CensusOfDenmark1885Test.php
+++ b/tests/app/Census/CensusOfDenmark1885Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1885Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1885();
@@ -37,9 +34,6 @@ class CensusOfDenmark1885Test extends TestCase
self::assertSame('01 FEB 1885', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1885();
diff --git a/tests/app/Census/CensusOfDenmark1890Test.php b/tests/app/Census/CensusOfDenmark1890Test.php
index 00e2d14ab3..9283717d92 100644
--- a/tests/app/Census/CensusOfDenmark1890Test.php
+++ b/tests/app/Census/CensusOfDenmark1890Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1890Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1890();
@@ -37,9 +34,6 @@ class CensusOfDenmark1890Test extends TestCase
self::assertSame('01 FEB 1890', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1890();
diff --git a/tests/app/Census/CensusOfDenmark1901Test.php b/tests/app/Census/CensusOfDenmark1901Test.php
index c42aeaec7c..f1aec5d41d 100644
--- a/tests/app/Census/CensusOfDenmark1901Test.php
+++ b/tests/app/Census/CensusOfDenmark1901Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1901Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1901();
@@ -37,9 +34,6 @@ class CensusOfDenmark1901Test extends TestCase
self::assertSame('01 FEB 1901', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1901();
diff --git a/tests/app/Census/CensusOfDenmark1906Test.php b/tests/app/Census/CensusOfDenmark1906Test.php
index 9a5c764328..92702665f7 100644
--- a/tests/app/Census/CensusOfDenmark1906Test.php
+++ b/tests/app/Census/CensusOfDenmark1906Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1906Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1906();
@@ -37,9 +34,6 @@ class CensusOfDenmark1906Test extends TestCase
self::assertSame('01 FEB 1906', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1906();
diff --git a/tests/app/Census/CensusOfDenmark1911Test.php b/tests/app/Census/CensusOfDenmark1911Test.php
index 15cadc2bb5..769abd9c33 100644
--- a/tests/app/Census/CensusOfDenmark1911Test.php
+++ b/tests/app/Census/CensusOfDenmark1911Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1911Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1911();
@@ -37,9 +34,6 @@ class CensusOfDenmark1911Test extends TestCase
self::assertSame('01 FEB 1911', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1911();
diff --git a/tests/app/Census/CensusOfDenmark1916Test.php b/tests/app/Census/CensusOfDenmark1916Test.php
index 425125ab64..64b405da86 100644
--- a/tests/app/Census/CensusOfDenmark1916Test.php
+++ b/tests/app/Census/CensusOfDenmark1916Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1916Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1916();
@@ -37,9 +34,6 @@ class CensusOfDenmark1916Test extends TestCase
self::assertSame('01 FEB 1916', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1916();
diff --git a/tests/app/Census/CensusOfDenmark1921Test.php b/tests/app/Census/CensusOfDenmark1921Test.php
index f7ba17c6b7..076a307c79 100644
--- a/tests/app/Census/CensusOfDenmark1921Test.php
+++ b/tests/app/Census/CensusOfDenmark1921Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1921Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1921();
@@ -37,9 +34,6 @@ class CensusOfDenmark1921Test extends TestCase
self::assertSame('01 FEB 1921', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1921();
diff --git a/tests/app/Census/CensusOfDenmark1925Test.php b/tests/app/Census/CensusOfDenmark1925Test.php
index 54b9bc0175..7f7da12cfe 100644
--- a/tests/app/Census/CensusOfDenmark1925Test.php
+++ b/tests/app/Census/CensusOfDenmark1925Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1925Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1925();
@@ -37,9 +34,6 @@ class CensusOfDenmark1925Test extends TestCase
self::assertSame('05 NOV 1925', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1925();
diff --git a/tests/app/Census/CensusOfDenmark1930Test.php b/tests/app/Census/CensusOfDenmark1930Test.php
index 0d3854bdbd..8bd62033d8 100644
--- a/tests/app/Census/CensusOfDenmark1930Test.php
+++ b/tests/app/Census/CensusOfDenmark1930Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1930Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1930();
@@ -37,9 +34,6 @@ class CensusOfDenmark1930Test extends TestCase
self::assertSame('05 NOV 1930', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1930();
diff --git a/tests/app/Census/CensusOfDenmark1940Test.php b/tests/app/Census/CensusOfDenmark1940Test.php
index d794323a6c..d261944a73 100644
--- a/tests/app/Census/CensusOfDenmark1940Test.php
+++ b/tests/app/Census/CensusOfDenmark1940Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDenmark1940Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDenmark1940();
@@ -37,9 +34,6 @@ class CensusOfDenmark1940Test extends TestCase
self::assertSame('05 NOV 1940', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDenmark1940();
diff --git a/tests/app/Census/CensusOfDenmarkTest.php b/tests/app/Census/CensusOfDenmarkTest.php
index e89ac6e483..47f5f85538 100644
--- a/tests/app/Census/CensusOfDenmarkTest.php
+++ b/tests/app/Census/CensusOfDenmarkTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CensusOfDenmark::class)]
class CensusOfDenmarkTest extends TestCase
{
- /**
- * Test the census place
- */
public function testPlace(): void
{
$census = new CensusOfDenmark();
@@ -35,9 +32,6 @@ class CensusOfDenmarkTest extends TestCase
self::assertSame('Danmark', $census->censusPlace());
}
- /**
- * Test the census language
- */
public function testLanguage(): void
{
$census = new CensusOfDenmark();
@@ -45,9 +39,6 @@ class CensusOfDenmarkTest extends TestCase
self::assertSame('da', $census->censusLanguage());
}
- /**
- * Test the census dates
- */
public function testAllDates(): void
{
$census = new CensusOfDenmark();
diff --git a/tests/app/Census/CensusOfDeutschland1819Test.php b/tests/app/Census/CensusOfDeutschland1819Test.php
index d26d074351..e480c3223b 100644
--- a/tests/app/Census/CensusOfDeutschland1819Test.php
+++ b/tests/app/Census/CensusOfDeutschland1819Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDeutschland1819Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDeutschland1819();
@@ -37,9 +34,6 @@ class CensusOfDeutschland1819Test extends TestCase
self::assertSame('AUG 1819', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDeutschland1819();
diff --git a/tests/app/Census/CensusOfDeutschland1867Test.php b/tests/app/Census/CensusOfDeutschland1867Test.php
index 31e6710c0c..ff91776d8b 100644
--- a/tests/app/Census/CensusOfDeutschland1867Test.php
+++ b/tests/app/Census/CensusOfDeutschland1867Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDeutschland1867Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDeutschland1867();
@@ -37,9 +34,6 @@ class CensusOfDeutschland1867Test extends TestCase
self::assertSame('03 DEC 1867', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDeutschland1867();
diff --git a/tests/app/Census/CensusOfDeutschland1900Test.php b/tests/app/Census/CensusOfDeutschland1900Test.php
index 1dec2e9482..6be0cf067d 100644
--- a/tests/app/Census/CensusOfDeutschland1900Test.php
+++ b/tests/app/Census/CensusOfDeutschland1900Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDeutschland1900Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDeutschland1900();
@@ -37,9 +34,6 @@ class CensusOfDeutschland1900Test extends TestCase
self::assertSame('01 DEC 1900', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDeutschland1900();
diff --git a/tests/app/Census/CensusOfDeutschland1919Test.php b/tests/app/Census/CensusOfDeutschland1919Test.php
index 901203517f..7e927f71a0 100644
--- a/tests/app/Census/CensusOfDeutschland1919Test.php
+++ b/tests/app/Census/CensusOfDeutschland1919Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDeutschland1919Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDeutschland1919();
@@ -37,9 +34,6 @@ class CensusOfDeutschland1919Test extends TestCase
self::assertSame('08 OCT 1919', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDeutschland1919();
diff --git a/tests/app/Census/CensusOfDeutschlandNL1867Test.php b/tests/app/Census/CensusOfDeutschlandNL1867Test.php
index 3d8bfb7595..60f0b81118 100644
--- a/tests/app/Census/CensusOfDeutschlandNL1867Test.php
+++ b/tests/app/Census/CensusOfDeutschlandNL1867Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfDeutschlandNL1867Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfDeutschlandNL1867();
@@ -37,9 +34,6 @@ class CensusOfDeutschlandNL1867Test extends TestCase
self::assertSame('03 DEC 1867', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfDeutschlandNL1867();
diff --git a/tests/app/Census/CensusOfDeutschlandTest.php b/tests/app/Census/CensusOfDeutschlandTest.php
index 0d2ff6db2a..93332a3026 100644
--- a/tests/app/Census/CensusOfDeutschlandTest.php
+++ b/tests/app/Census/CensusOfDeutschlandTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CensusOfDeutschland::class)]
class CensusOfDeutschlandTest extends TestCase
{
- /**
- * Test the census place
- */
public function testPlace(): void
{
$census = new CensusOfDeutschland();
@@ -35,9 +32,6 @@ class CensusOfDeutschlandTest extends TestCase
self::assertSame('Deutschland', $census->censusPlace());
}
- /**
- * Test the census language
- */
public function testLanguage(): void
{
$census = new CensusOfDeutschland();
@@ -45,9 +39,6 @@ class CensusOfDeutschlandTest extends TestCase
self::assertSame('de', $census->censusLanguage());
}
- /**
- * Test the census dates
- */
public function testAllDates(): void
{
$census = new CensusOfDeutschland();
diff --git a/tests/app/Census/CensusOfEngland1841Test.php b/tests/app/Census/CensusOfEngland1841Test.php
index 25ef2e904b..94b0f30071 100644
--- a/tests/app/Census/CensusOfEngland1841Test.php
+++ b/tests/app/Census/CensusOfEngland1841Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfEngland1841Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfEngland1841();
@@ -37,9 +34,6 @@ class CensusOfEngland1841Test extends TestCase
self::assertSame('06 JUN 1841', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfEngland1841();
diff --git a/tests/app/Census/CensusOfEngland1851Test.php b/tests/app/Census/CensusOfEngland1851Test.php
index cf53d7e666..6aa735b4e5 100644
--- a/tests/app/Census/CensusOfEngland1851Test.php
+++ b/tests/app/Census/CensusOfEngland1851Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfEngland1851Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfEngland1851();
@@ -37,9 +34,6 @@ class CensusOfEngland1851Test extends TestCase
self::assertSame('30 MAR 1851', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfEngland1851();
diff --git a/tests/app/Census/CensusOfEngland1861Test.php b/tests/app/Census/CensusOfEngland1861Test.php
index 67330e0b38..9dcc6fe5b6 100644
--- a/tests/app/Census/CensusOfEngland1861Test.php
+++ b/tests/app/Census/CensusOfEngland1861Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfEngland1861Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfEngland1861();
@@ -37,9 +34,6 @@ class CensusOfEngland1861Test extends TestCase
self::assertSame('07 APR 1861', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfEngland1861();
diff --git a/tests/app/Census/CensusOfEngland1871Test.php b/tests/app/Census/CensusOfEngland1871Test.php
index 6b32674679..66022572b6 100644
--- a/tests/app/Census/CensusOfEngland1871Test.php
+++ b/tests/app/Census/CensusOfEngland1871Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfEngland1871Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfEngland1871();
@@ -37,9 +34,6 @@ class CensusOfEngland1871Test extends TestCase
self::assertSame('02 APR 1871', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfEngland1871();
diff --git a/tests/app/Census/CensusOfEngland1881Test.php b/tests/app/Census/CensusOfEngland1881Test.php
index 5cf5aa821b..c3c8d8659d 100644
--- a/tests/app/Census/CensusOfEngland1881Test.php
+++ b/tests/app/Census/CensusOfEngland1881Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfEngland1881Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfEngland1881();
@@ -37,9 +34,6 @@ class CensusOfEngland1881Test extends TestCase
self::assertSame('03 APR 1881', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfEngland1881();
diff --git a/tests/app/Census/CensusOfEngland1891Test.php b/tests/app/Census/CensusOfEngland1891Test.php
index cdd1679a49..c4e71bf1f0 100644
--- a/tests/app/Census/CensusOfEngland1891Test.php
+++ b/tests/app/Census/CensusOfEngland1891Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfEngland1891Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfEngland1891();
@@ -37,9 +34,6 @@ class CensusOfEngland1891Test extends TestCase
self::assertSame('05 APR 1891', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfEngland1891();
diff --git a/tests/app/Census/CensusOfEngland1901Test.php b/tests/app/Census/CensusOfEngland1901Test.php
index ec7c8a362c..ba6cbd0875 100644
--- a/tests/app/Census/CensusOfEngland1901Test.php
+++ b/tests/app/Census/CensusOfEngland1901Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfEngland1901Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfEngland1901();
@@ -37,9 +34,6 @@ class CensusOfEngland1901Test extends TestCase
self::assertSame('31 MAR 1901', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfEngland1901();
diff --git a/tests/app/Census/CensusOfEngland1911Test.php b/tests/app/Census/CensusOfEngland1911Test.php
index 87123a0a6d..c11baca0da 100644
--- a/tests/app/Census/CensusOfEngland1911Test.php
+++ b/tests/app/Census/CensusOfEngland1911Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfEngland1911Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfEngland1911();
@@ -37,9 +34,6 @@ class CensusOfEngland1911Test extends TestCase
self::assertSame('02 APR 1911', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfEngland1911();
diff --git a/tests/app/Census/CensusOfEnglandTest.php b/tests/app/Census/CensusOfEnglandTest.php
index 6d06407076..5046f59e02 100644
--- a/tests/app/Census/CensusOfEnglandTest.php
+++ b/tests/app/Census/CensusOfEnglandTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CensusOfEngland::class)]
class CensusOfEnglandTest extends TestCase
{
- /**
- * Test the census place
- */
public function testPlace(): void
{
$census = new CensusOfEngland();
@@ -35,9 +32,6 @@ class CensusOfEnglandTest extends TestCase
self::assertSame('England', $census->censusPlace());
}
- /**
- * Test the census language
- */
public function testLanguage(): void
{
$census = new CensusOfEngland();
@@ -45,9 +39,6 @@ class CensusOfEnglandTest extends TestCase
self::assertSame('en-GB', $census->censusLanguage());
}
- /**
- * Test the census dates
- */
public function testAllDates(): void
{
$census = new CensusOfEngland();
diff --git a/tests/app/Census/CensusOfFrance1831Test.php b/tests/app/Census/CensusOfFrance1831Test.php
index 8937f9b043..0356a71af6 100644
--- a/tests/app/Census/CensusOfFrance1831Test.php
+++ b/tests/app/Census/CensusOfFrance1831Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1831Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1831();
@@ -37,9 +34,6 @@ class CensusOfFrance1831Test extends TestCase
self::assertSame('20 JAN 1831', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1831();
diff --git a/tests/app/Census/CensusOfFrance1836Test.php b/tests/app/Census/CensusOfFrance1836Test.php
index 3377959f95..cd484ab5a3 100644
--- a/tests/app/Census/CensusOfFrance1836Test.php
+++ b/tests/app/Census/CensusOfFrance1836Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1836Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1836();
@@ -37,9 +34,6 @@ class CensusOfFrance1836Test extends TestCase
self::assertSame('21 JAN 1836', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1836();
diff --git a/tests/app/Census/CensusOfFrance1841Test.php b/tests/app/Census/CensusOfFrance1841Test.php
index 5113271af7..f70bbbd357 100644
--- a/tests/app/Census/CensusOfFrance1841Test.php
+++ b/tests/app/Census/CensusOfFrance1841Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1841Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1841();
@@ -37,9 +34,6 @@ class CensusOfFrance1841Test extends TestCase
self::assertSame('21 JAN 1841', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1841();
diff --git a/tests/app/Census/CensusOfFrance1846Test.php b/tests/app/Census/CensusOfFrance1846Test.php
index 6ab4315c16..b46af3d993 100644
--- a/tests/app/Census/CensusOfFrance1846Test.php
+++ b/tests/app/Census/CensusOfFrance1846Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1846Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1846();
@@ -37,9 +34,6 @@ class CensusOfFrance1846Test extends TestCase
self::assertSame('15 JAN 1846', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1846();
diff --git a/tests/app/Census/CensusOfFrance1851Test.php b/tests/app/Census/CensusOfFrance1851Test.php
index 30acf1f034..9607cbcbf2 100644
--- a/tests/app/Census/CensusOfFrance1851Test.php
+++ b/tests/app/Census/CensusOfFrance1851Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1851Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1851();
@@ -37,9 +34,6 @@ class CensusOfFrance1851Test extends TestCase
self::assertSame('16 JAN 1851', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1851();
diff --git a/tests/app/Census/CensusOfFrance1856Test.php b/tests/app/Census/CensusOfFrance1856Test.php
index 1c99ccceed..df6a0e6576 100644
--- a/tests/app/Census/CensusOfFrance1856Test.php
+++ b/tests/app/Census/CensusOfFrance1856Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1856Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1856();
@@ -37,9 +34,6 @@ class CensusOfFrance1856Test extends TestCase
self::assertSame('17 JAN 1856', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1856();
diff --git a/tests/app/Census/CensusOfFrance1861Test.php b/tests/app/Census/CensusOfFrance1861Test.php
index 77037b1115..17db2ae962 100644
--- a/tests/app/Census/CensusOfFrance1861Test.php
+++ b/tests/app/Census/CensusOfFrance1861Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1861Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1861();
@@ -37,9 +34,6 @@ class CensusOfFrance1861Test extends TestCase
self::assertSame('17 JAN 1861', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1861();
diff --git a/tests/app/Census/CensusOfFrance1866Test.php b/tests/app/Census/CensusOfFrance1866Test.php
index 7e40e2973a..958cf13966 100644
--- a/tests/app/Census/CensusOfFrance1866Test.php
+++ b/tests/app/Census/CensusOfFrance1866Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1866Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1866();
@@ -37,9 +34,6 @@ class CensusOfFrance1866Test extends TestCase
self::assertSame('18 JAN 1866', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1866();
diff --git a/tests/app/Census/CensusOfFrance1872Test.php b/tests/app/Census/CensusOfFrance1872Test.php
index 7b33057042..469a3a4888 100644
--- a/tests/app/Census/CensusOfFrance1872Test.php
+++ b/tests/app/Census/CensusOfFrance1872Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1872Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1872();
@@ -37,9 +34,6 @@ class CensusOfFrance1872Test extends TestCase
self::assertSame('18 JAN 1872', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1872();
diff --git a/tests/app/Census/CensusOfFrance1876Test.php b/tests/app/Census/CensusOfFrance1876Test.php
index b3d4fe4e1d..97e467b0b3 100644
--- a/tests/app/Census/CensusOfFrance1876Test.php
+++ b/tests/app/Census/CensusOfFrance1876Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1876Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1876();
@@ -37,9 +34,6 @@ class CensusOfFrance1876Test extends TestCase
self::assertSame('20 JAN 1876', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1876();
diff --git a/tests/app/Census/CensusOfFrance1881Test.php b/tests/app/Census/CensusOfFrance1881Test.php
index 70dbc72248..2c975e161b 100644
--- a/tests/app/Census/CensusOfFrance1881Test.php
+++ b/tests/app/Census/CensusOfFrance1881Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1881Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1881();
@@ -37,9 +34,6 @@ class CensusOfFrance1881Test extends TestCase
self::assertSame('20 JAN 1881', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1881();
diff --git a/tests/app/Census/CensusOfFrance1886Test.php b/tests/app/Census/CensusOfFrance1886Test.php
index 945a2e15ff..5bebbd77ea 100644
--- a/tests/app/Census/CensusOfFrance1886Test.php
+++ b/tests/app/Census/CensusOfFrance1886Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1886Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1886();
@@ -37,9 +34,6 @@ class CensusOfFrance1886Test extends TestCase
self::assertSame('21 JAN 1886', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1886();
diff --git a/tests/app/Census/CensusOfFrance1891Test.php b/tests/app/Census/CensusOfFrance1891Test.php
index 76798049cc..837f05d3cd 100644
--- a/tests/app/Census/CensusOfFrance1891Test.php
+++ b/tests/app/Census/CensusOfFrance1891Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1891Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1891();
@@ -37,9 +34,6 @@ class CensusOfFrance1891Test extends TestCase
self::assertSame('15 JAN 1891', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1891();
diff --git a/tests/app/Census/CensusOfFrance1896Test.php b/tests/app/Census/CensusOfFrance1896Test.php
index b64aa85c78..0f12607bff 100644
--- a/tests/app/Census/CensusOfFrance1896Test.php
+++ b/tests/app/Census/CensusOfFrance1896Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1896Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1896();
@@ -37,9 +34,6 @@ class CensusOfFrance1896Test extends TestCase
self::assertSame('16 JAN 1896', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1896();
diff --git a/tests/app/Census/CensusOfFrance1901Test.php b/tests/app/Census/CensusOfFrance1901Test.php
index 4c293450da..f30abc2f66 100644
--- a/tests/app/Census/CensusOfFrance1901Test.php
+++ b/tests/app/Census/CensusOfFrance1901Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1901Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1901();
@@ -37,9 +34,6 @@ class CensusOfFrance1901Test extends TestCase
self::assertSame('17 JAN 1901', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1901();
diff --git a/tests/app/Census/CensusOfFrance1906Test.php b/tests/app/Census/CensusOfFrance1906Test.php
index ff53aeb4c5..f7aeb14a90 100644
--- a/tests/app/Census/CensusOfFrance1906Test.php
+++ b/tests/app/Census/CensusOfFrance1906Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1906Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1906();
@@ -37,9 +34,6 @@ class CensusOfFrance1906Test extends TestCase
self::assertSame('18 JAN 1906', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1906();
diff --git a/tests/app/Census/CensusOfFrance1911Test.php b/tests/app/Census/CensusOfFrance1911Test.php
index 4d1a79bea6..1a8fb2b4a4 100644
--- a/tests/app/Census/CensusOfFrance1911Test.php
+++ b/tests/app/Census/CensusOfFrance1911Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1911Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1911();
@@ -37,9 +34,6 @@ class CensusOfFrance1911Test extends TestCase
self::assertSame('19 JAN 1911', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1911();
diff --git a/tests/app/Census/CensusOfFrance1921Test.php b/tests/app/Census/CensusOfFrance1921Test.php
index 12a835ea2f..587d1b491b 100644
--- a/tests/app/Census/CensusOfFrance1921Test.php
+++ b/tests/app/Census/CensusOfFrance1921Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1921Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1921();
@@ -37,9 +34,6 @@ class CensusOfFrance1921Test extends TestCase
self::assertSame('20 JAN 1921', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1921();
diff --git a/tests/app/Census/CensusOfFrance1926Test.php b/tests/app/Census/CensusOfFrance1926Test.php
index ef98df1632..c34b9b8d09 100644
--- a/tests/app/Census/CensusOfFrance1926Test.php
+++ b/tests/app/Census/CensusOfFrance1926Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1926Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1926();
@@ -37,9 +34,6 @@ class CensusOfFrance1926Test extends TestCase
self::assertSame('21 JAN 1926', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1926();
diff --git a/tests/app/Census/CensusOfFrance1931Test.php b/tests/app/Census/CensusOfFrance1931Test.php
index c303b0c64c..36ce9e8018 100644
--- a/tests/app/Census/CensusOfFrance1931Test.php
+++ b/tests/app/Census/CensusOfFrance1931Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1931Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1931();
@@ -37,9 +34,6 @@ class CensusOfFrance1931Test extends TestCase
self::assertSame('15 JAN 1931', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1931();
diff --git a/tests/app/Census/CensusOfFrance1936Test.php b/tests/app/Census/CensusOfFrance1936Test.php
index 41d9f3a9c3..5fff26715c 100644
--- a/tests/app/Census/CensusOfFrance1936Test.php
+++ b/tests/app/Census/CensusOfFrance1936Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1936Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1936();
@@ -37,9 +34,6 @@ class CensusOfFrance1936Test extends TestCase
self::assertSame('16 JAN 1936', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1936();
diff --git a/tests/app/Census/CensusOfFrance1946Test.php b/tests/app/Census/CensusOfFrance1946Test.php
index 9948006ecb..6225ce1020 100644
--- a/tests/app/Census/CensusOfFrance1946Test.php
+++ b/tests/app/Census/CensusOfFrance1946Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfFrance1946Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfFrance1946();
@@ -37,9 +34,6 @@ class CensusOfFrance1946Test extends TestCase
self::assertSame('17 JAN 1946', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfFrance1946();
diff --git a/tests/app/Census/CensusOfFranceTest.php b/tests/app/Census/CensusOfFranceTest.php
index 113271bf3d..6f4e5aa6e7 100644
--- a/tests/app/Census/CensusOfFranceTest.php
+++ b/tests/app/Census/CensusOfFranceTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CensusOfFrance::class)]
class CensusOfFranceTest extends TestCase
{
- /**
- * Test the census place
- */
public function testPlace(): void
{
$census = new CensusOfFrance();
@@ -35,9 +32,6 @@ class CensusOfFranceTest extends TestCase
self::assertSame('France', $census->censusPlace());
}
- /**
- * Test the census language
- */
public function testLanguage(): void
{
$census = new CensusOfFrance();
@@ -45,9 +39,6 @@ class CensusOfFranceTest extends TestCase
self::assertSame('fr', $census->censusLanguage());
}
- /**
- * Test the census dates
- */
public function testAllDates(): void
{
$census = new CensusOfFrance();
diff --git a/tests/app/Census/CensusOfRhodeIsland1905Test.php b/tests/app/Census/CensusOfRhodeIsland1905Test.php
index fce97bd496..e92ed793fb 100644
--- a/tests/app/Census/CensusOfRhodeIsland1905Test.php
+++ b/tests/app/Census/CensusOfRhodeIsland1905Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfRhodeIsland1905Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfRhodeIsland1905();
@@ -37,9 +34,6 @@ class CensusOfRhodeIsland1905Test extends TestCase
self::assertSame('JUN 1905', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfRhodeIsland1905();
diff --git a/tests/app/Census/CensusOfRhodeIsland1915Test.php b/tests/app/Census/CensusOfRhodeIsland1915Test.php
index a50cc02212..5bd0a8b193 100644
--- a/tests/app/Census/CensusOfRhodeIsland1915Test.php
+++ b/tests/app/Census/CensusOfRhodeIsland1915Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfRhodeIsland1915Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfRhodeIsland1915();
@@ -37,9 +34,6 @@ class CensusOfRhodeIsland1915Test extends TestCase
self::assertSame('APR 1915', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfRhodeIsland1915();
diff --git a/tests/app/Census/CensusOfRhodeIsland1925Test.php b/tests/app/Census/CensusOfRhodeIsland1925Test.php
index 17da59b4bf..afe11a9585 100644
--- a/tests/app/Census/CensusOfRhodeIsland1925Test.php
+++ b/tests/app/Census/CensusOfRhodeIsland1925Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfRhodeIsland1925Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfRhodeIsland1925();
@@ -37,9 +34,6 @@ class CensusOfRhodeIsland1925Test extends TestCase
self::assertSame('APR 1925', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfRhodeIsland1925();
diff --git a/tests/app/Census/CensusOfRhodeIslandTest.php b/tests/app/Census/CensusOfRhodeIslandTest.php
index 009edbbabd..35287508d8 100644
--- a/tests/app/Census/CensusOfRhodeIslandTest.php
+++ b/tests/app/Census/CensusOfRhodeIslandTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CensusOfRhodeIsland::class)]
class CensusOfRhodeIslandTest extends TestCase
{
- /**
- * Test the census place
- */
public function testPlace(): void
{
$census = new CensusOfRhodeIsland();
@@ -35,9 +32,6 @@ class CensusOfRhodeIslandTest extends TestCase
self::assertSame('Rhode Island, United States', $census->censusPlace());
}
- /**
- * Test the census language
- */
public function testLanguage(): void
{
$census = new CensusOfRhodeIsland();
@@ -45,9 +39,6 @@ class CensusOfRhodeIslandTest extends TestCase
self::assertSame('en-US', $census->censusLanguage());
}
- /**
- * Test the census dates
- */
public function testAllDates(): void
{
$census = new CensusOfRhodeIsland();
diff --git a/tests/app/Census/CensusOfScotland1841Test.php b/tests/app/Census/CensusOfScotland1841Test.php
index a86a185711..c5659ad8b1 100644
--- a/tests/app/Census/CensusOfScotland1841Test.php
+++ b/tests/app/Census/CensusOfScotland1841Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfScotland1841Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfScotland1841();
@@ -37,9 +34,6 @@ class CensusOfScotland1841Test extends TestCase
self::assertSame('06 JUN 1841', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfScotland1841();
diff --git a/tests/app/Census/CensusOfScotland1851Test.php b/tests/app/Census/CensusOfScotland1851Test.php
index 6cb55f4263..9ff4549272 100644
--- a/tests/app/Census/CensusOfScotland1851Test.php
+++ b/tests/app/Census/CensusOfScotland1851Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfScotland1851Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfScotland1851();
@@ -37,9 +34,6 @@ class CensusOfScotland1851Test extends TestCase
self::assertSame('30 MAR 1851', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfScotland1851();
diff --git a/tests/app/Census/CensusOfScotland1861Test.php b/tests/app/Census/CensusOfScotland1861Test.php
index 91aad15382..cc2a320959 100644
--- a/tests/app/Census/CensusOfScotland1861Test.php
+++ b/tests/app/Census/CensusOfScotland1861Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfScotland1861Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfScotland1861();
@@ -37,9 +34,6 @@ class CensusOfScotland1861Test extends TestCase
self::assertSame('07 APR 1861', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfScotland1861();
diff --git a/tests/app/Census/CensusOfScotland1871Test.php b/tests/app/Census/CensusOfScotland1871Test.php
index 76d14ae268..9bc3526d73 100644
--- a/tests/app/Census/CensusOfScotland1871Test.php
+++ b/tests/app/Census/CensusOfScotland1871Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfScotland1871Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfScotland1871();
@@ -37,9 +34,6 @@ class CensusOfScotland1871Test extends TestCase
self::assertSame('02 APR 1871', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfScotland1871();
diff --git a/tests/app/Census/CensusOfScotland1881Test.php b/tests/app/Census/CensusOfScotland1881Test.php
index c598a56aae..2010c57c85 100644
--- a/tests/app/Census/CensusOfScotland1881Test.php
+++ b/tests/app/Census/CensusOfScotland1881Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfScotland1881Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfScotland1881();
@@ -37,9 +34,6 @@ class CensusOfScotland1881Test extends TestCase
self::assertSame('03 APR 1881', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfScotland1881();
diff --git a/tests/app/Census/CensusOfScotland1891Test.php b/tests/app/Census/CensusOfScotland1891Test.php
index caaa09a7b2..443cba2ce3 100644
--- a/tests/app/Census/CensusOfScotland1891Test.php
+++ b/tests/app/Census/CensusOfScotland1891Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfScotland1891Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfScotland1891();
@@ -37,9 +34,6 @@ class CensusOfScotland1891Test extends TestCase
self::assertSame('05 APR 1891', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfScotland1891();
diff --git a/tests/app/Census/CensusOfScotland1901Test.php b/tests/app/Census/CensusOfScotland1901Test.php
index d1bba77cdc..2a847bc21d 100644
--- a/tests/app/Census/CensusOfScotland1901Test.php
+++ b/tests/app/Census/CensusOfScotland1901Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfScotland1901Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfScotland1901();
@@ -37,9 +34,6 @@ class CensusOfScotland1901Test extends TestCase
self::assertSame('31 MAR 1901', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfScotland1901();
diff --git a/tests/app/Census/CensusOfScotland1911Test.php b/tests/app/Census/CensusOfScotland1911Test.php
index 8c666f3184..462cef823a 100644
--- a/tests/app/Census/CensusOfScotland1911Test.php
+++ b/tests/app/Census/CensusOfScotland1911Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfScotland1911Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfScotland1911();
@@ -37,9 +34,6 @@ class CensusOfScotland1911Test extends TestCase
self::assertSame('02 APR 1911', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfScotland1911();
diff --git a/tests/app/Census/CensusOfScotlandTest.php b/tests/app/Census/CensusOfScotlandTest.php
index 333deb0d76..1194800127 100644
--- a/tests/app/Census/CensusOfScotlandTest.php
+++ b/tests/app/Census/CensusOfScotlandTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CensusOfScotland::class)]
class CensusOfScotlandTest extends TestCase
{
- /**
- * Test the census place
- */
public function testPlace(): void
{
$census = new CensusOfScotland();
@@ -35,9 +32,6 @@ class CensusOfScotlandTest extends TestCase
self::assertSame('Scotland', $census->censusPlace());
}
- /**
- * Test the census language
- */
public function testLanguage(): void
{
$census = new CensusOfScotland();
@@ -45,9 +39,6 @@ class CensusOfScotlandTest extends TestCase
self::assertSame('en-GB', $census->censusLanguage());
}
- /**
- * Test the census dates
- */
public function testAllDates(): void
{
$census = new CensusOfScotland();
diff --git a/tests/app/Census/CensusOfSlovakia1869Test.php b/tests/app/Census/CensusOfSlovakia1869Test.php
index 8de82d76a7..893b64d99e 100644
--- a/tests/app/Census/CensusOfSlovakia1869Test.php
+++ b/tests/app/Census/CensusOfSlovakia1869Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfSlovakia1869Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfSlovakia1869();
@@ -37,9 +34,6 @@ class CensusOfSlovakia1869Test extends TestCase
self::assertSame('31 DEC 1869', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfSlovakia1869();
diff --git a/tests/app/Census/CensusOfSlovakia1930Test.php b/tests/app/Census/CensusOfSlovakia1930Test.php
index f0c158b530..d1024c1b87 100644
--- a/tests/app/Census/CensusOfSlovakia1930Test.php
+++ b/tests/app/Census/CensusOfSlovakia1930Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfSlovakia1930Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfSlovakia1930();
@@ -37,9 +34,6 @@ class CensusOfSlovakia1930Test extends TestCase
self::assertSame('01 DEC 1930', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfSlovakia1930();
diff --git a/tests/app/Census/CensusOfSlovakia1940Test.php b/tests/app/Census/CensusOfSlovakia1940Test.php
index 5bf24a0c2f..d278396ede 100644
--- a/tests/app/Census/CensusOfSlovakia1940Test.php
+++ b/tests/app/Census/CensusOfSlovakia1940Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfSlovakia1940Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfSlovakia1940();
@@ -37,9 +34,6 @@ class CensusOfSlovakia1940Test extends TestCase
self::assertSame('14 DEC 1940', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfSlovakia1940();
diff --git a/tests/app/Census/CensusOfSlovakiaTest.php b/tests/app/Census/CensusOfSlovakiaTest.php
index 4336aaddc2..41584c963a 100644
--- a/tests/app/Census/CensusOfSlovakiaTest.php
+++ b/tests/app/Census/CensusOfSlovakiaTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CensusOfSlovakia::class)]
class CensusOfSlovakiaTest extends TestCase
{
- /**
- * Test the census place
- */
public function testPlace(): void
{
$census = new CensusOfSlovakia();
@@ -35,9 +32,6 @@ class CensusOfSlovakiaTest extends TestCase
self::assertSame('Slovensko', $census->censusPlace());
}
- /**
- * Test the census language
- */
public function testLanguage(): void
{
$census = new CensusOfSlovakia();
@@ -45,9 +39,6 @@ class CensusOfSlovakiaTest extends TestCase
self::assertSame('sk', $census->censusLanguage());
}
- /**
- * Test the census dates
- */
public function testAllDates(): void
{
$census = new CensusOfSlovakia();
diff --git a/tests/app/Census/CensusOfUnitedStates1790Test.php b/tests/app/Census/CensusOfUnitedStates1790Test.php
index 4cb9962171..f1a0e05bf0 100644
--- a/tests/app/Census/CensusOfUnitedStates1790Test.php
+++ b/tests/app/Census/CensusOfUnitedStates1790Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfUnitedStates1790Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfUnitedStates1790();
@@ -37,9 +34,6 @@ class CensusOfUnitedStates1790Test extends TestCase
self::assertSame('02 AUG 1790', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfUnitedStates1790();
diff --git a/tests/app/Census/CensusOfUnitedStates1800Test.php b/tests/app/Census/CensusOfUnitedStates1800Test.php
index ae01efd064..d72faceba3 100644
--- a/tests/app/Census/CensusOfUnitedStates1800Test.php
+++ b/tests/app/Census/CensusOfUnitedStates1800Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfUnitedStates1800Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfUnitedStates1800();
@@ -37,9 +34,6 @@ class CensusOfUnitedStates1800Test extends TestCase
self::assertSame('04 AUG 1800', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfUnitedStates1800();
diff --git a/tests/app/Census/CensusOfUnitedStates1810Test.php b/tests/app/Census/CensusOfUnitedStates1810Test.php
index 817e7fe5d4..3f822bf844 100644
--- a/tests/app/Census/CensusOfUnitedStates1810Test.php
+++ b/tests/app/Census/CensusOfUnitedStates1810Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfUnitedStates1810Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfUnitedStates1810();
@@ -37,9 +34,6 @@ class CensusOfUnitedStates1810Test extends TestCase
self::assertSame('06 AUG 1810', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfUnitedStates1810();
diff --git a/tests/app/Census/CensusOfUnitedStates1820Test.php b/tests/app/Census/CensusOfUnitedStates1820Test.php
index 342fb574c8..15e5bab8e9 100644
--- a/tests/app/Census/CensusOfUnitedStates1820Test.php
+++ b/tests/app/Census/CensusOfUnitedStates1820Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfUnitedStates1820Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfUnitedStates1820();
@@ -37,9 +34,6 @@ class CensusOfUnitedStates1820Test extends TestCase
self::assertSame('07 AUG 1820', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfUnitedStates1820();
diff --git a/tests/app/Census/CensusOfUnitedStates1830Test.php b/tests/app/Census/CensusOfUnitedStates1830Test.php
index c37b23179e..59e85b0b41 100644
--- a/tests/app/Census/CensusOfUnitedStates1830Test.php
+++ b/tests/app/Census/CensusOfUnitedStates1830Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfUnitedStates1830Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfUnitedStates1830();
@@ -37,9 +34,6 @@ class CensusOfUnitedStates1830Test extends TestCase
self::assertSame('01 JUN 1830', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfUnitedStates1830();
diff --git a/tests/app/Census/CensusOfUnitedStates1840Test.php b/tests/app/Census/CensusOfUnitedStates1840Test.php
index 909f1771b3..b27831a22f 100644
--- a/tests/app/Census/CensusOfUnitedStates1840Test.php
+++ b/tests/app/Census/CensusOfUnitedStates1840Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfUnitedStates1840Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfUnitedStates1840();
@@ -37,9 +34,6 @@ class CensusOfUnitedStates1840Test extends TestCase
self::assertSame('01 JUN 1840', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfUnitedStates1840();
diff --git a/tests/app/Census/CensusOfUnitedStates1850Test.php b/tests/app/Census/CensusOfUnitedStates1850Test.php
index b27a12e99b..a31686ca3e 100644
--- a/tests/app/Census/CensusOfUnitedStates1850Test.php
+++ b/tests/app/Census/CensusOfUnitedStates1850Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfUnitedStates1850Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfUnitedStates1850();
@@ -37,9 +34,6 @@ class CensusOfUnitedStates1850Test extends TestCase
self::assertSame('01 JUN 1850', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfUnitedStates1850();
diff --git a/tests/app/Census/CensusOfUnitedStates1860Test.php b/tests/app/Census/CensusOfUnitedStates1860Test.php
index 13bf776a52..ab268231d6 100644
--- a/tests/app/Census/CensusOfUnitedStates1860Test.php
+++ b/tests/app/Census/CensusOfUnitedStates1860Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfUnitedStates1860Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfUnitedStates1860();
@@ -37,9 +34,6 @@ class CensusOfUnitedStates1860Test extends TestCase
self::assertSame('BET JUN 1860 AND OCT 1860', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfUnitedStates1860();
diff --git a/tests/app/Census/CensusOfUnitedStates1870Test.php b/tests/app/Census/CensusOfUnitedStates1870Test.php
index fb437d3437..8a6be93e3c 100644
--- a/tests/app/Census/CensusOfUnitedStates1870Test.php
+++ b/tests/app/Census/CensusOfUnitedStates1870Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfUnitedStates1870Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfUnitedStates1870();
@@ -37,9 +34,6 @@ class CensusOfUnitedStates1870Test extends TestCase
self::assertSame('JUN 1870', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfUnitedStates1870();
diff --git a/tests/app/Census/CensusOfUnitedStates1880Test.php b/tests/app/Census/CensusOfUnitedStates1880Test.php
index 92d854d346..fc254bf53c 100644
--- a/tests/app/Census/CensusOfUnitedStates1880Test.php
+++ b/tests/app/Census/CensusOfUnitedStates1880Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfUnitedStates1880Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfUnitedStates1880();
@@ -37,9 +34,6 @@ class CensusOfUnitedStates1880Test extends TestCase
self::assertSame('JUN 1880', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfUnitedStates1880();
diff --git a/tests/app/Census/CensusOfUnitedStates1890Test.php b/tests/app/Census/CensusOfUnitedStates1890Test.php
index f43fbf7358..6bfb9fcb5a 100644
--- a/tests/app/Census/CensusOfUnitedStates1890Test.php
+++ b/tests/app/Census/CensusOfUnitedStates1890Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfUnitedStates1890Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfUnitedStates1890();
@@ -37,9 +34,6 @@ class CensusOfUnitedStates1890Test extends TestCase
self::assertSame('02 JUN 1890', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfUnitedStates1890();
diff --git a/tests/app/Census/CensusOfUnitedStates1900Test.php b/tests/app/Census/CensusOfUnitedStates1900Test.php
index bd127786b2..8d181d740a 100644
--- a/tests/app/Census/CensusOfUnitedStates1900Test.php
+++ b/tests/app/Census/CensusOfUnitedStates1900Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfUnitedStates1900Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfUnitedStates1900();
@@ -37,9 +34,6 @@ class CensusOfUnitedStates1900Test extends TestCase
self::assertSame('01 JUN 1900', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfUnitedStates1900();
diff --git a/tests/app/Census/CensusOfUnitedStates1910Test.php b/tests/app/Census/CensusOfUnitedStates1910Test.php
index 00dbc808ea..06cc1b2f3c 100644
--- a/tests/app/Census/CensusOfUnitedStates1910Test.php
+++ b/tests/app/Census/CensusOfUnitedStates1910Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfUnitedStates1910Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfUnitedStates1910();
@@ -37,9 +34,6 @@ class CensusOfUnitedStates1910Test extends TestCase
self::assertSame('15 APR 1910', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfUnitedStates1910();
diff --git a/tests/app/Census/CensusOfUnitedStates1920Test.php b/tests/app/Census/CensusOfUnitedStates1920Test.php
index d0cbdb561c..952d89cf87 100644
--- a/tests/app/Census/CensusOfUnitedStates1920Test.php
+++ b/tests/app/Census/CensusOfUnitedStates1920Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfUnitedStates1920Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfUnitedStates1920();
@@ -37,9 +34,6 @@ class CensusOfUnitedStates1920Test extends TestCase
self::assertSame('JAN 1920', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfUnitedStates1920();
diff --git a/tests/app/Census/CensusOfUnitedStates1930Test.php b/tests/app/Census/CensusOfUnitedStates1930Test.php
index 2e20101d92..460128d232 100644
--- a/tests/app/Census/CensusOfUnitedStates1930Test.php
+++ b/tests/app/Census/CensusOfUnitedStates1930Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfUnitedStates1930Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfUnitedStates1930();
@@ -37,9 +34,6 @@ class CensusOfUnitedStates1930Test extends TestCase
self::assertSame('APR 1930', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfUnitedStates1930();
diff --git a/tests/app/Census/CensusOfUnitedStates1940Test.php b/tests/app/Census/CensusOfUnitedStates1940Test.php
index 912ec8b86a..62964e860d 100644
--- a/tests/app/Census/CensusOfUnitedStates1940Test.php
+++ b/tests/app/Census/CensusOfUnitedStates1940Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfUnitedStates1940Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfUnitedStates1940();
@@ -37,9 +34,6 @@ class CensusOfUnitedStates1940Test extends TestCase
self::assertSame('APR 1940', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfUnitedStates1940();
diff --git a/tests/app/Census/CensusOfUnitedStates1950Test.php b/tests/app/Census/CensusOfUnitedStates1950Test.php
index d3831b0861..afc1f80c36 100644
--- a/tests/app/Census/CensusOfUnitedStates1950Test.php
+++ b/tests/app/Census/CensusOfUnitedStates1950Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfUnitedStates1950Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfUnitedStates1950();
@@ -37,9 +34,6 @@ class CensusOfUnitedStates1950Test extends TestCase
self::assertSame('APR 1950', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfUnitedStates1950();
diff --git a/tests/app/Census/CensusOfUnitedStatesTest.php b/tests/app/Census/CensusOfUnitedStatesTest.php
index 55061ee5e7..cde67dd625 100644
--- a/tests/app/Census/CensusOfUnitedStatesTest.php
+++ b/tests/app/Census/CensusOfUnitedStatesTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CensusOfUnitedStates::class)]
class CensusOfUnitedStatesTest extends TestCase
{
- /**
- * Test the census place
- */
public function testPlace(): void
{
$census = new CensusOfUnitedStates();
@@ -35,9 +32,6 @@ class CensusOfUnitedStatesTest extends TestCase
self::assertSame('United States', $census->censusPlace());
}
- /**
- * Test the census language
- */
public function testLanguage(): void
{
$census = new CensusOfUnitedStates();
@@ -45,9 +39,6 @@ class CensusOfUnitedStatesTest extends TestCase
self::assertSame('en-US', $census->censusLanguage());
}
- /**
- * Test the census dates
- */
public function testAllDates(): void
{
$census = new CensusOfUnitedStates();
diff --git a/tests/app/Census/CensusOfWales1841Test.php b/tests/app/Census/CensusOfWales1841Test.php
index 14eb47ed1a..c2cd83bb1f 100644
--- a/tests/app/Census/CensusOfWales1841Test.php
+++ b/tests/app/Census/CensusOfWales1841Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfWales1841Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfWales1841();
@@ -37,9 +34,6 @@ class CensusOfWales1841Test extends TestCase
self::assertSame('06 JUN 1841', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfWales1841();
diff --git a/tests/app/Census/CensusOfWales1851Test.php b/tests/app/Census/CensusOfWales1851Test.php
index 5b5ee547c1..003d0b84d7 100644
--- a/tests/app/Census/CensusOfWales1851Test.php
+++ b/tests/app/Census/CensusOfWales1851Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfWales1851Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfWales1851();
@@ -37,9 +34,6 @@ class CensusOfWales1851Test extends TestCase
self::assertSame('30 MAR 1851', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfWales1851();
diff --git a/tests/app/Census/CensusOfWales1861Test.php b/tests/app/Census/CensusOfWales1861Test.php
index 663765f806..6be1a50e5b 100644
--- a/tests/app/Census/CensusOfWales1861Test.php
+++ b/tests/app/Census/CensusOfWales1861Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfWales1861Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfWales1861();
@@ -37,9 +34,6 @@ class CensusOfWales1861Test extends TestCase
self::assertSame('07 APR 1861', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfWales1861();
diff --git a/tests/app/Census/CensusOfWales1871Test.php b/tests/app/Census/CensusOfWales1871Test.php
index b3a688cece..2d7fc380c7 100644
--- a/tests/app/Census/CensusOfWales1871Test.php
+++ b/tests/app/Census/CensusOfWales1871Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfWales1871Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfWales1871();
@@ -37,9 +34,6 @@ class CensusOfWales1871Test extends TestCase
self::assertSame('02 APR 1871', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfWales1871();
diff --git a/tests/app/Census/CensusOfWales1881Test.php b/tests/app/Census/CensusOfWales1881Test.php
index 6c016e0846..b6f561b45f 100644
--- a/tests/app/Census/CensusOfWales1881Test.php
+++ b/tests/app/Census/CensusOfWales1881Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfWales1881Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfWales1881();
@@ -37,9 +34,6 @@ class CensusOfWales1881Test extends TestCase
self::assertSame('03 APR 1881', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfWales1881();
diff --git a/tests/app/Census/CensusOfWales1891Test.php b/tests/app/Census/CensusOfWales1891Test.php
index 21dadffe18..f49cfb22bd 100644
--- a/tests/app/Census/CensusOfWales1891Test.php
+++ b/tests/app/Census/CensusOfWales1891Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfWales1891Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfWales1891();
@@ -37,9 +34,6 @@ class CensusOfWales1891Test extends TestCase
self::assertSame('05 APR 1891', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfWales1891();
diff --git a/tests/app/Census/CensusOfWales1901Test.php b/tests/app/Census/CensusOfWales1901Test.php
index 23c6a214af..7ed628d438 100644
--- a/tests/app/Census/CensusOfWales1901Test.php
+++ b/tests/app/Census/CensusOfWales1901Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfWales1901Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfWales1901();
@@ -37,9 +34,6 @@ class CensusOfWales1901Test extends TestCase
self::assertSame('31 MAR 1901', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfWales1901();
diff --git a/tests/app/Census/CensusOfWales1911Test.php b/tests/app/Census/CensusOfWales1911Test.php
index f7f748491b..7466ed9cc3 100644
--- a/tests/app/Census/CensusOfWales1911Test.php
+++ b/tests/app/Census/CensusOfWales1911Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class CensusOfWales1911Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new CensusOfWales1911();
@@ -37,9 +34,6 @@ class CensusOfWales1911Test extends TestCase
self::assertSame('02 APR 1911', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new CensusOfWales1911();
diff --git a/tests/app/Census/CensusOfWalesTest.php b/tests/app/Census/CensusOfWalesTest.php
index 6e4508e3f9..bf0cde6cb9 100644
--- a/tests/app/Census/CensusOfWalesTest.php
+++ b/tests/app/Census/CensusOfWalesTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CensusOfWales::class)]
class CensusOfWalesTest extends TestCase
{
- /**
- * Test the census place
- */
public function testPlace(): void
{
$census = new CensusOfWales();
@@ -35,9 +32,6 @@ class CensusOfWalesTest extends TestCase
self::assertSame('Wales', $census->censusPlace());
}
- /**
- * Test the census language
- */
public function testLanguage(): void
{
$census = new CensusOfWales();
@@ -45,9 +39,6 @@ class CensusOfWalesTest extends TestCase
self::assertSame('en-GB', $census->censusLanguage());
}
- /**
- * Test the census dates
- */
public function testAllDates(): void
{
$census = new CensusOfWales();
diff --git a/tests/app/Census/RegisterOfEngland1939Test.php b/tests/app/Census/RegisterOfEngland1939Test.php
index 1c51f87cf7..5c620612af 100644
--- a/tests/app/Census/RegisterOfEngland1939Test.php
+++ b/tests/app/Census/RegisterOfEngland1939Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class RegisterOfEngland1939Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new RegisterOfEngland1939();
@@ -37,9 +34,6 @@ class RegisterOfEngland1939Test extends TestCase
self::assertSame('29 SEP 1939', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new RegisterOfEngland1939();
diff --git a/tests/app/Census/RegisterOfScotland1939Test.php b/tests/app/Census/RegisterOfScotland1939Test.php
index ad1e5e71a3..7c948f3267 100644
--- a/tests/app/Census/RegisterOfScotland1939Test.php
+++ b/tests/app/Census/RegisterOfScotland1939Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class RegisterOfScotland1939Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new RegisterOfScotland1939();
@@ -37,9 +34,6 @@ class RegisterOfScotland1939Test extends TestCase
self::assertSame('29 SEP 1939', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new RegisterOfScotland1939();
diff --git a/tests/app/Census/RegisterOfWales1939Test.php b/tests/app/Census/RegisterOfWales1939Test.php
index 8f3fbae036..e381c08810 100644
--- a/tests/app/Census/RegisterOfWales1939Test.php
+++ b/tests/app/Census/RegisterOfWales1939Test.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractCensusColumn::class)]
class RegisterOfWales1939Test extends TestCase
{
- /**
- * Test the census place and date
- */
public function testPlaceAndDate(): void
{
$census = new RegisterOfWales1939();
@@ -37,9 +34,6 @@ class RegisterOfWales1939Test extends TestCase
self::assertSame('29 SEP 1939', $census->censusDate());
}
- /**
- * Test the census columns
- */
public function testColumns(): void
{
$census = new RegisterOfWales1939();
diff --git a/tests/app/Date/FrenchDateTest.php b/tests/app/Date/FrenchDateTest.php
index 4ba4466c7d..ce946538f2 100644
--- a/tests/app/Date/FrenchDateTest.php
+++ b/tests/app/Date/FrenchDateTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FrenchDate::class)]
class FrenchDateTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(FrenchDate::class));
diff --git a/tests/app/Date/GregorianDateTest.php b/tests/app/Date/GregorianDateTest.php
index 90745309b8..5cc87ca7e1 100644
--- a/tests/app/Date/GregorianDateTest.php
+++ b/tests/app/Date/GregorianDateTest.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(GregorianDate::class)]
class GregorianDateTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(GregorianDate::class));
diff --git a/tests/app/Date/HijriDateTest.php b/tests/app/Date/HijriDateTest.php
index bafd0ca8c6..c81dc82bf0 100644
--- a/tests/app/Date/HijriDateTest.php
+++ b/tests/app/Date/HijriDateTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(HijriDate::class)]
class HijriDateTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(HijriDate::class));
diff --git a/tests/app/Date/JalaliDateTest.php b/tests/app/Date/JalaliDateTest.php
index 53e19930f1..a157a2035a 100644
--- a/tests/app/Date/JalaliDateTest.php
+++ b/tests/app/Date/JalaliDateTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(JalaliDate::class)]
class JalaliDateTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(JalaliDate::class));
diff --git a/tests/app/Date/JewishDateTest.php b/tests/app/Date/JewishDateTest.php
index e93354d5ab..d8060ea215 100644
--- a/tests/app/Date/JewishDateTest.php
+++ b/tests/app/Date/JewishDateTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(JewishDate::class)]
class JewishDateTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(JewishDate::class));
diff --git a/tests/app/Date/JulianDateTest.php b/tests/app/Date/JulianDateTest.php
index 5f8d7015fc..18a25160df 100644
--- a/tests/app/Date/JulianDateTest.php
+++ b/tests/app/Date/JulianDateTest.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(JulianDate::class)]
class JulianDateTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(JulianDate::class));
diff --git a/tests/app/Date/RomanDateTest.php b/tests/app/Date/RomanDateTest.php
index 0fd301a906..f2c37f8a1f 100644
--- a/tests/app/Date/RomanDateTest.php
+++ b/tests/app/Date/RomanDateTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(RomanDate::class)]
class RomanDateTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(RomanDate::class));
diff --git a/tests/app/DateTest.php b/tests/app/DateTest.php
index 6c78e680a3..95cf4b8a48 100644
--- a/tests/app/DateTest.php
+++ b/tests/app/DateTest.php
@@ -24,9 +24,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Date::class)]
class DateTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(Date::class));
diff --git a/tests/app/DefaultUserTest.php b/tests/app/DefaultUserTest.php
index d12844e9fe..a318ba5301 100644
--- a/tests/app/DefaultUserTest.php
+++ b/tests/app/DefaultUserTest.php
@@ -29,9 +29,6 @@ class DefaultUserTest extends TestCase
{
protected static bool $uses_database = true;
- /**
- * Things to run before every test.
- */
protected function setUp(): void
{
parent::setUp();
diff --git a/tests/app/Elements/AbstractEventElementTestCase.php b/tests/app/Elements/AbstractEventElementTestCase.php
index 06c6564b1d..e021bd10b8 100644
--- a/tests/app/Elements/AbstractEventElementTestCase.php
+++ b/tests/app/Elements/AbstractEventElementTestCase.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractEventElement::class)]
class AbstractEventElementTestCase extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AbstractXrefElementTestCase.php b/tests/app/Elements/AbstractXrefElementTestCase.php
index 429274f91f..6f9e299eed 100644
--- a/tests/app/Elements/AbstractXrefElementTestCase.php
+++ b/tests/app/Elements/AbstractXrefElementTestCase.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AbstractXrefElement::class)]
class AbstractXrefElementTestCase extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AddressCityTest.php b/tests/app/Elements/AddressCityTest.php
index 2dcc0bdd8f..a59fdc6748 100644
--- a/tests/app/Elements/AddressCityTest.php
+++ b/tests/app/Elements/AddressCityTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressCity::class)]
class AddressCityTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AddressCountryTest.php b/tests/app/Elements/AddressCountryTest.php
index 515b00a592..0dd36c5756 100644
--- a/tests/app/Elements/AddressCountryTest.php
+++ b/tests/app/Elements/AddressCountryTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressCountry::class)]
class AddressCountryTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AddressEmailTest.php b/tests/app/Elements/AddressEmailTest.php
index fe1e65dc6d..88e6192062 100644
--- a/tests/app/Elements/AddressEmailTest.php
+++ b/tests/app/Elements/AddressEmailTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressEmail::class)]
class AddressEmailTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AddressFaxTest.php b/tests/app/Elements/AddressFaxTest.php
index 1b4c677c63..2ba5eaf6e7 100644
--- a/tests/app/Elements/AddressFaxTest.php
+++ b/tests/app/Elements/AddressFaxTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressFax::class)]
class AddressFaxTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AddressLine1Test.php b/tests/app/Elements/AddressLine1Test.php
index 2d021823a8..314b80fb52 100644
--- a/tests/app/Elements/AddressLine1Test.php
+++ b/tests/app/Elements/AddressLine1Test.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressLine1::class)]
class AddressLine1Test extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AddressLine2Test.php b/tests/app/Elements/AddressLine2Test.php
index 7d9ffd713e..b63547edcb 100644
--- a/tests/app/Elements/AddressLine2Test.php
+++ b/tests/app/Elements/AddressLine2Test.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressLine2::class)]
class AddressLine2Test extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AddressLine3Test.php b/tests/app/Elements/AddressLine3Test.php
index ebca7f6051..0677333454 100644
--- a/tests/app/Elements/AddressLine3Test.php
+++ b/tests/app/Elements/AddressLine3Test.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressLine3::class)]
class AddressLine3Test extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AddressLineTest.php b/tests/app/Elements/AddressLineTest.php
index 77deaaea2b..cf864f5252 100644
--- a/tests/app/Elements/AddressLineTest.php
+++ b/tests/app/Elements/AddressLineTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressLine::class)]
class AddressLineTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AddressPostalCodeTest.php b/tests/app/Elements/AddressPostalCodeTest.php
index 12cda0a14e..b11021486d 100644
--- a/tests/app/Elements/AddressPostalCodeTest.php
+++ b/tests/app/Elements/AddressPostalCodeTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressPostalCode::class)]
class AddressPostalCodeTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AddressStateTest.php b/tests/app/Elements/AddressStateTest.php
index e0948bd8e7..9184d2209a 100644
--- a/tests/app/Elements/AddressStateTest.php
+++ b/tests/app/Elements/AddressStateTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressState::class)]
class AddressStateTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AddressWebPageTest.php b/tests/app/Elements/AddressWebPageTest.php
index aae859aad2..3688276dce 100644
--- a/tests/app/Elements/AddressWebPageTest.php
+++ b/tests/app/Elements/AddressWebPageTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressWebPage::class)]
class AddressWebPageTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AdoptedByWhichParentTest.php b/tests/app/Elements/AdoptedByWhichParentTest.php
index 09baf82f47..5766be2e4e 100644
--- a/tests/app/Elements/AdoptedByWhichParentTest.php
+++ b/tests/app/Elements/AdoptedByWhichParentTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AdoptedByWhichParent::class)]
class AdoptedByWhichParentTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AdoptionTest.php b/tests/app/Elements/AdoptionTest.php
index 7f04da4fce..370324e059 100644
--- a/tests/app/Elements/AdoptionTest.php
+++ b/tests/app/Elements/AdoptionTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Adoption::class)]
class AdoptionTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AdultChristeningTest.php b/tests/app/Elements/AdultChristeningTest.php
index 571c7baf5c..92962d22b6 100644
--- a/tests/app/Elements/AdultChristeningTest.php
+++ b/tests/app/Elements/AdultChristeningTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AdultChristening::class)]
class AdultChristeningTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AgeAtEventTest.php b/tests/app/Elements/AgeAtEventTest.php
index b76f9000e2..df9eb80e58 100644
--- a/tests/app/Elements/AgeAtEventTest.php
+++ b/tests/app/Elements/AgeAtEventTest.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AgeAtEvent::class)]
class AgeAtEventTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AncestralFileNumberTest.php b/tests/app/Elements/AncestralFileNumberTest.php
index c2a1ab150a..ce5b9cdcb5 100644
--- a/tests/app/Elements/AncestralFileNumberTest.php
+++ b/tests/app/Elements/AncestralFileNumberTest.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AncestralFileNumber::class)]
class AncestralFileNumberTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AnnulmentTest.php b/tests/app/Elements/AnnulmentTest.php
index 22f6b93a64..d2f95d858c 100644
--- a/tests/app/Elements/AnnulmentTest.php
+++ b/tests/app/Elements/AnnulmentTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Annulment::class)]
class AnnulmentTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/ApprovedSystemIdTest.php b/tests/app/Elements/ApprovedSystemIdTest.php
index 23605d2ccb..b1db53d5ef 100644
--- a/tests/app/Elements/ApprovedSystemIdTest.php
+++ b/tests/app/Elements/ApprovedSystemIdTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ApprovedSystemId::class)]
class ApprovedSystemIdTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AttributeDescriptorTest.php b/tests/app/Elements/AttributeDescriptorTest.php
index cd4fc33473..7d6e47f3fd 100644
--- a/tests/app/Elements/AttributeDescriptorTest.php
+++ b/tests/app/Elements/AttributeDescriptorTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AttributeDescriptor::class)]
class AttributeDescriptorTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/AutomatedRecordIdTest.php b/tests/app/Elements/AutomatedRecordIdTest.php
index 0f41f02d9a..69a9806caa 100644
--- a/tests/app/Elements/AutomatedRecordIdTest.php
+++ b/tests/app/Elements/AutomatedRecordIdTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AutomatedRecordId::class)]
class AutomatedRecordIdTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/BaptismTest.php b/tests/app/Elements/BaptismTest.php
index ba077eabfa..ed5a06bfa8 100644
--- a/tests/app/Elements/BaptismTest.php
+++ b/tests/app/Elements/BaptismTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Baptism::class)]
class BaptismTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/BarMitzvahTest.php b/tests/app/Elements/BarMitzvahTest.php
index d60e3b20dd..303027a9af 100644
--- a/tests/app/Elements/BarMitzvahTest.php
+++ b/tests/app/Elements/BarMitzvahTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(BarMitzvah::class)]
class BarMitzvahTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/BasMitzvahTest.php b/tests/app/Elements/BasMitzvahTest.php
index 3e1f00795b..1b93193d60 100644
--- a/tests/app/Elements/BasMitzvahTest.php
+++ b/tests/app/Elements/BasMitzvahTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(BasMitzvah::class)]
class BasMitzvahTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/BirthTest.php b/tests/app/Elements/BirthTest.php
index 24d502c106..0a65eb6a56 100644
--- a/tests/app/Elements/BirthTest.php
+++ b/tests/app/Elements/BirthTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Birth::class)]
class BirthTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/BlessingTest.php b/tests/app/Elements/BlessingTest.php
index 46ab300d9e..c01ee9cb9e 100644
--- a/tests/app/Elements/BlessingTest.php
+++ b/tests/app/Elements/BlessingTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Blessing::class)]
class BlessingTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/BurialTest.php b/tests/app/Elements/BurialTest.php
index 776499d0b3..cbd1abf053 100644
--- a/tests/app/Elements/BurialTest.php
+++ b/tests/app/Elements/BurialTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Burial::class)]
class BurialTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/CasteNameTest.php b/tests/app/Elements/CasteNameTest.php
index 07e15805ea..e2f931a68f 100644
--- a/tests/app/Elements/CasteNameTest.php
+++ b/tests/app/Elements/CasteNameTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CasteName::class)]
class CasteNameTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/CauseOfEventTest.php b/tests/app/Elements/CauseOfEventTest.php
index 8135b64633..5ba5180096 100644
--- a/tests/app/Elements/CauseOfEventTest.php
+++ b/tests/app/Elements/CauseOfEventTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CauseOfEvent::class)]
class CauseOfEventTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/CensusTest.php b/tests/app/Elements/CensusTest.php
index ebf0bbb6d1..d78d4a8d2e 100644
--- a/tests/app/Elements/CensusTest.php
+++ b/tests/app/Elements/CensusTest.php
@@ -27,9 +27,6 @@ class CensusTest extends AbstractElementTestCase
{
protected static bool $uses_database = true;
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/CertaintyAssessmentTest.php b/tests/app/Elements/CertaintyAssessmentTest.php
index 1b7d91184c..c0588983d7 100644
--- a/tests/app/Elements/CertaintyAssessmentTest.php
+++ b/tests/app/Elements/CertaintyAssessmentTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CertaintyAssessment::class)]
class CertaintyAssessmentTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/ChangeDateTest.php b/tests/app/Elements/ChangeDateTest.php
index bdf869378a..548267bd2d 100644
--- a/tests/app/Elements/ChangeDateTest.php
+++ b/tests/app/Elements/ChangeDateTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ChangeDate::class)]
class ChangeDateTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/ChangeTest.php b/tests/app/Elements/ChangeTest.php
index a3d79f7e84..ae5baf7651 100644
--- a/tests/app/Elements/ChangeTest.php
+++ b/tests/app/Elements/ChangeTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Change::class)]
class ChangeTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/CharacterSetTest.php b/tests/app/Elements/CharacterSetTest.php
index 305f89bb75..47fb93b52e 100644
--- a/tests/app/Elements/CharacterSetTest.php
+++ b/tests/app/Elements/CharacterSetTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CharacterSet::class)]
class CharacterSetTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/ChildLinkageStatusTest.php b/tests/app/Elements/ChildLinkageStatusTest.php
index 48c2ace7b7..688d0ebbba 100644
--- a/tests/app/Elements/ChildLinkageStatusTest.php
+++ b/tests/app/Elements/ChildLinkageStatusTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ChildLinkageStatus::class)]
class ChildLinkageStatusTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/ChristeningTest.php b/tests/app/Elements/ChristeningTest.php
index 70cb11adaa..716fffc789 100644
--- a/tests/app/Elements/ChristeningTest.php
+++ b/tests/app/Elements/ChristeningTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Christening::class)]
class ChristeningTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/ConfirmationTest.php b/tests/app/Elements/ConfirmationTest.php
index ec0f5ea597..d163762dd2 100644
--- a/tests/app/Elements/ConfirmationTest.php
+++ b/tests/app/Elements/ConfirmationTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Confirmation::class)]
class ConfirmationTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/ContentDescriptionTest.php b/tests/app/Elements/ContentDescriptionTest.php
index c427019f8b..0e7d8a0430 100644
--- a/tests/app/Elements/ContentDescriptionTest.php
+++ b/tests/app/Elements/ContentDescriptionTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ContentDescription::class)]
class ContentDescriptionTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/CopyrightFileTest.php b/tests/app/Elements/CopyrightFileTest.php
index 73b24d5174..7336306287 100644
--- a/tests/app/Elements/CopyrightFileTest.php
+++ b/tests/app/Elements/CopyrightFileTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CopyrightFile::class)]
class CopyrightFileTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/CopyrightSourceDataTest.php b/tests/app/Elements/CopyrightSourceDataTest.php
index 5c534bd42f..4e4b33ba14 100644
--- a/tests/app/Elements/CopyrightSourceDataTest.php
+++ b/tests/app/Elements/CopyrightSourceDataTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CopyrightSourceData::class)]
class CopyrightSourceDataTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/CountOfChildrenTest.php b/tests/app/Elements/CountOfChildrenTest.php
index 33a3e5193d..b3e6488a86 100644
--- a/tests/app/Elements/CountOfChildrenTest.php
+++ b/tests/app/Elements/CountOfChildrenTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CountOfChildren::class)]
class CountOfChildrenTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/CountOfMarriagesTest.php b/tests/app/Elements/CountOfMarriagesTest.php
index 1dbb95509d..3c766febef 100644
--- a/tests/app/Elements/CountOfMarriagesTest.php
+++ b/tests/app/Elements/CountOfMarriagesTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CountOfMarriages::class)]
class CountOfMarriagesTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/CremationTest.php b/tests/app/Elements/CremationTest.php
index b59dae9c46..e63e0a6095 100644
--- a/tests/app/Elements/CremationTest.php
+++ b/tests/app/Elements/CremationTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Cremation::class)]
class CremationTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/CustomElementTest.php b/tests/app/Elements/CustomElementTest.php
index d76243671c..ce81f99472 100644
--- a/tests/app/Elements/CustomElementTest.php
+++ b/tests/app/Elements/CustomElementTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CustomElement::class)]
class CustomElementTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/CustomEventTest.php b/tests/app/Elements/CustomEventTest.php
index f5f3f06fc9..e1d0cba961 100644
--- a/tests/app/Elements/CustomEventTest.php
+++ b/tests/app/Elements/CustomEventTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CustomEvent::class)]
class CustomEventTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/CustomFactTest.php b/tests/app/Elements/CustomFactTest.php
index 24462a0ba8..f5779a452a 100644
--- a/tests/app/Elements/CustomFactTest.php
+++ b/tests/app/Elements/CustomFactTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CustomFact::class)]
class CustomFactTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/DateLdsOrdTest.php b/tests/app/Elements/DateLdsOrdTest.php
index 4590fe3e4c..f4535953da 100644
--- a/tests/app/Elements/DateLdsOrdTest.php
+++ b/tests/app/Elements/DateLdsOrdTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(DateLdsOrd::class)]
class DateLdsOrdTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/DateValueTest.php b/tests/app/Elements/DateValueTest.php
index 840a701c94..42ebd0a34e 100644
--- a/tests/app/Elements/DateValueTest.php
+++ b/tests/app/Elements/DateValueTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(DateValue::class)]
class DateValueTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/DeathTest.php b/tests/app/Elements/DeathTest.php
index e0324bc81c..df9d641314 100644
--- a/tests/app/Elements/DeathTest.php
+++ b/tests/app/Elements/DeathTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Death::class)]
class DeathTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/DemographicDataTypeTest.php b/tests/app/Elements/DemographicDataTypeTest.php
index 216e367b8c..c119be3194 100644
--- a/tests/app/Elements/DemographicDataTypeTest.php
+++ b/tests/app/Elements/DemographicDataTypeTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(DemographicDataType::class)]
class DemographicDataTypeTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/DescriptiveTitleTest.php b/tests/app/Elements/DescriptiveTitleTest.php
index d1e02432ae..edcce468db 100644
--- a/tests/app/Elements/DescriptiveTitleTest.php
+++ b/tests/app/Elements/DescriptiveTitleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(DescriptiveTitle::class)]
class DescriptiveTitleTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/DivorceFiledTest.php b/tests/app/Elements/DivorceFiledTest.php
index 0be612c5de..9662bd6a30 100644
--- a/tests/app/Elements/DivorceFiledTest.php
+++ b/tests/app/Elements/DivorceFiledTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(DivorceFiled::class)]
class DivorceFiledTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/DivorceTest.php b/tests/app/Elements/DivorceTest.php
index b6635d0d2d..31a099e9f2 100644
--- a/tests/app/Elements/DivorceTest.php
+++ b/tests/app/Elements/DivorceTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Divorce::class)]
class DivorceTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/EmigrationTest.php b/tests/app/Elements/EmigrationTest.php
index fa6fc87708..03af4b7b5d 100644
--- a/tests/app/Elements/EmigrationTest.php
+++ b/tests/app/Elements/EmigrationTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Emigration::class)]
class EmigrationTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/EmptyElementTest.php b/tests/app/Elements/EmptyElementTest.php
index eb2f4dd485..7046bff852 100644
--- a/tests/app/Elements/EmptyElementTest.php
+++ b/tests/app/Elements/EmptyElementTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(EmptyElement::class)]
class EmptyElementTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/EngagementTest.php b/tests/app/Elements/EngagementTest.php
index 66f87c7f33..3c928b6fdf 100644
--- a/tests/app/Elements/EngagementTest.php
+++ b/tests/app/Elements/EngagementTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Engagement::class)]
class EngagementTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/EventAttributeTypeTest.php b/tests/app/Elements/EventAttributeTypeTest.php
index 6e6b023266..a765a1ed9c 100644
--- a/tests/app/Elements/EventAttributeTypeTest.php
+++ b/tests/app/Elements/EventAttributeTypeTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(EventAttributeType::class)]
class EventAttributeTypeTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/EventOrFactClassificationTest.php b/tests/app/Elements/EventOrFactClassificationTest.php
index 1a33ecdf0e..2719b30208 100644
--- a/tests/app/Elements/EventOrFactClassificationTest.php
+++ b/tests/app/Elements/EventOrFactClassificationTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(EventOrFactClassification::class)]
class EventOrFactClassificationTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/EventTypeCitedFromTest.php b/tests/app/Elements/EventTypeCitedFromTest.php
index 2eb5473f17..02b3ce7ad9 100644
--- a/tests/app/Elements/EventTypeCitedFromTest.php
+++ b/tests/app/Elements/EventTypeCitedFromTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(EventTypeCitedFrom::class)]
class EventTypeCitedFromTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/EventsRecordedTest.php b/tests/app/Elements/EventsRecordedTest.php
index 54c938ee5c..5cac3ff7f4 100644
--- a/tests/app/Elements/EventsRecordedTest.php
+++ b/tests/app/Elements/EventsRecordedTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(EventsRecorded::class)]
class EventsRecordedTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/FamilyRecordTest.php b/tests/app/Elements/FamilyRecordTest.php
index bf823d1bef..36a90c5c53 100644
--- a/tests/app/Elements/FamilyRecordTest.php
+++ b/tests/app/Elements/FamilyRecordTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FamilyRecord::class)]
class FamilyRecordTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/FamilySearchFamilyTreeIdTest.php b/tests/app/Elements/FamilySearchFamilyTreeIdTest.php
index 0a184f3749..3a1638cb9f 100644
--- a/tests/app/Elements/FamilySearchFamilyTreeIdTest.php
+++ b/tests/app/Elements/FamilySearchFamilyTreeIdTest.php
@@ -26,9 +26,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FamilySearchFamilyTreeId::class)]
class FamilySearchFamilyTreeIdTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/FamilyStatusTextTest.php b/tests/app/Elements/FamilyStatusTextTest.php
index 7654a27045..8543e850c7 100644
--- a/tests/app/Elements/FamilyStatusTextTest.php
+++ b/tests/app/Elements/FamilyStatusTextTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FamilyStatusText::class)]
class FamilyStatusTextTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/FileNameTest.php b/tests/app/Elements/FileNameTest.php
index 21b0392da1..3170500163 100644
--- a/tests/app/Elements/FileNameTest.php
+++ b/tests/app/Elements/FileNameTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FileName::class)]
class FileNameTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/FirstCommunionTest.php b/tests/app/Elements/FirstCommunionTest.php
index d4be11eeb4..b64c7e8332 100644
--- a/tests/app/Elements/FirstCommunionTest.php
+++ b/tests/app/Elements/FirstCommunionTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FirstCommunion::class)]
class FirstCommunionTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/FormTest.php b/tests/app/Elements/FormTest.php
index ebe35f90b2..b1386184ce 100644
--- a/tests/app/Elements/FormTest.php
+++ b/tests/app/Elements/FormTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Form::class)]
class FormTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/GedcomElementTest.php b/tests/app/Elements/GedcomElementTest.php
index d189bd612d..0d2b5baee0 100644
--- a/tests/app/Elements/GedcomElementTest.php
+++ b/tests/app/Elements/GedcomElementTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(GedcomElement::class)]
class GedcomElementTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/GenerationsOfAncestorsTest.php b/tests/app/Elements/GenerationsOfAncestorsTest.php
index f053114f14..4698e86292 100644
--- a/tests/app/Elements/GenerationsOfAncestorsTest.php
+++ b/tests/app/Elements/GenerationsOfAncestorsTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(GenerationsOfAncestors::class)]
class GenerationsOfAncestorsTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/GenerationsOfDescendantsTest.php b/tests/app/Elements/GenerationsOfDescendantsTest.php
index 3f7110dede..db52c7882d 100644
--- a/tests/app/Elements/GenerationsOfDescendantsTest.php
+++ b/tests/app/Elements/GenerationsOfDescendantsTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(GenerationsOfDescendants::class)]
class GenerationsOfDescendantsTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/GovIdTypeTest.php b/tests/app/Elements/GovIdTypeTest.php
index 498d6b7600..4d66bf2453 100644
--- a/tests/app/Elements/GovIdTypeTest.php
+++ b/tests/app/Elements/GovIdTypeTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(GovIdType::class)]
class GovIdTypeTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/GovIdentifierTest.php b/tests/app/Elements/GovIdentifierTest.php
index d3ad45637d..aa94c62fbe 100644
--- a/tests/app/Elements/GovIdentifierTest.php
+++ b/tests/app/Elements/GovIdentifierTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(GovIdentifier::class)]
class GovIdentifierTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/GraduationTest.php b/tests/app/Elements/GraduationTest.php
index 0b3fb5664a..93a93fdf09 100644
--- a/tests/app/Elements/GraduationTest.php
+++ b/tests/app/Elements/GraduationTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Graduation::class)]
class GraduationTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/HeaderRecordTest.php b/tests/app/Elements/HeaderRecordTest.php
index 48edc1ef2f..f60e0ad654 100644
--- a/tests/app/Elements/HeaderRecordTest.php
+++ b/tests/app/Elements/HeaderRecordTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(HeaderRecord::class)]
class HeaderRecordTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/HierarchicalRelationshipTest.php b/tests/app/Elements/HierarchicalRelationshipTest.php
index 820808b339..6fd939ab69 100644
--- a/tests/app/Elements/HierarchicalRelationshipTest.php
+++ b/tests/app/Elements/HierarchicalRelationshipTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(HierarchicalRelationship::class)]
class HierarchicalRelationshipTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/ImmigrationTest.php b/tests/app/Elements/ImmigrationTest.php
index 0c4afe4e2f..41e3632f27 100644
--- a/tests/app/Elements/ImmigrationTest.php
+++ b/tests/app/Elements/ImmigrationTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Immigration::class)]
class ImmigrationTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/IndividualRecordTest.php b/tests/app/Elements/IndividualRecordTest.php
index 323ebf7c24..27dfde6290 100644
--- a/tests/app/Elements/IndividualRecordTest.php
+++ b/tests/app/Elements/IndividualRecordTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(IndividualRecord::class)]
class IndividualRecordTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/LanguageIdTest.php b/tests/app/Elements/LanguageIdTest.php
index a8a9c36e4b..b79fceba59 100644
--- a/tests/app/Elements/LanguageIdTest.php
+++ b/tests/app/Elements/LanguageIdTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LanguageId::class)]
class LanguageIdTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/LdsBaptismDateStatusTest.php b/tests/app/Elements/LdsBaptismDateStatusTest.php
index 73982e20ae..20b54584a0 100644
--- a/tests/app/Elements/LdsBaptismDateStatusTest.php
+++ b/tests/app/Elements/LdsBaptismDateStatusTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LdsBaptismDateStatus::class)]
class LdsBaptismDateStatusTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/LdsBaptismTest.php b/tests/app/Elements/LdsBaptismTest.php
index dffdebd47f..32e060446a 100644
--- a/tests/app/Elements/LdsBaptismTest.php
+++ b/tests/app/Elements/LdsBaptismTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LdsBaptism::class)]
class LdsBaptismTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/LdsChildSealingDateStatusTest.php b/tests/app/Elements/LdsChildSealingDateStatusTest.php
index 59218bb2b0..d92400b7e0 100644
--- a/tests/app/Elements/LdsChildSealingDateStatusTest.php
+++ b/tests/app/Elements/LdsChildSealingDateStatusTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LdsChildSealingDateStatus::class)]
class LdsChildSealingDateStatusTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/LdsChildSealingTest.php b/tests/app/Elements/LdsChildSealingTest.php
index 1425463e45..dd4638f25d 100644
--- a/tests/app/Elements/LdsChildSealingTest.php
+++ b/tests/app/Elements/LdsChildSealingTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LdsChildSealing::class)]
class LdsChildSealingTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/LdsConfirmationTest.php b/tests/app/Elements/LdsConfirmationTest.php
index 4e86b9da32..24cc6a5ff7 100644
--- a/tests/app/Elements/LdsConfirmationTest.php
+++ b/tests/app/Elements/LdsConfirmationTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LdsConfirmation::class)]
class LdsConfirmationTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/LdsEndowmentDateStatusTest.php b/tests/app/Elements/LdsEndowmentDateStatusTest.php
index d656f3f9e1..3bc0f878d0 100644
--- a/tests/app/Elements/LdsEndowmentDateStatusTest.php
+++ b/tests/app/Elements/LdsEndowmentDateStatusTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LdsEndowmentDateStatus::class)]
class LdsEndowmentDateStatusTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/LdsEndowmentTest.php b/tests/app/Elements/LdsEndowmentTest.php
index a174c38f41..ac205b10b9 100644
--- a/tests/app/Elements/LdsEndowmentTest.php
+++ b/tests/app/Elements/LdsEndowmentTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LdsEndowment::class)]
class LdsEndowmentTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/LdsSpouseSealingDateStatusTest.php b/tests/app/Elements/LdsSpouseSealingDateStatusTest.php
index 9606114f5c..4832c771de 100644
--- a/tests/app/Elements/LdsSpouseSealingDateStatusTest.php
+++ b/tests/app/Elements/LdsSpouseSealingDateStatusTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LdsSpouseSealingDateStatus::class)]
class LdsSpouseSealingDateStatusTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/LdsSpouseSealingTest.php b/tests/app/Elements/LdsSpouseSealingTest.php
index 093b8e4eaa..1cc9351560 100644
--- a/tests/app/Elements/LdsSpouseSealingTest.php
+++ b/tests/app/Elements/LdsSpouseSealingTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LdsSpouseSealing::class)]
class LdsSpouseSealingTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/LocationRecordTest.php b/tests/app/Elements/LocationRecordTest.php
index 6d4683c7a5..318a01705c 100644
--- a/tests/app/Elements/LocationRecordTest.php
+++ b/tests/app/Elements/LocationRecordTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LocationRecord::class)]
class LocationRecordTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/MaidenheadLocatorTest.php b/tests/app/Elements/MaidenheadLocatorTest.php
index 23a2761381..df5df3e6e5 100644
--- a/tests/app/Elements/MaidenheadLocatorTest.php
+++ b/tests/app/Elements/MaidenheadLocatorTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MaidenheadLocator::class)]
class MaidenheadLocatorTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/MarriageBannsTest.php b/tests/app/Elements/MarriageBannsTest.php
index bb4430e771..2877673631 100644
--- a/tests/app/Elements/MarriageBannsTest.php
+++ b/tests/app/Elements/MarriageBannsTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MarriageBanns::class)]
class MarriageBannsTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/MarriageContractTest.php b/tests/app/Elements/MarriageContractTest.php
index 17ca9e4788..8b1f4505e9 100644
--- a/tests/app/Elements/MarriageContractTest.php
+++ b/tests/app/Elements/MarriageContractTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MarriageContract::class)]
class MarriageContractTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/MarriageLicenceTest.php b/tests/app/Elements/MarriageLicenceTest.php
index eb4de5e32e..ba74685545 100644
--- a/tests/app/Elements/MarriageLicenceTest.php
+++ b/tests/app/Elements/MarriageLicenceTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MarriageLicence::class)]
class MarriageLicenceTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/MarriageSettlementTest.php b/tests/app/Elements/MarriageSettlementTest.php
index b21f34b95a..17a342a07f 100644
--- a/tests/app/Elements/MarriageSettlementTest.php
+++ b/tests/app/Elements/MarriageSettlementTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MarriageSettlement::class)]
class MarriageSettlementTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/MarriageTest.php b/tests/app/Elements/MarriageTest.php
index 8ed1d203b0..109747ec56 100644
--- a/tests/app/Elements/MarriageTest.php
+++ b/tests/app/Elements/MarriageTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Marriage::class)]
class MarriageTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/MarriageTypeTest.php b/tests/app/Elements/MarriageTypeTest.php
index 224e56168e..885c3ac2a0 100644
--- a/tests/app/Elements/MarriageTypeTest.php
+++ b/tests/app/Elements/MarriageTypeTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MarriageType::class)]
class MarriageTypeTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/MediaRecordTest.php b/tests/app/Elements/MediaRecordTest.php
index f7c866367e..27090bd4f4 100644
--- a/tests/app/Elements/MediaRecordTest.php
+++ b/tests/app/Elements/MediaRecordTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MediaRecord::class)]
class MediaRecordTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/MultimediaFileReferenceTest.php b/tests/app/Elements/MultimediaFileReferenceTest.php
index 0e92ac65c9..20d7b2d8e3 100644
--- a/tests/app/Elements/MultimediaFileReferenceTest.php
+++ b/tests/app/Elements/MultimediaFileReferenceTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MultimediaFileReference::class)]
class MultimediaFileReferenceTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/MultimediaFormatTest.php b/tests/app/Elements/MultimediaFormatTest.php
index 1dcde019c8..633de4b683 100644
--- a/tests/app/Elements/MultimediaFormatTest.php
+++ b/tests/app/Elements/MultimediaFormatTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MultimediaFormat::class)]
class MultimediaFormatTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NameOfBusinessTest.php b/tests/app/Elements/NameOfBusinessTest.php
index 0fd9d84363..21bef5bb65 100644
--- a/tests/app/Elements/NameOfBusinessTest.php
+++ b/tests/app/Elements/NameOfBusinessTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NameOfBusiness::class)]
class NameOfBusinessTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NameOfFamilyFileTest.php b/tests/app/Elements/NameOfFamilyFileTest.php
index 2e43b34f8c..5bff6122a9 100644
--- a/tests/app/Elements/NameOfFamilyFileTest.php
+++ b/tests/app/Elements/NameOfFamilyFileTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NameOfFamilyFile::class)]
class NameOfFamilyFileTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NameOfProductTest.php b/tests/app/Elements/NameOfProductTest.php
index 767537eb39..35cb96251e 100644
--- a/tests/app/Elements/NameOfProductTest.php
+++ b/tests/app/Elements/NameOfProductTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NameOfProduct::class)]
class NameOfProductTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NameOfRepositoryTest.php b/tests/app/Elements/NameOfRepositoryTest.php
index 343aa7e9f5..3f15d0ea12 100644
--- a/tests/app/Elements/NameOfRepositoryTest.php
+++ b/tests/app/Elements/NameOfRepositoryTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NameOfRepository::class)]
class NameOfRepositoryTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NameOfSourceDataTest.php b/tests/app/Elements/NameOfSourceDataTest.php
index 17b57122fc..2453f36f4d 100644
--- a/tests/app/Elements/NameOfSourceDataTest.php
+++ b/tests/app/Elements/NameOfSourceDataTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NameOfSourceData::class)]
class NameOfSourceDataTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NamePersonalTest.php b/tests/app/Elements/NamePersonalTest.php
index 52a185d7a9..7739aafa90 100644
--- a/tests/app/Elements/NamePersonalTest.php
+++ b/tests/app/Elements/NamePersonalTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NamePersonal::class)]
class NamePersonalTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NamePhoneticVariationTest.php b/tests/app/Elements/NamePhoneticVariationTest.php
index c534e0f7b0..e35a6b7c06 100644
--- a/tests/app/Elements/NamePhoneticVariationTest.php
+++ b/tests/app/Elements/NamePhoneticVariationTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NamePhoneticVariation::class)]
class NamePhoneticVariationTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NamePieceGivenTest.php b/tests/app/Elements/NamePieceGivenTest.php
index 5bca0d4084..12c52dd807 100644
--- a/tests/app/Elements/NamePieceGivenTest.php
+++ b/tests/app/Elements/NamePieceGivenTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NamePieceGiven::class)]
class NamePieceGivenTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NamePieceNicknameTest.php b/tests/app/Elements/NamePieceNicknameTest.php
index 404e28a74d..090c68e438 100644
--- a/tests/app/Elements/NamePieceNicknameTest.php
+++ b/tests/app/Elements/NamePieceNicknameTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NamePieceNickname::class)]
class NamePieceNicknameTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NamePiecePrefixTest.php b/tests/app/Elements/NamePiecePrefixTest.php
index a116658a7a..4b847b83b0 100644
--- a/tests/app/Elements/NamePiecePrefixTest.php
+++ b/tests/app/Elements/NamePiecePrefixTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NamePiecePrefix::class)]
class NamePiecePrefixTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NamePieceSuffixTest.php b/tests/app/Elements/NamePieceSuffixTest.php
index 9a9bc5c671..f567937aa8 100644
--- a/tests/app/Elements/NamePieceSuffixTest.php
+++ b/tests/app/Elements/NamePieceSuffixTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NamePieceSuffix::class)]
class NamePieceSuffixTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NamePieceSurnamePrefixTest.php b/tests/app/Elements/NamePieceSurnamePrefixTest.php
index e8ed4ffd86..8538012be1 100644
--- a/tests/app/Elements/NamePieceSurnamePrefixTest.php
+++ b/tests/app/Elements/NamePieceSurnamePrefixTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NamePieceSurnamePrefix::class)]
class NamePieceSurnamePrefixTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NamePieceSurnameTest.php b/tests/app/Elements/NamePieceSurnameTest.php
index f1b474c9b8..5429bc8b6d 100644
--- a/tests/app/Elements/NamePieceSurnameTest.php
+++ b/tests/app/Elements/NamePieceSurnameTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NamePieceSurname::class)]
class NamePieceSurnameTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NameRomanizedVariationTest.php b/tests/app/Elements/NameRomanizedVariationTest.php
index f9968b1923..c24399faef 100644
--- a/tests/app/Elements/NameRomanizedVariationTest.php
+++ b/tests/app/Elements/NameRomanizedVariationTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NameRomanizedVariation::class)]
class NameRomanizedVariationTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NameTypeTest.php b/tests/app/Elements/NameTypeTest.php
index 23dea36bd1..55683dac3e 100644
--- a/tests/app/Elements/NameTypeTest.php
+++ b/tests/app/Elements/NameTypeTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NameType::class)]
class NameTypeTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NationalIdNumberTest.php b/tests/app/Elements/NationalIdNumberTest.php
index 0847e56c91..f502c884df 100644
--- a/tests/app/Elements/NationalIdNumberTest.php
+++ b/tests/app/Elements/NationalIdNumberTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NationalIdNumber::class)]
class NationalIdNumberTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NationalOrTribalOriginTest.php b/tests/app/Elements/NationalOrTribalOriginTest.php
index b746eba2bb..bd13a4dca5 100644
--- a/tests/app/Elements/NationalOrTribalOriginTest.php
+++ b/tests/app/Elements/NationalOrTribalOriginTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NationalOrTribalOrigin::class)]
class NationalOrTribalOriginTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NaturalizationTest.php b/tests/app/Elements/NaturalizationTest.php
index 5225b32416..bf090fc15c 100644
--- a/tests/app/Elements/NaturalizationTest.php
+++ b/tests/app/Elements/NaturalizationTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Naturalization::class)]
class NaturalizationTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NobilityTypeTitleTest.php b/tests/app/Elements/NobilityTypeTitleTest.php
index 0d98436598..f4cf90cb67 100644
--- a/tests/app/Elements/NobilityTypeTitleTest.php
+++ b/tests/app/Elements/NobilityTypeTitleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NobilityTypeTitle::class)]
class NobilityTypeTitleTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NoteRecordTest.php b/tests/app/Elements/NoteRecordTest.php
index 7812f711b0..4b8e56b23b 100644
--- a/tests/app/Elements/NoteRecordTest.php
+++ b/tests/app/Elements/NoteRecordTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NoteRecord::class)]
class NoteRecordTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/NoteStructureTest.php b/tests/app/Elements/NoteStructureTest.php
index c16ac76107..051f5e40b8 100644
--- a/tests/app/Elements/NoteStructureTest.php
+++ b/tests/app/Elements/NoteStructureTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NoteStructure::class)]
class NoteStructureTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/OccupationTest.php b/tests/app/Elements/OccupationTest.php
index 1079d990c7..56758106b8 100644
--- a/tests/app/Elements/OccupationTest.php
+++ b/tests/app/Elements/OccupationTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Occupation::class)]
class OccupationTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/OrdinanceProcessFlagTest.php b/tests/app/Elements/OrdinanceProcessFlagTest.php
index fb1fa9d35a..c24fb4eebb 100644
--- a/tests/app/Elements/OrdinanceProcessFlagTest.php
+++ b/tests/app/Elements/OrdinanceProcessFlagTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(OrdinanceProcessFlag::class)]
class OrdinanceProcessFlagTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/OrdinationTest.php b/tests/app/Elements/OrdinationTest.php
index df7597c7c7..53a6374143 100644
--- a/tests/app/Elements/OrdinationTest.php
+++ b/tests/app/Elements/OrdinationTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Ordination::class)]
class OrdinationTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/PafUidTest.php b/tests/app/Elements/PafUidTest.php
index 5372cf51a3..28704daaaa 100644
--- a/tests/app/Elements/PafUidTest.php
+++ b/tests/app/Elements/PafUidTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PafUid::class)]
class PafUidTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/PedigreeLinkageTypeTest.php b/tests/app/Elements/PedigreeLinkageTypeTest.php
index 14f175f1fc..dc776f821f 100644
--- a/tests/app/Elements/PedigreeLinkageTypeTest.php
+++ b/tests/app/Elements/PedigreeLinkageTypeTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PedigreeLinkageType::class)]
class PedigreeLinkageTypeTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/PermanentRecordFileNumberTest.php b/tests/app/Elements/PermanentRecordFileNumberTest.php
index ae563a34c1..a63e3da40b 100644
--- a/tests/app/Elements/PermanentRecordFileNumberTest.php
+++ b/tests/app/Elements/PermanentRecordFileNumberTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PermanentRecordFileNumber::class)]
class PermanentRecordFileNumberTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/PhoneNumberTest.php b/tests/app/Elements/PhoneNumberTest.php
index 7181cb361e..21cbd08ae1 100644
--- a/tests/app/Elements/PhoneNumberTest.php
+++ b/tests/app/Elements/PhoneNumberTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PhoneNumber::class)]
class PhoneNumberTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/PhoneticTypeTest.php b/tests/app/Elements/PhoneticTypeTest.php
index 9e22cf4e42..4b6dafb41f 100644
--- a/tests/app/Elements/PhoneticTypeTest.php
+++ b/tests/app/Elements/PhoneticTypeTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PhoneticType::class)]
class PhoneticTypeTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/PhysicalDescriptionTest.php b/tests/app/Elements/PhysicalDescriptionTest.php
index 500b1db1dd..1fb4393dfe 100644
--- a/tests/app/Elements/PhysicalDescriptionTest.php
+++ b/tests/app/Elements/PhysicalDescriptionTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PhysicalDescription::class)]
class PhysicalDescriptionTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/PlaceHierarchyTest.php b/tests/app/Elements/PlaceHierarchyTest.php
index b61e2f4d1e..3a71a7a6c8 100644
--- a/tests/app/Elements/PlaceHierarchyTest.php
+++ b/tests/app/Elements/PlaceHierarchyTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PlaceHierarchy::class)]
class PlaceHierarchyTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/PlaceLatitudeTest.php b/tests/app/Elements/PlaceLatitudeTest.php
index 868a23332b..fdbfa95709 100644
--- a/tests/app/Elements/PlaceLatitudeTest.php
+++ b/tests/app/Elements/PlaceLatitudeTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PlaceLatitude::class)]
class PlaceLatitudeTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/PlaceLivingOrdinanceTest.php b/tests/app/Elements/PlaceLivingOrdinanceTest.php
index 2408bc42ae..47b271f084 100644
--- a/tests/app/Elements/PlaceLivingOrdinanceTest.php
+++ b/tests/app/Elements/PlaceLivingOrdinanceTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PlaceLivingOrdinance::class)]
class PlaceLivingOrdinanceTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/PlaceLongtitudeTest.php b/tests/app/Elements/PlaceLongtitudeTest.php
index 788fb00f51..2b88ec4310 100644
--- a/tests/app/Elements/PlaceLongtitudeTest.php
+++ b/tests/app/Elements/PlaceLongtitudeTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PlaceLongtitude::class)]
class PlaceLongtitudeTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/PlaceNameTest.php b/tests/app/Elements/PlaceNameTest.php
index 18e1f97435..31b3d81338 100644
--- a/tests/app/Elements/PlaceNameTest.php
+++ b/tests/app/Elements/PlaceNameTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PlaceName::class)]
class PlaceNameTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/PlacePhoneticVariationTest.php b/tests/app/Elements/PlacePhoneticVariationTest.php
index 481b54b250..0ef8911c95 100644
--- a/tests/app/Elements/PlacePhoneticVariationTest.php
+++ b/tests/app/Elements/PlacePhoneticVariationTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PlacePhoneticVariation::class)]
class PlacePhoneticVariationTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/PlaceRomanizedVariationTest.php b/tests/app/Elements/PlaceRomanizedVariationTest.php
index bb1d8c1bc7..92eea23578 100644
--- a/tests/app/Elements/PlaceRomanizedVariationTest.php
+++ b/tests/app/Elements/PlaceRomanizedVariationTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PlaceRomanizedVariation::class)]
class PlaceRomanizedVariationTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/PossessionsTest.php b/tests/app/Elements/PossessionsTest.php
index c38aec6db6..20ebef1843 100644
--- a/tests/app/Elements/PossessionsTest.php
+++ b/tests/app/Elements/PossessionsTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Possessions::class)]
class PossessionsTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/ProbateTest.php b/tests/app/Elements/ProbateTest.php
index b145dcaa03..3b90363535 100644
--- a/tests/app/Elements/ProbateTest.php
+++ b/tests/app/Elements/ProbateTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Probate::class)]
class ProbateTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/PublicationDateTest.php b/tests/app/Elements/PublicationDateTest.php
index a33cbf7494..57f9be6798 100644
--- a/tests/app/Elements/PublicationDateTest.php
+++ b/tests/app/Elements/PublicationDateTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PublicationDate::class)]
class PublicationDateTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/ReceivingSystemNameTest.php b/tests/app/Elements/ReceivingSystemNameTest.php
index 88ef406078..1dde810648 100644
--- a/tests/app/Elements/ReceivingSystemNameTest.php
+++ b/tests/app/Elements/ReceivingSystemNameTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ReceivingSystemName::class)]
class ReceivingSystemNameTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/RelationIsDescriptorTest.php b/tests/app/Elements/RelationIsDescriptorTest.php
index 59da9034fc..6e3eb50328 100644
--- a/tests/app/Elements/RelationIsDescriptorTest.php
+++ b/tests/app/Elements/RelationIsDescriptorTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(RelationIsDescriptor::class)]
class RelationIsDescriptorTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/ReligiousAffiliationTest.php b/tests/app/Elements/ReligiousAffiliationTest.php
index a9b11954bb..6bb7805397 100644
--- a/tests/app/Elements/ReligiousAffiliationTest.php
+++ b/tests/app/Elements/ReligiousAffiliationTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ReligiousAffiliation::class)]
class ReligiousAffiliationTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/RepositoryRecordTest.php b/tests/app/Elements/RepositoryRecordTest.php
index fe705716a6..9bb553f19c 100644
--- a/tests/app/Elements/RepositoryRecordTest.php
+++ b/tests/app/Elements/RepositoryRecordTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(RepositoryRecord::class)]
class RepositoryRecordTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/ResearchTaskPriorityTest.php b/tests/app/Elements/ResearchTaskPriorityTest.php
index 05496412e6..f899b56f92 100644
--- a/tests/app/Elements/ResearchTaskPriorityTest.php
+++ b/tests/app/Elements/ResearchTaskPriorityTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ResearchTaskPriority::class)]
class ResearchTaskPriorityTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/ResearchTaskStatusTest.php b/tests/app/Elements/ResearchTaskStatusTest.php
index 624e478f5c..cfa58de27a 100644
--- a/tests/app/Elements/ResearchTaskStatusTest.php
+++ b/tests/app/Elements/ResearchTaskStatusTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ResearchTaskStatus::class)]
class ResearchTaskStatusTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/ResearchTaskTest.php b/tests/app/Elements/ResearchTaskTest.php
index fe7d695428..f4756c21ad 100644
--- a/tests/app/Elements/ResearchTaskTest.php
+++ b/tests/app/Elements/ResearchTaskTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ResearchTask::class)]
class ResearchTaskTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/ResearchTaskTypeTest.php b/tests/app/Elements/ResearchTaskTypeTest.php
index c6693e516b..03d0b5de2d 100644
--- a/tests/app/Elements/ResearchTaskTypeTest.php
+++ b/tests/app/Elements/ResearchTaskTypeTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ResearchTaskType::class)]
class ResearchTaskTypeTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/ResidenceTest.php b/tests/app/Elements/ResidenceTest.php
index fa804e0355..29e1d78726 100644
--- a/tests/app/Elements/ResidenceTest.php
+++ b/tests/app/Elements/ResidenceTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Residence::class)]
class ResidenceTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/ResponsibleAgencyTest.php b/tests/app/Elements/ResponsibleAgencyTest.php
index 8964560db4..2bf863ab91 100644
--- a/tests/app/Elements/ResponsibleAgencyTest.php
+++ b/tests/app/Elements/ResponsibleAgencyTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ResponsibleAgency::class)]
class ResponsibleAgencyTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/RestrictionNoticeTest.php b/tests/app/Elements/RestrictionNoticeTest.php
index c394ee6725..0f3c516220 100644
--- a/tests/app/Elements/RestrictionNoticeTest.php
+++ b/tests/app/Elements/RestrictionNoticeTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(RestrictionNotice::class)]
class RestrictionNoticeTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/RetirementTest.php b/tests/app/Elements/RetirementTest.php
index 27b708a004..ec11ed10df 100644
--- a/tests/app/Elements/RetirementTest.php
+++ b/tests/app/Elements/RetirementTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Retirement::class)]
class RetirementTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/RoleInEventTest.php b/tests/app/Elements/RoleInEventTest.php
index b36f9079a9..1ea7bf89fb 100644
--- a/tests/app/Elements/RoleInEventTest.php
+++ b/tests/app/Elements/RoleInEventTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(RoleInEvent::class)]
class RoleInEventTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/RomanizedTypeTest.php b/tests/app/Elements/RomanizedTypeTest.php
index ee32dce26b..acb6a27d58 100644
--- a/tests/app/Elements/RomanizedTypeTest.php
+++ b/tests/app/Elements/RomanizedTypeTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(RomanizedType::class)]
class RomanizedTypeTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/ScholasticAchievementTest.php b/tests/app/Elements/ScholasticAchievementTest.php
index e064cf94bf..1f12acc573 100644
--- a/tests/app/Elements/ScholasticAchievementTest.php
+++ b/tests/app/Elements/ScholasticAchievementTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ScholasticAchievement::class)]
class ScholasticAchievementTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/SexValueTest.php b/tests/app/Elements/SexValueTest.php
index 3c0c743cf9..3ade971a6e 100644
--- a/tests/app/Elements/SexValueTest.php
+++ b/tests/app/Elements/SexValueTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SexValue::class)]
class SexValueTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/SexXValueTest.php b/tests/app/Elements/SexXValueTest.php
index 5002b70f36..23f46b3d48 100644
--- a/tests/app/Elements/SexXValueTest.php
+++ b/tests/app/Elements/SexXValueTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SexXValue::class)]
class SexXValueTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/SocialSecurityNumberTest.php b/tests/app/Elements/SocialSecurityNumberTest.php
index 24d148498b..4f715cc79a 100644
--- a/tests/app/Elements/SocialSecurityNumberTest.php
+++ b/tests/app/Elements/SocialSecurityNumberTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SocialSecurityNumber::class)]
class SocialSecurityNumberTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/SourceCallNumberTest.php b/tests/app/Elements/SourceCallNumberTest.php
index b774f84ba4..e2f1426d24 100644
--- a/tests/app/Elements/SourceCallNumberTest.php
+++ b/tests/app/Elements/SourceCallNumberTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourceCallNumber::class)]
class SourceCallNumberTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/SourceDataTest.php b/tests/app/Elements/SourceDataTest.php
index 0b8a49f40a..e314c073ef 100644
--- a/tests/app/Elements/SourceDataTest.php
+++ b/tests/app/Elements/SourceDataTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourceData::class)]
class SourceDataTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/SourceDescriptiveTitleTest.php b/tests/app/Elements/SourceDescriptiveTitleTest.php
index aa7f36f44d..c7cf4b4456 100644
--- a/tests/app/Elements/SourceDescriptiveTitleTest.php
+++ b/tests/app/Elements/SourceDescriptiveTitleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourceDescriptiveTitle::class)]
class SourceDescriptiveTitleTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/SourceFiledByEntryTest.php b/tests/app/Elements/SourceFiledByEntryTest.php
index a81fd26d52..b5750114e6 100644
--- a/tests/app/Elements/SourceFiledByEntryTest.php
+++ b/tests/app/Elements/SourceFiledByEntryTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourceFiledByEntry::class)]
class SourceFiledByEntryTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/SourceJurisdictionPlaceTest.php b/tests/app/Elements/SourceJurisdictionPlaceTest.php
index a3b04d0e5d..8a12509ebc 100644
--- a/tests/app/Elements/SourceJurisdictionPlaceTest.php
+++ b/tests/app/Elements/SourceJurisdictionPlaceTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourceJurisdictionPlace::class)]
class SourceJurisdictionPlaceTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/SourceMediaTypeTest.php b/tests/app/Elements/SourceMediaTypeTest.php
index 32f37ee509..c182098439 100644
--- a/tests/app/Elements/SourceMediaTypeTest.php
+++ b/tests/app/Elements/SourceMediaTypeTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourceMediaType::class)]
class SourceMediaTypeTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/SourceOriginatorTest.php b/tests/app/Elements/SourceOriginatorTest.php
index a61dd58df1..b56158cf65 100644
--- a/tests/app/Elements/SourceOriginatorTest.php
+++ b/tests/app/Elements/SourceOriginatorTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourceOriginator::class)]
class SourceOriginatorTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/SourcePublicationFactsTest.php b/tests/app/Elements/SourcePublicationFactsTest.php
index 67e5e5f461..d3c36aea3f 100644
--- a/tests/app/Elements/SourcePublicationFactsTest.php
+++ b/tests/app/Elements/SourcePublicationFactsTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourcePublicationFacts::class)]
class SourcePublicationFactsTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/SourceRecordTest.php b/tests/app/Elements/SourceRecordTest.php
index 64e730f1a6..2a92961f1d 100644
--- a/tests/app/Elements/SourceRecordTest.php
+++ b/tests/app/Elements/SourceRecordTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourceRecord::class)]
class SourceRecordTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/SubmissionRecordTest.php b/tests/app/Elements/SubmissionRecordTest.php
index 157bef79ad..7c5f917441 100644
--- a/tests/app/Elements/SubmissionRecordTest.php
+++ b/tests/app/Elements/SubmissionRecordTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SubmissionRecord::class)]
class SubmissionRecordTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/SubmitterNameTest.php b/tests/app/Elements/SubmitterNameTest.php
index 4db3a72666..3967cf06f4 100644
--- a/tests/app/Elements/SubmitterNameTest.php
+++ b/tests/app/Elements/SubmitterNameTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SubmitterName::class)]
class SubmitterNameTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/SubmitterRecordTest.php b/tests/app/Elements/SubmitterRecordTest.php
index 19585b1ded..c3f639200d 100644
--- a/tests/app/Elements/SubmitterRecordTest.php
+++ b/tests/app/Elements/SubmitterRecordTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SubmitterRecord::class)]
class SubmitterRecordTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/SubmitterRegisteredRfnTest.php b/tests/app/Elements/SubmitterRegisteredRfnTest.php
index 40d5139268..b9eb53931c 100644
--- a/tests/app/Elements/SubmitterRegisteredRfnTest.php
+++ b/tests/app/Elements/SubmitterRegisteredRfnTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SubmitterRegisteredRfn::class)]
class SubmitterRegisteredRfnTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/SubmitterTextTest.php b/tests/app/Elements/SubmitterTextTest.php
index 16dbe07f75..4d85a3219c 100644
--- a/tests/app/Elements/SubmitterTextTest.php
+++ b/tests/app/Elements/SubmitterTextTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SubmitterText::class)]
class SubmitterTextTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/TempleCodeTest.php b/tests/app/Elements/TempleCodeTest.php
index 4b6f30b6b5..ae5d7f33a3 100644
--- a/tests/app/Elements/TempleCodeTest.php
+++ b/tests/app/Elements/TempleCodeTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(TempleCode::class)]
class TempleCodeTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/TextFromSourceTest.php b/tests/app/Elements/TextFromSourceTest.php
index 9e46e22952..f9df99144e 100644
--- a/tests/app/Elements/TextFromSourceTest.php
+++ b/tests/app/Elements/TextFromSourceTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(TextFromSource::class)]
class TextFromSourceTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/TimeValueTest.php b/tests/app/Elements/TimeValueTest.php
index 80e93f17eb..72093a056a 100644
--- a/tests/app/Elements/TimeValueTest.php
+++ b/tests/app/Elements/TimeValueTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(TimeValue::class)]
class TimeValueTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/TransmissionDateTest.php b/tests/app/Elements/TransmissionDateTest.php
index 73b06ef4c2..daacfa31bc 100644
--- a/tests/app/Elements/TransmissionDateTest.php
+++ b/tests/app/Elements/TransmissionDateTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(TransmissionDate::class)]
class TransmissionDateTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/UidTest.php b/tests/app/Elements/UidTest.php
index 880e40140e..07ad37882a 100644
--- a/tests/app/Elements/UidTest.php
+++ b/tests/app/Elements/UidTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Uid::class)]
class UidTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/UnknownElementTest.php b/tests/app/Elements/UnknownElementTest.php
index 3b638f761b..9dbb3636be 100644
--- a/tests/app/Elements/UnknownElementTest.php
+++ b/tests/app/Elements/UnknownElementTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(UnknownElement::class)]
class UnknownElementTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/UserReferenceNumberTest.php b/tests/app/Elements/UserReferenceNumberTest.php
index 63a9643e57..3c981d2457 100644
--- a/tests/app/Elements/UserReferenceNumberTest.php
+++ b/tests/app/Elements/UserReferenceNumberTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(UserReferenceNumber::class)]
class UserReferenceNumberTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/UserReferenceTypeTest.php b/tests/app/Elements/UserReferenceTypeTest.php
index 67e1d75c30..3be0e732a8 100644
--- a/tests/app/Elements/UserReferenceTypeTest.php
+++ b/tests/app/Elements/UserReferenceTypeTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(UserReferenceType::class)]
class UserReferenceTypeTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/VersionNumberTest.php b/tests/app/Elements/VersionNumberTest.php
index cbf767bda1..a9a466913e 100644
--- a/tests/app/Elements/VersionNumberTest.php
+++ b/tests/app/Elements/VersionNumberTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(VersionNumber::class)]
class VersionNumberTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/WebtreesUserTest.php b/tests/app/Elements/WebtreesUserTest.php
index 09df5b5a47..c73bf70e1c 100644
--- a/tests/app/Elements/WebtreesUserTest.php
+++ b/tests/app/Elements/WebtreesUserTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(WebtreesUser::class)]
class WebtreesUserTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/WhereWithinSourceTest.php b/tests/app/Elements/WhereWithinSourceTest.php
index 1e1bb3851b..0d58fc461b 100644
--- a/tests/app/Elements/WhereWithinSourceTest.php
+++ b/tests/app/Elements/WhereWithinSourceTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(WhereWithinSource::class)]
class WhereWithinSourceTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Elements/WillTest.php b/tests/app/Elements/WillTest.php
index 629553120c..5713e90188 100644
--- a/tests/app/Elements/WillTest.php
+++ b/tests/app/Elements/WillTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Will::class)]
class WillTest extends AbstractElementTestCase
{
- /**
- * Standard tests for all elements.
- */
public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();
diff --git a/tests/app/Factories/SurnameTraditionFactoryTest.php b/tests/app/Factories/SurnameTraditionFactoryTest.php
index 0122dfc6ab..b4538ceb99 100644
--- a/tests/app/Factories/SurnameTraditionFactoryTest.php
+++ b/tests/app/Factories/SurnameTraditionFactoryTest.php
@@ -50,9 +50,6 @@ class SurnameTraditionFactoryTest extends TestCase
self::assertInstanceOf(SpanishSurnameTradition::class, $factory->make(SurnameTraditionFactoryInterface::SPANISH));
}
- /**
- * Test create() with invalid input
- */
public function testCreateInvalid(): void
{
$factory = new SurnameTraditionFactory();
@@ -60,9 +57,6 @@ class SurnameTraditionFactoryTest extends TestCase
self::assertInstanceOf(DefaultSurnameTradition::class, $factory->make('FOOBAR'));
}
- /**
- * Test allDescriptions()
- */
public function testAllDescriptions(): void
{
$descriptions = Registry::surnameTraditionFactory()->list();
diff --git a/tests/app/FamilyTest.php b/tests/app/FamilyTest.php
index 2bbd81e265..41664908e2 100644
--- a/tests/app/FamilyTest.php
+++ b/tests/app/FamilyTest.php
@@ -24,9 +24,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Family::class)]
class FamilyTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(Family::class));
diff --git a/tests/app/FlashMessagesTest.php b/tests/app/FlashMessagesTest.php
index 56b4b3b93b..72d642a29c 100644
--- a/tests/app/FlashMessagesTest.php
+++ b/tests/app/FlashMessagesTest.php
@@ -24,9 +24,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FlashMessages::class)]
class FlashMessagesTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(FlashMessages::class));
diff --git a/tests/app/GedcomRecordTest.php b/tests/app/GedcomRecordTest.php
index b737a8a3fd..df6270fc80 100644
--- a/tests/app/GedcomRecordTest.php
+++ b/tests/app/GedcomRecordTest.php
@@ -24,10 +24,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(GedcomRecord::class)]
class GedcomRecordTest extends TestCase
{
- /**
- * /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(GedcomRecord::class));
diff --git a/tests/app/Http/Middleware/HandleExceptionsTest.php b/tests/app/Http/Middleware/HandleExceptionsTest.php
index de543c8037..f09ac13858 100644
--- a/tests/app/Http/Middleware/HandleExceptionsTest.php
+++ b/tests/app/Http/Middleware/HandleExceptionsTest.php
@@ -49,7 +49,7 @@ class HandleExceptionsTest extends TestCase
Registry::container()->set(ModuleService::class, $module_service);
$request = self::createRequest();
- $middleware = new HandleExceptions(php_service: new PhpService(), tree_service: $tree_service);
+ $middleware = new HandleExceptions(new PhpService(), $tree_service);
$response = $middleware->process($request, $handler);
self::assertSame(StatusCodeInterface::STATUS_INTERNAL_SERVER_ERROR, $response->getStatusCode());
diff --git a/tests/app/Http/RequestHandlers/ControlPanelControllerTest.php b/tests/app/Http/RequestHandlers/ControlPanelControllerTest.php
index e43b0371af..233672c297 100644
--- a/tests/app/Http/RequestHandlers/ControlPanelControllerTest.php
+++ b/tests/app/Http/RequestHandlers/ControlPanelControllerTest.php
@@ -49,12 +49,12 @@ class ControlPanelControllerTest extends TestCase
$server_check_service = new ServerCheckService(php_service: new PhpService());
$timeout_service = new TimeoutService(php_service: new PhpService());
$gedcom_import_service = new GedcomImportService();
- $tree_service = new TreeService(gedcom_import_service: $gedcom_import_service);
- $upgrade_service = new UpgradeService(timeout_service: $timeout_service);
+ $tree_service = new TreeService($gedcom_import_service);
+ $upgrade_service = new UpgradeService($timeout_service);
$user_service = new UserService();
$handler = new ControlPanel(
- admin_service: $admin_service,
- housekeeping_service: $housekeeping_service,
+ $admin_service,
+ $housekeeping_service,
message_service: $message_service,
module_service: $module_service,
server_check_service: $server_check_service,
@@ -63,7 +63,7 @@ class ControlPanelControllerTest extends TestCase
user_service: $user_service,
);
$request = self::createRequest();
- $response = $handler->handle(request: $request);
+ $response = $handler->handle($request);
self::assertSame(StatusCodeInterface::STATUS_OK, $response->getStatusCode());
}
diff --git a/tests/app/Http/RequestHandlers/DataFixDataTest.php b/tests/app/Http/RequestHandlers/DataFixDataTest.php
index f78eef7aee..ebf25de936 100644
--- a/tests/app/Http/RequestHandlers/DataFixDataTest.php
+++ b/tests/app/Http/RequestHandlers/DataFixDataTest.php
@@ -37,9 +37,6 @@ class DataFixDataTest extends TestCase
{
protected static bool $uses_database = true;
- /**
- * Test request handler
- */
public function testHandlerForFixSearchAndReplace(): void
{
$gedcom_import_service = new GedcomImportService();
diff --git a/tests/app/Http/RequestHandlers/ManageMediaPageTest.php b/tests/app/Http/RequestHandlers/ManageMediaPageTest.php
index 6f3417dde5..daa626ac8a 100644
--- a/tests/app/Http/RequestHandlers/ManageMediaPageTest.php
+++ b/tests/app/Http/RequestHandlers/ManageMediaPageTest.php
@@ -33,7 +33,7 @@ class ManageMediaPageTest extends TestCase
public function testIndex(): void
{
$media_file_service = new MediaFileService(php_service: new PhpService());
- $handler = new ManageMediaPage(media_file_service: $media_file_service);
+ $handler = new ManageMediaPage($media_file_service);
$request = self::createRequest();
$response = $handler->handle($request);
diff --git a/tests/app/Http/RequestHandlers/RedirectModulePhpTest.php b/tests/app/Http/RequestHandlers/RedirectModulePhpTest.php
index b369749007..deb1505d46 100644
--- a/tests/app/Http/RequestHandlers/RedirectModulePhpTest.php
+++ b/tests/app/Http/RequestHandlers/RedirectModulePhpTest.php
@@ -73,7 +73,7 @@ class RedirectModulePhpTest extends TestCase
$module_service = $this->createMock(ModuleService::class);
$module_service
->expects($this->once())
- ->method('findByinterface')
+ ->method('findByInterface')
->with(PedigreeMapModule::class)
->willReturn(new Collection([$module]));
diff --git a/tests/app/Http/RequestHandlers/UploadMediaActionTest.php b/tests/app/Http/RequestHandlers/UploadMediaActionTest.php
index 251209a400..9c8309d149 100644
--- a/tests/app/Http/RequestHandlers/UploadMediaActionTest.php
+++ b/tests/app/Http/RequestHandlers/UploadMediaActionTest.php
@@ -33,7 +33,7 @@ class UploadMediaActionTest extends TestCase
public function testResponseIsOK(): void
{
$media_file_service = new MediaFileService(php_service: new PhpService());
- $handler = new UploadMediaAction(media_file_service: $media_file_service);
+ $handler = new UploadMediaAction($media_file_service);
$request = self::createRequest();
$response = $handler->handle($request);
diff --git a/tests/app/Http/RequestHandlers/UploadMediaPageTest.php b/tests/app/Http/RequestHandlers/UploadMediaPageTest.php
index 7f257e30d7..fbd4013763 100644
--- a/tests/app/Http/RequestHandlers/UploadMediaPageTest.php
+++ b/tests/app/Http/RequestHandlers/UploadMediaPageTest.php
@@ -33,8 +33,8 @@ class UploadMediaPageTest extends TestCase
public function testResponseIsOK(): void
{
$php_service = new PhpService();
- $media_file_service = new MediaFileService(php_service: $php_service);
- $handler = new UploadMediaPage(media_file_service: $media_file_service, php_service: $php_service);
+ $media_file_service = new MediaFileService($php_service);
+ $handler = new UploadMediaPage($media_file_service, $php_service);
$request = self::createRequest();
$response = $handler->handle($request);
diff --git a/tests/app/IndividualTest.php b/tests/app/IndividualTest.php
index e1dd7321b2..8f94ebf47a 100644
--- a/tests/app/IndividualTest.php
+++ b/tests/app/IndividualTest.php
@@ -24,9 +24,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Individual::class)]
class IndividualTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(Individual::class));
diff --git a/tests/app/LogTest.php b/tests/app/LogTest.php
index 97d07e6b0c..6ae1156890 100644
--- a/tests/app/LogTest.php
+++ b/tests/app/LogTest.php
@@ -24,9 +24,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Log::class)]
class LogTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(Log::class));
diff --git a/tests/app/MediaTest.php b/tests/app/MediaTest.php
index ec0c2eb10b..606ba46654 100644
--- a/tests/app/MediaTest.php
+++ b/tests/app/MediaTest.php
@@ -24,9 +24,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Media::class)]
class MediaTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(Media::class));
diff --git a/tests/app/Module/AlbumModuleTest.php b/tests/app/Module/AlbumModuleTest.php
index 53fce44433..f534d92439 100644
--- a/tests/app/Module/AlbumModuleTest.php
+++ b/tests/app/Module/AlbumModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AlbumModule::class)]
class AlbumModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(AlbumModule::class));
diff --git a/tests/app/Module/AncestorsChartModuleTest.php b/tests/app/Module/AncestorsChartModuleTest.php
index f5d48fc0d2..55baf5f009 100644
--- a/tests/app/Module/AncestorsChartModuleTest.php
+++ b/tests/app/Module/AncestorsChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AncestorsChartModule::class)]
class AncestorsChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(AncestorsChartModule::class));
diff --git a/tests/app/Module/AustrianHistoricEventsTest.php b/tests/app/Module/AustrianHistoricEventsTest.php
index e5f93686c8..29a10583f9 100644
--- a/tests/app/Module/AustrianHistoricEventsTest.php
+++ b/tests/app/Module/AustrianHistoricEventsTest.php
@@ -33,9 +33,9 @@ class AustrianHistoricEventsTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'de') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
- self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
+ foreach ($module->historicEventsAll('de') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
+ self::assertTrue($fact->date()->isOK(), 'No date found in:' . $gedcom);
}
}
}
diff --git a/tests/app/Module/AustrianPresidentsTest.php b/tests/app/Module/AustrianPresidentsTest.php
index 71b192655e..bf7650e5a9 100644
--- a/tests/app/Module/AustrianPresidentsTest.php
+++ b/tests/app/Module/AustrianPresidentsTest.php
@@ -33,8 +33,8 @@ class AustrianPresidentsTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'de') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('de') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/BritishMonarchsTest.php b/tests/app/Module/BritishMonarchsTest.php
index dce8b730d7..0f39180887 100644
--- a/tests/app/Module/BritishMonarchsTest.php
+++ b/tests/app/Module/BritishMonarchsTest.php
@@ -33,8 +33,8 @@ class BritishMonarchsTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'en-GB') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('en-GB') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/BritishPrimeMinistersTest.php b/tests/app/Module/BritishPrimeMinistersTest.php
index e50086b823..caf21dc74f 100644
--- a/tests/app/Module/BritishPrimeMinistersTest.php
+++ b/tests/app/Module/BritishPrimeMinistersTest.php
@@ -33,8 +33,8 @@ class BritishPrimeMinistersTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'en-GB') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('en-GB') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/BritishSocialHistoryTest.php b/tests/app/Module/BritishSocialHistoryTest.php
index 1a5ee022be..c1f60bfdae 100644
--- a/tests/app/Module/BritishSocialHistoryTest.php
+++ b/tests/app/Module/BritishSocialHistoryTest.php
@@ -33,8 +33,8 @@ class BritishSocialHistoryTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'en-GB') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('en-GB') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/CensusAssistantModuleTest.php b/tests/app/Module/CensusAssistantModuleTest.php
index 81407ebb7d..ea0aca9c82 100644
--- a/tests/app/Module/CensusAssistantModuleTest.php
+++ b/tests/app/Module/CensusAssistantModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CensusAssistantModule::class)]
class CensusAssistantModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(CensusAssistantModule::class));
diff --git a/tests/app/Module/ChartsBlockModuleTest.php b/tests/app/Module/ChartsBlockModuleTest.php
index 342da51e67..fb9b9c4a3d 100644
--- a/tests/app/Module/ChartsBlockModuleTest.php
+++ b/tests/app/Module/ChartsBlockModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ChartsBlockModule::class)]
class ChartsBlockModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(ChartsBlockModule::class));
diff --git a/tests/app/Module/CkeditorModuleTest.php b/tests/app/Module/CkeditorModuleTest.php
index 7e7d0da136..9ddd9aa027 100644
--- a/tests/app/Module/CkeditorModuleTest.php
+++ b/tests/app/Module/CkeditorModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CkeditorModule::class)]
class CkeditorModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(CkeditorModule::class));
diff --git a/tests/app/Module/ClippingsCartModuleTest.php b/tests/app/Module/ClippingsCartModuleTest.php
index 1a3a39a16b..bf80de385b 100644
--- a/tests/app/Module/ClippingsCartModuleTest.php
+++ b/tests/app/Module/ClippingsCartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ClippingsCartModule::class)]
class ClippingsCartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(ClippingsCartModule::class));
diff --git a/tests/app/Module/CompactTreeChartModuleTest.php b/tests/app/Module/CompactTreeChartModuleTest.php
index 1f43cf140e..92d8b0d2c6 100644
--- a/tests/app/Module/CompactTreeChartModuleTest.php
+++ b/tests/app/Module/CompactTreeChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CompactTreeChartModule::class)]
class CompactTreeChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(CompactTreeChartModule::class));
diff --git a/tests/app/Module/CzechMonarchsAndPresidentsTest.php b/tests/app/Module/CzechMonarchsAndPresidentsTest.php
index 7ec33fb14b..d2b064d49a 100644
--- a/tests/app/Module/CzechMonarchsAndPresidentsTest.php
+++ b/tests/app/Module/CzechMonarchsAndPresidentsTest.php
@@ -33,8 +33,8 @@ class CzechMonarchsAndPresidentsTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'cs') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('cs') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/DescendancyChartModuleTest.php b/tests/app/Module/DescendancyChartModuleTest.php
index 41550fe955..737495ec62 100644
--- a/tests/app/Module/DescendancyChartModuleTest.php
+++ b/tests/app/Module/DescendancyChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(DescendancyChartModule::class)]
class DescendancyChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(DescendancyChartModule::class));
diff --git a/tests/app/Module/DescendancyModuleTest.php b/tests/app/Module/DescendancyModuleTest.php
index f13d43eab4..43dc26a209 100644
--- a/tests/app/Module/DescendancyModuleTest.php
+++ b/tests/app/Module/DescendancyModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(DescendancyModule::class)]
class DescendancyModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(DescendancyModule::class));
diff --git a/tests/app/Module/DutchMonarchsTest.php b/tests/app/Module/DutchMonarchsTest.php
index c86963f636..077404cc74 100644
--- a/tests/app/Module/DutchMonarchsTest.php
+++ b/tests/app/Module/DutchMonarchsTest.php
@@ -33,8 +33,8 @@ class DutchMonarchsTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'nl') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('nl') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/DutchPrimeMinistersTest.php b/tests/app/Module/DutchPrimeMinistersTest.php
index 401543501e..1babef58e5 100644
--- a/tests/app/Module/DutchPrimeMinistersTest.php
+++ b/tests/app/Module/DutchPrimeMinistersTest.php
@@ -33,8 +33,8 @@ class DutchPrimeMinistersTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'nl') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('nl') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/FamilyBookChartModuleTest.php b/tests/app/Module/FamilyBookChartModuleTest.php
index b1cee4ead5..fc116bf985 100644
--- a/tests/app/Module/FamilyBookChartModuleTest.php
+++ b/tests/app/Module/FamilyBookChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FamilyBookChartModule::class)]
class FamilyBookChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(FamilyBookChartModule::class));
diff --git a/tests/app/Module/FamilyNavigatorModuleTest.php b/tests/app/Module/FamilyNavigatorModuleTest.php
index 468b6bc647..403ff342ec 100644
--- a/tests/app/Module/FamilyNavigatorModuleTest.php
+++ b/tests/app/Module/FamilyNavigatorModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FamilyNavigatorModule::class)]
class FamilyNavigatorModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(FamilyNavigatorModule::class));
diff --git a/tests/app/Module/FamilyTreeFavoritesModuleTest.php b/tests/app/Module/FamilyTreeFavoritesModuleTest.php
index 3fd0575059..c8e42c2b8d 100644
--- a/tests/app/Module/FamilyTreeFavoritesModuleTest.php
+++ b/tests/app/Module/FamilyTreeFavoritesModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FamilyTreeFavoritesModule::class)]
class FamilyTreeFavoritesModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(FamilyTreeFavoritesModule::class));
diff --git a/tests/app/Module/FamilyTreeNewsModuleTest.php b/tests/app/Module/FamilyTreeNewsModuleTest.php
index 98eb19aa53..7cf4353527 100644
--- a/tests/app/Module/FamilyTreeNewsModuleTest.php
+++ b/tests/app/Module/FamilyTreeNewsModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FamilyTreeNewsModule::class)]
class FamilyTreeNewsModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(FamilyTreeNewsModule::class));
diff --git a/tests/app/Module/FamilyTreeStatisticsModuleTest.php b/tests/app/Module/FamilyTreeStatisticsModuleTest.php
index eb492933f9..adad15772c 100644
--- a/tests/app/Module/FamilyTreeStatisticsModuleTest.php
+++ b/tests/app/Module/FamilyTreeStatisticsModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FamilyTreeStatisticsModule::class)]
class FamilyTreeStatisticsModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(FamilyTreeStatisticsModule::class));
diff --git a/tests/app/Module/FanChartModuleTest.php b/tests/app/Module/FanChartModuleTest.php
index 45803dc84a..419ea3619d 100644
--- a/tests/app/Module/FanChartModuleTest.php
+++ b/tests/app/Module/FanChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FanChartModule::class)]
class FanChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(FanChartModule::class));
diff --git a/tests/app/Module/FixDuplicateLinksTest.php b/tests/app/Module/FixDuplicateLinksTest.php
index 2893a6670f..79c84e7918 100644
--- a/tests/app/Module/FixDuplicateLinksTest.php
+++ b/tests/app/Module/FixDuplicateLinksTest.php
@@ -41,9 +41,6 @@ class FixDuplicateLinksTest extends TestCase
protected bool $restore_session_user = false;
- /**
- * {@inheritdoc}
- */
protected function setUp(): void
{
parent::setUp();
@@ -58,9 +55,6 @@ class FixDuplicateLinksTest extends TestCase
Auth::login($user);
}
- /**
- * {@inheritdoc}
- */
protected function tearDown(): void
{
parent::tearDown();
@@ -72,18 +66,12 @@ class FixDuplicateLinksTest extends TestCase
unset($this->fixDuplicateLinks, $this->tree);
}
- /**
- * Test the module returns a title and a description
- */
public function testModuleMetadata(): void
{
self::assertNotEmpty($this->fixDuplicateLinks->title());
self::assertNotEmpty($this->fixDuplicateLinks->description());
}
- /**
- * Test the trait's recordsToFix method
- */
public function testRecordsToFix(): void
{
$records = $this->fixDuplicateLinks->recordsToFix($this->tree, []);
@@ -96,9 +84,6 @@ class FixDuplicateLinksTest extends TestCase
self::assertCount(0, $records);
}
- /**
- * Test the doesRecordNeedUpdate method on a negative and positive test
- */
public function testDoesRecordNeedUpdate(): void
{
$family = $this->tree->createFamily("0 @@ FAM\n1 HUSB @X1@\n1 CHIL @X2@");
@@ -108,9 +93,6 @@ class FixDuplicateLinksTest extends TestCase
self::assertTrue($this->fixDuplicateLinks->doesRecordNeedUpdate($family, []));
}
- /**
- * Test the preview of the update
- */
public function testPreviewUpdate(): void
{
$family = $this->tree->createFamily("0 @@ FAM\n1 HUSB @X1@\n1 CHIL @X2@\n1 CHIL @X2@");
@@ -121,9 +103,6 @@ class FixDuplicateLinksTest extends TestCase
);
}
- /**
- * Test the update of the record
- */
public function testUpdateRecord(): void
{
$family = $this->tree->createFamily("0 @@ FAM\n1 HUSB @X1@\n1 CHIL @X2@\n1 CHIL @X2@");
diff --git a/tests/app/Module/FrenchHistoryTest.php b/tests/app/Module/FrenchHistoryTest.php
index a4b8de20b3..7e7a9f3d47 100644
--- a/tests/app/Module/FrenchHistoryTest.php
+++ b/tests/app/Module/FrenchHistoryTest.php
@@ -33,8 +33,8 @@ class FrenchHistoryTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'fr') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('fr') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php b/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php
index 1441fd5f9c..f9f8870659 100644
--- a/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php
+++ b/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FrequentlyAskedQuestionsModule::class)]
class FrequentlyAskedQuestionsModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(FrequentlyAskedQuestionsModule::class));
diff --git a/tests/app/Module/HourglassChartModuleTest.php b/tests/app/Module/HourglassChartModuleTest.php
index 059bdd3ff3..c7a3f683e8 100644
--- a/tests/app/Module/HourglassChartModuleTest.php
+++ b/tests/app/Module/HourglassChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(HourglassChartModule::class)]
class HourglassChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(HourglassChartModule::class));
diff --git a/tests/app/Module/HtmlBlockModuleTest.php b/tests/app/Module/HtmlBlockModuleTest.php
index 42ea387e76..7b7d29dcec 100644
--- a/tests/app/Module/HtmlBlockModuleTest.php
+++ b/tests/app/Module/HtmlBlockModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(HtmlBlockModule::class)]
class HtmlBlockModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(HtmlBlockModule::class));
diff --git a/tests/app/Module/IndividualFactsTabModuleTest.php b/tests/app/Module/IndividualFactsTabModuleTest.php
index e852489b80..ee815513bc 100644
--- a/tests/app/Module/IndividualFactsTabModuleTest.php
+++ b/tests/app/Module/IndividualFactsTabModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(IndividualFactsTabModule::class)]
class IndividualFactsTabModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(IndividualFactsTabModule::class));
diff --git a/tests/app/Module/IndividualMetadataModuleTest.php b/tests/app/Module/IndividualMetadataModuleTest.php
index 698a0e7b91..6be5f4578b 100644
--- a/tests/app/Module/IndividualMetadataModuleTest.php
+++ b/tests/app/Module/IndividualMetadataModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(IndividualMetadataModule::class)]
class IndividualMetadataModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(IndividualMetadataModule::class));
diff --git a/tests/app/Module/InteractiveTree/TreeViewTest.php b/tests/app/Module/InteractiveTree/TreeViewTest.php
index b0c4f9d4a3..0542d90aaf 100644
--- a/tests/app/Module/InteractiveTree/TreeViewTest.php
+++ b/tests/app/Module/InteractiveTree/TreeViewTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(TreeView::class)]
class TreeViewTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(TreeView::class));
diff --git a/tests/app/Module/InteractiveTreeModuleTest.php b/tests/app/Module/InteractiveTreeModuleTest.php
index f9a231fdc8..501caf970c 100644
--- a/tests/app/Module/InteractiveTreeModuleTest.php
+++ b/tests/app/Module/InteractiveTreeModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(InteractiveTreeModule::class)]
class InteractiveTreeModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(InteractiveTreeModule::class));
diff --git a/tests/app/StatsTest.php b/tests/app/Module/LanguageArmenianTest.php
index 299cf70149..0b8b073bc5 100644
--- a/tests/app/StatsTest.php
+++ b/tests/app/Module/LanguageArmenianTest.php
@@ -17,18 +17,16 @@
declare(strict_types=1);
-namespace Fisharebest\Webtrees;
+namespace Fisharebest\Webtrees\Module;
+use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
-#[CoversClass(Statistics::class)]
-class StatsTest extends TestCase
+#[CoversClass(LanguageArmenian::class)]
+class LanguageArmenianTest extends TestCase
{
- /**
- * Test that the class exists
- */
- public function testClassExists(): void
+ public function testClass(): void
{
- self::assertTrue(class_exists(Statistics::class));
+ self::assertTrue(class_exists(LanguageArmenian::class));
}
}
diff --git a/tests/app/Module/LifespansChartModuleTest.php b/tests/app/Module/LifespansChartModuleTest.php
index a3caba4d84..3d615b27c5 100644
--- a/tests/app/Module/LifespansChartModuleTest.php
+++ b/tests/app/Module/LifespansChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LifespansChartModule::class)]
class LifespansChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(LifespansChartModule::class));
diff --git a/tests/app/Module/LoggedInUsersModuleTest.php b/tests/app/Module/LoggedInUsersModuleTest.php
index 6fe35dc62e..57eaad96bf 100644
--- a/tests/app/Module/LoggedInUsersModuleTest.php
+++ b/tests/app/Module/LoggedInUsersModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LoggedInUsersModule::class)]
class LoggedInUsersModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(LoggedInUsersModule::class));
diff --git a/tests/app/Module/LoginBlockModuleTest.php b/tests/app/Module/LoginBlockModuleTest.php
index 670743c7c5..9fff199c27 100644
--- a/tests/app/Module/LoginBlockModuleTest.php
+++ b/tests/app/Module/LoginBlockModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LoginBlockModule::class)]
class LoginBlockModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(LoginBlockModule::class));
diff --git a/tests/app/Module/LowCountriesRulersTest.php b/tests/app/Module/LowCountriesRulersTest.php
index 50a2151873..7f508b41fe 100644
--- a/tests/app/Module/LowCountriesRulersTest.php
+++ b/tests/app/Module/LowCountriesRulersTest.php
@@ -33,8 +33,8 @@ class LowCountriesRulersTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'nl') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('nl') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/MapLinkBingTest.php b/tests/app/Module/MapLinkBingTest.php
index 406545b325..3955962da0 100644
--- a/tests/app/Module/MapLinkBingTest.php
+++ b/tests/app/Module/MapLinkBingTest.php
@@ -41,9 +41,6 @@ class MapLinkBingTest extends TestCase
self::assertSame('', $html);
}
- /**
- * Test that the class exists
- */
public function testLink(): void
{
$module = new MapLinkBing();
diff --git a/tests/app/Module/MediaTabModuleTest.php b/tests/app/Module/MediaTabModuleTest.php
index 4c61125453..8c4c757348 100644
--- a/tests/app/Module/MediaTabModuleTest.php
+++ b/tests/app/Module/MediaTabModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MediaTabModule::class)]
class MediaTabModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(MediaTabModule::class));
diff --git a/tests/app/Module/NewZealandPrimeMinistersTest.php b/tests/app/Module/NewZealandPrimeMinistersTest.php
index 43e0efb966..e86c19c2d5 100644
--- a/tests/app/Module/NewZealandPrimeMinistersTest.php
+++ b/tests/app/Module/NewZealandPrimeMinistersTest.php
@@ -33,8 +33,8 @@ class NewZealandPrimeMinistersTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'en-AU') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('en-AU') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/NotesTabModuleTest.php b/tests/app/Module/NotesTabModuleTest.php
index 89846eea10..0f498a00a0 100644
--- a/tests/app/Module/NotesTabModuleTest.php
+++ b/tests/app/Module/NotesTabModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NotesTabModule::class)]
class NotesTabModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(NotesTabModule::class));
diff --git a/tests/app/Module/OnThisDayModuleTest.php b/tests/app/Module/OnThisDayModuleTest.php
index 60031a3286..6bf0679f09 100644
--- a/tests/app/Module/OnThisDayModuleTest.php
+++ b/tests/app/Module/OnThisDayModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(OnThisDayModule::class)]
class OnThisDayModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(OnThisDayModule::class));
diff --git a/tests/app/Module/PedigreeChartModuleTest.php b/tests/app/Module/PedigreeChartModuleTest.php
index 32d15fce5c..f8be09d2a5 100644
--- a/tests/app/Module/PedigreeChartModuleTest.php
+++ b/tests/app/Module/PedigreeChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PedigreeChartModule::class)]
class PedigreeChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(PedigreeChartModule::class));
diff --git a/tests/app/Module/RecentChangesModuleTest.php b/tests/app/Module/RecentChangesModuleTest.php
index b4ff89b856..5b9f8131d5 100644
--- a/tests/app/Module/RecentChangesModuleTest.php
+++ b/tests/app/Module/RecentChangesModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(RecentChangesModule::class)]
class RecentChangesModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(RecentChangesModule::class));
diff --git a/tests/app/Module/RelationshipsChartModuleTest.php b/tests/app/Module/RelationshipsChartModuleTest.php
index 06aea02ef2..f1ddcf007f 100644
--- a/tests/app/Module/RelationshipsChartModuleTest.php
+++ b/tests/app/Module/RelationshipsChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(RelationshipsChartModule::class)]
class RelationshipsChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(RelationshipsChartModule::class));
diff --git a/tests/app/Module/RelativesTabModuleTest.php b/tests/app/Module/RelativesTabModuleTest.php
index 3c9546c179..efa2988b19 100644
--- a/tests/app/Module/RelativesTabModuleTest.php
+++ b/tests/app/Module/RelativesTabModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(RelativesTabModule::class)]
class RelativesTabModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(RelativesTabModule::class));
diff --git a/tests/app/Module/ResearchTaskModuleTest.php b/tests/app/Module/ResearchTaskModuleTest.php
index f83664b932..11ab42ee76 100644
--- a/tests/app/Module/ResearchTaskModuleTest.php
+++ b/tests/app/Module/ResearchTaskModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ResearchTaskModule::class)]
class ResearchTaskModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(ResearchTaskModule::class));
diff --git a/tests/app/Module/ReviewChangesModuleTest.php b/tests/app/Module/ReviewChangesModuleTest.php
index 8a73db7430..a79d63c387 100644
--- a/tests/app/Module/ReviewChangesModuleTest.php
+++ b/tests/app/Module/ReviewChangesModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ReviewChangesModule::class)]
class ReviewChangesModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(ReviewChangesModule::class));
diff --git a/tests/app/Module/SiteMapModuleTest.php b/tests/app/Module/SiteMapModuleTest.php
index 9d6d7c9431..4b5dd56393 100644
--- a/tests/app/Module/SiteMapModuleTest.php
+++ b/tests/app/Module/SiteMapModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SiteMapModule::class)]
class SiteMapModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(SiteMapModule::class));
diff --git a/tests/app/Module/SlideShowModuleTest.php b/tests/app/Module/SlideShowModuleTest.php
index 25ed1b6049..f5f2c83cd9 100644
--- a/tests/app/Module/SlideShowModuleTest.php
+++ b/tests/app/Module/SlideShowModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SlideShowModule::class)]
class SlideShowModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(SlideShowModule::class));
diff --git a/tests/app/Module/SourcesTabModuleTest.php b/tests/app/Module/SourcesTabModuleTest.php
index a234921d89..bce97e5b00 100644
--- a/tests/app/Module/SourcesTabModuleTest.php
+++ b/tests/app/Module/SourcesTabModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourcesTabModule::class)]
class SourcesTabModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(SourcesTabModule::class));
diff --git a/tests/app/Module/StoriesModuleTest.php b/tests/app/Module/StoriesModuleTest.php
index e496e46b69..71a88b89ed 100644
--- a/tests/app/Module/StoriesModuleTest.php
+++ b/tests/app/Module/StoriesModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(StoriesModule::class)]
class StoriesModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(StoriesModule::class));
diff --git a/tests/app/Module/ThemeSelectModuleTest.php b/tests/app/Module/ThemeSelectModuleTest.php
index dc4ffba9b7..cf01079f3d 100644
--- a/tests/app/Module/ThemeSelectModuleTest.php
+++ b/tests/app/Module/ThemeSelectModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ThemeSelectModule::class)]
class ThemeSelectModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(ThemeSelectModule::class));
diff --git a/tests/app/Module/TimelineChartModuleTest.php b/tests/app/Module/TimelineChartModuleTest.php
index ca083052b7..15258a7cae 100644
--- a/tests/app/Module/TimelineChartModuleTest.php
+++ b/tests/app/Module/TimelineChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(TimelineChartModule::class)]
class TimelineChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(TimelineChartModule::class));
diff --git a/tests/app/Module/TopGivenNamesModuleTest.php b/tests/app/Module/TopGivenNamesModuleTest.php
index 3749d55e2d..3caf413d18 100644
--- a/tests/app/Module/TopGivenNamesModuleTest.php
+++ b/tests/app/Module/TopGivenNamesModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(TopGivenNamesModule::class)]
class TopGivenNamesModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(TopGivenNamesModule::class));
diff --git a/tests/app/Module/TopPageViewsModuleTest.php b/tests/app/Module/TopPageViewsModuleTest.php
index 1ac56b84ee..b0dea5d949 100644
--- a/tests/app/Module/TopPageViewsModuleTest.php
+++ b/tests/app/Module/TopPageViewsModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(TopPageViewsModule::class)]
class TopPageViewsModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(TopPageViewsModule::class));
diff --git a/tests/app/Module/TopSurnamesModuleTest.php b/tests/app/Module/TopSurnamesModuleTest.php
index 96d280b1ed..77928b213c 100644
--- a/tests/app/Module/TopSurnamesModuleTest.php
+++ b/tests/app/Module/TopSurnamesModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(TopSurnamesModule::class)]
class TopSurnamesModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(TopSurnamesModule::class));
diff --git a/tests/app/Module/USPresidentsTest.php b/tests/app/Module/USPresidentsTest.php
index 08b5c417bd..ebf7b92d2b 100644
--- a/tests/app/Module/USPresidentsTest.php
+++ b/tests/app/Module/USPresidentsTest.php
@@ -33,8 +33,8 @@ class USPresidentsTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'en-US') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('en-US') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/UserFavoritesModuleTest.php b/tests/app/Module/UserFavoritesModuleTest.php
index f5809e7587..c2db2667c3 100644
--- a/tests/app/Module/UserFavoritesModuleTest.php
+++ b/tests/app/Module/UserFavoritesModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(UserFavoritesModule::class)]
class UserFavoritesModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(UserFavoritesModule::class));
diff --git a/tests/app/Module/UserJournalModuleTest.php b/tests/app/Module/UserJournalModuleTest.php
index d84b3c412f..ebb41b4e40 100644
--- a/tests/app/Module/UserJournalModuleTest.php
+++ b/tests/app/Module/UserJournalModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(UserJournalModule::class)]
class UserJournalModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(UserJournalModule::class));
diff --git a/tests/app/Module/UserMessagesModuleTest.php b/tests/app/Module/UserMessagesModuleTest.php
index 620b7900f7..f580ca6881 100644
--- a/tests/app/Module/UserMessagesModuleTest.php
+++ b/tests/app/Module/UserMessagesModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(UserMessagesModule::class)]
class UserMessagesModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(UserMessagesModule::class));
diff --git a/tests/app/Module/UserWelcomeModuleTest.php b/tests/app/Module/UserWelcomeModuleTest.php
index dd9064f37c..9f92aa9771 100644
--- a/tests/app/Module/UserWelcomeModuleTest.php
+++ b/tests/app/Module/UserWelcomeModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(UserWelcomeModule::class)]
class UserWelcomeModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(UserWelcomeModule::class));
diff --git a/tests/app/Module/WelcomeBlockModuleTest.php b/tests/app/Module/WelcomeBlockModuleTest.php
index 45ebe95a49..09a7bdd4bc 100644
--- a/tests/app/Module/WelcomeBlockModuleTest.php
+++ b/tests/app/Module/WelcomeBlockModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(WelcomeBlockModule::class)]
class WelcomeBlockModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(WelcomeBlockModule::class));
diff --git a/tests/app/Module/YahrzeitModuleTest.php b/tests/app/Module/YahrzeitModuleTest.php
index ff246200cf..e50d304acc 100644
--- a/tests/app/Module/YahrzeitModuleTest.php
+++ b/tests/app/Module/YahrzeitModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(YahrzeitModule::class)]
class YahrzeitModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(YahrzeitModule::class));
diff --git a/tests/app/NoteTest.php b/tests/app/NoteTest.php
index a9bad1077b..c764103ee9 100644
--- a/tests/app/NoteTest.php
+++ b/tests/app/NoteTest.php
@@ -26,9 +26,6 @@ class NoteTest extends TestCase
{
protected static bool $uses_database = true;
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(Note::class));
diff --git a/tests/app/PlaceTest.php b/tests/app/PlaceTest.php
index 38b8f9d063..9a002b5b98 100644
--- a/tests/app/PlaceTest.php
+++ b/tests/app/PlaceTest.php
@@ -24,9 +24,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Place::class)]
class PlaceTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(Place::class));
diff --git a/tests/app/RepositoryTest.php b/tests/app/RepositoryTest.php
index 74a4e69eb2..6d6284c8ce 100644
--- a/tests/app/RepositoryTest.php
+++ b/tests/app/RepositoryTest.php
@@ -24,9 +24,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Repository::class)]
class RepositoryTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(Repository::class));
diff --git a/tests/app/Services/GedcomEditServiceTest.php b/tests/app/Services/GedcomEditServiceTest.php
index ac397e839f..99c603ee1c 100644
--- a/tests/app/Services/GedcomEditServiceTest.php
+++ b/tests/app/Services/GedcomEditServiceTest.php
@@ -155,7 +155,6 @@ class GedcomEditServiceTest extends TestCase
}
/**
- * Data provider for new family facts tests
* @return array<array<string|array<string>>>
*/
public static function newFamilyFactsData(): array
@@ -169,7 +168,6 @@ class GedcomEditServiceTest extends TestCase
}
/**
- * Data provider for new individual facts tests
* @return array<array<string|array<string>>>
*/
public static function newIndividualFactsData(): array
diff --git a/tests/app/Services/ModuleServiceTest.php b/tests/app/Services/ModuleServiceTest.php
index e836c740bc..065e0c6e5f 100644
--- a/tests/app/Services/ModuleServiceTest.php
+++ b/tests/app/Services/ModuleServiceTest.php
@@ -33,6 +33,7 @@ use Fisharebest\Webtrees\Module\ModuleSidebarInterface;
use Fisharebest\Webtrees\Module\ModuleTabInterface;
use Fisharebest\Webtrees\Module\ModuleThemeInterface;
use Fisharebest\Webtrees\TestCase;
+use Fisharebest\Webtrees\Webtrees;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ModuleService::class)]
@@ -78,9 +79,6 @@ class ModuleServiceTest extends TestCase
self::assertNotEmpty($module_service->findByInterface(ModuleSidebarInterface::class, true)->all());
self::assertNotEmpty($module_service->findByInterface(ModuleTabInterface::class, true)->all());
self::assertNotEmpty($module_service->findByInterface(ModuleThemeInterface::class, true)->all());
-
- // Search for an invalid module type
- self::assertEmpty($module_service->findByInterface('not-a-valid-class-or-interface')->all());
}
public function testOtherModules(): void
diff --git a/tests/app/Services/TimeoutServiceTest.php b/tests/app/Services/TimeoutServiceTest.php
index 639af18a3b..44c03f9ba6 100644
--- a/tests/app/Services/TimeoutServiceTest.php
+++ b/tests/app/Services/TimeoutServiceTest.php
@@ -34,7 +34,7 @@ class TimeoutServiceTest extends TestCase
$now = 1500000000.0;
- $timeout_service = new TimeoutService(php_service: $php_service, start_time: $now);
+ $timeout_service = new TimeoutService($php_service, $now);
self::assertFalse($timeout_service->isTimeNearlyUp());
}
@@ -46,7 +46,7 @@ class TimeoutServiceTest extends TestCase
$now = 1500000000.0;
- $timeout_service = new TimeoutService(php_service: $php_service, start_time: $now);
+ $timeout_service = new TimeoutService($php_service, $now);
$time_factory = $this->createMock(TimeFactoryInterface::class);
$time_factory->method('now')->willReturn($now + 60.0);
@@ -62,7 +62,7 @@ class TimeoutServiceTest extends TestCase
$now = Registry::timeFactory()->now();
- $timeout_service = new TimeoutService(php_service: $php_service, start_time: $now);
+ $timeout_service = new TimeoutService($php_service, $now);
$time_factory = $this->createMock(TimeFactoryInterface::class);
$time_factory->method('now')->willReturn($now + 10.0);
@@ -75,7 +75,7 @@ class TimeoutServiceTest extends TestCase
{
$now = Registry::timeFactory()->now();
- $timeout_service = new TimeoutService(php_service: new PhpService(), start_time: $now);
+ $timeout_service = new TimeoutService(new PhpService(), $now);
$time_factory = $this->createMock(TimeFactoryInterface::class);
$time_factory->method('now')->willReturn($now + 1.4);
@@ -88,7 +88,7 @@ class TimeoutServiceTest extends TestCase
{
$now = Registry::timeFactory()->now();
- $timeout_service = new TimeoutService(php_service: new PhpService(), start_time: $now);
+ $timeout_service = new TimeoutService(new PhpService(), $now);
$time_factory = $this->createMock(TimeFactoryInterface::class);
$time_factory->method('now')->willReturn($now + 1.6);
diff --git a/tests/app/Services/UserServiceTest.php b/tests/app/Services/UserServiceTest.php
index b053d830e9..794ff47303 100644
--- a/tests/app/Services/UserServiceTest.php
+++ b/tests/app/Services/UserServiceTest.php
@@ -30,9 +30,6 @@ class UserServiceTest extends TestCase
{
protected static bool $uses_database = true;
- /**
- * Things to run before every test.
- */
protected function setUp(): void
{
parent::setUp();
diff --git a/tests/app/SoundexTest.php b/tests/app/SoundexTest.php
index fdfd6e82d4..a9de505f4a 100644
--- a/tests/app/SoundexTest.php
+++ b/tests/app/SoundexTest.php
@@ -24,9 +24,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Soundex::class)]
class SoundexTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(Soundex::class));
diff --git a/tests/app/SourceTest.php b/tests/app/SourceTest.php
index f90281085c..0b42fc4d49 100644
--- a/tests/app/SourceTest.php
+++ b/tests/app/SourceTest.php
@@ -24,9 +24,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Source::class)]
class SourceTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(Source::class));
diff --git a/tests/app/SurnameTradition/DefaultSurnameTraditionTest.php b/tests/app/SurnameTradition/DefaultSurnameTraditionTest.php
index 76244d2b1b..6f1ec22162 100644
--- a/tests/app/SurnameTradition/DefaultSurnameTraditionTest.php
+++ b/tests/app/SurnameTradition/DefaultSurnameTraditionTest.php
@@ -30,17 +30,11 @@ class DefaultSurnameTraditionTest extends TestCase
{
private SurnameTraditionInterface $surname_tradition;
- /**
- * Test whether surnames are used
- */
public function testSurnames(): void
{
self::assertSame('//', $this->surname_tradition->defaultName());
}
- /**
- * Test new child names
- */
public function testNewChildNames(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -71,9 +65,6 @@ class DefaultSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new parent names
- */
public function testNewParentNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -98,9 +89,6 @@ class DefaultSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new spouse names
- */
public function testNewSpouseNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -125,9 +113,6 @@ class DefaultSurnameTraditionTest extends TestCase
);
}
- /**
- * Prepare the environment for these tests
- */
protected function setUp(): void
{
parent::setUp();
diff --git a/tests/app/SurnameTradition/IcelandicSurnameTraditionTest.php b/tests/app/SurnameTradition/IcelandicSurnameTraditionTest.php
index 4ed1d4d253..896d435616 100644
--- a/tests/app/SurnameTradition/IcelandicSurnameTraditionTest.php
+++ b/tests/app/SurnameTradition/IcelandicSurnameTraditionTest.php
@@ -30,17 +30,11 @@ class IcelandicSurnameTraditionTest extends TestCase
{
private SurnameTraditionInterface $surname_tradition;
- /**
- * Test whether surnames are used
- */
public function testSurnames(): void
{
self::assertSame('', $this->surname_tradition->defaultName());
}
- /**
- * Test new son names
- */
public function testNewSonNames(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -61,9 +55,6 @@ class IcelandicSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new daughter names
- */
public function testNewDaughterNames(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -84,9 +75,6 @@ class IcelandicSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new child names
- */
public function testNewChildNames(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -107,9 +95,6 @@ class IcelandicSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new father names
- */
public function testNewFatherNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -124,9 +109,6 @@ class IcelandicSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new mother names
- */
public function testNewMotherNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -141,9 +123,6 @@ class IcelandicSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new parent names
- */
public function testNewParentNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -158,9 +137,6 @@ class IcelandicSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new spouse names
- */
public function testNewSpouseNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -185,9 +161,6 @@ class IcelandicSurnameTraditionTest extends TestCase
);
}
- /**
- * Prepare the environment for these tests
- */
protected function setUp(): void
{
parent::setUp();
diff --git a/tests/app/SurnameTradition/LithuanianSurnameTraditionTest.php b/tests/app/SurnameTradition/LithuanianSurnameTraditionTest.php
index 6f1660b8ce..ea7e35c2d7 100644
--- a/tests/app/SurnameTradition/LithuanianSurnameTraditionTest.php
+++ b/tests/app/SurnameTradition/LithuanianSurnameTraditionTest.php
@@ -31,9 +31,6 @@ class LithuanianSurnameTraditionTest extends TestCase
{
private SurnameTraditionInterface $surname_tradition;
- /**
- * Prepare the environment for these tests
- */
protected function setUp(): void
{
parent::setUp();
@@ -41,17 +38,11 @@ class LithuanianSurnameTraditionTest extends TestCase
$this->surname_tradition = new LithuanianSurnameTradition();
}
- /**
- * Test whether surnames are used
- */
public function testSurnames(): void
{
self::assertSame('//', $this->surname_tradition->defaultName());
}
- /**
- * Test new son names
- */
public function testNewSonNames(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -72,9 +63,6 @@ class LithuanianSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new daughter names
- */
public function testNewDaughterNames(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -95,9 +83,6 @@ class LithuanianSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new daughter names
- */
public function testNewDaughterNamesInflected(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -173,9 +158,6 @@ class LithuanianSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new child names
- */
public function testNewChildNames(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -196,9 +178,6 @@ class LithuanianSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new child names
- */
public function testNewChildNamesWithNoParentsNames(): void
{
self::assertSame(
@@ -207,9 +186,6 @@ class LithuanianSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new father names
- */
public function testNewFatherNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -224,9 +200,6 @@ class LithuanianSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new father names
- */
public function testNewFatherNamesInflected(): void
{
$fact = $this->createMock(Fact::class);
@@ -274,9 +247,6 @@ class LithuanianSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new mother names
- */
public function testNewMotherNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -291,9 +261,6 @@ class LithuanianSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new parent names
- */
public function testNewParentNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -308,9 +275,6 @@ class LithuanianSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new husband names
- */
public function testNewHusbandNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -325,9 +289,6 @@ class LithuanianSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new wife names
- */
public function testNewWifeNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -342,9 +303,6 @@ class LithuanianSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new spouse names
- */
public function testNewSpouseNames(): void
{
$fact = $this->createMock(Fact::class);
diff --git a/tests/app/SurnameTradition/MatrilinealSurnameTraditionTest.php b/tests/app/SurnameTradition/MatrilinealSurnameTraditionTest.php
index 84b674f5c9..84bb712fd6 100644
--- a/tests/app/SurnameTradition/MatrilinealSurnameTraditionTest.php
+++ b/tests/app/SurnameTradition/MatrilinealSurnameTraditionTest.php
@@ -30,9 +30,6 @@ class MatrilinealSurnameTraditionTest extends TestCase
{
private SurnameTraditionInterface $surname_tradition;
- /**
- * Prepare the environment for these tests
- */
protected function setUp(): void
{
parent::setUp();
@@ -40,17 +37,11 @@ class MatrilinealSurnameTraditionTest extends TestCase
$this->surname_tradition = new MatrilinealSurnameTradition();
}
- /**
- * Test whether surnames are used
- */
public function testSurnames(): void
{
self::assertSame('//', $this->surname_tradition->defaultName());
}
- /**
- * Test new child names
- */
public function testNewChildNames(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -81,9 +72,6 @@ class MatrilinealSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new child names
- */
public function testNewChildNamesWithSpfx(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -104,9 +92,6 @@ class MatrilinealSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new child names
- */
public function testNewChildNamesWithNoParentsNames(): void
{
self::assertSame(
@@ -115,9 +100,6 @@ class MatrilinealSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new parent names
- */
public function testNewParentNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -142,9 +124,6 @@ class MatrilinealSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new spouse names
- */
public function testNewSpouseNames(): void
{
$fact = $this->createMock(Fact::class);
diff --git a/tests/app/SurnameTradition/PaternalSurnameTraditionTest.php b/tests/app/SurnameTradition/PaternalSurnameTraditionTest.php
index 42db90b101..c9fd0d8866 100644
--- a/tests/app/SurnameTradition/PaternalSurnameTraditionTest.php
+++ b/tests/app/SurnameTradition/PaternalSurnameTraditionTest.php
@@ -30,17 +30,11 @@ class PaternalSurnameTraditionTest extends TestCase
{
private SurnameTraditionInterface $surname_tradition;
- /**
- * Test whether surnames are used
- */
public function testSurnames(): void
{
self::assertSame('//', $this->surname_tradition->defaultName());
}
- /**
- * Test new child names
- */
public function testNewChildNames(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -71,9 +65,6 @@ class PaternalSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new child names
- */
public function testNewChildNamesWithSpfx(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -94,9 +85,6 @@ class PaternalSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new child names
- */
public function testNewChildNamesWithMultipleSpfx(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -117,9 +105,6 @@ class PaternalSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new child names
- */
public function testNewChildNamesWithDutchSpfx(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -140,9 +125,6 @@ class PaternalSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new child names
- */
public function testNewChildNamesWithMultipleDutchSpfx(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -163,9 +145,6 @@ class PaternalSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new father names
- */
public function testNewFatherNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -180,9 +159,6 @@ class PaternalSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new mother names
- */
public function testNewMotherNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -197,9 +173,6 @@ class PaternalSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new parent names
- */
public function testNewParentNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -214,9 +187,6 @@ class PaternalSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new husband names
- */
public function testNewHusbandNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -231,9 +201,6 @@ class PaternalSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new wife names
- */
public function testNewWifeNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -248,9 +215,6 @@ class PaternalSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new wife names
- */
public function testNewWifeNamesWithSpfx(): void
{
$fact = $this->createMock(Fact::class);
@@ -265,9 +229,6 @@ class PaternalSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new spouse names
- */
public function testNewSpouseNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -282,9 +243,6 @@ class PaternalSurnameTraditionTest extends TestCase
);
}
- /**
- * Prepare the environment for these tests
- */
protected function setUp(): void
{
parent::setUp();
diff --git a/tests/app/SurnameTradition/PatrilinealSurnameTraditionTest.php b/tests/app/SurnameTradition/PatrilinealSurnameTraditionTest.php
index fb929f0648..32d5c0fa0a 100644
--- a/tests/app/SurnameTradition/PatrilinealSurnameTraditionTest.php
+++ b/tests/app/SurnameTradition/PatrilinealSurnameTraditionTest.php
@@ -30,9 +30,6 @@ class PatrilinealSurnameTraditionTest extends TestCase
{
private SurnameTraditionInterface $surname_tradition;
- /**
- * Prepare the environment for these tests
- */
protected function setUp(): void
{
parent::setUp();
@@ -40,17 +37,11 @@ class PatrilinealSurnameTraditionTest extends TestCase
$this->surname_tradition = new PatrilinealSurnameTradition();
}
- /**
- * Test whether surnames are used
- */
public function testSurnames(): void
{
self::assertSame('//', $this->surname_tradition->defaultName());
}
- /**
- * Test new child names
- */
public function testNewChildNames(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -81,9 +72,6 @@ class PatrilinealSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new child names
- */
public function testNewChildNamesWithSpfx(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -104,9 +92,6 @@ class PatrilinealSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new child names
- */
public function testNewChildNamesWithNoParentsNames(): void
{
self::assertSame(
@@ -115,9 +100,6 @@ class PatrilinealSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new parent names
- */
public function testNewParentNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -142,9 +124,6 @@ class PatrilinealSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new spouse names
- */
public function testNewSpouseNames(): void
{
$fact = $this->createMock(Fact::class);
diff --git a/tests/app/SurnameTradition/PolishSurnameTraditionTest.php b/tests/app/SurnameTradition/PolishSurnameTraditionTest.php
index 58fecd6917..91fce54e65 100644
--- a/tests/app/SurnameTradition/PolishSurnameTraditionTest.php
+++ b/tests/app/SurnameTradition/PolishSurnameTraditionTest.php
@@ -31,17 +31,11 @@ class PolishSurnameTraditionTest extends TestCase
{
private SurnameTraditionInterface $surname_tradition;
- /**
- * Test whether surnames are used
- */
public function testSurnames(): void
{
self::assertSame('//', $this->surname_tradition->defaultName());
}
- /**
- * Test new son names
- */
public function testNewSonNames(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -62,9 +56,6 @@ class PolishSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new daughter names
- */
public function testNewDaughterNames(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -85,9 +76,6 @@ class PolishSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new daughter names
- */
public function testNewDaughterNamesInflected(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -159,9 +147,6 @@ class PolishSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new child names
- */
public function testNewChildNames(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -182,9 +167,6 @@ class PolishSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new child names
- */
public function testNewChildNamesWithNoParentsNames(): void
{
self::assertSame(
@@ -193,9 +175,6 @@ class PolishSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new father names
- */
public function testNewFatherNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -210,9 +189,6 @@ class PolishSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new father names
- */
public function testNewFatherNamesInflected(): void
{
$fact = $this->createMock(Fact::class);
@@ -260,9 +236,6 @@ class PolishSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new mother names
- */
public function testNewMotherNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -277,9 +250,6 @@ class PolishSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new parent names
- */
public function testNewParentNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -294,9 +264,6 @@ class PolishSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new spouse names
- */
public function testNewSpouseNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -321,9 +288,6 @@ class PolishSurnameTraditionTest extends TestCase
);
}
- /**
- * Prepare the environment for these tests
- */
protected function setUp(): void
{
parent::setUp();
diff --git a/tests/app/SurnameTradition/PortugueseSurnameTraditionTest.php b/tests/app/SurnameTradition/PortugueseSurnameTraditionTest.php
index dbe29bdaf3..75734102c8 100644
--- a/tests/app/SurnameTradition/PortugueseSurnameTraditionTest.php
+++ b/tests/app/SurnameTradition/PortugueseSurnameTraditionTest.php
@@ -30,9 +30,6 @@ class PortugueseSurnameTraditionTest extends TestCase
{
private SurnameTraditionInterface $surname_tradition;
- /**
- * Prepare the environment for these tests
- */
protected function setUp(): void
{
parent::setUp();
@@ -40,17 +37,11 @@ class PortugueseSurnameTraditionTest extends TestCase
$this->surname_tradition = new PortugueseSurnameTradition();
}
- /**
- * Test whether surnames are used
- */
public function testSurnames(): void
{
self::assertSame('// //', $this->surname_tradition->defaultName());
}
- /**
- * Test new child names
- */
public function testNewChildNames(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -81,9 +72,6 @@ class PortugueseSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new child names
- */
public function testNewChildNamesWithNoParentsNames(): void
{
self::assertSame(
@@ -92,9 +80,6 @@ class PortugueseSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new child names
- */
public function testNewChildNamesCompunds(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -115,9 +100,6 @@ class PortugueseSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new parent names
- */
public function testNewParentNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -141,9 +123,6 @@ class PortugueseSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new spouse names
- */
public function testNewSpouseNames(): void
{
$fact = $this->createMock(Fact::class);
diff --git a/tests/app/SurnameTradition/SpanishSurnameTraditionTest.php b/tests/app/SurnameTradition/SpanishSurnameTraditionTest.php
index 03fe0e7e2b..ec1b623d48 100644
--- a/tests/app/SurnameTradition/SpanishSurnameTraditionTest.php
+++ b/tests/app/SurnameTradition/SpanishSurnameTraditionTest.php
@@ -30,17 +30,11 @@ class SpanishSurnameTraditionTest extends TestCase
{
private SurnameTraditionInterface $surname_tradition;
- /**
- * Test whether surnames are used
- */
public function testSurnames(): void
{
self::assertSame('// //', $this->surname_tradition->defaultName());
}
- /**
- * Test new child names
- */
public function testNewChildNames(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -71,9 +65,6 @@ class SpanishSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new child names
- */
public function testNewChildNamesWithNoParentsNames(): void
{
self::assertSame(
@@ -82,9 +73,6 @@ class SpanishSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new child names
- */
public function testNewChildNamesCompound(): void
{
$father_fact = $this->createMock(Fact::class);
@@ -105,9 +93,6 @@ class SpanishSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new parent names
- */
public function testNewParentNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -132,9 +117,6 @@ class SpanishSurnameTraditionTest extends TestCase
);
}
- /**
- * Test new spouse names
- */
public function testNewSpouseNames(): void
{
$fact = $this->createMock(Fact::class);
@@ -159,9 +141,6 @@ class SpanishSurnameTraditionTest extends TestCase
);
}
- /**
- * Prepare the environment for these tests
- */
protected function setUp(): void
{
parent::setUp();
diff --git a/tests/app/TreeTest.php b/tests/app/TreeTest.php
index f66e6988f0..9b546c0e0d 100644
--- a/tests/app/TreeTest.php
+++ b/tests/app/TreeTest.php
@@ -42,9 +42,6 @@ class TreeTest extends TestCase
{
protected static bool $uses_database = true;
- /**
- * Things to run before every test.
- */
protected function setUp(): void
{
parent::setUp();
diff --git a/tests/app/UserTest.php b/tests/app/UserTest.php
index e4abc6d505..a2b89d68c6 100644
--- a/tests/app/UserTest.php
+++ b/tests/app/UserTest.php
@@ -30,9 +30,6 @@ class UserTest extends TestCase
{
protected static bool $uses_database = true;
- /**
- * Things to run before every test.
- */
protected function setUp(): void
{
parent::setUp();
diff --git a/tests/views/VerifySuccessPageTest.php b/tests/views/VerifySuccessPageTest.php
index a84fc68fda..635ceb36e3 100644
--- a/tests/views/VerifySuccessPageTest.php
+++ b/tests/views/VerifySuccessPageTest.php
@@ -21,9 +21,6 @@ namespace Fisharebest\Webtrees;
class VerifySuccessPageTest extends AbstractViewTest
{
- /**
- * Standard tests for all elements.
- */
public function testView(): void
{
$this->doTestView('verify-success-page', [