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

aplus-framework / testing / 13600984723

03 Oct 2024 09:03PM UTC coverage: 100.0%. Remained the same
13600984723

push

github

natanfelles
Export-ignore SECURITY.md

280 of 280 relevant lines covered (100.0%)

4.9 hits per line

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

100.0
/src/Constraints/ResponseStatusCode.php
1
<?php declare(strict_types=1);
2
/*
3
 * This file is part of Aplus Framework Testing Library.
4
 *
5
 * (c) Natan Felles <natanfelles@gmail.com>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace Framework\Testing\Constraints;
11

12
use PHPUnit\Framework\Constraint\Constraint;
13

14
/**
15
 * Class ResponseStatusCode.
16
 *
17
 * @package testing
18
 */
19
final class ResponseStatusCode extends Constraint
20
{
21
    use EvaluateTrait;
22

23
    protected mixed $value;
24

25
    public function __construct(mixed $value)
26
    {
27
        $this->value = $value;
3✔
28
    }
29

30
    public function toString() : string
31
    {
32
        return "is equals the Response Status Code {$this->value}";
1✔
33
    }
34
}
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

© 2026 Coveralls, Inc