Skip to content

Commit 8a69c05

Browse files
authored
Update plugin documentation (#11813)
1 parent d3aeb13 commit 8a69c05

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/articles/plugins.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,8 @@ class Command extends BaseCommand
271271
protected function execute(InputInterface $input, OutputInterface $output): int
272272
{
273273
$output->writeln('Executing');
274+
275+
return 0;
274276
}
275277
}
276278
```
@@ -285,7 +287,7 @@ Plugins for an event can be run manually by the `run-script` command. This works
285287
[running scripts manually](scripts.md#running-scripts-manually).
286288

287289
If it is another type of plugin the best way to test it is probably using a [path repository](../05-repositories.md#path)
288-
to require the plugin in a test project, and then `rm -rf vendor && composer update`
290+
to require the plugin in a test project. If you are developing locally and want to test frequently, you can make sure the path repository uses symlinks, as changes are updated immediately. Otherwise, you'll have to run `rm -rf vendor && composer update`
289291
every time you want to install/run it again.
290292

291293
## Using Plugins

0 commit comments

Comments
 (0)