This file contains 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 App\Filter; | |
use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\SearchFilter; | |
use ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGeneratorInterface; | |
use ApiPlatform\Core\Exception\InvalidArgumentException; | |
use Doctrine\ORM\QueryBuilder; |
This file contains 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
# -*- coding: utf-8 -*- | |
import xml.etree.ElementTree as ElementTree | |
filePath = 'translations/messages.fr.xlf' | |
f = open(filePath, 'r') | |
prefix = '{urn:oasis:names:tc:xliff:document:2.0}' |
This file contains 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/Test/ValidationErrorsConstraint.php b/Test/ValidationErrorsConstraint.php | |
index 7b494f9..ad7656e 100644 | |
--- a/Test/ValidationErrorsConstraint.php | |
+++ b/Test/ValidationErrorsConstraint.php | |
@@ -12,9 +12,10 @@ | |
namespace Liip\FunctionalTestBundle\Test; | |
// BC | |
-class_alias('\PHPUnit_Framework_Constraint', '\PHPUnit\Framework\Constraint\Constraint'); | |
+//class_alias('\PHPUnit_Framework_Constraint', '\PHPUnit\Framework\Constraint\Constraint'); |
This file contains 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
sudo: false | |
language: php | |
git: | |
depth: 5 | |
php: | |
- 7.0 |
This file contains 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
#!/bin/bash | |
# See http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in/23905052#23905052 | |
ROOT=$(readlink -f $(dirname "$0")) | |
cd $ROOT | |
# Get database parameters | |
dbname=$(grep "database_name" ./app/config/parameters.yml | cut -d " " -f 6) | |
dbuser=$(grep "database_user" ./app/config/parameters.yml | cut -d " " -f 6) |