diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2021-01-12 13:05:15 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2021-01-12 13:05:15 +0000 |
| commit | 355aa61e5eaf7abebb6bbb973b4e9f62a095f105 (patch) | |
| tree | 69b615d16d22e522f780a279beb0d0e6c66b3d5a | |
| parent | 96c9e653a2a8dd1bb540e35cfd8ff1b4e5861c26 (diff) | |
| download | webtrees-355aa61e5eaf7abebb6bbb973b4e9f62a095f105.tar.gz webtrees-355aa61e5eaf7abebb6bbb973b4e9f62a095f105.tar.bz2 webtrees-355aa61e5eaf7abebb6bbb973b4e9f62a095f105.zip | |
Remove unused private constants
| -rw-r--r-- | app/Module/PedigreeMapModule.php | 1 | ||||
| -rw-r--r-- | app/Module/StatisticsChartModule.php | 6 | ||||
| -rw-r--r-- | app/Module/UpcomingAnniversariesModule.php | 1 | ||||
| -rw-r--r-- | app/Services/GedcomService.php | 6 |
4 files changed, 0 insertions, 14 deletions
diff --git a/app/Module/PedigreeMapModule.php b/app/Module/PedigreeMapModule.php index 8c35698304..a5ca46af88 100644 --- a/app/Module/PedigreeMapModule.php +++ b/app/Module/PedigreeMapModule.php @@ -64,7 +64,6 @@ class PedigreeMapModule extends AbstractModule implements ModuleChartInterface, // Limits public const MAXIMUM_GENERATIONS = 10; - private const MINZOOM = 2; // CSS colors for each generation private const COLORS = [ diff --git a/app/Module/StatisticsChartModule.php b/app/Module/StatisticsChartModule.php index 5c26f499e1..df3aa6daaa 100644 --- a/app/Module/StatisticsChartModule.php +++ b/app/Module/StatisticsChartModule.php @@ -52,12 +52,6 @@ class StatisticsChartModule extends AbstractModule implements ModuleChartInterfa { use ModuleChartTrait; - // We generate a bitmap chart with these dimensions in image pixels. - // These set the aspect ratio. The actual image is sized using CSS - // The maximum size (width x height) is 300,000 - private const CHART_WIDTH = 950; - private const CHART_HEIGHT = 315; - public const X_AXIS_INDIVIDUAL_MAP = 1; public const X_AXIS_BIRTH_MAP = 2; public const X_AXIS_DEATH_MAP = 3; diff --git a/app/Module/UpcomingAnniversariesModule.php b/app/Module/UpcomingAnniversariesModule.php index 2f6b46a217..c87630107f 100644 --- a/app/Module/UpcomingAnniversariesModule.php +++ b/app/Module/UpcomingAnniversariesModule.php @@ -48,7 +48,6 @@ class UpcomingAnniversariesModule extends AbstractModule implements ModuleBlockI ]; // Can show this number of days into the future. - private const MIN_DAYS = 1; private const MAX_DAYS = 30; // Pagination diff --git a/app/Services/GedcomService.php b/app/Services/GedcomService.php index a9d71a633e..ab135de0c9 100644 --- a/app/Services/GedcomService.php +++ b/app/Services/GedcomService.php @@ -24,12 +24,6 @@ namespace Fisharebest\Webtrees\Services; */ class GedcomService { - // Gedcom allows 255 characters (not bytes), including the EOL character. - private const EOL = "\r\n"; - private const EOL_REGEX = '\r|\r\n|\n|\n\r'; - private const LINE_LENGTH = 255 - 2; - - // User defined tags begin with an underscore private const USER_DEFINED_TAG_PREFIX = '_'; |
