Fix erroneous changes.

This commit is contained in:
Pol Dellaiera 2021-04-28 11:28:06 +02:00
parent 77943a69fb
commit 06aa672133
3 changed files with 13 additions and 4 deletions

View File

@ -9,6 +9,18 @@
* @see https://www.champs-libres.coop/ * @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); declare(strict_types=1);
class LoadActivitytACL extends AbstractFixture implements OrderedFixtureInterface class LoadActivitytACL extends AbstractFixture implements OrderedFixtureInterface
@ -35,7 +47,7 @@ class LoadActivitytACL extends AbstractFixture implements OrderedFixtureInterfac
break; break;
case 'administrative': case 'administrative':
case 'direction': 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 break 2; // we do not want any power on social or administrative
} }

View File

@ -26,7 +26,6 @@ use Chill\MainBundle\Test\PrepareClientTrait;
*/ */
final class PersonControllerCreateTest extends WebTestCase final class PersonControllerCreateTest extends WebTestCase
{ {
<<<<<<< HEAD
use PrepareClientTrait; use PrepareClientTrait;
const FIRSTNAME_INPUT = 'chill_personbundle_person_creation[firstName]'; const FIRSTNAME_INPUT = 'chill_personbundle_person_creation[firstName]';

View File

@ -13,8 +13,6 @@ declare(strict_types=1);
namespace Chill\ThirdPartyBundle\ThirdPartyType; namespace Chill\ThirdPartyBundle\ThirdPartyType;
use self;
/** /**
* Manages types of third parties. * Manages types of third parties.
*/ */