Permalink
Commits on Jan 21, 2015
  1. Merge pull request #20 from butonic/add-gitattributes

    I don't need your tests in my production.
    Ocramius committed Jan 21, 2015
Commits on Jan 15, 2015
  1. Merge pull request #15 from butonic/prevent_php_from_loading_external…

    …_resources
    
    prevent php from loading external resources
    Ocramius committed Jan 15, 2015
  2. Merge pull request #19 from LukasReschke/replace-strlen

    Use isset() instead of strlen()
    Ocramius committed Jan 15, 2015
  3. Use isset() instead of strlen()

    `strlen()` is `O(n)` while `isset()` is `O(1)`. Thus this function was way too slow before and when called very often (e.g. 100k times with long string values) took more than one minute before us at ownCloud.
    
    This should make the function about 50% faster according to the blackfire.io profiler. (and also reduce memory the overall memory usage)
    LukasReschke committed Jan 15, 2015
Commits on Aug 13, 2014
Commits on Feb 15, 2014
  1. Merge pull request #11

    Maks3w committed Feb 15, 2014
Commits on Feb 4, 2014
Commits on Apr 17, 2013
  1. Merge branch 'hotfix/3'

    Close #3
    weierophinney committed Apr 17, 2013
  2. [#3] Fixes composer.json

    - Use "2.*" version for zend-stdlib
    weierophinney committed Apr 17, 2013
Commits on Jul 23, 2012
Commits on Jul 20, 2012
  1. Fixed composer.json

    ralphschindler committed Jul 20, 2012
  2. Refactored Zend\Search -> ZendSearch

    Added various files: license, readme, test assets
    ralphschindler committed Jul 20, 2012
Commits on Jul 13, 2012
Commits on Jul 12, 2012
  1. [zen-49] Add zend-stdlib to composer.json files

    - Added for each component touched that didn't have the dep
    weierophinney committed Jul 12, 2012
  2. [zen-49] Remove @ suppression operators

    - Replaced with Zend\Stdlib\ErrorHandler start() and stop()
    weierophinney committed Jul 12, 2012
  3. [PSR-2] fixers=braces,elseif,short_tag,php_closing_tag,trailing_space…

    …s,linefeed
    
    Applied php-cs-fixer --fixers=braces,elseif,short_tag,php_closing_tag,trailing_spaces,linefeed
    Maks3w committed Jul 12, 2012
  4. [PSR-2] fixers=braces,elseif,short_tag,php_closing_tag,trailing_space…

    …s,linefeed
    
    Applied php-cs-fixer --fixers=braces,elseif,short_tag,php_closing_tag,trailing_spaces,linefeed
    Maks3w committed Jul 12, 2012
Commits on Jul 11, 2012
Commits on Jul 10, 2012
Commits on Jul 9, 2012
  1. [zen-49] Correct import statements across framework

    - Ran a script that would create multiple import statements out of multi-line
      import statements, and which would sort all import statements in alphabetic
      order. Script is at https://gist.github.com/3079222 and was run by dropping
      into the library/Zend folder and typing (in zsh)
      "for file in **/*.php;do php /path/to/replace-uses.php $file; done"
    weierophinney committed Jul 9, 2012
  2. [CS][Tests] Set File Header

    http://framework.zend.com/wiki/display/ZFDEV2/Coding+Standards#CodingStandards-Files
    
    The following script replaces the content between PHP open tag and namespace declaration.
    
    for COMPONENT in $(ls -d *)
    do
        for FILE in $(find $COMPONENT -name "*.php")
        do
            BLOCK="\/\*\*\n \* Zend Framework \(http:\/\/framework\.zend\.com\/\)\n \*\n \* \@link      http:\/\/github\.com\/zendframework\/zf2 for the canonical source repository\n \* \@copyright Copyright \(c\) 2005-2012 Zend Technologies USA Inc\. \(http:\/\/www\.zend\.com\)\n \* \@license   http:\/\/framework\.zend\.com\/license\/new-bsd New BSD License\n \* \@package   Zend_$COMPONENT\n \*\/"
            perl -0777 -i -pe "s/(<\?php(\s*.*)*\nn)/<?php\n$BLOCK\n\nn/" $FILE
        done
    done
    
    3 files was manually fixed
    Maks3w committed Jul 9, 2012
  3. [CS][test] Remove @copyright & @license

    for fl in $(find . -name "*.php"); do mv $fl $fl.old;       sed '/@copyright/d' $fl.old > $fl;       rm -f $fl.old; done;
    for fl in $(find . -name "*.php"); do mv $fl $fl.old;       sed '/@license/d' $fl.old > $fl;       rm -f $fl.old; done;
    Maks3w committed Jul 9, 2012
  4. [CS][Library] Set File Header

    http://framework.zend.com/wiki/display/ZFDEV2/Coding+Standards#CodingStandards-Files
    
    The following script replaces the content between PHP open tag and namespace declaration.
    
    for COMPONENT in $(ls -d *)
    do
        for FILE in $(find $COMPONENT -name "*.php")
        do
            BLOCK="\/\*\*\n \* Zend Framework \(http:\/\/framework\.zend\.com\/\)\n \*\n \* \@link      http:\/\/github\.com\/zendframework\/zf2 for the canonical source repository\n \* \@copyright Copyright \(c\) 2005-2012 Zend Technologies USA Inc\. \(http:\/\/www\.zend\.com\)\n \* \@license   http:\/\/framework\.zend\.com\/license\/new-bsd New BSD License\n \* \@package   Zend_$COMPONENT\n \*\/"
            perl -0777 -i -pe "s/(<\?php(\s*.*)*\nn)/<?php\n$BLOCK\n\nn/" $FILE
        done
    done
    Maks3w committed Jul 9, 2012
  5. [CS][library] Remove @copyright & @license

    for fl in $(find . -name "*.php"); do mv $fl $fl.old;       sed '/@copyright/d' $fl.old > $fl;       rm -f $fl.old; done;
    for fl in $(find . -name "*.php"); do mv $fl $fl.old;       sed '/@license/d' $fl.old > $fl;       rm -f $fl.old; done;
    Maks3w committed Jul 9, 2012
Commits on Jul 6, 2012
Commits on Jul 5, 2012
  1. [Tests] Remove a bunch of try/catch

    * Removed try{} catch {fail()}
    * Refactored a bunch of tests to use setExpectedException
    Maks3w committed Jul 5, 2012
Commits on Jul 4, 2012
Commits on Jun 23, 2012