Skip to content

Commit

Permalink
Enhancement: Sort function names
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Jan 3, 2020
1 parent 0a50e83 commit ac2b0ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generator/src/FileCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit ac2b0ea

Please # to comment.