Skip to content
Permalink
Branch: master
Commits on Dec 14, 2016
  1. Using variadic instead of call_user_func_array

    jrbasso committed Dec 14, 2016
Commits on Aug 15, 2016
  1. Updated cake version on readme

    jrbasso committed Aug 15, 2016
Commits on May 31, 2016
  1. Optimizing mapType

    jrbasso committed May 31, 2016
    When using RequestHandler component the code tries to guess the extension by checking the Accept header. The current code maps all the types sent as acceptable by the requester (usually browser) and just use the first. This is just a quicker solution where moving the order of the items on the array makes the code to reduce around 400 loops with in_array check inside for requests coming from the most common browsers (Chrome, Safari, Firefox, IE).
Commits on Apr 2, 2016
  1. Fixed __x doc link

    jrbasso committed Apr 2, 2016
Commits on Apr 7, 2015
  1. Between is not a valid rule in the core

    jrbasso committed Apr 7, 2015
    Using a rule that is valid in the core to not confuse people.
Commits on Apr 4, 2015
  1. Removed duplicated option on find docblock

    jrbasso committed Apr 4, 2015
Commits on Mar 29, 2015
  1. Preventing PHP to segfault on PHP 7

    jrbasso committed Mar 29, 2015
    PHP 7 issue #69329 causes the mime_content_type to fail in files smaller than 3 bytes. This change just increase the file on cake to avoid the error. The content of this file is not checked on the tests, just the mime content type.
  2. Making sure the tests on PHP7 are testing the expected message and fa…

    jrbasso committed Mar 29, 2015
    …iling if no exception is thrown
  3. Separated test since PHP 7 behaves differently

    jrbasso committed Mar 29, 2015
    PHPUnit does not catch BaseException yet (introduced in PHP 7), so adding a separated test to verify it
  4. Separated test since PHP 7 behaves differently

    jrbasso committed Mar 29, 2015
    PHPUnit does not catch BaseException yet (introduced in PHP 7), so adding a separated test to verify it
  5. Setting class alias only on php versions before 7

    jrbasso committed Mar 29, 2015
    String is not a valid name in PHP 7 anymore.
Commits on Feb 10, 2015
  1. Merge pull request #5867 from ADmad/3.0

    jrbasso committed Feb 10, 2015
    Use "static" instead of "self" to allow overriding.
Commits on Jan 26, 2015
  1. Removing unnecessary condition to set the status on redirect

    jrbasso committed Jan 26, 2015
  2. Better example for redirect response code

    jrbasso committed Jan 26, 2015
Commits on Jan 24, 2015
  1. Fixed issue of list() using same variable for PHP-7

    jrbasso committed Jan 24, 2015
    In PHP 7 the processing is made from right to left instead of left to right, causing an issue when the same variable is used on the list(). See https://wiki.php.net/rfc/abstract_syntax_tree
  2. Fixed typo

    jrbasso committed Jan 24, 2015
Commits on Jan 3, 2015
  1. Renamed String class to Text

    jrbasso committed Jan 2, 2015
    String may become invalid class name on PHP 7+, so avoiding issues upfront.
Commits on Oct 28, 2014
  1. Update test cases for CakeRoute::__set_state

    jrbasso committed Oct 28, 2014
    It removes the eval and test the __set_state more explicitly.
Commits on Oct 22, 2014
  1. Fixed PHPCS issues

    jrbasso committed Oct 22, 2014
  2. Implementing __set_state for CakeRoute

    jrbasso committed Oct 22, 2014
    It helps the applications to cache the routes using var_export when possible.
Commits on Oct 20, 2014
  1. Replaced for loops by foreach

    jrbasso committed Oct 20, 2014
  2. Simplified way to add new prefixes to the router

    jrbasso committed Oct 20, 2014
Commits on Oct 19, 2014
  1. Removed the code that was never being executed

    jrbasso committed Oct 19, 2014
Commits on Sep 7, 2014
  1. Avoiding loops for Hash::get() up to 3 levels

    jrbasso committed Sep 7, 2014
    Lots of configs and read do not use very deep levels to read. Having the switch to avoid loops can increase the performance in about 30%.
  2. Improved Hash::get() performance

    jrbasso committed Sep 7, 2014
    Calling Hash::get() with just one key is a very rare, since you can do $data[$key] directly. Just by adding this check it decreases the performance in about 15%.
  3. Since PHP 5.3 the variable is no longer copied

    jrbasso committed Sep 7, 2014
    Removing the reference makes the code faster.
Commits on May 20, 2014
  1. Supporting regex on dispatcher "for" condition

    jrbasso committed May 20, 2014
Commits on Apr 18, 2014
Commits on Mar 12, 2014
  1. Replacing the usage of PHPUnit static mock on App::classname()

    jrbasso committed Mar 12, 2014
Commits on Jan 21, 2014
  1. Added option to allowed headers

    jrbasso committed Jan 21, 2014
  2. Fixed doc description

    jrbasso committed Jan 21, 2014
  3. Fixed CS

    jrbasso committed Jan 21, 2014
  4. Changed tests to support PHP 5.2 :(

    jrbasso committed Jan 21, 2014
Older
You can’t perform that action at this time.