src/Fapi/HttpClient/CapturingHttpClient.php
Method writeToPhpFile
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function writeToPhpFile(string $fileName, string $className): void
{
preg_match('#^(?:(.*)\\\\)?([^\\\\]+)\z#', $className, $match);
[, $namespace, $className] = $match;