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

LeTraceurSnorkLibrary / MessSaga / 25921197134

15 May 2026 01:44PM UTC coverage: 41.107% (+4.5%) from 36.562%
25921197134

Pull #20

github

web-flow
Merge a78ef7498 into aac55fbb3
Pull Request #20: feat: tariffs

290 of 509 new or added lines in 31 files covered. (56.97%)

3 existing lines in 3 files now uncovered.

869 of 2114 relevant lines covered (41.11%)

0.78 hits per line

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

0.0
/app/Tariffs/AbstractTariff.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace App\Tariffs;
6

7
use App\Tariffs\Contracts\TariffInterface;
8

9
abstract class AbstractTariff implements TariffInterface
10
{
11
    /**
12
     * @inheritdoc
13
     */
14
    public function allowsMediaUpload(): bool
15
    {
NEW
16
        return $this->getMaxStorageBytes() > 0 && $this->getMaxMediaFilesCount() > 0;
×
17
    }
18

19
    /**
20
     * @inheritdoc
21
     */
22
    abstract public function getMaxStorageBytes(): int;
23

24
    /**
25
     * @inheritdoc
26
     */
27
    abstract public function getMaxMediaFilesCount(): int;
28
}
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