We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e016902 commit 8dea1d2Copy full SHA for 8dea1d2
src/Behat/Gherkin/Node/FeatureNode.php
@@ -254,13 +254,11 @@ public function getLine()
254
* @param string $file A file path
255
*
256
* @return bool
257
- *
258
- * @see https://github.com/symfony/filesystem/blob/master/Filesystem.php
259
*/
260
protected function isAbsolutePath($file)
261
{
262
if ($file === null) {
263
- @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.');
264
}
265
266
return strspn($file, '/\\', 0, 1)
0 commit comments