spaze / phpstan-disallowed-calls

PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages
MIT License
255 stars 17 forks source link

Remove the initial namespace separator from class names in one place #187

Closed spaze closed 1 year ago

spaze commented 1 year ago

After removal, \\Foo\\Bar becomes Foo\\Bar. This was already done in several places, now there's a method for that.