JATE/dist/jate/modules/ExternalModules/vendor/composer/autoload_static.php
Avoid using static access to class '\Closure' in method 'getInitializer'. Open
Open
return \Closure::bind(function () use ($loader) {
$loader->prefixesPsr0 = ComposerStaticInit568deb696ad5ab6ac89e4a18952dd824::$prefixesPsr0;
}, null, ClassLoader::class);
- Read upRead up
- Exclude checks
StaticAccess
Since: 1.4.0
Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.
Example
class Foo
{
public function bar()
{
Bar::baz();
}
}
Source https://phpmd.org/rules/cleancode.html#staticaccess
Avoid excessively long class names like ComposerStaticInit568deb696ad5ab6ac89e4a18952dd824. Keep class name length under 40. Open
Open
class ComposerStaticInit568deb696ad5ab6ac89e4a18952dd824
{
public static $prefixesPsr0 = array (
'T' =>
array (
- Read upRead up
- Exclude checks
LongClassName
Since: 2.9
Detects when classes or interfaces are declared with excessively long names.
Example
class ATooLongClassNameThatHintsAtADesignProblem {
}
interface ATooLongInterfaceNameThatHintsAtADesignProblem {
}