Commit 1368b2c1 authored by Laurent Lécluse's avatar Laurent Lécluse
Browse files

divers

parent d01b57d5
......@@ -22,10 +22,7 @@ class Lcv
{
use EntityManagerAwareTrait;
/**
* @var string
*/
protected $view;
protected ?string $view;
......@@ -36,22 +33,14 @@ class Lcv
/**
* @return string
*/
public function getView()
public function getView(): ?string
{
return $this->view;
}
/**
* @param string $view
*
* @return Lcv
*/
public function setView($view)
public function setView(string $view): Lcv
{
$this->view = $view;
......
......@@ -17,7 +17,6 @@ use Application\Service\PieceJointeService;
use Application\Service\TypePieceJointeService;
use Application\Service\TypeValidationService;
use Application\Service\ValidationService;
use Application\Service\WorkflowService;
$repertoire = '/app/cache/2020/';
$typeMime = 'application/msword';
......
......@@ -4,13 +4,9 @@ return [
'explicit' => true,
'table' => [
'includes' => [
'ADRESSE_INTERVENANT',
'ADRESSE_STRUCTURE',
'INTERVENANT_SAISIE',
'DOSSIER',
'TBL_DEMS',
'VERSION',
'TMP_SCENARIO_NOEUD_EFFECTIF',
'DOSSIER_CHAMP_AUTRE_PAR_STATUT',
],
],
'materialized-view' => [
......
......@@ -7,7 +7,5 @@ class Constants
const DATE_FORMAT = 'd/m/Y';
const DATETIME_FORMAT = 'd/m/Y à H:i';
const ADRESSE_PAYS_DEFAULT = 'FRANCE';
const BDD = 'doctrine.entitymanager.orm_default';
}
\ No newline at end of file
......@@ -47,7 +47,7 @@ class DossierStatutFieldset extends AbstractFieldset
$statut = $this->getOption('statut');
$intervenant = $this->getOption('intervenant');
/*On va chercher les statuts que l'intervenant possède
déjà pour ne pas les afficher dans la liste car il
déjà pour ne pas les afficher dans la liste, car il
ne peut pas avoir deux fois le même statut*/
$intervernants = $this->getServiceIntervenant()->getIntervenants($intervenant);
$statuts = [];
......
......@@ -32,7 +32,7 @@ class Statut implements ParametreEntityInterface, RoleInterface
private float $serviceStatutaire = 0;
private bool $depassementServiceDuSansHc = false;
private bool $depassementServiceDuSansHC = false;
private float $tauxChargesPatronales = 1.0;
......
<?xml version="1.0"?>
<ruleset
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/squizlabs/php_codesniffer/phpcs.xsd">
<arg name="basepath" value="."/>
<arg name="cache" value=".phpcs-cache"/>
<arg name="colors"/>
<arg name="extensions" value="php"/>
<arg name="parallel" value="80"/>
<!-- Show progress -->
<arg value="p"/>
<!-- Paths to check -->
<file>admin</file>
<file>src</file>
<!--<file>test</file>-->
<!-- Include all rules from Laminas Coding Standard -->
<rule ref="LaminasCodingStandard"/>
</ruleset>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment