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

PHP-Alchemist / coreFiles / 13531756279

25 Feb 2025 09:58PM UTC coverage: 96.481% (+0.006%) from 96.475%
13531756279

push

github

druid628
Uses coverallsapp/github-actions@v2

521 of 540 relevant lines covered (96.48%)

4.99 hits per line

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

75.0
/src/Exceptions/HashTableFullException.php
1
<?php
2

3
namespace PHPAlchemist\Exceptions;
4

5
/**
6
 * When a HashTable has reached the fixed limit and an attempt to add data has been made.
7
 */
8
class HashTableFullException extends \Exception
9
{
10
    const ERROR_UNMATCHED_CLASS = 'HashTable data has reached defined limit.';
11

12
    public function __construct(
2✔
13
        #[LanguageLevelTypeAware(['8.0' => 'string'], default: self::ERROR_UNMATCHED_CLASS)] $message = self::ERROR_UNMATCHED_CLASS,
14
        #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $code = 0,
15
        #[LanguageLevelTypeAware(['8.0' => 'Throwable|null'], default: 'Throwable')] $previous = null
16
    ) {
17
        if (empty($message)) {
2✔
18
            $this->message = self::ERROR_UNMATCHED_CLASS;
×
19
        }
20

21
        parent::__construct($message, $code, $previous);
2✔
22
    }
23
}
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