From d7e9ce683cbec88417db333d55c98e97b6473990 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Thu, 16 Dec 2021 14:50:05 +0100 Subject: [PATCH] Docs: various minor fixes --- README.md | 2 +- src/Process/PhpExecutable.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6608ec4..aa850ca 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ PHP Parallel Lint offers a straight-forward way around this, as files can define With this comment in place, the file will be automatically skipped when PHP Parallel Lint is run on a PHP version lower than PHP 7.4. -Note: The `// lint >= 7.4` comment has to be only the first line of the file and must directly follow the PHP open tag. +Note: The `// lint >= 7.4` comment has to be on the first line of the file and must directly follow the PHP open tag. ## How to upgrade diff --git a/src/Process/PhpExecutable.php b/src/Process/PhpExecutable.php index acf6e5e..8e082e1 100644 --- a/src/Process/PhpExecutable.php +++ b/src/Process/PhpExecutable.php @@ -70,7 +70,7 @@ public function getVersionId() /** * @param string $phpExecutable * @return PhpExecutable - * @throws \Exception + * @throws RuntimeException */ public static function getPhpExecutable($phpExecutable) {