From 1f83b6801f2ad3da7f41fde87bc2a29d38a198e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 4 Sep 2023 18:58:56 +0200 Subject: [PATCH] Fix: Mark class as final (#718) --- roave-bc-check.yaml | 1 + src/Faker/Core/Coordinates.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/roave-bc-check.yaml b/roave-bc-check.yaml index 66a2326399..610c9e4e2f 100644 --- a/roave-bc-check.yaml +++ b/roave-bc-check.yaml @@ -1,5 +1,6 @@ parameters: ignoreErrors: + - '#\[BC\] CHANGED: Class Faker\\Core\\Coordinates became final#' - '#\[BC\] CHANGED: Property Faker\\Factory::\$defaultProviders changed default value#' - '#\[BC\] CHANGED: Property Faker\\Provider\\[a-z_A-Z]+\\[a-zA-Z]+::\$[1-9a-zA-Z]+ changed default value#' - '#\[BC\] CHANGED: Property Faker\\Provider\\[a-zA-Z]+::\$[1-9a-zA-Z]+ changed default value#' diff --git a/src/Faker/Core/Coordinates.php b/src/Faker/Core/Coordinates.php index 19b58f95a7..15b5492e17 100644 --- a/src/Faker/Core/Coordinates.php +++ b/src/Faker/Core/Coordinates.php @@ -9,7 +9,7 @@ /** * @experimental This class is experimental and does not fall under our BC promise */ -class Coordinates implements Extension\Extension +final class Coordinates implements Extension\Extension { private Extension\NumberExtension $numberExtension;