Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/Behat/Gherkin/Node/FeatureNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,13 +254,11 @@ public function getLine()
* @param string $file A file path
*
* @return bool
*
* @see https://github.com/symfony/filesystem/blob/master/Filesystem.php
*/
protected function isAbsolutePath($file)
{
if ($file === null) {
@trigger_error(sprintf('Calling "%s()" with a null in the $file argument is deprecated since Symfony 4.4.', __METHOD__), E_USER_DEPRECATED);
throw new InvalidArgumentException('The provided file path must not be null.');
}

return strspn($file, '/\\', 0, 1)
Expand Down