mirror of
https://github.com/getformwork/formwork.git
synced 2025-01-29 19:37:44 +01:00
Deprecate FileSystem::normalize()
This commit is contained in:
parent
af878bdb67
commit
e0c1b2df03
@ -430,9 +430,12 @@ class FileSystem
|
||||
|
||||
/**
|
||||
* Return a path with a single trailing slash
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
public static function normalize(string $path): string
|
||||
{
|
||||
trigger_error(static::class . '::normalize($path) is deprecated since Formwork 1.10.0, use ' . static::class . '::normalizePath($path . DS) instead', E_USER_DEPRECATED);
|
||||
return static::normalizePath($path . DS);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user