summaryrefslogtreecommitdiffstats
path: root/Acl
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2014-12-30 10:04:52 +0100
committerFabien Potencier <fabien.potencier@gmail.com>2014-12-30 10:04:52 +0100
commitbe21bcbd329bb50afa7c91a7d7d4e3c49caaca57 (patch)
tree4f2c64e9a7aeb2245fa233a6ffd0f2d5900a1d42 /Acl
parent8d6c4e20afe24a18f6d54bf38f910e27d7abe615 (diff)
parentcd277e8552ccb2c0242b244473c708b5c6600b74 (diff)
downloadsymfony-security-be21bcbd329bb50afa7c91a7d7d4e3c49caaca57.zip
symfony-security-be21bcbd329bb50afa7c91a7d7d4e3c49caaca57.tar.gz
symfony-security-be21bcbd329bb50afa7c91a7d7d4e3c49caaca57.tar.bz2
Merge branch '2.5' into 2.6
* 2.5: Updated generateSql tool Fix the implementation of deprecated Locale classes Fix phpdoc and coding standards Replace usages of the deprecated TypeTestCase by the new one Remove usages of deprecated constants Update functional tests to use the PSR NullLogger fix regression in form tests after pr #13027 | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Make fabbot happy Clean up testing No global state for isolated tests and other fixes No global state for isolated tests and other fixes fix #10054 - form data collector with dynamic fields [TwigBundle] Moved the setting of the default escaping strategy from the Twig engine to the Twig environment [Debug] fix checkip6 [HttpFoundation] fixed error when an IP in the X-Forwarded-For HTTP header contains a port Update the note about origins of the CssSelector component. Use the correct cssselect library name in docblocks. [DomCrawler] fixed bug #12143 Conflicts: src/Symfony/Bundle/FrameworkBundle/Templating/GlobalVariables.php src/Symfony/Component/Serializer/Normalizer/DenormalizableInterface.php
Diffstat (limited to 'Acl')
-rw-r--r--Acl/Model/MutableAclProviderInterface.php2
-rw-r--r--Acl/Resources/bin/generateSql.php4
2 files changed, 4 insertions, 2 deletions
diff --git a/Acl/Model/MutableAclProviderInterface.php b/Acl/Model/MutableAclProviderInterface.php
index f94ddc5..95f531e 100644
--- a/Acl/Model/MutableAclProviderInterface.php
+++ b/Acl/Model/MutableAclProviderInterface.php
@@ -11,6 +11,8 @@
namespace Symfony\Component\Security\Acl\Model;
+use Symfony\Component\Security\Acl\Exception\AclAlreadyExistsException;
+
/**
* Provides support for creating and storing ACL instances.
*
diff --git a/Acl/Resources/bin/generateSql.php b/Acl/Resources/bin/generateSql.php
index 722c4c4..4b1b38d 100644
--- a/Acl/Resources/bin/generateSql.php
+++ b/Acl/Resources/bin/generateSql.php
@@ -20,7 +20,7 @@ $loader->addPrefixes(array(
'Symfony' => __DIR__.'/../../../../../..',
'Doctrine\\Common' => __DIR__.'/../../../../../../../vendor/doctrine-common/lib',
'Doctrine\\DBAL\\Migrations' => __DIR__.'/../../../../../../../vendor/doctrine-migrations/lib',
- 'Doctrine\\DBAL' => __DIR__.'/../../../../../../../vendor/doctrine-dbal/lib',
+ 'Doctrine\\DBAL' => __DIR__.'/../../../../../../../vendor/doctrine/dbal/lib',
'Doctrine' => __DIR__.'/../../../../../../../vendor/doctrine/lib',
));
$loader->register();
@@ -46,6 +46,6 @@ foreach ($finder as $file) {
}
$platform = $reflection->newInstance();
- $targetFile = sprintf(__DIR__.'/../schema/%s.sql', $platform->name);
+ $targetFile = sprintf(__DIR__.'/../schema/%s.sql', $platform->getName());
file_put_contents($targetFile, implode("\n\n", $schema->toSql($platform)));
}