mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
apply rector rules: php up to php82
This commit is contained in:
@@ -40,19 +40,19 @@ class Address implements TrackCreationInterface, TrackUpdateInterface
|
||||
/**
|
||||
* When an Address does match with the AddressReference
|
||||
*/
|
||||
public const ADDR_REFERENCE_STATUS_MATCH = 'match';
|
||||
final public const ADDR_REFERENCE_STATUS_MATCH = 'match';
|
||||
|
||||
/**
|
||||
* When an Address does not match with the AddressReference, and
|
||||
* is pending for a review
|
||||
*/
|
||||
public const ADDR_REFERENCE_STATUS_TO_REVIEW = 'to_review';
|
||||
final public const ADDR_REFERENCE_STATUS_TO_REVIEW = 'to_review';
|
||||
|
||||
/**
|
||||
* When an Address does not match with the AddressReference, but
|
||||
* is reviewed
|
||||
*/
|
||||
public const ADDR_REFERENCE_STATUS_REVIEWED = 'reviewed';
|
||||
final public const ADDR_REFERENCE_STATUS_REVIEWED = 'reviewed';
|
||||
|
||||
/**
|
||||
* @ORM\ManyToOne(targetEntity=AddressReference::class)
|
||||
|
@@ -20,9 +20,9 @@ use Doctrine\ORM\Mapping as ORM;
|
||||
*/
|
||||
class CronJobExecution
|
||||
{
|
||||
public const FAILURE = 100;
|
||||
final public const FAILURE = 100;
|
||||
|
||||
public const SUCCESS = 1;
|
||||
final public const SUCCESS = 1;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="datetime_immutable", nullable=true, options={"default": null})
|
||||
|
@@ -27,15 +27,15 @@ use Symfony\Component\Serializer\Annotation\DiscriminatorMap;
|
||||
*/
|
||||
class LocationType
|
||||
{
|
||||
public const DEFAULT_FOR_3PARTY = 'thirdparty';
|
||||
final public const DEFAULT_FOR_3PARTY = 'thirdparty';
|
||||
|
||||
public const DEFAULT_FOR_PERSON = 'person';
|
||||
final public const DEFAULT_FOR_PERSON = 'person';
|
||||
|
||||
public const STATUS_NEVER = 'never';
|
||||
final public const STATUS_NEVER = 'never';
|
||||
|
||||
public const STATUS_OPTIONAL = 'optional';
|
||||
final public const STATUS_OPTIONAL = 'optional';
|
||||
|
||||
public const STATUS_REQUIRED = 'required';
|
||||
final public const STATUS_REQUIRED = 'required';
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="boolean", nullable=true)
|
||||
|
Reference in New Issue
Block a user