mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fix erroneous changes.
This commit is contained in:
parent
77943a69fb
commit
06aa672133
@ -9,6 +9,18 @@
|
||||
* @see https://www.champs-libres.coop/
|
||||
*/
|
||||
|
||||
namespace Chill\ActivityBundle\DataFixtures\ORM;
|
||||
|
||||
use Chill\ActivityBundle\Security\Authorization\ActivityStatsVoter;
|
||||
use Chill\MainBundle\DataFixtures\ORM\LoadPermissionsGroup;
|
||||
use Chill\MainBundle\DataFixtures\ORM\LoadScopes;
|
||||
use Chill\MainBundle\Entity\RoleScope;
|
||||
use Doctrine\Common\DataFixtures\AbstractFixture;
|
||||
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
|
||||
use Doctrine\Persistence\ObjectManager;
|
||||
|
||||
use function in_array;
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
class LoadActivitytACL extends AbstractFixture implements OrderedFixtureInterface
|
||||
@ -35,7 +47,7 @@ class LoadActivitytACL extends AbstractFixture implements OrderedFixtureInterfac
|
||||
break;
|
||||
case 'administrative':
|
||||
case 'direction':
|
||||
if (\in_array($scope->getName()['en'], ['administrative', 'social'], true)) {
|
||||
if (in_array($scope->getName()['en'], ['administrative', 'social'], true)) {
|
||||
break 2; // we do not want any power on social or administrative
|
||||
}
|
||||
|
||||
|
@ -26,7 +26,6 @@ use Chill\MainBundle\Test\PrepareClientTrait;
|
||||
*/
|
||||
final class PersonControllerCreateTest extends WebTestCase
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
use PrepareClientTrait;
|
||||
|
||||
const FIRSTNAME_INPUT = 'chill_personbundle_person_creation[firstName]';
|
||||
|
@ -13,8 +13,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace Chill\ThirdPartyBundle\ThirdPartyType;
|
||||
|
||||
use self;
|
||||
|
||||
/**
|
||||
* Manages types of third parties.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user