Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function __construct() |
||
26 | { |
||
27 | if (false === @copy(realpath(__DIR__ . '/../../bin/uspec.pubkey'), BEHAT_BIN_PATH . '.pubkey')) { |
||
28 | throw new \RuntimeException('Application public key is not available'); |
||
29 | } |
||
30 | |||
31 | $this->application = new Application('SugarCRM upgrade spec generator', '@test'); |
||
32 | } |
||
33 | |||
64 |
If you suppress an error, we recommend checking for the error condition explicitly: