Code Duplication    Length = 4-4 lines in 6 locations

src/RSSFeed/simplepie/simplepie_1.3.1.mini.php 6 locations

@@ 5715-5718 (lines=4) @@
5712
    }
5713
    protected function scheme_normalization()
5714
    {
5715
        if (isset($this->normalization[$this->scheme]['iuserinfo']) && $this->iuserinfo === $this->normalization[$this->scheme]['iuserinfo'])
5716
        {
5717
            $this->iuserinfo = null;
5718
        }
5719
        if (isset($this->normalization[$this->scheme]['ihost']) && $this->ihost === $this->normalization[$this->scheme]['ihost'])
5720
        {
5721
            $this->ihost = null;
@@ 5719-5722 (lines=4) @@
5716
        {
5717
            $this->iuserinfo = null;
5718
        }
5719
        if (isset($this->normalization[$this->scheme]['ihost']) && $this->ihost === $this->normalization[$this->scheme]['ihost'])
5720
        {
5721
            $this->ihost = null;
5722
        }
5723
        if (isset($this->normalization[$this->scheme]['port']) && $this->port === $this->normalization[$this->scheme]['port'])
5724
        {
5725
            $this->port = null;
@@ 5723-5726 (lines=4) @@
5720
        {
5721
            $this->ihost = null;
5722
        }
5723
        if (isset($this->normalization[$this->scheme]['port']) && $this->port === $this->normalization[$this->scheme]['port'])
5724
        {
5725
            $this->port = null;
5726
        }
5727
        if (isset($this->normalization[$this->scheme]['ipath']) && $this->ipath === $this->normalization[$this->scheme]['ipath'])
5728
        {
5729
            $this->ipath = '';
@@ 5727-5730 (lines=4) @@
5724
        {
5725
            $this->port = null;
5726
        }
5727
        if (isset($this->normalization[$this->scheme]['ipath']) && $this->ipath === $this->normalization[$this->scheme]['ipath'])
5728
        {
5729
            $this->ipath = '';
5730
        }
5731
        if (isset($this->normalization[$this->scheme]['iquery']) && $this->iquery === $this->normalization[$this->scheme]['iquery'])
5732
        {
5733
            $this->iquery = null;
@@ 5731-5734 (lines=4) @@
5728
        {
5729
            $this->ipath = '';
5730
        }
5731
        if (isset($this->normalization[$this->scheme]['iquery']) && $this->iquery === $this->normalization[$this->scheme]['iquery'])
5732
        {
5733
            $this->iquery = null;
5734
        }
5735
        if (isset($this->normalization[$this->scheme]['ifragment']) && $this->ifragment === $this->normalization[$this->scheme]['ifragment'])
5736
        {
5737
            $this->ifragment = null;
@@ 5735-5738 (lines=4) @@
5732
        {
5733
            $this->iquery = null;
5734
        }
5735
        if (isset($this->normalization[$this->scheme]['ifragment']) && $this->ifragment === $this->normalization[$this->scheme]['ifragment'])
5736
        {
5737
            $this->ifragment = null;
5738
        }
5739
    }
5740
    
5741
    public function is_valid()