Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
This changes self
to a reference to the class it's in:
// input
class A {
static $abc = 1;
function xyz () { return self::$abc; }
}
// output
class A {
static abc = 1;
xyz() {
return A.abc;
}
};
And static
to a late-bound reference:
// input
class A {
static $abc = 1;
static function lol () { return static::$abc; }
function xyz () { return static::$abc; }
}
// output
class A {
static abc = 1;
static lol() {
return this.abc;
}
xyz() {
return this.constructor.abc;
}
};
Status | Pipeline | Created by | Stages | Actions |
---|---|---|---|---|
Passed 00:01:03
| Stage: test |
Download artifacts
No artifacts found |