File tree Expand file tree Collapse file tree 5 files changed +47
-2
lines changed
Expand file tree Collapse file tree 5 files changed +47
-2
lines changed Original file line number Diff line number Diff line change 11vendor /*
2- * .sublime- *
2+ * .sublime- *
3+ phpunit.xml
Original file line number Diff line number Diff line change 1+ language : php
2+ php :
3+ - 5.3
4+ - 5.4
5+ before_script :
6+ - composer install --dev
7+ script : phpunit
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <phpunit bootstrap =" tests/bootstrap.php" colors =" true" >
3+ <testsuites >
4+ <testsuite name =" Nod Suite" >
5+ <directory >tests/Nod/</directory >
6+ </testsuite >
7+ </testsuites >
8+ <filter >
9+ <whitelist >
10+ <directory suffix =" .php" >src/Nod/</directory >
11+ </whitelist >
12+ </filter >
13+ </phpunit >
Original file line number Diff line number Diff line change 1010 * @author Filipe Dobreira <http://github.com/filp>
1111 * @license MIT
1212 */
13- require __DIR__ . '/vendor/autoload.php ' ;
13+
14+ namespace Nod ;
15+
16+ /**
17+ * Nod\Test
18+ */
19+ class Test extends \PHPUnit_Framework_TestCase {}
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /**
4+ * This file is part of Nod, a desktop notifications
5+ * library for PHP. Nod is distributed freely under
6+ * the MIT license, available at:
7+ * http://opensource.org/licenses/mit-license.php
8+ *
9+ * @package Nod
10+ * @author Filipe Dobreira <http://github.com/filp>
11+ * @license MIT
12+ */
13+ call_user_func (function () {
14+ $ loader = require __DIR__ . '/../vendor/autoload.php ' ;
15+ $ loader ->add ('Nod \\' , __DIR__ );
16+
17+ return $ loader ;
18+ });
You can’t perform that action at this time.
0 commit comments