summaryrefslogtreecommitdiff
path: root/phpstan-baseline.neon
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2026-02-11 15:28:46 +0000
committerGreg Roach <greg@subaqua.co.uk>2026-02-13 15:07:42 +0000
commitab5cd4f311b8e85fb173c2147fe45ade76f0266a (patch)
tree2610b5b608cb5da0b65939bb99403c4336baeecc /phpstan-baseline.neon
parent6ce876758937baf586cc76babd5cd87dbcba3d91 (diff)
downloadwebtrees-ab5cd4f311b8e85fb173c2147fe45ade76f0266a.tar.gz
webtrees-ab5cd4f311b8e85fb173c2147fe45ade76f0266a.tar.bz2
webtrees-ab5cd4f311b8e85fb173c2147fe45ade76f0266a.zip
Fix phpstan issues
Diffstat (limited to 'phpstan-baseline.neon')
-rw-r--r--phpstan-baseline.neon41
1 files changed, 4 insertions, 37 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index f706f9c676..df9bc0e890 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -1,58 +1,25 @@
parameters:
ignoreErrors:
-
- rawMessage: '''
- Call to deprecated method legacyNameAlgorithm() of class Fisharebest\Webtrees\Services\RelationshipService:
- This code was originally Functions::getRelationshipNameFromPath
- '''
- identifier: method.deprecated
- count: 1
- path: app/Module/PedigreeMapModule.php
-
- -
- rawMessage: '''
- Call to deprecated method legacyNameAlgorithm() of class Fisharebest\Webtrees\Services\RelationshipService:
- This code was originally Functions::getRelationshipNameFromPath
- '''
- identifier: method.deprecated
- count: 5
- path: app/Module/RelationshipsChartModule.php
-
- -
- rawMessage: 'Call to an undefined method Fisharebest\Webtrees\GedcomRecord::sex().'
- identifier: method.notFound
- count: 17
- path: app/Services/IndividualFactsService.php
-
- -
- rawMessage: '''
- Call to deprecated method legacyNameAlgorithm() of class Fisharebest\Webtrees\Services\RelationshipService:
- This code was originally Functions::getRelationshipNameFromPath
- '''
- identifier: method.deprecated
- count: 1
- path: app/Services/RelationshipService.php
-
- -
- rawMessage: 'Call to an undefined method Fisharebest\Webtrees\GedcomRecord::getBirthDate().'
+ message: '#^Call to an undefined method Fisharebest\\Webtrees\\GedcomRecord\:\:getBirthDate\(\)\.$#'
identifier: method.notFound
count: 1
path: resources/views/edit/reorder-children.phtml
-
- rawMessage: 'Call to an undefined method Fisharebest\Webtrees\GedcomRecord::getMarriageDate().'
+ message: '#^Call to an undefined method Fisharebest\\Webtrees\\GedcomRecord\:\:getMarriageDate\(\)\.$#'
identifier: method.notFound
count: 2
path: resources/views/edit/reorder-families.phtml
-
- rawMessage: 'Call to an undefined method Fisharebest\Webtrees\GedcomRecord::displayImage().'
+ message: '#^Call to an undefined method Fisharebest\\Webtrees\\GedcomRecord\:\:displayImage\(\)\.$#'
identifier: method.notFound
count: 1
path: resources/views/edit/reorder-media.phtml
-
- rawMessage: 'Call to an undefined method Fisharebest\Webtrees\GedcomRecord::displayImage().'
+ message: '#^Call to an undefined method Fisharebest\\Webtrees\\GedcomRecord\:\:displayImage\(\)\.$#'
identifier: method.notFound
count: 1
path: resources/views/modules/pedigree-map/events.phtml