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

azjezz / psl / 8543260029

03 Apr 2024 05:51PM UTC coverage: 98.865% (-0.04%) from 98.907%
8543260029

Pull #458

github

azjezz
chore: miscellaneous changes

Signed-off-by: azjezz <azjezz@protonmail.com>
Pull Request #458: chore: miscellaneous changes

77 of 78 new or added lines in 18 files covered. (98.72%)

1 existing line in 1 file now uncovered.

4354 of 4404 relevant lines covered (98.86%)

57.91 hits per line

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

0.0
/src/Psl/Class/is_readonly.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Psl\Class;
6

7
use ReflectionClass;
8

9
/**
10
 * Checks if class is final.
11
 *
12
 * @param class-string $class_name
13
 */
14
function is_readonly(string $class_name): bool
15
{
16
    /** @psalm-suppress MissingThrowsDocblock */
NEW
17
    return (new ReflectionClass($class_name))->isReadOnly();
×
18
}
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