src/GW2Api.php
protected function extractCacertFile() {
        if( $this->isIncludedAsPhar() ) {
            $cacertFilePath = $this->getCacertFilePath();

            if( !file_exists( $cacertFilePath )) {
                copy( __DIR__ . '/cacert.pem', $cacertFilePath );
            }
        }
    }
protected function extractCacertFile() {
        if( $this->isIncludedAsPhar() ) {
            $cacertFilePath = $this->getCacertFilePath();

            if( !file_exists( $cacertFilePath )) {
                copy( __DIR__ . '/cacert.pem', $cacertFilePath );
            }
        }
    }
protected function extractCacertFile ( ) { if ( $ this -> isIncludedAsPhar ( ) ) { $ cacertFilePath = $ this -> getCacertFilePath ( ) ; if ( ! file_exists ( $ cacertFilePath ) ) { copy ( __DIR__ . '/cacert.pem' , $ cacertFilePath ) ; } } }
Copies the phar cacert from the phar into the temp directory.
Copies the phar cacert from the phar into the temp directory .