mirror of
https://github.com/pestphp/pest.git
synced 2026-03-10 09:47:23 +01:00
Migrates to Pint
This commit is contained in:
@ -43,7 +43,7 @@ final class UsesCall
|
||||
/**
|
||||
* Creates a new Pending Call.
|
||||
*
|
||||
* @param array<int, string> $classAndTraits
|
||||
* @param array<int, string> $classAndTraits
|
||||
*/
|
||||
public function __construct(
|
||||
private string $filename,
|
||||
@ -58,7 +58,7 @@ final class UsesCall
|
||||
*/
|
||||
public function in(string ...$targets): void
|
||||
{
|
||||
$targets = array_map(function ($path): string {
|
||||
$targets = array_map(function ($path): string {
|
||||
$startChar = DIRECTORY_SEPARATOR;
|
||||
|
||||
if ('\\' === DIRECTORY_SEPARATOR || preg_match('~\A[A-Z]:(?![^/\\\\])~i', $path) > 0) {
|
||||
|
||||
Reference in New Issue
Block a user