From ac2b0eaa22d1783d6c01681ab5c8c74bc39edb8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Fri, 3 Jan 2020 10:40:59 +0100 Subject: [PATCH] Enhancement: Sort function names --- generator/src/FileCreator.php | 1 + 1 file changed, 1 insertion(+) diff --git a/generator/src/FileCreator.php b/generator/src/FileCreator.php index 2a2912d7..5d128a9e 100644 --- a/generator/src/FileCreator.php +++ b/generator/src/FileCreator.php @@ -87,6 +87,7 @@ private function getFunctionsNameList(array $functions): array }, $functions); $specialCases = require __DIR__.'/../config/specialCasesFunctions.php'; $functionNames = array_merge($functionNames, $specialCases); + sort($functionNames); $excludeCases = require __DIR__.'/../config/ignoredFunctions.php'; return array_diff($functionNames, $excludeCases); }