File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 4
4
spl_autoload_register (function ($ c ) {
5
5
@include_once strtr ($ c , '\\_ ' , '// ' ) . '.php ' ;
6
6
});
7
- set_include_path (get_include_path () . PATH_SEPARATOR . __DIR__ . '/.. /src ' );
7
+ set_include_path (get_include_path () . PATH_SEPARATOR . dirname ( __DIR__ ) . '/src ' );
8
8
9
9
use Suin \RSSWriter \Channel ;
10
10
use Suin \RSSWriter \Feed ;
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
// For composer
4
- require_once 'Vendor /autoload.php ' ;
4
+ require_once 'vendor /autoload.php ' ;
5
5
6
6
// Load test target classes
7
- spl_autoload_register (function ($ c ) { @include_once strtr ($ c , '\\_ ' , '// ' ).'.php ' ; });
8
- set_include_path (get_include_path () . PATH_SEPARATOR . dirname (__DIR__ ).'/Source ' );
7
+ spl_autoload_register (function ($ c ) {
8
+ @include_once strtr ($ c , '\\_ ' , '// ' ) . '.php ' ;
9
+ });
10
+ set_include_path (get_include_path () . PATH_SEPARATOR . dirname (__DIR__ ) . '/src ' );
You can’t perform that action at this time.
0 commit comments