Find the best Rector rule to solve your problem. Searching through 675 rules.
Found 1 rule. That's the one:
Change deprecated BinaryFileResponse::create() to use __construct() instead
use Symfony\Component\HttpFoundation;
class SomeClass
{
public function run()
{
- $binaryFile = BinaryFileResponse::create();
+ $binaryFile = new BinaryFileResponse(null);
}
}