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

stripe / stripe-mirakl-connector / 46022462439

27 Nov 2026 03:10PM UTC coverage: 91.289% (+0.4%) from 90.9%
46022462439

Pull #164

github

ruoltean
fix repo flush
Pull Request #164: Bugfix/c 3556/capture payments

204 of 220 new or added lines in 22 files covered. (92.73%)

1 existing line in 1 file now uncovered.

2924 of 3203 relevant lines covered (91.29%)

12.72 hits per line

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

80.0
/src/Service/VersionService.php
1
<?php
2

3
namespace App\Service;
4

5
class VersionService
6
{
7
    /**
8
     * Read the current version from the VERSION file and return it as a string. If the file is not found, return '1.0'.
9
     * @return string
10
     */
11
    public static function getVersion(): string
265 ✔
12
    {
13
        $versionFilePath = __DIR__ . '/../../VERSION';
265 ✔
14
        if (file_exists($versionFilePath)) {
265 ✔
15
            return trim(file_get_contents($versionFilePath));
265 ✔
16
        }
NEW
17
        return '1.0';
×
18
    }
19

20
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc