Closed
Description
Symfony version(s) affected
3.4 | 4.4
Description
We're using \Symfony\Component\Process\PhpExecutableFinder in Drupal's Upgrade Status module to execute PHPStan from a UI. In different environments leveraging Plesk or ISPConfig, the returned path from \Symfony\Component\Process\PhpExecutableFinder::find is a directory.
How to reproduce
I haven't been able to reproduce since I do not have access to a Plesk server. But directories are technically executable.
Possible Solution
The checks for is_exectuable
may need a !is_dir
check?
Additional Context
No response