Skip to content

Commit 7b7645b

Browse files
Replace deprecated methods
1 parent c6ade10 commit 7b7645b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

bin/codestyle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ require_once $file;
4343

4444
$application = new Application('The Dragon Code: Styler', '6.x');
4545

46-
$application->add(new EditorConfigCommand);
47-
$application->add(new PintCommand);
48-
$application->add(new RectorCommand);
49-
$application->add(new NpmCommand);
46+
$application->addCommand(new EditorConfigCommand);
47+
$application->addCommand(new PintCommand);
48+
$application->addCommand(new RectorCommand);
49+
$application->addCommand(new NpmCommand);
5050

5151
$application->run();

0 commit comments

Comments
 (0)