Skip to content

Pipeline fixes

Pavel Břoušek requested to merge fixes into main
7 | WARNING | 'resource' is a soft reserved keyword as of PHP
   |         | version 7.0 and should not be used to name a class,
   |         | interface or trait or as part of a namespace
   |         | (T_CLASS)
   |         | (PHPCompatibility.Keywords.ForbiddenNamesAsDeclared.resourceFound)

37 | WARNING | Closures / anonymous functions only have access to
    |         | $this if used within a class or when bound to an
    |         | object using bindTo(). Please verify.
    |         | (PHPCompatibility.FunctionDeclarations.NewClosure.ThisFoundOutsideClass)

Merge request reports