@@ -46,7 +46,8 @@ protected function getPackageBasePath(PackageInterface $package)
4646 $ name = $ package ->getPrettyName ();
4747 if (!preg_match ('@^.*/simplesamlphp-(module|assets)-(.+)$@ ' , $ name , $ matches )) {
4848 throw new InvalidArgumentException (sprintf (
49- 'Unable to install module %s, package name must be on the form "VENDOR/simplesamlphp-(module|assets)-MODULENAME". ' ,
49+ 'Unable to install module %s, '
50+ . ' package name must be in the form "VENDOR/simplesamlphp-(module|assets)-MODULENAME". ' ,
5051 $ name ,
5152 ));
5253 }
@@ -59,7 +60,8 @@ protected function getPackageBasePath(PackageInterface $package)
5960 $ moduleDir ,
6061 '@^[a-z0-9_.-]*$@ ' ,
6162 sprintf (
62- 'Unable to install module %s, module name must only contain characters from a-z, 0-9, "_", "." and "-". ' ,
63+ 'Unable to install module %s, '
64+ . ' module name must only contain characters from a-z, 0-9, "_", "." and "-". ' ,
6365 $ name
6466 ),
6567 InvalidArgumentException::class
@@ -91,7 +93,8 @@ protected function getPackageBasePath(PackageInterface $package)
9193 mb_strtolower ($ mixedCaseModuleName , 'utf-8 ' ),
9294 $ moduleDir ,
9395 sprintf (
94- 'Unable to install module %s, "%s" must match the package name except that it can contain uppercase letters. ' ,
96+ 'Unable to install module %s, '
97+ . ' "%s" must match the package name except that it can contain uppercase letters. ' ,
9598 $ name ,
9699 self ::MIXED_CASE
97100 ),
0 commit comments