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

php-bug-catcher / reporter-bundle / 10794662990

10 Sep 2024 02:30PM UTC coverage: 64.179%. Remained the same
10794662990

push

github

tito10047
updated README.md

86 of 134 relevant lines covered (64.18%)

6.65 hits per line

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

75.0
/src/Writer/CollectCodeFrame.php
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Jozef Môstka
5
 * Date: 24. 5. 2024
6
 * Time: 18:58
7
 */
8
namespace BugCatcher\Reporter\Writer;
9

10
use Kregel\ExceptionProbe\Stacktrace;
11

12
trait CollectCodeFrame {
13

14
        public function collectFrames(?string $stackTrace): ?string {
15
                if ($stackTrace === null) {
3✔
16
                        return null;
×
17
                }
18
                $stacktrace = (new Stacktrace())->parse($stackTrace);
3✔
19

20
                return serialize($stacktrace);
3✔
21
        }
22
}
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