Passed
Push — master ( c0a3a7...3b84a4 )
by Jeroen
58:51
created

engine/classes/Elgg/Composer/PostUpdate.php (1 issue)

1
<?php
2
namespace Elgg\Composer;
3
4
use Composer\Installer\PackageEvent;
5
6
/**
7
 * A composer command handler to run after post-package-update event
8
 */
9
class PostUpdate {
10
	/**
11
	 * Todo
12
	 *
13
	 * @param PackageEvent $event The Composer event (install/upgrade)
14
	 *
15
	 * @return void
16
	 */
17
	public static function execute(PackageEvent $event) {
1 ignored issue
show
The parameter $event is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

17
	public static function execute(/** @scrutinizer ignore-unused */ PackageEvent $event) {

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
18
19
	}
20
}
21