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

orchestral / workbench / 12254591404

10 Dec 2024 10:53AM UTC coverage: 91.864% (-0.2%) from 92.034%
12254591404

push

github

crynobone
wip

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

2 of 4 new or added lines in 2 files covered. (50.0%)

542 of 590 relevant lines covered (91.86%)

14.52 hits per line

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

0.0
/src/Console/Concerns/InteractsWithFiles.php
1
<?php
2

3
namespace Orchestra\Workbench\Console\Concerns;
4

5
use Illuminate\Filesystem\Filesystem;
6

7
trait InteractsWithFiles
8
{
9
    /**
10
     * Replace a given string within a given file.
11
     */
12
    protected function replaceInFile(Filesystem $filesystem, array|string $search, array|string $replace, string $path): void
13
    {
14
        /** @phpstan-ignore argument.type */
NEW
15
        $filesystem->replaceInFile($search, $replace, $path);
×
16
    }
17
}
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