We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 631fd31 commit 702e30bCopy full SHA for 702e30b
moodle/Sniffs/ControlStructures/ControlSignatureSniff.php
@@ -35,7 +35,6 @@ class ControlSignatureSniff extends AbstractPatternSniff {
35
36
public function __construct() {
37
parent::__construct(true);
38
- $this->supportedTokenizers = array('PHP', 'JS');
39
}
40
41
/** @var array A list of tokenizers this sniff supports. */
moodle/Util/MoodleUtil.php
@@ -88,7 +88,7 @@ protected static function loadCoreComponent(string $moodleRoot): bool {
88
if (!isset($CFG->dirroot)) { // No defined, let's start from scratch.
89
$CFG = (object) [
90
'dirroot' => $moodleRoot,
91
- 'libdir' => "${moodleRoot}/lib",
+ 'libdir' => "{$moodleRoot}/lib",
92
'admin' => 'admin',
93
];
94
0 commit comments