Skip to content

Commit

Permalink
Merge branch '4' into 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Jun 14, 2023
2 parents 6c266ec + c2c5db0 commit cfda51a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Core/Path.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static function join(...$parts)
}

// Cleanup and join all parts
$parts = array_filter(array_map('trim', $parts ?? []));
$parts = array_filter(array_map('trim', array_filter($parts ?? [])));
$fullPath = static::normalise(implode(DIRECTORY_SEPARATOR, $parts));

// Protect against directory traversal vulnerability (OTG-AUTHZ-001)
Expand Down
2 changes: 1 addition & 1 deletion src/Dev/Tasks/i18nTextCollectorTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class i18nTextCollectorTask extends BuildTask
- locale: Sets default locale
- writer: Custom writer class (defaults to i18nTextCollector_Writer_RailsYaml)
- module: One or more modules to limit collection (comma-separated)
- merge: Merge new strings with existing ones already defined in language files (default: FALSE)
- merge: Merge new strings with existing ones already defined in language files (default: TRUE)
";

/**
Expand Down

0 comments on commit cfda51a

Please sign in to comment.