• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hyperwallet / php-sdk / 9985723843

18 Jul 2024 04:52AM CUT coverage: 89.764% (-8.1%) from 97.851%
9985723843

Pull #133

github

web-flow
Merge acf57c6cc into 90ebb0292
Pull Request #133: Feature/test phpseclib 3

126 of 267 new or added lines in 6 files covered. (47.19%)

2 existing lines in 1 file now uncovered.

2052 of 2286 relevant lines covered (89.76%)

15.79 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/ComposerScript/RsaOaep256AlgorithmInstaller.php
1
<?php
2

3
namespace ComposerScript;
4

5
use Composer\Script\Event;
6

7
/**
8
 * RsaOaep256AlgorithmInstaller copies JWE.php file with RSA-OAEP-256 configuration to the gree/jose library, so it can support RSA-OAEP-256 algorithm
9
 * 
10
 * gree/jose library is missing content encryption algorithm RSA-OAEP-256 which is mandatory for encrypted REST communication with hyperwallet app. 
11
 */
12
class RsaOaep256AlgorithmInstaller {
13

14
    public static function install(Event $event) {
15

16
        $vendorDir = $event->getComposer()->getConfig()->get('vendor-dir');
×
17
        file_put_contents($vendorDir . "/gree/jose/src/JOSE/JWE.php", file_get_contents(__DIR__ . "/../JWE"));
×
18
    }
×
19
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc