Permalink
Commits on Apr 29, 2014
  1. Pimple C extension

    jpauli committed Nov 7, 2013
  2. feature #124 add service provider interface (dominikzogg, fabpot)

    This PR was merged into the 2.0.x-dev branch.
    
    Discussion
    ----------
    
    add service provider interface
    
    finished #123
    
    Commits
    -------
    
    fd6ab9a created a sub-namespaces for Fixtures in tests
    32b79eb removed obsolete @package annotations
    0ab4f51 updated docs for 2.1
    c67c27a removed the bootstrap file for tests
    40b099a moved lib/ to src/
    a895667 updated CHANGELOG
    9b769de add service provider interface
    a8625ba bumped version to 2.1
    committed Apr 29, 2014
  3. removed obsolete @package annotations

    committed Apr 29, 2014
  4. updated docs for 2.1

    committed Apr 29, 2014
  5. moved lib/ to src/

    committed Apr 29, 2014
  6. updated CHANGELOG

    committed Apr 29, 2014
  7. add service provider interface

    dominikzogg committed with Apr 27, 2014
  8. bumped version to 2.1

    committed Apr 29, 2014
Commits on Apr 20, 2014
  1. minor #116 Root namespace for exceptions (vlakarados)

    This PR was merged into the 2.0.x-dev branch.
    
    Discussion
    ----------
    
    Root namespace for exceptions
    
    Prepend `\` (backslash) to all PHP built-in classes for those who namespace the library.
    
    This is quite necessary as while developing it's possible not stumble upon exceptions and this will kill production with an uncaught exception, which has a great chance because this library is mainly used in the core of the application where `try/catch` is used rarely.
    
    Commits
    -------
    
    fac4177 Root namespace for exceptions
    committed Apr 20, 2014
  2. Merge branch '1.1'

    * 1.1:
      Added PHP 5.6 and HHVM to travis.
    committed Apr 20, 2014
  3. minor #118 Added PHP 5.6 and HHVM to travis. (h4cc)

    This PR was merged into the 1.1 branch.
    
    Discussion
    ----------
    
    Added PHP 5.6 and HHVM to travis.
    
    Build and tests still run :)
    
    Commits
    -------
    
    9c2d6d1 Added PHP 5.6 and HHVM to travis.
    committed Apr 20, 2014
Commits on Apr 12, 2014
  1. Added PHP 5.6 and HHVM to travis.

    h4cc committed Apr 12, 2014
Commits on Apr 2, 2014
  1. Root namespace for exceptions

    Prepend backslash to all PHP built-in classes for those who namespace the library.
    vlakarados committed Apr 2, 2014
Commits on Mar 6, 2014
  1. minor #112 use of keys prop for isset() check of services/values (rap…

    …hahardt)
    
    This PR was merged into the 2.0.x-dev branch.
    
    Discussion
    ----------
    
    use of keys prop for isset() check of services/values
    
    Why not just use the keys prop for check if a service/value exists in Pimple?
    
    Commits
    -------
    
    e2b05ce use of keys prop for isset() check of services/values
    committed Mar 6, 2014
Commits on Mar 5, 2014
Commits on Feb 11, 2014
  1. fixed missing property

    committed Feb 11, 2014
Commits on Feb 10, 2014
  1. fixed a memory leak

    committed Feb 10, 2014
  2. minor #99 fix phpdoc (dominikzogg)

    This PR was merged into the 2.0.x-dev branch.
    
    Discussion
    ----------
    
    fix phpdoc
    
    Commits
    -------
    
    d8d01f9 fix phpdoc
    committed Feb 10, 2014
Commits on Feb 3, 2014
Commits on Dec 9, 2013
  1. fix phpdoc

    dominikzogg committed Dec 9, 2013
Commits on Nov 30, 2013
  1. minor #98 Calling the parent constructor is required in Pimple 2.0. (…

    …gigr)
    
    This PR was merged into the master branch.
    
    Discussion
    ----------
    
    Calling the parent constructor is required in Pimple 2.0.
    
    Commits
    -------
    
    3a4d240 Calling the parent constructor is required in Pimple 2.0.
    committed Nov 30, 2013
  2. bug #97 Allow setting protected and factory services inside the const…

    …ructor. (gigr)
    
    This PR was merged into the master branch.
    
    Discussion
    ----------
    
    Allow setting protected and factory services inside the constructor.
    
    Fixes the following scenario.
    
    ```php
    
    class Foo extends Pimple
    {
        public function __construct()
        {
            parent::__construct([
                // $this->protect(), while callable, does not yet have
                // $this->protected initialized, so it blows up.
                'bar' => $this->protect(function () {
                     return 'Hi, Fabien!';
                 }),
            ]);
        }
    }
    
    $foo = new Foo(); // kersplode!
    ```
    
    This has no effect when constructing a bare Pimple object, since you cannot call `protect()` without first fully instantiating the object.
    
    ```php
    $pimple = new Pimple([
        // $pimple->protect() is obviously not callable here since
        // the object isn't fully constructed.
    ]);
    ```
    
    I'm going to send another PR for fixing the documentation. The section about packaging a container for reusability is incorrect since it suggests that you do not need to call the parent constructor (you totally do in Pimple 2.0).
    
    Commits
    -------
    
    fc50725 Allow setting protected and factory services inside the constructor.
    committed Nov 30, 2013
  3. Allow setting protected and factory services inside the constructor.

    Fixes the following scenario. 
    
    ```php
    
    class Foo extends Pimple
    {
        public function __construct()
        {
            parent::__construct([
                // $this->protect(), while callable, does not have
                // $this->protected initialized yet, so it blows up.
                'bar' => $this->protect(function () {
                     return 'Hi, Fabien!';
                 }),
            ]);
        }
    }
    
    $foo = new Foo(); // kersplode!
    ```
    
    This has no effect when constructing a bare Pimple object, since you cannot call `protect()` without first fully instantiating the object.
    
    ```php
    $pimple = new Pimple([
        // $pimple->protect() is obviously not callable here since
        // the object isn't fully constructed.
    ]);
    ```
    
    I'm going to send another PR for fixing the documentation. The section about packaging a container for reusability is incorrect since it suggests that you do not need to call the parent constructor (you totally do in Pimple 2.0).
    gigr committed Nov 30, 2013
Commits on Nov 22, 2013
  1. unified @return and @param tags

    committed Nov 22, 2013
  2. Merge branch '1.1'

    * 1.1:
      fix doc blocks
    
    Conflicts:
    	lib/Pimple.php
    committed Nov 22, 2013
  3. minor #93 fix doc blocks (Sorien)

    This PR was submitted for the master branch but it was merged into the 1.1 branch instead (closes #93).
    
    Discussion
    ----------
    
    fix doc blocks
    
    prevent IDE (as PhpStorm) to mark `$app['foo'] = $app->protect(function () ... );` as `Expected object, got callable`
    
    Commits
    -------
    
    757e766 fix doc blocks
    committed Nov 22, 2013
  4. fix doc blocks

    Sorien committed with Nov 13, 2013
Commits on Nov 14, 2013
  1. feature #94 Performance optimization (annesosensio)

    This PR was merged into the master branch.
    
    Discussion
    ----------
    
    Performance optimization
    
    Commits
    -------
    
    11debc8 Performance optimization
    committed Nov 14, 2013
Commits on Nov 13, 2013
  1. Performance optimization

    annesosensio committed Nov 13, 2013