This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$app['security.firewalls'] = array( | |
'user_firewall' => array( | |
'pattern' => new \Application\UserRequestMatcher($app['request']), | |
'form' => array('login_path' => '/login', 'check_path' => '/authenticate'), | |
'logout' => array('logout_path' => '/logout'), | |
'users' => $app->share(function () use ($app) | |
{ | |
return new \Application\UserProvider($app); | |
}), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php | |
<?php | |
echo PHP_EOL; | |
// output a little introduction | |
echo '>> Starting unit tests' . PHP_EOL; | |
// get the name for this project; probably the topmost folder name | |
$projectName = basename(getcwd()); |