File tree Expand file tree Collapse file tree 2 files changed +4
-18
lines changed
Expand file tree Collapse file tree 2 files changed +4
-18
lines changed Original file line number Diff line number Diff line change 1010 }
1111 ],
1212 "autoload" : {
13- "files" : [" expect.php" ]
13+ "files" : [" expect.php" ],
14+ "psr-0" : {
15+ "Bossa\\ PhpSpec\\ Expect\\ " : " "
16+ }
1417 },
1518 "require" : {
1619 "phpspec/phpspec" : " >=2.0.0-RC3"
Original file line number Diff line number Diff line change 11<?php
22
3- if (is_dir ($ vendor = __DIR__ . '/../vendor ' )) {
4- require_once ($ vendor . '/autoload.php ' );
5- } elseif (is_dir ($ vendor = __DIR__ . '/../../../vendor ' )) {
6- require_once ($ vendor . '/autoload.php ' );
7- } elseif (is_dir ($ vendor = __DIR__ . '/vendor ' )) {
8- require_once ($ vendor . '/autoload.php ' );
9- } else {
10- die (
11- 'You must set up the project dependencies, run the following commands: ' . PHP_EOL .
12- 'curl -s http://getcomposer.org/installer | php ' . PHP_EOL .
13- 'php composer.phar install ' . PHP_EOL
14- );
15- }
16-
173use Bossa \PhpSpec \Expect \Subject ;
184use Bossa \PhpSpec \Expect \Wrapper ;
195use PhpSpec \Exception \ExceptionFactory ;
4329use PhpSpec \Wrapper \Unwrapper ;
4430use Symfony \Component \EventDispatcher \EventDispatcher ;
4531
46- require_once 'Bossa/PhpSpec/Expect/Subject.php ' ;
47- require_once 'Bossa/PhpSpec/Expect/Wrapper.php ' ;
48-
4932if (!function_exists ('expect ' )) {
5033 function expect ($ sus )
5134 {
You can’t perform that action at this time.
0 commit comments