Skip to content

Instantly share code, notes, and snippets.

View tgalopin's full-sized avatar

Titouan Galopin tgalopin

View GitHub Profile
@tgalopin
tgalopin / fosmessage-usage-ideas.php
Created September 24, 2015 20:07
FOSMessage usage ideas
<?php
/*
* Create the Doctrine entity manager
*/
$entityManager = createEm();
/*
* Create the FOSMessage driver
*/
<?php
class PathMappingTest
{
public function testMergeDirectParent()
{
$root = __DIR__.'/Fixtures/dir5';
$this->store->set('/', null);
$this->store->set('/webmozart', array($root));
$this->store->set('/webmozart/sub', null);
11-22 21:57:30.596 19424-19739/com.poinsart.votar E/art﹕ JNI ERROR (app bug): accessed stale local reference 0x200011 (index 4 in a table of size 4)
11-22 21:57:30.596 19424-19739/com.poinsart.votar E/art﹕ 0xb487a180 SpaceTypeMallocSpace begin=0x32c00000,end=0x32e01000,limit=0x52c00000,size=2MB,capacity=192MB,non_growth_limit_capacity=512MB,name="main rosalloc space 1"]
11-22 21:57:30.596 19424-19739/com.poinsart.votar E/art﹕ 0xb4875b00 allocspace main rosalloc space 1 live-bitmap 2[begin=0x32c00000,end=0x52c00000]
11-22 21:57:30.596 19424-19739/com.poinsart.votar E/art﹕ 0xb4875ae0 allocspace main rosalloc space 1 mark-bitmap 2[begin=0x32c00000,end=0x52c00000]
11-22 21:57:30.596 19424-19739/com.poinsart.votar E/art﹕ 0xb4874120 SpaceTypeImageSpace begin=0x6fed4000,end=0x70885440,size=9MB,name="/data/dalvik-cache/arm/system@framework@boot.art"]
11-22 21:57:30.596 19424-19739/com.poinsart.votar E/art﹕ 0xb4875160 imagespace /data/dalvik-cache/arm/system@framework@boot.art live-bitmap 0[begin=0x6fed4000,end=
annotations - Filesystem > OpCache -> cache.adapter.local
validator -> cache.adapter.local
serialize -> cache.adapter.local
security -> cache.adapter.local
property_access -> cache.adapter.local
property_info -> cache.adapter.local
metadata_cache_driver -> cache.adapter.local
#
# /etc/acmephp.conf - Configuration file for ACME PHP CLI client
# See https://github.com/acmephp/cli for more informations
#
###################################################################
# Adapters
#
# Adapters are the link between the storage and the concrete
# persistance system. You can declare multiple adapters here to
2.1 ou version ultérieure
2.1 ou version ultérieure
2.1 and up
2.1 and up
2.1 and up
2.1 en hoger
2.1 ve üzeri
2.1 tai uudempi
2.1 és újabb
2.1 un jaunāka
<?php
class Foo implements ServiceSubscriberInterface
{
use ServiceSubscriberTrait;
public function do()
{
$this->getRouter();
}

Keybase proof

I hereby claim:

  • I am tgalopin on github.
  • I am tgalopin (https://keybase.io/tgalopin) on keybase.
  • I have a public key ASABkpEc3xQN016FUZWrUm8gX08Gw42C19PR-OeKLuzitAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am tgalopin on github.
  • I am tgalopin (https://keybase.io/tgalopin) on keybase.
  • I have a public key whose fingerprint is 76E1 D39D ED61 6A43 7CC3 E569 770C 1744 BBF5 0258

To claim this, I am signing this object:

<?php
namespace App\Tests\Controller;
use Symfony\Component\HttpFoundation\Response;
/**
* @group functional
*/
class SecurityControllerTest extends AbstractControllerTest