6 calls to file_munge_filename()

NameMungingTest::testMungeIgnoreAllowedExtensions in core/tests/Drupal/KernelTests/Core/File/NameMungingTest.php
Tests that allowed extensions are ignored by file_munge_filename().
NameMungingTest::testMungeIgnoreInsecure in core/tests/Drupal/KernelTests/Core/File/NameMungingTest.php
Test munging with system.file.allow_insecure_uploads set to true.
NameMungingTest::testMungeNullByte in core/tests/Drupal/KernelTests/Core/File/NameMungingTest.php
Tests munging with a null byte in the filename.
NameMungingTest::testMungeUnsafe in core/tests/Drupal/KernelTests/Core/File/NameMungingTest.php
Tests unsafe extensions are always munged by file_munge_filename().
NameMungingTest::testMunging in core/tests/Drupal/KernelTests/Core/File/NameMungingTest.php
Create a file and munge/unmunge the name.
NameMungingTest::testUnMunge in core/tests/Drupal/KernelTests/Core/File/NameMungingTest.php
Ensure that unmunge gets your name back.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.