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 | |
namespace AppBundle\Command; | |
use AppBundle\Entity\Event\Event; | |
use AppBundle\Entity\Event\Topic; | |
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Input\InputOption; | |
use Symfony\Component\Console\Output\OutputInterface; |
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
[Tue Jul 11 17:20:22.290520 2017] [:error] [pid 16444] [client 92.88.237.125:56034] | |
PHP Fatal error: Uncaught Symfony\\Component\\Debug\\Exception\\FatalErrorException: | |
Error: Uncaught Symfony\\Component\\Debug\\Exception\\FatalThrowableError: | |
Call to a member function getId() on null in /var/www/quovadis.eu/releases/20170612153347/src/AppBundle/Controller/Admin/Quommunity/QuommunityParticipationsController.php:31 | |
Stack trace: | |
#0 [internal function]: AppBundle\\Controller\\Admin\\Quommunity\\QuommunityParticipationsController->indexAction() | |
#1 /var/www/quovadis.eu/releases/20170612153347/var/bootstrap.php.cache(3242): call_user_func_array(Array, Array) | |
#2 /var/www/quovadis.eu/releases/20170612153347/var/bootstrap.php.cache(3201): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1) |
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 | |
namespace AppBundle/Controller; | |
class PaymentController extends Controller | |
{ | |
public function paymentAction($redurectUrl) | |
{ | |
$form = $this->get('app.payment.form_handler')->generateForm($redirectUrl); | |
return $this->render('AppBundle:Payment:form.html.twig', [ |
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 | |
namespace AppBundle\Command; | |
use Doctrine\ORM\EntityManager; | |
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; | |
use Symfony\Component\Console\Input\InputArgument; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Input\InputOption; | |
use Symfony\Component\Console\Output\OutputInterface; |
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
hwi_oauth: | |
firewall_names: | |
- main | |
connect: | |
account_connector: app.security.provider.gitlab | |
fosub: | |
username_iterations: 30 | |
properties: | |
gitlab: gitlabId | |
resource_owners: |
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
diff --git a/src/Behat/MinkExtension/Context/MinkContext.php b/src/Behat/MinkExtension/Context/MinkContext.php | |
index 90ea038..8d6537b 100644 | |
--- a/src/Behat/MinkExtension/Context/MinkContext.php | |
+++ b/src/Behat/MinkExtension/Context/MinkContext.php | |
@@ -238,22 +238,34 @@ class MinkContext extends RawMinkContext implements TranslatableContext | |
/** | |
* Checks, that page contains specified text. | |
+ * @param string $text the text to check | |
+ * @param integer $timeout in milliseconds |
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
<Location /> | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^(.*)$ /app.php [QSA,L] | |
#################################################### | |
########### MAINTENANCE FILE HANDLE ################ | |
ErrorDocument 503 /maintenance.html | |
### add here the granted ips ### |
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
default: | |
context: | |
class: Victoire\Tests\Features\Context\FeatureContext | |
parameters: | |
wd_host: 'http://localhost:4444/wd/hub' | |
capabilities: { "browser": "firefox", "version": "33"} | |
extensions: | |
Behat\Symfony2Extension\Extension: | |
mink_driver: true | |
kernel: |
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
language: php | |
php: | |
- 5.5 | |
- 5.6 | |
before_script: | |
- npm install less | |
- composer install --dev --prefer-dist | |
# Prepare database |
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 | |
use Symfony\Component\HttpFoundation\Request; | |
$loader = require_once __DIR__.'/../../bootstrap.php'; | |
require_once __DIR__.'/../app/AppKernel.php'; | |
$kernel = new AppKernel('test', true); | |
$kernel->loadClassCache(); |