Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions generator/src/Commands/GenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ protected function configure(): void
;
}

protected function execute(InputInterface $input, OutputInterface $output): int
{

protected function execute(
// These aren't actually sensitive, they just fill the
// stack traces with tons of useless information.
#[\SensitiveParameter] InputInterface $input,
#[\SensitiveParameter] OutputInterface $output
): int {
$this->rmGenerated();

// Let's build the DTD necessary to load the XML files.
Expand Down
9 changes: 7 additions & 2 deletions generator/src/Generator/FileCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@ class FileCreator
* @param Method[] $functions
* @param Method[] $missingFunctions
*/
public function generatePhpFile(array $functions, array $missingFunctions, string $path): void
{
public function generatePhpFile(
// These aren't actually sensitive, they just fill the
// stack traces with tons of useless information.
#[\SensitiveParameter] array $functions,
#[\SensitiveParameter] array $missingFunctions,
string $path
): void {
$path = rtrim($path, '/').'/';
$phpFunctionsByModule = [];
foreach ($functions as $function) {
Expand Down
Loading