Code Duplication    Length = 10-11 lines in 2 locations

src/Backup/Sync/SoftLayer.php 1 location

@@ 136-146 (lines=11) @@
133
     * @param \phpbu\App\Backup\Target $target
134
     * @param \phpbu\App\Result        $result
135
     */
136
    public function simulate(Target $target, Result $result)
137
    {
138
        $result->debug(
139
            'sync backup to SoftLayer' . PHP_EOL
140
            . '  host:      ' . $this->host . PHP_EOL
141
            . '  user:      ' . $this->user . PHP_EOL
142
            . '  secret:     ********' . PHP_EOL
143
            . '  conatiner: ' . $this->container . PHP_EOL
144
            . '  location:  ' . $this->path
145
        );
146
    }
147
}
148

src/Backup/Sync/Xtp.php 1 location

@@ 101-110 (lines=10) @@
98
     * @param \phpbu\App\Backup\Target $target
99
     * @param \phpbu\App\Result        $result
100
     */
101
    public function simulate(Target $target, Result $result)
102
    {
103
        $result->debug(
104
            'sync backup to ' . $this->getProtocolName() .' server' . PHP_EOL
105
            . '  host:     ' . $this->host . PHP_EOL
106
            . '  user:     ' . $this->user . PHP_EOL
107
            . '  password:  ********' . PHP_EOL
108
            . '  path:     ' . $this->remotePath
109
        );
110
    }
111
}
112