Skip to content

Instantly share code, notes, and snippets.

View temp's full-sized avatar

Stephan Wentz temp

  • brainbits GmbH
  • Cologne, Germany
View GitHub Profile
<?php
function arr($config): callable {
return static function ($value) use ($config) {
return map(static function($f) use ($value) {
return $f($value);
}, $config);
};
}
$ phpunit
PHPUnit 4.8.6 by Sebastian Bergmann and contributors.
................................................................ 64 / 87 ( 73%)
..........FFF..........
Time: 1.12 seconds, Memory: 5.00Mb
There were 3 failures:
$ phpunit
PHPUnit 4.8.5 by Sebastian Bergmann and contributors.
F.S........................................................... 62 / 118 ( 52%)
..................................FSSSF...FFFF..FFFF....
Time: 2.01 seconds, Memory: 4.50Mb
There were 11 failures:
@temp
temp / gist:21805780bf67a106e58c
Created June 9, 2015 07:59
box.json for paralles-lint
{
"output": "parallel-lint.phar",
"chmod": "0755",
"compactors": [
"Herrera\\Box\\Compactor\\Php"
],
"extract": false,
"main": "parallel-lint.php",
"files": [
"LICENSE"
@temp
temp / gist:f9ae15e1a1d0e86c265a
Created June 3, 2015 08:47
puli/composer-plugin phpunit
PHPUnit 4.6.10 by Sebastian Bergmann and contributors.
Configuration read from /Users/swentz/git/puli/composer-plugin/phpunit.xml.dist
.FFSSFFFFF.FFFFFFFFFFFFFFFF.........
Time: 430 ms, Memory: 10.75Mb
There were 23 failures:
<?php
/**
* phlexible
*
* @copyright 2007 brainbits GmbH (http://www.brainbits.net)
* @license http://www.makeweb.de/LICENCE Dummy Licence
*/
namespace Phlexible\Component\Expression;
$data = array(
'firstname' => array('op' => 'eq', 'value' => 'Stephan'),
'username' => array('op' => 'contains', 'value' => 'swe'),
);
// transform data to expression
$expr = Expr::valid();
foreach ($data as $field => $match) {

Keybase proof

I hereby claim:

  • I am temp on github.
  • I am swentz (https://keybase.io/swentz) on keybase.
  • I have a public key whose fingerprint is 55A3 5F78 E9F8 0596 0CB2 19F9 AAE2 B90C 4D81 1FF7

To claim this, I am signing this object: