apply rector rules: php up to php82

This commit is contained in:
2023-07-19 23:16:01 +02:00
parent 7b637d1287
commit 023a29cb78
744 changed files with 1369 additions and 1381 deletions

View File

@@ -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)

View File

@@ -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})

View File

@@ -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)