InvalidStringClass
March 20, 2020 · View on GitHub
Emitted when you have allowStringToStandInForClass="false" in your config and you’re passing a string instead of calling a class directly
<?php
class Foo {}
$a = "Foo";
new $a();
March 20, 2020 · View on GitHub
Emitted when you have allowStringToStandInForClass="false" in your config and you’re passing a string instead of calling a class directly
<?php
class Foo {}
$a = "Foo";
new $a();