You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On running phpcbf on this code with either the moodle or moodle-extra standards, the property is renamed but the property access is not, breaking the code:
class test {
publicstring$property_one = 'test';
publicfunctionsome_method(): string {
return$this->property_one;
}
}
It becomes:
class test {
publicstring$propertyone = 'test';
publicfunctionsome_method(): string {
return$this->property_one;
}
}
The text was updated successfully, but these errors were encountered:
On running phpcbf on this code with either the moodle or moodle-extra standards, the property is renamed but the property access is not, breaking the code:
It becomes:
The text was updated successfully, but these errors were encountered: