Several part of the code pass false and not null to sourceFile.
For example, in includes/installer/DatabaseUpdater.php, we've:
public function copyFile( $filename ) { $this->db->sourceFile( $filename, false, false, false, [ $this, 'appendLine' ] ); }
public function sourceFile( $filename, callable $lineCallback = null, callable $resultCallback = null, $fname = false, callable $inputCallback = null );