Added composer scripts api-16 and api-15

This commit is contained in:
Andy Miller 2019-05-08 20:57:06 -06:00
parent f4d3d302f4
commit 0915a0413d
No known key found for this signature in database
GPG Key ID: E82B8D0EAB94EFB9
2 changed files with 3 additions and 1 deletions

View File

@ -89,6 +89,8 @@
"exclude": ["VERSION"]
},
"scripts": {
"api-16": "vendor/bin/phpdoc-md generate system/src > user/pages/14.api/default.16.md",
"api-15": "vendor/bin/phpdoc-md generate system/src > user/pages/14.api/default.md",
"post-create-project-cmd": "bin/grav install",
"phpstan": "vendor/bin/phpstan analyse -l 2 -c ./tests/phpstan/phpstan.neon system/src --memory-limit=256M",
"phpstan-framework": "vendor/bin/phpstan analyse -l 5 -c ./tests/phpstan/phpstan.neon system/src/Grav/Framework --memory-limit=256M",

View File

@ -234,7 +234,7 @@ class Truncator {
}
/**
*
*
*/
public function truncate(
$text,