Merge pull request #76 from andrewnicols/travisfix

Change lint check to report fails correctly
set-xapi-data
Pål Jørgensen 2019-12-18 09:09:51 +01:00 committed by GitHub
commit 3b2990f9b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -37,4 +37,4 @@ jobs:
script:
# Run a php lint across all PHP files.
- find . -name '*\.php' -exec php -l {} \;
- find . -type f -name '*\.php' -print0 | xargs -0 -n1 php -l

View File

@ -2458,7 +2458,7 @@ class H5PCore {
* @param array $dependency
* @return string
*/
protected function getDependencyPath(array $dependency): string {
protected function getDependencyPath(array $dependency) {
return 'libraries/' . H5PCore::libraryToString($dependency, TRUE);
}