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
INFO [main] 2015-04-02 23:21:40,949 CassandraDaemon.java:95 - Hostname: vagrant-ubuntu-trusty-32 | |
INFO [main] 2015-04-02 23:21:40,971 YamlConfigurationLoader.java:92 - Loading settings from file:/home/vagrant/.ccm/php-driver-test-cluster/node1/conf/cassandra.yaml | |
INFO [main] 2015-04-02 23:21:41,055 YamlConfigurationLoader.java:135 - Node configuration:[authenticator=AllowAllAuthenticator; authorizer=AllowAllAuthorizer; auto_bootstrap=false; auto_snapshot=true; batch_size_warn_threshold_in_kb=5; batchlog_replay_throttle_in_kb=1024; cas_contention_timeout_in_ms=10000; client_encryption_options=<REDACTED>; cluster_name=php-driver-test-cluster; column_index_size_in_kb=64; commit_failure_policy=stop; commitlog_directory=/home/vagrant/.ccm/php-driver-test-cluster/node1/commitlogs; commitlog_segment_size_in_mb=32; commitlog_sync=periodic; commitlog_sync_period_in_ms=10000; compaction_throughput_mb_per_sec=0; concurrent_compactors=1; concurrent_counter_writes=32; concurrent_reads=2; concurrent_writes=2; counter_cac |
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
Feature: SSL encryption | |
PHP Driver supports SSL encryption. | |
Scenario: Connecting with basic SSL encryption # features/ssl_encryption.feature:26 | |
php-driver | [ERROR] Connect error 'connection refused' on host 127.0.0.1 (src/connection.cpp:407) | |
php-driver | [ERROR] Host 127.0.0.1 had the following error on startup: 'Unable to connect' (src/connection.cpp:643) | |
php-driver | [WARN] Lost connection on host 127.0.0.1 (src/control_connection.cpp:208) | |
php-driver | [ERROR] Connect error 'connection refused' on host 127.0.0.1 (src/connection.cpp:407) | |
php-driver | [ERROR] Host 127.0.0.1 had the following error on startup: 'Unable to connect' (src/connection.cpp:643) |
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
# Remove old data | |
curl -XDELETE "http://localhost:9200/test" | |
# Create index with settings | |
curl -XPOST "http://localhost:9200/test" -d ' | |
{ | |
"settings": { | |
"index": { | |
"analysis": { | |
"analyzer": { |
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 | |
use Behat\Behat\Context\Context; | |
use Behat\Behat\Hook\Scope\BeforeScenarioScope; | |
class FeatureContext implements Context { | |
private $subContext; | |
/** @BeforeScenario */ | |
public function gatherContexts(BeforeScenarioScope $scope) |
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 Incenteev\WebBundle\Validator; | |
use Symfony\Component\Validator\Constraint; | |
/** | |
* @Annotation | |
* @Target({"CLASS", "ANNOTATION"}) | |
*/ |
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
[ | |
{ | |
"id": 4202, | |
"slug": "Behat/Behat", | |
"description": "BDD framework for PHP 5.3+", | |
"last_build_id": 34174174, | |
"last_build_number": "1061", | |
"last_build_status": 0, | |
"last_build_result": 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
[PHP Modules] | |
bcmath | |
calendar | |
Core | |
ctype | |
curl | |
date | |
dom | |
ereg | |
fileinfo |
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 Acme\DemoBundle\Form; | |
use Symfony\Component\Form\AbstractTypeExtension; | |
use Symfony\Component\Form\FormBuilderInterface; | |
class ExtraKeysExtension extends AbstractTypeExtension | |
{ | |
public function buildForm(FormBuilderInterface $builder, array $options) |
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/src/Symfony/Component/Serializer/Encoder/XmlEncoder.php b/src/Symfony/Component/Serializer/Encoder/XmlEncoder.php | |
index 137f2fc..dbc0a27 100644 | |
--- a/src/Symfony/Component/Serializer/Encoder/XmlEncoder.php | |
+++ b/src/Symfony/Component/Serializer/Encoder/XmlEncoder.php | |
@@ -76,6 +76,10 @@ class XmlEncoder extends SerializerAwareEncoder implements EncoderInterface, Dec | |
libxml_use_internal_errors($internalErrors); | |
libxml_disable_entity_loader($disableEntities); | |
+ if ($error = libxml_get_last_error()) { | |
+ throw new UnexpectedValueException($error->message); |
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
PhpSpec\CodeGenerator\GeneratorManager | |
13 ✔ uses registered generators to generate code (53ms) | |
25 ✔ chooses generator by priority | |
44 ✔ throws exception if no generator found | |
PhpSpec\CodeGenerator\Generator\ClassGenerator | |
20 ✔ is a generator |