Merge pull request #76 from andrewnicols/travisfix
Change lint check to report fails correctlyset-xapi-data
commit
3b2990f9b8
|
@ -37,4 +37,4 @@ jobs:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# Run a php lint across all PHP files.
|
# 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
|
||||||
|
|
|
@ -2458,7 +2458,7 @@ class H5PCore {
|
||||||
* @param array $dependency
|
* @param array $dependency
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
protected function getDependencyPath(array $dependency): string {
|
protected function getDependencyPath(array $dependency) {
|
||||||
return 'libraries/' . H5PCore::libraryToString($dependency, TRUE);
|
return 'libraries/' . H5PCore::libraryToString($dependency, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue