Skip to content

Commit

Permalink
Changelog for #2085
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Jul 25, 2018
1 parent 77a6836 commit 1804e9c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ http://pear.php.net/dtd/package-2.0.xsd">
- Generic.Functions.FunctionCallArgumentSpacing now properly fixes multi-line function calls with leading commas
-- Previously, newlines between function arguments would be removed
-- Thanks to Juliette Reinders Folmer for the patch
- Generic.PHP.Syntax will now use PHP_BINARY instead of trying to discover the executable path
-- This ensures that the sniff will always syntax check files using the PHP version that PHPCS is running under
-- Setting the php_path config var will still override this value as normal
-- Thanks to Willem Stuursma-Ruwen for the patch
- PSR2.Namespaces.UseDeclaration now supports commas at the end of group use declarations
-- Also improves checking and fixing for use statements containing parse errors
-- Thanks to Juliette Reinders Folmer for the patch
Expand Down
5 changes: 1 addition & 4 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -1517,10 +1517,7 @@ public static function getExecutablePath($name)
}

if ($name === "php") {
/*
* For php, we know the executable path. There's no need to look it up.
*/

// For php, we know the executable path. There's no need to look it up.
return PHP_BINARY;
}

Expand Down

0 comments on commit 1804e9c

Please sign in to comment.