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
[xdebug] | |
zend_extension = xdebug.so | |
xdebug.max_nesting_level = 2000 ; for PHPUnit tests | |
xdebug.mode=debug | |
xdebug.start_with_request=yes | |
xdebug.client_port=9003 | |
xdebug.remote_handler=dbgp | |
xdebug.client_host=10.0.2.2 ; IDE-Environments IP |
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
zend_extension=xdebug.so | |
xdebug.max_nesting_level = 2000 ; for PHPUnit tests | |
xdebug.remote_enable = 1 | |
xdebug.remote_autostart = 1 | |
xdebug.remote_port = 9000 | |
xdebug.remote_handler=dbgp | |
xdebug.remote_host=10.0.2.2 ; IDE-Environments IP |
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
/** | |
* @Route("/index-fields") | |
*/ | |
public function indexFieldsPropertyAction() | |
{ | |
$post = new Post(); | |
$post->setTitle('post with fields'); | |
$post->setText('text'); | |
$tag1 = new Tag(); |
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
Just a little reminder for me how my arrays should look like, to post them to a Symfony Rest-Endpoint and use $form->handleRequest($request); for mappings . | |
// plain PHP array structure | |
$post = array( | |
'form_type_name' => array( | |
'fieldname' => 'value' | |
)); | |
// javascript |
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
// usage in the paper | |
json_encode($jsonString, assocArray = true) | |
// use a variable to descibe the parameter | |
json_encode($jsonString, $assocArray = true) |
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
import groovy.xml.XmlUtil | |
import com.eviware.soapui.support.GroovyUtils | |
def groovyUtils = new GroovyUtils(context) | |
def xmlParser = new XmlParser() | |
def responseContent = xmlParser.parse(groovyUtils.projectPath + "/responses/100-response.xml") | |
// XmlParser gibt kein String zurueck | |
//context.content enthaelt das komplette XML das in der Response steht. Das heisst das nur ein Platzhalter definiert ist naemlich content. | |
context.content = XmlUtil.serialize(responseContent) |
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
Command execution time limit reached: `_sahi.setServerVarPlain('___lastValue___50ff0bcf186da', _sahi._getText(_sahi._byXPath("//html")))` |
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
monolog: | |
handlers: | |
main: | |
type: gelf | |
publisher: | |
hostname: ip-of-your-graylogserver | |
level: debug |
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 | |
require_once __DIR__ . '/../vendor/autoload.php'; | |
\Doctrine\Common\Annotations\AnnotationRegistry::registerLoader('class_exists'); | |
\Doctrine\ODM\MongoDB\Mapping\Driver\AnnotationDriver::registerAnnotationClasses(); |
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.3 | |
before_script: | |
- curl -s http://getcomposer.org/installer | php | |
- php composer.phar install |
NewerOlder