Skip to content

Instantly share code, notes, and snippets.

View beberlei's full-sized avatar
💯

Benjamin Eberlei beberlei

💯
View GitHub Profile
Configure Command => './configure' '--enable-soap' '--enable-sockets' '--with-pdo-mysql=shared' '--enable-pdo=shared' '--with-pdo-sqlite=shared' '--with-sqlite=shared' '--with-curl=/usr/include/curl' '--with-config-file-path=/etc/php5/cli' '--with-config-file-scan-dir=/etc/php5/cli/conf.d'
#!/usr/bin/env php
<?php
/**
* PHPUnit
*
* Copyright (c) 2002-2009, Sebastian Bergmann <sb@sebastian-bergmann.de>.
* Copyright (c) 2009, Benjamin Eberlei <kontakt@beberlei.de>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
<?php
/**
* @package Whitewashing
* @subpackage PHPUnit
* @license BSD License {@link http://www.opensource.org/licenses/bsd-license.php}
* @author Benjamin Eberlei (kontakt@beberlei.de)
*
* Copyright (c) 2009, Benjamin Eberlei
* All rights reserved.
*
<?php
/**
* @package Whitewashing
*
*/
class Whitewashing_Controller_Helper_Container extends Zend_Controller_Action_Helper_Abstract
{
/**
* @var Yadif_Container
*/
<?php
class Zend_Entity_Query extends Zend_Entity_Query_Abstract
{
public function where($property, $operatorOrValue, $valueOrConditionName = null, $conditionName = null)
{
return $this;
}
public function combine(array $conditionNames, $operation, $combinedConditionName = null)
<?php
class Zend_Reflection_DocblockParserTest extends PHPUnit_Framework_TestCase
{
public function testTokenizesimpleDocBlock()
{
$input = "hello world this is a description
@param string \$foo
@return int";
<?php
/**
* Copyright (c) 2009, Benjamin Eberlei
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
<?php
require_once "ezc/Base/base.php";
require_once "Zend/Loader/Autoloader.php";
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->pushAutoloader(array('ezcBase', 'autoload'), 'ezc');
class EntitySchemaProvider extends Zend_Tool_Framework_Provider_Abstract
<?php
/**
* PHPUnit
*
* Copyright (c) 2002-2009, Sebastian Bergmann <sb@sebastian-bergmann.de>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
abstract class Whitewashing_Webdav_SimplerBackend extends ezcWebdavSimpleBackend
{
protected $liveProperties = array(
'getcontentlength',
'getlastmodified',
'creationdate',
'displayname',
'getetag',
'getcontenttype',
'resourcetype',