Migrates to Pint

This commit is contained in:
Nuno Maduro
2022-09-16 10:45:53 +01:00
parent 579b975318
commit e9564febaf
94 changed files with 413 additions and 471 deletions

View File

@ -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) {