Skip to content

Commit

Permalink
fix: remove composer dependancy
Browse files Browse the repository at this point in the history
  • Loading branch information
wilr committed Jul 19, 2023
1 parent fd4d079 commit a8b67ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
"name": "heyday/silverstripe-templatehelpers",
"type": "silverstripe-vendormodule",
"description": "Simple template functionality for Silverstripe",
"require": {
"composer/installers": "~1.0"
},
"keywords": [
"silverstripe",
"template"
],
"homepage": "https://www.akqa.com",
"license": "MIT",
"autoload": {
"psr-4": {
"Heyday\\TemplateHelpers\\": "src/"
Expand Down
2 changes: 1 addition & 1 deletion src/TemplateHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,6 @@ public static function ImagePath($imageURL)
*/
public static function joinPaths(array $paths)
{
return preg_replace('#/+#','/', join('/', $paths));
return preg_replace('#/+#', '/', join('/', $paths));
}
}

0 comments on commit a8b67ba

Please sign in to comment.