Skip to content

Commit

Permalink
Use psr4 and use pimple 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikbjorn committed May 6, 2014
1 parent 2c45053 commit 1d0dea5
Show file tree
Hide file tree
Showing 15 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license" : "MIT",

"autoload" : {
"psr-0" : { "Tacker\\" : "src" }
"psr-4" : { "Tacker\\" : "src" }
},

"require" : {
Expand All @@ -13,8 +13,8 @@
},

"require-dev" : {
"pimple/pimple" : "~1.0",
"symfony/yaml" : "~2.3"
"pimple/pimple" : "2.1.x-dev",
"symfony/yaml" : "~2.4"
},

"extra" : {
Expand Down
4 changes: 2 additions & 2 deletions src/Tacker/Configurator.php → src/Configurator.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Tacker;

use Symfony\Component\Config\Loader\LoaderInterface;
use Pimple;
use Pimple\Container;

class Configurator
{
Expand All @@ -14,7 +14,7 @@ public function __construct(LoaderInterface $loader)
$this->loader = $loader;
}

public function configure(Pimple $pimple, $resource)
public function configure(Container $pimple, $resource)
{
$parameters = $this->loader->load($resource);

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace Tacker\Normalizer;

use Pimple\Container;

/**
* @package Tacker
*/
Expand All @@ -10,9 +12,9 @@ class PimpleNormalizer implements \Tacker\Normalizer
protected $pimple;

/**
* @param Pimple $pimple
* @param Container $pimple
*/
public function __construct(\Pimple $pimple)
public function __construct(Container $pimple)
{
$this->pimple = $pimple;
}
Expand Down
File renamed without changes.

0 comments on commit 1d0dea5

Please sign in to comment.