1
0
Fork 0
pull/322/merge
Sara Itani 2017-04-24 11:32:59 +00:00 committed by GitHub
commit 0b86f605f1
3 changed files with 8 additions and 2 deletions

View File

@ -47,7 +47,8 @@
"LanguageServer\\": "src/"
},
"files" : [
"src/utils.php"
"src/utils.php",
"src/bootstrap.php"
]
},
"autoload-dev": {

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php">
<phpunit bootstrap="src/bootstrap.php">
<testsuites>
<testsuite name="PHP Language Server Test Suite">
<directory>./tests</directory>

5
src/bootstrap.php Normal file
View File

@ -0,0 +1,5 @@
<?php
// PHP_CodeSniffer does not define an autoloader in its composer.json,
// so we must invoke it ourselves.
require __DIR__ . "/../vendor/squizlabs/php_codesniffer/autoload.php";