Code Duplication    Length = 8-8 lines in 2 locations

src/plugins/onTick/notifications.php 2 locations

@@ 623-630 (lines=8) @@
620
                            $systemName = getSystemName($solarSystemID[0]);
621
                            $msg = "TCU in **{$systemName}** has self destructed.";
622
                            break;
623
                        case 181: // citadel low on fuel
624
                            preg_match('/(?<=solarsystemID: )\S+/i', $notificationString, $solarSystemID);
625
                            $systemName = getSystemName($solarSystemID[0]);
626
                            $msg = "Citadel in **{$systemName}** is low on fuel.";
627
                            if ($this->fuelSkip === 'true' || $this->allianceOnly === 'true') {
628
                                $msg = 'skip';
629
                            }
630
                            break;
631
                        case 182: //  Citadel being anchored
632
                            preg_match('/(?<=ownerCorpName: )[^\r\n]+/i', $notificationString, $corpName);
633
                            $corpName = $corpName[0];
@@ 661-668 (lines=8) @@
658
                            $systemName = getSystemName($solarSystemID[0]);
659
                            $msg = "Citadel owned by **{$corpName}** in **{$systemName}** has been destroyed.";
660
                            break;
661
                        case 198: // citadel out of fuel
662
                            preg_match('/(?<=solarsystemID: )\S+/i', $notificationString, $solarSystemID);
663
                            $systemName = getSystemName($solarSystemID[0]);
664
                            $msg = "Citadel in **{$systemName}** has run out of fuel.";
665
                            if ($this->fuelSkip === 'true' || $this->allianceOnly === 'true') {
666
                                $msg = 'skip';
667
                            }
668
                            break;
669
                        case 199: // citadel delivery
670
                            $msg = 'skip';
671
                            break;