Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–9 unchanged (9 lines)
10use OCP\BackgroundJob\IJobList;
11use OCP\Migration\IOutput;
12use OCP\Migration\IRepairStep;
13
14class AddCleanupUpdaterBackupsJob implements IRepairStep {
15 public function __construct(
16 protected IJobList $jobList,
17 ) {
18 }
19
20 public function getName() {
21 return 'Queue a one-time job to cleanup old backups of the updater';
22 }
23
24 public function run(IOutput $output) {
25 $this->jobList->add(BackgroundCleanupUpdaterBackupsJob::class);
26 }
27}
28

After

…lines 1–9 unchanged (9 lines)
10use OCP\BackgroundJob\IJobList;
11use OCP\Migration\IOutput;
12use OCP\Migration\IRepairStep;
13
14class AddCleanupUpdaterBackupsJob implements IRepairStep {
15 public function __construct(
16 protected readonly IJobList $jobList,
17 ) {
18 }
19
20 public function getName(): string {
21 return 'Queue a one-time job to cleanup old backups of the updater';
22 }
23
24 public function run(IOutput $output): void {
25 $this->jobList->add(BackgroundCleanupUpdaterBackupsJob::class);
26 }
27}
28

Before

program
php_tag "<?php"
comment "/**\n * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextc"...
namespace_definition
namespace "namespace"
namespace_name
name "OC"
\ "\\"
name "Repair"
; ";"
namespace_use_declaration
use "use"
namespace_use_clause
qualified_name
namespace_name
name "OC"
\ "\\"
name "Core"
\ "\\"
name "BackgroundJobs"
\ "\\"
name "BackgroundCleanupUpdaterBackupsJob"
; ";"
namespace_use_declaration
use "use"
namespace_use_clause
qualified_name
namespace_name
name "OCP"
\ "\\"
name "BackgroundJob"
\ "\\"
name "IJobList"
; ";"
namespace_use_declaration
use "use"
namespace_use_clause
qualified_name
namespace_name
name "OCP"
\ "\\"
name "Migration"
\ "\\"
name "IOutput"
; ";"
namespace_use_declaration
use "use"
namespace_use_clause
qualified_name
namespace_name
name "OCP"
\ "\\"
name "Migration"
\ "\\"
name "IRepairStep"
; ";"
class_declaration
class "class"
name "AddCleanupUpdaterBackupsJob"
class_interface_clause
implements "implements"
name "IRepairStep"
declaration_list
{ "{"
method_declaration
visibility_modifier
public "public"
function "function"
name "__construct"
formal_parameters
( "("
property_promotion_parameter
visibility_modifier
protected "protected"
named_type
name "IJobList"
variable_name
$ "$"
name "jobList"
, ","
) ")"
compound_statement
{ "{"
} "}"
method_declaration
visibility_modifier
public "public"
function "function"
name "getName"
formal_parameters
( "("
) ")"
compound_statement
{ "{"
return_statement
return "return"
string
' "'"
string_content "Queue a one-time job to cleanup old backups of the updater"
' "'"
; ";"
} "}"
method_declaration
visibility_modifier
public "public"
function "function"
name "run"
formal_parameters
( "("
simple_parameter
named_type
name "IOutput"
variable_name
$ "$"
name "output"
) ")"
compound_statement (+22 nodes collapsed)
} "}"

After

program
php_tag "<?php"
comment "/**\n * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextc"...
namespace_definition
namespace "namespace"
namespace_name
name "OC"
\ "\\"
name "Repair"
; ";"
namespace_use_declaration
use "use"
namespace_use_clause
qualified_name
namespace_name
name "OC"
\ "\\"
name "Core"
\ "\\"
name "BackgroundJobs"
\ "\\"
name "BackgroundCleanupUpdaterBackupsJob"
; ";"
namespace_use_declaration
use "use"
namespace_use_clause
qualified_name
namespace_name
name "OCP"
\ "\\"
name "BackgroundJob"
\ "\\"
name "IJobList"
; ";"
namespace_use_declaration
use "use"
namespace_use_clause
qualified_name
namespace_name
name "OCP"
\ "\\"
name "Migration"
\ "\\"
name "IOutput"
; ";"
namespace_use_declaration
use "use"
namespace_use_clause
qualified_name
namespace_name
name "OCP"
\ "\\"
name "Migration"
\ "\\"
name "IRepairStep"
; ";"
class_declaration
class "class"
name "AddCleanupUpdaterBackupsJob"
class_interface_clause
implements "implements"
name "IRepairStep"
declaration_list
{ "{"
method_declaration
visibility_modifier
public "public"
function "function"
name "__construct"
formal_parameters
( "("
property_promotion_parameter
visibility_modifier
protected "protected"
readonly_modifier
readonly "readonly"
named_type
name "IJobList"
variable_name
$ "$"
name "jobList"
, ","
) ")"
compound_statement
{ "{"
} "}"
method_declaration
visibility_modifier
public "public"
function "function"
name "getName"
formal_parameters
( "("
) ")"
: ":"
primitive_type
string "string"
compound_statement
{ "{"
return_statement
return "return"
string
' "'"
string_content "Queue a one-time job to cleanup old backups of the updater"
' "'"
; ";"
} "}"
method_declaration
visibility_modifier
public "public"
function "function"
name "run"
formal_parameters
( "("
simple_parameter
named_type
name "IOutput"
variable_name
$ "$"
name "output"
) ")"
: ":"
primitive_type "void"
compound_statement (+22 nodes collapsed)
} "}"