Skip to content

Instantly share code, notes, and snippets.

View SenseException's full-sized avatar
🦜
brrrrrd

Claudio Zizza SenseException

🦜
brrrrrd
View GitHub Profile
@SenseException
SenseException / FrozenXmlArrayAccess.php
Created November 22, 2013 11:48
Accessing XML like an array (readonly)
<?php
class FrozenXmlArrayAccess implements ArrayAccess
{
/**
* @var SimpleXMLElement
*/
private $xml;
/**
@SenseException
SenseException / Profiler.php
Last active May 4, 2016 14:56
MySQL Profiles in Symfony Console using Doctrine DBAL (needs some cleanup)
<?php
use Doctrine\DBAL\Connection;
use Symfony\Component\Console\Helper\QuestionHelper;
use Symfony\Component\Console\Helper\Table;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Question\ChoiceQuestion;
class Profiler

Keybase proof

I hereby claim:

  • I am senseexception on github.
  • I am senseexception (https://keybase.io/senseexception) on keybase.
  • I have a public key ASBw0jNQUAIraJZB2_cSOATfh-7N8paAEOvCvpRB3EfUKQo

To claim this, I am signing this object:

@SenseException
SenseException / .scrutinizer.yml
Created April 1, 2020 09:27
Minimum Scrutinizer config for Akeneo PIM 4.0
build:
nodes:
analysis:
environment:
apt_packages:
- libmagickwand-dev
- libmagickcore-dev
php:
version: 7.3
pecl_extensions: