diff --git a/src/Composer/DependencyResolver/Operation/SolverOperation.php b/src/Composer/DependencyResolver/Operation/SolverOperation.php index bbc077c31..41e829539 100644 --- a/src/Composer/DependencyResolver/Operation/SolverOperation.php +++ b/src/Composer/DependencyResolver/Operation/SolverOperation.php @@ -45,7 +45,10 @@ abstract class SolverOperation implements OperationInterface /** * @param $lock bool Whether this is an operation on the lock file - * @return string - */ - abstract public function show($lock); + * @return string + */ + public function show($lock) + { + throw new \RuntimeException('abstract method needs to be implemented in subclass, not marked abstract for compatibility with PHP <= 5.3.8'); + } }