3 Commits

Author SHA1 Message Date
Christophe Coevoet
99d598199d Changed the autoloading to PSR-4 2014-03-14 14:08:48 +01:00
Christophe Coevoet
1977ebcde3 Added a branch alias for master 2014-03-13 15:04:13 +01:00
Christophe Coevoet
55273d2065 Fixed CS 2014-03-13 14:52:44 +01:00
3 changed files with 9 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ class Configuration implements ConfigurationInterface
->performNoDeepMerging()
->beforeNormalization()
->ifString()
->then(function($v) { return array('algorithm' => $v); })
->then(function ($v) { return array('algorithm' => $v); })
->end()
->children()
->scalarNode('algorithm')->cannotBeEmpty()->end()

View File

@@ -77,7 +77,7 @@ class FOSAdvancedEncoderExtension extends Extension
'arguments' => $arguments,
);
}
// message digest encoder
$arguments = array(
$config['algorithm'],

View File

@@ -16,8 +16,12 @@
"symfony/framework-bundle": "~2.1",
"symfony/security-bundle": "~2.1"
},
"autoload": {
"psr-0": { "FOS\\AdvancedEncoderBundle": "" }
"extra": {
"branch-alias": {
"dev-master": "1.1.x-dev"
}
},
"target-dir": "FOS/AdvancedEncoderBundle"
"autoload": {
"psr-4": { "FOS\\AdvancedEncoderBundle\\": "" }
}
}