diff --git a/test/Faker/Calculator/EanTest.php b/test/Faker/Calculator/EanTest.php index a486ca9a61..408b0f44a9 100644 --- a/test/Faker/Calculator/EanTest.php +++ b/test/Faker/Calculator/EanTest.php @@ -7,7 +7,7 @@ use Faker\Calculator\Ean; use PHPUnit\Framework\TestCase; -class EanTest extends TestCase +final class EanTest extends TestCase { public function Ean8checksumProvider() { diff --git a/test/Faker/Calculator/IbanTest.php b/test/Faker/Calculator/IbanTest.php index 197048e5fd..4f74900719 100644 --- a/test/Faker/Calculator/IbanTest.php +++ b/test/Faker/Calculator/IbanTest.php @@ -5,7 +5,7 @@ use Faker\Calculator\Iban; use PHPUnit\Framework\TestCase; -class IbanTest extends TestCase +final class IbanTest extends TestCase { public function checksumProvider() diff --git a/test/Faker/Calculator/InnTest.php b/test/Faker/Calculator/InnTest.php index 71d9193fd1..6fca016929 100644 --- a/test/Faker/Calculator/InnTest.php +++ b/test/Faker/Calculator/InnTest.php @@ -5,7 +5,7 @@ use Faker\Calculator\Inn; use PHPUnit\Framework\TestCase; -class InnTest extends TestCase +final class InnTest extends TestCase { public function checksumProvider() diff --git a/test/Faker/Calculator/LuhnTest.php b/test/Faker/Calculator/LuhnTest.php index 2e81414497..b9aa0ec2b1 100644 --- a/test/Faker/Calculator/LuhnTest.php +++ b/test/Faker/Calculator/LuhnTest.php @@ -5,7 +5,7 @@ use Faker\Calculator\Luhn; use PHPUnit\Framework\TestCase; -class LuhnTest extends TestCase +final class LuhnTest extends TestCase { public function checkDigitProvider() diff --git a/test/Faker/Calculator/TCNoTest.php b/test/Faker/Calculator/TCNoTest.php index 9e40d79471..12de400e03 100644 --- a/test/Faker/Calculator/TCNoTest.php +++ b/test/Faker/Calculator/TCNoTest.php @@ -5,7 +5,7 @@ use Faker\Calculator\TCNo; use PHPUnit\Framework\TestCase; -class TCNoTest extends TestCase +final class TCNoTest extends TestCase { public function checksumProvider() { diff --git a/test/Faker/DefaultGeneratorTest.php b/test/Faker/DefaultGeneratorTest.php index fa9eb8529f..7bbffefe61 100644 --- a/test/Faker/DefaultGeneratorTest.php +++ b/test/Faker/DefaultGeneratorTest.php @@ -5,7 +5,7 @@ use Faker\DefaultGenerator; use PHPUnit\Framework\TestCase; -class DefaultGeneratorTest extends TestCase +final class DefaultGeneratorTest extends TestCase { public function testGeneratorReturnsNullByDefault() { diff --git a/test/Faker/GeneratorTest.php b/test/Faker/GeneratorTest.php index f15df441fd..706b0a8ff0 100644 --- a/test/Faker/GeneratorTest.php +++ b/test/Faker/GeneratorTest.php @@ -5,7 +5,7 @@ use Faker\Generator; use PHPUnit\Framework\TestCase; -class GeneratorTest extends TestCase +final class GeneratorTest extends TestCase { public function testAddProviderGivesPriorityToNewlyAddedProvider() { @@ -126,7 +126,7 @@ public function testSeed() } } -class FooProvider +final class FooProvider { public function fooFormatter() { @@ -139,7 +139,7 @@ public function fooFormatterWithArguments($value = '') } } -class BarProvider +final class BarProvider { public function fooFormatter() { diff --git a/test/Faker/Provider/AddressTest.php b/test/Faker/Provider/AddressTest.php index c7f1814ca5..8832ee5886 100644 --- a/test/Faker/Provider/AddressTest.php +++ b/test/Faker/Provider/AddressTest.php @@ -6,7 +6,7 @@ use Faker\Provider\Address; use PHPUnit\Framework\TestCase; -class AddressTest extends TestCase +final class AddressTest extends TestCase { private $faker; diff --git a/test/Faker/Provider/BarcodeTest.php b/test/Faker/Provider/BarcodeTest.php index 16ca3cd812..d260e98269 100644 --- a/test/Faker/Provider/BarcodeTest.php +++ b/test/Faker/Provider/BarcodeTest.php @@ -6,7 +6,7 @@ use Faker\Provider\Barcode; use PHPUnit\Framework\TestCase; -class BarcodeTest extends TestCase +final class BarcodeTest extends TestCase { private $faker; @@ -37,7 +37,7 @@ public function testEan13() } } -class TestableBarcode extends Barcode +final class TestableBarcode extends Barcode { public static function eanChecksum($input) { diff --git a/test/Faker/Provider/BaseTest.php b/test/Faker/Provider/BaseTest.php index e619d5be0a..c890c5526c 100644 --- a/test/Faker/Provider/BaseTest.php +++ b/test/Faker/Provider/BaseTest.php @@ -6,7 +6,7 @@ use PHPUnit\Framework\TestCase; use Traversable; -class BaseTest extends TestCase +final class BaseTest extends TestCase { public function testRandomDigitReturnsInteger() { @@ -567,6 +567,6 @@ public function testRandomElements() } } -class Collection extends \ArrayObject +final class Collection extends \ArrayObject { } diff --git a/test/Faker/Provider/BiasedTest.php b/test/Faker/Provider/BiasedTest.php index cce3dc0acf..84f13e9d10 100644 --- a/test/Faker/Provider/BiasedTest.php +++ b/test/Faker/Provider/BiasedTest.php @@ -5,7 +5,7 @@ use Faker\Generator; use PHPUnit\Framework\TestCase; -class BiasedTest extends TestCase +final class BiasedTest extends TestCase { const MAX = 10; const NUMBERS = 25000; diff --git a/test/Faker/Provider/ColorTest.php b/test/Faker/Provider/ColorTest.php index 44084b6bc7..fe0f71f8a5 100644 --- a/test/Faker/Provider/ColorTest.php +++ b/test/Faker/Provider/ColorTest.php @@ -5,7 +5,7 @@ use Faker\Provider\Color; use PHPUnit\Framework\TestCase; -class ColorTest extends TestCase +final class ColorTest extends TestCase { public function testHexColor() diff --git a/test/Faker/Provider/CompanyTest.php b/test/Faker/Provider/CompanyTest.php index 28ce0eb4d0..b484854071 100644 --- a/test/Faker/Provider/CompanyTest.php +++ b/test/Faker/Provider/CompanyTest.php @@ -7,7 +7,7 @@ use Faker\Provider\Lorem; use PHPUnit\Framework\TestCase; -class CompanyTest extends TestCase +final class CompanyTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/DateTimeTest.php b/test/Faker/Provider/DateTimeTest.php index ec3ad86768..4323d0f6cb 100644 --- a/test/Faker/Provider/DateTimeTest.php +++ b/test/Faker/Provider/DateTimeTest.php @@ -5,7 +5,7 @@ use Faker\Provider\DateTime as DateTimeProvider; use PHPUnit\Framework\TestCase; -class DateTimeTest extends TestCase +final class DateTimeTest extends TestCase { public function setUp() { diff --git a/test/Faker/Provider/HtmlLoremTest.php b/test/Faker/Provider/HtmlLoremTest.php index f7814fafc6..290f020b7d 100644 --- a/test/Faker/Provider/HtmlLoremTest.php +++ b/test/Faker/Provider/HtmlLoremTest.php @@ -6,7 +6,7 @@ use Faker\Provider\HtmlLorem; use PHPUnit\Framework\TestCase; -class HtmlLoremTest extends TestCase +final class HtmlLoremTest extends TestCase { public function testProvider() diff --git a/test/Faker/Provider/ImageTest.php b/test/Faker/Provider/ImageTest.php index 277b16a10b..835008b56a 100644 --- a/test/Faker/Provider/ImageTest.php +++ b/test/Faker/Provider/ImageTest.php @@ -5,7 +5,7 @@ use Faker\Provider\Image; use PHPUnit\Framework\TestCase; -class ImageTest extends TestCase +final class ImageTest extends TestCase { public function testImageUrlUses640x680AsTheDefaultSize() { diff --git a/test/Faker/Provider/InternetTest.php b/test/Faker/Provider/InternetTest.php index 93fe7b48d4..c88faf40fe 100644 --- a/test/Faker/Provider/InternetTest.php +++ b/test/Faker/Provider/InternetTest.php @@ -9,7 +9,7 @@ use Faker\Provider\Person; use PHPUnit\Framework\TestCase; -class InternetTest extends TestCase +final class InternetTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/LocalizationTest.php b/test/Faker/Provider/LocalizationTest.php index 6cfcc89189..850dae9022 100644 --- a/test/Faker/Provider/LocalizationTest.php +++ b/test/Faker/Provider/LocalizationTest.php @@ -5,7 +5,7 @@ use Faker\Factory; use PHPUnit\Framework\TestCase; -class LocalizationTest extends TestCase +final class LocalizationTest extends TestCase { public function testLocalizedNameProvidersDoNotThrowErrors() { diff --git a/test/Faker/Provider/LoremTest.php b/test/Faker/Provider/LoremTest.php index 16d98891e4..7f201210a5 100644 --- a/test/Faker/Provider/LoremTest.php +++ b/test/Faker/Provider/LoremTest.php @@ -5,7 +5,7 @@ use Faker\Provider\Lorem; use PHPUnit\Framework\TestCase; -class LoremTest extends TestCase +final class LoremTest extends TestCase { /** * @expectedException \InvalidArgumentException @@ -89,7 +89,7 @@ public function testParagraphsAsText() } } -class TestableLorem extends Lorem +final class TestableLorem extends Lorem { public static function word() diff --git a/test/Faker/Provider/MiscellaneousTest.php b/test/Faker/Provider/MiscellaneousTest.php index 6a29cd5531..b2078034eb 100644 --- a/test/Faker/Provider/MiscellaneousTest.php +++ b/test/Faker/Provider/MiscellaneousTest.php @@ -5,7 +5,7 @@ use Faker\Provider\Miscellaneous; use PHPUnit\Framework\TestCase; -class MiscellaneousTest extends TestCase +final class MiscellaneousTest extends TestCase { public function testBoolean() { diff --git a/test/Faker/Provider/PaymentTest.php b/test/Faker/Provider/PaymentTest.php index 966b9d63cc..3d08180975 100644 --- a/test/Faker/Provider/PaymentTest.php +++ b/test/Faker/Provider/PaymentTest.php @@ -11,7 +11,7 @@ use Faker\Provider\Person as PersonProvider; use PHPUnit\Framework\TestCase; -class PaymentTest extends TestCase +final class PaymentTest extends TestCase { private $faker; diff --git a/test/Faker/Provider/PersonTest.php b/test/Faker/Provider/PersonTest.php index f53076f7bb..daa26ae45a 100644 --- a/test/Faker/Provider/PersonTest.php +++ b/test/Faker/Provider/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Generator; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { /** * @dataProvider firstNameProvider diff --git a/test/Faker/Provider/PhoneNumberTest.php b/test/Faker/Provider/PhoneNumberTest.php index 520ecea371..d6dcd17b73 100644 --- a/test/Faker/Provider/PhoneNumberTest.php +++ b/test/Faker/Provider/PhoneNumberTest.php @@ -7,7 +7,7 @@ use Faker\Provider\PhoneNumber; use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends TestCase +final class PhoneNumberTest extends TestCase { /** diff --git a/test/Faker/Provider/ProviderOverrideTest.php b/test/Faker/Provider/ProviderOverrideTest.php index 61d7d63aa2..e53677c498 100644 --- a/test/Faker/Provider/ProviderOverrideTest.php +++ b/test/Faker/Provider/ProviderOverrideTest.php @@ -17,7 +17,7 @@ * locale specific provider (can) has specific implementations. The goal of this test is to test the common denominator * and to try to catch possible invalid multi-byte sequences. */ -class ProviderOverrideTest extends TestCase +final class ProviderOverrideTest extends TestCase { /** * Constants with regular expression patterns for testing the output. diff --git a/test/Faker/Provider/TextTest.php b/test/Faker/Provider/TextTest.php index 0a69d8dda6..b817b6d4f5 100644 --- a/test/Faker/Provider/TextTest.php +++ b/test/Faker/Provider/TextTest.php @@ -5,7 +5,7 @@ use Faker\Generator; use PHPUnit\Framework\TestCase; -class TextTest extends TestCase +final class TextTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/UserAgentTest.php b/test/Faker/Provider/UserAgentTest.php index 5ba2459c29..107ed620f2 100644 --- a/test/Faker/Provider/UserAgentTest.php +++ b/test/Faker/Provider/UserAgentTest.php @@ -5,7 +5,7 @@ use Faker\Provider\UserAgent; use PHPUnit\Framework\TestCase; -class UserAgentTest extends TestCase +final class UserAgentTest extends TestCase { public function testRandomUserAgent() { diff --git a/test/Faker/Provider/UuidTest.php b/test/Faker/Provider/UuidTest.php index 5c639cacca..37a1b138a5 100644 --- a/test/Faker/Provider/UuidTest.php +++ b/test/Faker/Provider/UuidTest.php @@ -6,7 +6,7 @@ use Faker\Provider\Uuid as BaseProvider; use PHPUnit\Framework\TestCase; -class UuidTest extends TestCase +final class UuidTest extends TestCase { public function testUuidReturnsUuid() { diff --git a/test/Faker/Provider/ar_JO/InternetTest.php b/test/Faker/Provider/ar_JO/InternetTest.php index 33d70c434d..4d3b9f3618 100644 --- a/test/Faker/Provider/ar_JO/InternetTest.php +++ b/test/Faker/Provider/ar_JO/InternetTest.php @@ -8,7 +8,7 @@ use Faker\Provider\fi_FI\Company; use PHPUnit\Framework\TestCase; -class InternetTest extends TestCase +final class InternetTest extends TestCase { /** diff --git a/test/Faker/Provider/ar_SA/InternetTest.php b/test/Faker/Provider/ar_SA/InternetTest.php index 8059f0008c..0df38da6ea 100644 --- a/test/Faker/Provider/ar_SA/InternetTest.php +++ b/test/Faker/Provider/ar_SA/InternetTest.php @@ -8,7 +8,7 @@ use Faker\Provider\ar_SA\Company; use PHPUnit\Framework\TestCase; -class InternetTest extends TestCase +final class InternetTest extends TestCase { /** diff --git a/test/Faker/Provider/at_AT/PaymentTest.php b/test/Faker/Provider/at_AT/PaymentTest.php index f62dae81e5..37415ebbcb 100644 --- a/test/Faker/Provider/at_AT/PaymentTest.php +++ b/test/Faker/Provider/at_AT/PaymentTest.php @@ -6,7 +6,7 @@ use Faker\Provider\at_AT\Payment; use PHPUnit\Framework\TestCase; -class PaymentTest extends TestCase +final class PaymentTest extends TestCase { /** diff --git a/test/Faker/Provider/bg_BG/PaymentTest.php b/test/Faker/Provider/bg_BG/PaymentTest.php index b5645f9bd2..bfb833d9fa 100644 --- a/test/Faker/Provider/bg_BG/PaymentTest.php +++ b/test/Faker/Provider/bg_BG/PaymentTest.php @@ -6,7 +6,7 @@ use Faker\Provider\bg_BG\Payment; use PHPUnit\Framework\TestCase; -class PaymentTest extends TestCase +final class PaymentTest extends TestCase { /** diff --git a/test/Faker/Provider/bn_BD/PersonTest.php b/test/Faker/Provider/bn_BD/PersonTest.php index e82fe8b7cd..c463a6278d 100644 --- a/test/Faker/Provider/bn_BD/PersonTest.php +++ b/test/Faker/Provider/bn_BD/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Provider\bn_BD\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { public function setUp() { diff --git a/test/Faker/Provider/cs_CZ/PersonTest.php b/test/Faker/Provider/cs_CZ/PersonTest.php index 0b19872513..1685a764ce 100644 --- a/test/Faker/Provider/cs_CZ/PersonTest.php +++ b/test/Faker/Provider/cs_CZ/PersonTest.php @@ -7,7 +7,7 @@ use Faker\Provider\Miscellaneous; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { public function testBirthNumber() { diff --git a/test/Faker/Provider/da_DK/InternetTest.php b/test/Faker/Provider/da_DK/InternetTest.php index 43c09be405..3c08bac786 100644 --- a/test/Faker/Provider/da_DK/InternetTest.php +++ b/test/Faker/Provider/da_DK/InternetTest.php @@ -8,7 +8,7 @@ use Faker\Provider\da_DK\Company; use PHPUnit\Framework\TestCase; -class InternetTest extends TestCase +final class InternetTest extends TestCase { /** diff --git a/test/Faker/Provider/de_AT/AddressTest.php b/test/Faker/Provider/de_AT/AddressTest.php index 1ff5cc1146..2ddc90e208 100644 --- a/test/Faker/Provider/de_AT/AddressTest.php +++ b/test/Faker/Provider/de_AT/AddressTest.php @@ -7,7 +7,7 @@ use Faker\Provider\de_AT\Address; use PHPUnit\Framework\TestCase; -class AddressTest extends TestCase +final class AddressTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/de_AT/InternetTest.php b/test/Faker/Provider/de_AT/InternetTest.php index 1d778eea95..fbb60a774a 100644 --- a/test/Faker/Provider/de_AT/InternetTest.php +++ b/test/Faker/Provider/de_AT/InternetTest.php @@ -8,7 +8,7 @@ use Faker\Provider\de_AT\Company; use PHPUnit\Framework\TestCase; -class InternetTest extends TestCase +final class InternetTest extends TestCase { /** diff --git a/test/Faker/Provider/de_AT/PhoneNumberTest.php b/test/Faker/Provider/de_AT/PhoneNumberTest.php index 7cc6e6b11b..cd4d99d5be 100644 --- a/test/Faker/Provider/de_AT/PhoneNumberTest.php +++ b/test/Faker/Provider/de_AT/PhoneNumberTest.php @@ -6,7 +6,7 @@ use Faker\Provider\de_AT\PhoneNumber; use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends TestCase +final class PhoneNumberTest extends TestCase { /** diff --git a/test/Faker/Provider/de_CH/AddressTest.php b/test/Faker/Provider/de_CH/AddressTest.php index 668f2117a6..64c5bd80b9 100644 --- a/test/Faker/Provider/de_CH/AddressTest.php +++ b/test/Faker/Provider/de_CH/AddressTest.php @@ -7,7 +7,7 @@ use Faker\Provider\de_CH\Person; use PHPUnit\Framework\TestCase; -class AddressTest extends TestCase +final class AddressTest extends TestCase { /** diff --git a/test/Faker/Provider/de_CH/InternetTest.php b/test/Faker/Provider/de_CH/InternetTest.php index 31dcc5522d..6392109022 100644 --- a/test/Faker/Provider/de_CH/InternetTest.php +++ b/test/Faker/Provider/de_CH/InternetTest.php @@ -8,7 +8,7 @@ use Faker\Provider\de_CH\Company; use PHPUnit\Framework\TestCase; -class InternetTest extends TestCase +final class InternetTest extends TestCase { /** diff --git a/test/Faker/Provider/de_CH/PersonTest.php b/test/Faker/Provider/de_CH/PersonTest.php index 4adb0b4c3f..59bf515200 100644 --- a/test/Faker/Provider/de_CH/PersonTest.php +++ b/test/Faker/Provider/de_CH/PersonTest.php @@ -7,7 +7,7 @@ use Faker\Provider\de_CH\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { private $faker; diff --git a/test/Faker/Provider/de_CH/PhoneNumberTest.php b/test/Faker/Provider/de_CH/PhoneNumberTest.php index 5102297c30..a2dc4a9eef 100644 --- a/test/Faker/Provider/de_CH/PhoneNumberTest.php +++ b/test/Faker/Provider/de_CH/PhoneNumberTest.php @@ -6,7 +6,7 @@ use Faker\Provider\de_CH\PhoneNumber; use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends TestCase +final class PhoneNumberTest extends TestCase { /** diff --git a/test/Faker/Provider/de_DE/InternetTest.php b/test/Faker/Provider/de_DE/InternetTest.php index a15f366473..caa2d969e7 100644 --- a/test/Faker/Provider/de_DE/InternetTest.php +++ b/test/Faker/Provider/de_DE/InternetTest.php @@ -8,7 +8,7 @@ use Faker\Provider\de_DE\Company; use PHPUnit\Framework\TestCase; -class InternetTest extends TestCase +final class InternetTest extends TestCase { /** diff --git a/test/Faker/Provider/el_GR/TextTest.php b/test/Faker/Provider/el_GR/TextTest.php index 68e787160e..3cb0ec025c 100644 --- a/test/Faker/Provider/el_GR/TextTest.php +++ b/test/Faker/Provider/el_GR/TextTest.php @@ -4,7 +4,7 @@ use PHPUnit\Framework\TestCase; -class TextTest extends TestCase +final class TextTest extends TestCase { private $textClass; diff --git a/test/Faker/Provider/en_AU/AddressTest.php b/test/Faker/Provider/en_AU/AddressTest.php index b2f72e8b54..5f06a2a226 100644 --- a/test/Faker/Provider/en_AU/AddressTest.php +++ b/test/Faker/Provider/en_AU/AddressTest.php @@ -6,7 +6,7 @@ use Faker\Provider\en_AU\Address; use PHPUnit\Framework\TestCase; -class AddressTest extends TestCase +final class AddressTest extends TestCase { /** diff --git a/test/Faker/Provider/en_CA/AddressTest.php b/test/Faker/Provider/en_CA/AddressTest.php index 6b1ece7290..eb7d774faa 100644 --- a/test/Faker/Provider/en_CA/AddressTest.php +++ b/test/Faker/Provider/en_CA/AddressTest.php @@ -6,7 +6,7 @@ use Faker\Provider\en_CA\Address; use PHPUnit\Framework\TestCase; -class AddressTest extends TestCase +final class AddressTest extends TestCase { /** diff --git a/test/Faker/Provider/en_GB/AddressTest.php b/test/Faker/Provider/en_GB/AddressTest.php index 762e11a868..6b7d1dabfc 100644 --- a/test/Faker/Provider/en_GB/AddressTest.php +++ b/test/Faker/Provider/en_GB/AddressTest.php @@ -5,7 +5,7 @@ use Faker\Generator; use PHPUnit\Framework\TestCase; -class AddressTest extends TestCase +final class AddressTest extends TestCase { /** diff --git a/test/Faker/Provider/en_IN/AddressTest.php b/test/Faker/Provider/en_IN/AddressTest.php index 125cbdf0b5..41e47a18a6 100644 --- a/test/Faker/Provider/en_IN/AddressTest.php +++ b/test/Faker/Provider/en_IN/AddressTest.php @@ -6,7 +6,7 @@ use Faker\Provider\en_IN\Address; use PHPUnit\Framework\TestCase; -class AddressTest extends TestCase +final class AddressTest extends TestCase { /** diff --git a/test/Faker/Provider/en_NG/AddressTest.php b/test/Faker/Provider/en_NG/AddressTest.php index 27c591b7b7..91e31f5b75 100644 --- a/test/Faker/Provider/en_NG/AddressTest.php +++ b/test/Faker/Provider/en_NG/AddressTest.php @@ -6,7 +6,7 @@ use Faker\Provider\en_NG\Address; use PHPUnit\Framework\TestCase; -class AddressTest extends TestCase +final class AddressTest extends TestCase { /** diff --git a/test/Faker/Provider/en_NG/InternetTest.php b/test/Faker/Provider/en_NG/InternetTest.php index 6ebc620f38..70c59a0396 100644 --- a/test/Faker/Provider/en_NG/InternetTest.php +++ b/test/Faker/Provider/en_NG/InternetTest.php @@ -7,7 +7,7 @@ use Faker\Provider\en_NG\Internet; use PHPUnit\Framework\TestCase; -class InternetTest extends TestCase +final class InternetTest extends TestCase { /** diff --git a/test/Faker/Provider/en_NG/PersonTest.php b/test/Faker/Provider/en_NG/PersonTest.php index 2180e36ea3..cf6c81edce 100644 --- a/test/Faker/Provider/en_NG/PersonTest.php +++ b/test/Faker/Provider/en_NG/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Provider\en_NG\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/en_NG/PhoneNumberTest.php b/test/Faker/Provider/en_NG/PhoneNumberTest.php index 1edb4a5d6b..43a2b7b1bf 100644 --- a/test/Faker/Provider/en_NG/PhoneNumberTest.php +++ b/test/Faker/Provider/en_NG/PhoneNumberTest.php @@ -6,7 +6,7 @@ use Faker\Provider\en_NG\PhoneNumber; use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends TestCase +final class PhoneNumberTest extends TestCase { /** diff --git a/test/Faker/Provider/en_NZ/PhoneNumberTest.php b/test/Faker/Provider/en_NZ/PhoneNumberTest.php index 14b145c7d2..820622150d 100644 --- a/test/Faker/Provider/en_NZ/PhoneNumberTest.php +++ b/test/Faker/Provider/en_NZ/PhoneNumberTest.php @@ -6,7 +6,7 @@ use Faker\Provider\en_NZ\PhoneNumber; use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends TestCase +final class PhoneNumberTest extends TestCase { /** diff --git a/test/Faker/Provider/en_PH/AddressTest.php b/test/Faker/Provider/en_PH/AddressTest.php index 19367a497a..c8fa51ddd6 100644 --- a/test/Faker/Provider/en_PH/AddressTest.php +++ b/test/Faker/Provider/en_PH/AddressTest.php @@ -6,7 +6,7 @@ use Faker\Provider\en_PH\Address; use PHPUnit\Framework\TestCase; -class AddressTest extends TestCase +final class AddressTest extends TestCase { /** diff --git a/test/Faker/Provider/en_SG/AddressTest.php b/test/Faker/Provider/en_SG/AddressTest.php index abc62aacce..dd911c1855 100644 --- a/test/Faker/Provider/en_SG/AddressTest.php +++ b/test/Faker/Provider/en_SG/AddressTest.php @@ -6,7 +6,7 @@ use Faker\Provider\en_SG\Address; use PHPUnit\Framework\TestCase; -class AddressTest extends TestCase +final class AddressTest extends TestCase { public function setUp() { diff --git a/test/Faker/Provider/en_SG/PhoneNumberTest.php b/test/Faker/Provider/en_SG/PhoneNumberTest.php index f2777196bb..2d95246221 100644 --- a/test/Faker/Provider/en_SG/PhoneNumberTest.php +++ b/test/Faker/Provider/en_SG/PhoneNumberTest.php @@ -6,7 +6,7 @@ use Faker\Provider\en_SG\PhoneNumber; use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends TestCase +final class PhoneNumberTest extends TestCase { private $faker; diff --git a/test/Faker/Provider/en_UG/AddressTest.php b/test/Faker/Provider/en_UG/AddressTest.php index cadef2373f..5db30096f6 100644 --- a/test/Faker/Provider/en_UG/AddressTest.php +++ b/test/Faker/Provider/en_UG/AddressTest.php @@ -6,7 +6,7 @@ use Faker\Provider\en_UG\Address; use PHPUnit\Framework\TestCase; -class AddressTest extends TestCase +final class AddressTest extends TestCase { /** diff --git a/test/Faker/Provider/en_US/CompanyTest.php b/test/Faker/Provider/en_US/CompanyTest.php index 217d0863a2..ac20a8bca2 100644 --- a/test/Faker/Provider/en_US/CompanyTest.php +++ b/test/Faker/Provider/en_US/CompanyTest.php @@ -6,7 +6,7 @@ use Faker\Generator; use PHPUnit\Framework\TestCase; -class CompanyTest extends TestCase +final class CompanyTest extends TestCase { /** diff --git a/test/Faker/Provider/en_US/PaymentTest.php b/test/Faker/Provider/en_US/PaymentTest.php index ec82691b6f..983c81f820 100644 --- a/test/Faker/Provider/en_US/PaymentTest.php +++ b/test/Faker/Provider/en_US/PaymentTest.php @@ -6,7 +6,7 @@ use Faker\Generator; use PHPUnit\Framework\TestCase; -class PaymentTest extends TestCase +final class PaymentTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/en_US/PersonTest.php b/test/Faker/Provider/en_US/PersonTest.php index 3ddb38b28d..151e55c081 100644 --- a/test/Faker/Provider/en_US/PersonTest.php +++ b/test/Faker/Provider/en_US/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Generator; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { /** diff --git a/test/Faker/Provider/en_US/PhoneNumberTest.php b/test/Faker/Provider/en_US/PhoneNumberTest.php index be0cc211da..c33c8edd1e 100644 --- a/test/Faker/Provider/en_US/PhoneNumberTest.php +++ b/test/Faker/Provider/en_US/PhoneNumberTest.php @@ -6,7 +6,7 @@ use Faker\Provider\en_US\PhoneNumber; use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends TestCase +final class PhoneNumberTest extends TestCase { /** diff --git a/test/Faker/Provider/en_ZA/CompanyTest.php b/test/Faker/Provider/en_ZA/CompanyTest.php index 0e51d49283..0d7104afa3 100644 --- a/test/Faker/Provider/en_ZA/CompanyTest.php +++ b/test/Faker/Provider/en_ZA/CompanyTest.php @@ -6,7 +6,7 @@ use Faker\Provider\en_ZA\Company; use PHPUnit\Framework\TestCase; -class CompanyTest extends TestCase +final class CompanyTest extends TestCase { private $faker; diff --git a/test/Faker/Provider/en_ZA/InternetTest.php b/test/Faker/Provider/en_ZA/InternetTest.php index 02c2940402..0c417d0a22 100644 --- a/test/Faker/Provider/en_ZA/InternetTest.php +++ b/test/Faker/Provider/en_ZA/InternetTest.php @@ -8,7 +8,7 @@ use Faker\Provider\en_ZA\Company; use PHPUnit\Framework\TestCase; -class InternetTest extends TestCase +final class InternetTest extends TestCase { /** diff --git a/test/Faker/Provider/en_ZA/PersonTest.php b/test/Faker/Provider/en_ZA/PersonTest.php index d7973e72cc..e6f6e3ddf5 100644 --- a/test/Faker/Provider/en_ZA/PersonTest.php +++ b/test/Faker/Provider/en_ZA/PersonTest.php @@ -7,7 +7,7 @@ use Faker\Provider\DateTime; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { private $faker; diff --git a/test/Faker/Provider/en_ZA/PhoneNumberTest.php b/test/Faker/Provider/en_ZA/PhoneNumberTest.php index 37b781b505..b5efa8d9d8 100644 --- a/test/Faker/Provider/en_ZA/PhoneNumberTest.php +++ b/test/Faker/Provider/en_ZA/PhoneNumberTest.php @@ -6,7 +6,7 @@ use Faker\Provider\en_ZA\PhoneNumber; use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends TestCase +final class PhoneNumberTest extends TestCase { private $faker; diff --git a/test/Faker/Provider/es_ES/PaymentTest.php b/test/Faker/Provider/es_ES/PaymentTest.php index e636544b71..83ea89531c 100644 --- a/test/Faker/Provider/es_ES/PaymentTest.php +++ b/test/Faker/Provider/es_ES/PaymentTest.php @@ -6,7 +6,7 @@ use Faker\Provider\es_ES\Payment; use PHPUnit\Framework\TestCase; -class PaymentTest extends TestCase +final class PaymentTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/es_ES/PersonTest.php b/test/Faker/Provider/es_ES/PersonTest.php index e29f3f9000..c8bcd646b8 100644 --- a/test/Faker/Provider/es_ES/PersonTest.php +++ b/test/Faker/Provider/es_ES/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Provider\es_ES\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { public function setUp() { diff --git a/test/Faker/Provider/es_ES/PhoneNumberTest.php b/test/Faker/Provider/es_ES/PhoneNumberTest.php index 4887f2b92b..1dce318c56 100644 --- a/test/Faker/Provider/es_ES/PhoneNumberTest.php +++ b/test/Faker/Provider/es_ES/PhoneNumberTest.php @@ -5,7 +5,7 @@ use Faker\Generator; use Faker\Provider\es_ES\PhoneNumber; -class PhoneNumberTest extends \PHPUnit_Framework_TestCase +final class PhoneNumberTest extends \PHPUnit_Framework_TestCase { public function setUp() { diff --git a/test/Faker/Provider/es_ES/TextTest.php b/test/Faker/Provider/es_ES/TextTest.php index a8ae3486f9..4e4b413a2b 100644 --- a/test/Faker/Provider/es_ES/TextTest.php +++ b/test/Faker/Provider/es_ES/TextTest.php @@ -6,7 +6,7 @@ use Faker\Provider\es_ES\Text; use PHPUnit\Framework\TestCase; -class TextTest extends TestCase +final class TextTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/es_PE/PersonTest.php b/test/Faker/Provider/es_PE/PersonTest.php index 6014938789..d2078be9b0 100644 --- a/test/Faker/Provider/es_PE/PersonTest.php +++ b/test/Faker/Provider/es_PE/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Provider\es_PE\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/es_VE/CompanyTest.php b/test/Faker/Provider/es_VE/CompanyTest.php index 3c9b162a84..efb382db62 100644 --- a/test/Faker/Provider/es_VE/CompanyTest.php +++ b/test/Faker/Provider/es_VE/CompanyTest.php @@ -11,7 +11,7 @@ use Faker\Provider\es_VE\Company; use PHPUnit\Framework\TestCase; -class CompanyTest extends TestCase +final class CompanyTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/es_VE/PersonTest.php b/test/Faker/Provider/es_VE/PersonTest.php index bb42cd75fc..81a3dc988f 100644 --- a/test/Faker/Provider/es_VE/PersonTest.php +++ b/test/Faker/Provider/es_VE/PersonTest.php @@ -11,7 +11,7 @@ use Faker\Provider\es_VE\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { /** diff --git a/test/Faker/Provider/fa_IR/PersonTest.php b/test/Faker/Provider/fa_IR/PersonTest.php index 28dbda29e3..7ecb1661e8 100644 --- a/test/Faker/Provider/fa_IR/PersonTest.php +++ b/test/Faker/Provider/fa_IR/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Generator; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { /** diff --git a/test/Faker/Provider/fi_FI/InternetTest.php b/test/Faker/Provider/fi_FI/InternetTest.php index 6009bbd174..c88358228c 100644 --- a/test/Faker/Provider/fi_FI/InternetTest.php +++ b/test/Faker/Provider/fi_FI/InternetTest.php @@ -8,7 +8,7 @@ use Faker\Provider\fi_FI\Company; use PHPUnit\Framework\TestCase; -class InternetTest extends TestCase +final class InternetTest extends TestCase { /** diff --git a/test/Faker/Provider/fi_FI/PersonTest.php b/test/Faker/Provider/fi_FI/PersonTest.php index b979666e9e..b622432e1d 100644 --- a/test/Faker/Provider/fi_FI/PersonTest.php +++ b/test/Faker/Provider/fi_FI/PersonTest.php @@ -7,7 +7,7 @@ use Faker\Provider\fi_FI\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { /** @var Generator */ protected $faker; diff --git a/test/Faker/Provider/fr_BE/PaymentTest.php b/test/Faker/Provider/fr_BE/PaymentTest.php index 6944c55fca..8e5687e117 100644 --- a/test/Faker/Provider/fr_BE/PaymentTest.php +++ b/test/Faker/Provider/fr_BE/PaymentTest.php @@ -6,7 +6,7 @@ use Faker\Provider\fr_BE\Payment; use PHPUnit\Framework\TestCase; -class PaymentTest extends TestCase +final class PaymentTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/fr_CH/AddressTest.php b/test/Faker/Provider/fr_CH/AddressTest.php index 217ac9f603..9ad4803f6d 100644 --- a/test/Faker/Provider/fr_CH/AddressTest.php +++ b/test/Faker/Provider/fr_CH/AddressTest.php @@ -7,7 +7,7 @@ use Faker\Provider\fr_CH\Person; use PHPUnit\Framework\TestCase; -class AddressTest extends TestCase +final class AddressTest extends TestCase { /** diff --git a/test/Faker/Provider/fr_CH/InternetTest.php b/test/Faker/Provider/fr_CH/InternetTest.php index f4e948486a..ae5a2dcfe8 100644 --- a/test/Faker/Provider/fr_CH/InternetTest.php +++ b/test/Faker/Provider/fr_CH/InternetTest.php @@ -8,7 +8,7 @@ use Faker\Provider\fr_CH\Company; use PHPUnit\Framework\TestCase; -class InternetTest extends TestCase +final class InternetTest extends TestCase { /** diff --git a/test/Faker/Provider/fr_CH/PersonTest.php b/test/Faker/Provider/fr_CH/PersonTest.php index 9bfec99f67..2c0e553058 100644 --- a/test/Faker/Provider/fr_CH/PersonTest.php +++ b/test/Faker/Provider/fr_CH/PersonTest.php @@ -7,7 +7,7 @@ use Faker\Provider\fr_CH\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { private $faker; diff --git a/test/Faker/Provider/fr_CH/PhoneNumberTest.php b/test/Faker/Provider/fr_CH/PhoneNumberTest.php index 7bfcca76b7..26e7c007b7 100644 --- a/test/Faker/Provider/fr_CH/PhoneNumberTest.php +++ b/test/Faker/Provider/fr_CH/PhoneNumberTest.php @@ -6,7 +6,7 @@ use Faker\Provider\fr_CH\PhoneNumber; use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends TestCase +final class PhoneNumberTest extends TestCase { /** diff --git a/test/Faker/Provider/fr_FR/AddressTest.php b/test/Faker/Provider/fr_FR/AddressTest.php index 25aa0055f6..700c65b66e 100644 --- a/test/Faker/Provider/fr_FR/AddressTest.php +++ b/test/Faker/Provider/fr_FR/AddressTest.php @@ -6,7 +6,7 @@ use Faker\Provider\fr_FR\Address; use PHPUnit\Framework\TestCase; -class AddressTest extends TestCase +final class AddressTest extends TestCase { /** diff --git a/test/Faker/Provider/fr_FR/CompanyTest.php b/test/Faker/Provider/fr_FR/CompanyTest.php index 83e54d92f7..d7732e6f0e 100644 --- a/test/Faker/Provider/fr_FR/CompanyTest.php +++ b/test/Faker/Provider/fr_FR/CompanyTest.php @@ -7,7 +7,7 @@ use Faker\Provider\fr_FR\Company; use PHPUnit\Framework\TestCase; -class CompanyTest extends TestCase +final class CompanyTest extends TestCase { private $faker; @@ -66,7 +66,7 @@ public function testIsCatchPhraseValidReturnsTrueWhenNoWordAppearsTwice() } } -class TestableCompany extends Company +final class TestableCompany extends Company { public static function isCatchPhraseValid($catchPhrase) { diff --git a/test/Faker/Provider/fr_FR/PaymentTest.php b/test/Faker/Provider/fr_FR/PaymentTest.php index d00a7c83ad..3c945c033d 100644 --- a/test/Faker/Provider/fr_FR/PaymentTest.php +++ b/test/Faker/Provider/fr_FR/PaymentTest.php @@ -7,7 +7,7 @@ use Faker\Provider\fr_FR\Payment; use PHPUnit\Framework\TestCase; -class PaymentTest extends TestCase +final class PaymentTest extends TestCase { private $faker; diff --git a/test/Faker/Provider/fr_FR/PersonTest.php b/test/Faker/Provider/fr_FR/PersonTest.php index 8c5fc6547a..8637a5eaf7 100644 --- a/test/Faker/Provider/fr_FR/PersonTest.php +++ b/test/Faker/Provider/fr_FR/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Provider\fr_FR\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { private $faker; diff --git a/test/Faker/Provider/fr_FR/PhoneNumberTest.php b/test/Faker/Provider/fr_FR/PhoneNumberTest.php index 750bd916f9..27bf1693c5 100644 --- a/test/Faker/Provider/fr_FR/PhoneNumberTest.php +++ b/test/Faker/Provider/fr_FR/PhoneNumberTest.php @@ -6,7 +6,7 @@ use Faker\Provider\fr_FR\PhoneNumber; use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends TestCase +final class PhoneNumberTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/fr_FR/TextTest.php b/test/Faker/Provider/fr_FR/TextTest.php index 792de022e4..2ea27e4bdd 100644 --- a/test/Faker/Provider/fr_FR/TextTest.php +++ b/test/Faker/Provider/fr_FR/TextTest.php @@ -4,7 +4,7 @@ use PHPUnit\Framework\TestCase; -class TextTest extends TestCase +final class TextTest extends TestCase { private $textClass; diff --git a/test/Faker/Provider/id_ID/PersonTest.php b/test/Faker/Provider/id_ID/PersonTest.php index 5ebfeee4b1..f2c1804f7c 100644 --- a/test/Faker/Provider/id_ID/PersonTest.php +++ b/test/Faker/Provider/id_ID/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Provider\id_ID\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { public function setUp() { diff --git a/test/Faker/Provider/it_CH/AddressTest.php b/test/Faker/Provider/it_CH/AddressTest.php index 0f0df5e952..a2d8f0d13f 100644 --- a/test/Faker/Provider/it_CH/AddressTest.php +++ b/test/Faker/Provider/it_CH/AddressTest.php @@ -7,7 +7,7 @@ use Faker\Provider\it_CH\Person; use PHPUnit\Framework\TestCase; -class AddressTest extends TestCase +final class AddressTest extends TestCase { /** diff --git a/test/Faker/Provider/it_CH/InternetTest.php b/test/Faker/Provider/it_CH/InternetTest.php index d46f6b7df9..ba5a51e3ca 100644 --- a/test/Faker/Provider/it_CH/InternetTest.php +++ b/test/Faker/Provider/it_CH/InternetTest.php @@ -8,7 +8,7 @@ use Faker\Provider\it_CH\Company; use PHPUnit\Framework\TestCase; -class InternetTest extends TestCase +final class InternetTest extends TestCase { /** diff --git a/test/Faker/Provider/it_CH/PersonTest.php b/test/Faker/Provider/it_CH/PersonTest.php index cbc0b0fb37..f081967d8d 100644 --- a/test/Faker/Provider/it_CH/PersonTest.php +++ b/test/Faker/Provider/it_CH/PersonTest.php @@ -7,7 +7,7 @@ use Faker\Provider\it_CH\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { private $faker; diff --git a/test/Faker/Provider/it_CH/PhoneNumberTest.php b/test/Faker/Provider/it_CH/PhoneNumberTest.php index 5cda5345dd..69259fddd1 100644 --- a/test/Faker/Provider/it_CH/PhoneNumberTest.php +++ b/test/Faker/Provider/it_CH/PhoneNumberTest.php @@ -6,7 +6,7 @@ use Faker\Provider\it_CH\PhoneNumber; use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends TestCase +final class PhoneNumberTest extends TestCase { /** diff --git a/test/Faker/Provider/it_IT/CompanyTest.php b/test/Faker/Provider/it_IT/CompanyTest.php index 33977e136b..9062d4982a 100644 --- a/test/Faker/Provider/it_IT/CompanyTest.php +++ b/test/Faker/Provider/it_IT/CompanyTest.php @@ -6,7 +6,7 @@ use Faker\Provider\it_IT\Company; use PHPUnit\Framework\TestCase; -class CompanyTest extends TestCase +final class CompanyTest extends TestCase { public function setUp() { diff --git a/test/Faker/Provider/it_IT/PersonTest.php b/test/Faker/Provider/it_IT/PersonTest.php index 3e7b1a4f90..a4aa993636 100644 --- a/test/Faker/Provider/it_IT/PersonTest.php +++ b/test/Faker/Provider/it_IT/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Provider\it_IT\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { public function setUp() { diff --git a/test/Faker/Provider/ja_JP/InternetTest.php b/test/Faker/Provider/ja_JP/InternetTest.php index b4a19fde78..49eddfe01a 100644 --- a/test/Faker/Provider/ja_JP/InternetTest.php +++ b/test/Faker/Provider/ja_JP/InternetTest.php @@ -6,7 +6,7 @@ use Faker\Provider\ja_JP\Internet; use PHPUnit\Framework\TestCase; -class InternetTest extends TestCase +final class InternetTest extends TestCase { public function testUserName() { diff --git a/test/Faker/Provider/ja_JP/PersonTest.php b/test/Faker/Provider/ja_JP/PersonTest.php index e7854826cf..5e1c15da03 100644 --- a/test/Faker/Provider/ja_JP/PersonTest.php +++ b/test/Faker/Provider/ja_JP/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Provider\ja_JP\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { public function testKanaNameMaleReturns() { diff --git a/test/Faker/Provider/ja_JP/PhoneNumberTest.php b/test/Faker/Provider/ja_JP/PhoneNumberTest.php index 158718a7dd..92e090db35 100644 --- a/test/Faker/Provider/ja_JP/PhoneNumberTest.php +++ b/test/Faker/Provider/ja_JP/PhoneNumberTest.php @@ -6,7 +6,7 @@ use Faker\Provider\ja_JP\PhoneNumber; use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends TestCase +final class PhoneNumberTest extends TestCase { public function testPhoneNumber() { diff --git a/test/Faker/Provider/ka_GE/TextTest.php b/test/Faker/Provider/ka_GE/TextTest.php index 2d645a76fc..8edc447ffc 100644 --- a/test/Faker/Provider/ka_GE/TextTest.php +++ b/test/Faker/Provider/ka_GE/TextTest.php @@ -4,7 +4,7 @@ use PHPUnit\Framework\TestCase; -class TextTest extends TestCase +final class TextTest extends TestCase { private $textClass; diff --git a/test/Faker/Provider/kk_KZ/CompanyTest.php b/test/Faker/Provider/kk_KZ/CompanyTest.php index b6a3c06125..c2aeb1ef4b 100644 --- a/test/Faker/Provider/kk_KZ/CompanyTest.php +++ b/test/Faker/Provider/kk_KZ/CompanyTest.php @@ -5,7 +5,7 @@ use Faker\Provider\kk_KZ\Company; use PHPUnit\Framework\TestCase; -class CompanyTest extends TestCase +final class CompanyTest extends TestCase { /** diff --git a/test/Faker/Provider/kk_KZ/PersonTest.php b/test/Faker/Provider/kk_KZ/PersonTest.php index c565735250..fbd15225ba 100644 --- a/test/Faker/Provider/kk_KZ/PersonTest.php +++ b/test/Faker/Provider/kk_KZ/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Provider\kk_KZ\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { /** diff --git a/test/Faker/Provider/kk_KZ/TextTest.php b/test/Faker/Provider/kk_KZ/TextTest.php index 5d1a18675b..769a835e1b 100644 --- a/test/Faker/Provider/kk_KZ/TextTest.php +++ b/test/Faker/Provider/kk_KZ/TextTest.php @@ -4,7 +4,7 @@ use PHPUnit\Framework\TestCase; -class TextTest extends TestCase +final class TextTest extends TestCase { private $textClass; diff --git a/test/Faker/Provider/ko_KR/TextTest.php b/test/Faker/Provider/ko_KR/TextTest.php index 6f07b6403a..75eb26ac62 100644 --- a/test/Faker/Provider/ko_KR/TextTest.php +++ b/test/Faker/Provider/ko_KR/TextTest.php @@ -4,7 +4,7 @@ use PHPUnit\Framework\TestCase; -class TextTest extends TestCase +final class TextTest extends TestCase { private $textClass; diff --git a/test/Faker/Provider/mn_MN/PersonTest.php b/test/Faker/Provider/mn_MN/PersonTest.php index 232f8f4b7c..99637d5d17 100644 --- a/test/Faker/Provider/mn_MN/PersonTest.php +++ b/test/Faker/Provider/mn_MN/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Provider\mn_MN\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { public function testName() { diff --git a/test/Faker/Provider/ms_MY/PersonTest.php b/test/Faker/Provider/ms_MY/PersonTest.php index c35c698d5b..5e49378449 100644 --- a/test/Faker/Provider/ms_MY/PersonTest.php +++ b/test/Faker/Provider/ms_MY/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Provider\ms_MY\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/nb_NO/PhoneNumberTest.php b/test/Faker/Provider/nb_NO/PhoneNumberTest.php index c89820ce24..ce68a6c7dd 100644 --- a/test/Faker/Provider/nb_NO/PhoneNumberTest.php +++ b/test/Faker/Provider/nb_NO/PhoneNumberTest.php @@ -6,7 +6,7 @@ use Faker\Provider\nb_NO\PhoneNumber; use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends TestCase +final class PhoneNumberTest extends TestCase { private $faker; diff --git a/test/Faker/Provider/nl_BE/PaymentTest.php b/test/Faker/Provider/nl_BE/PaymentTest.php index e84410338d..4dab3560b1 100644 --- a/test/Faker/Provider/nl_BE/PaymentTest.php +++ b/test/Faker/Provider/nl_BE/PaymentTest.php @@ -6,7 +6,7 @@ use Faker\Provider\nl_BE\Payment; use PHPUnit\Framework\TestCase; -class PaymentTest extends TestCase +final class PaymentTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/nl_BE/PersonTest.php b/test/Faker/Provider/nl_BE/PersonTest.php index 4885cc3dad..2bd8190b6f 100644 --- a/test/Faker/Provider/nl_BE/PersonTest.php +++ b/test/Faker/Provider/nl_BE/PersonTest.php @@ -10,7 +10,7 @@ /** * @group Person */ -class PersonTest extends TestCase +final class PersonTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/nl_NL/CompanyTest.php b/test/Faker/Provider/nl_NL/CompanyTest.php index 6d5484ce40..6639357927 100644 --- a/test/Faker/Provider/nl_NL/CompanyTest.php +++ b/test/Faker/Provider/nl_NL/CompanyTest.php @@ -6,7 +6,7 @@ use Faker\Provider\nl_NL\Company; use PHPUnit\Framework\TestCase; -class CompanyTest extends TestCase +final class CompanyTest extends TestCase { private $faker; diff --git a/test/Faker/Provider/nl_NL/PersonTest.php b/test/Faker/Provider/nl_NL/PersonTest.php index c8735f5fba..c6af9a303b 100644 --- a/test/Faker/Provider/nl_NL/PersonTest.php +++ b/test/Faker/Provider/nl_NL/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Provider\nl_NL\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { private $faker; diff --git a/test/Faker/Provider/pl_PL/AddressTest.php b/test/Faker/Provider/pl_PL/AddressTest.php index bbfdf4d3e7..c874392641 100644 --- a/test/Faker/Provider/pl_PL/AddressTest.php +++ b/test/Faker/Provider/pl_PL/AddressTest.php @@ -5,7 +5,7 @@ use Faker\Generator; use PHPUnit\Framework\TestCase; -class AddressTest extends TestCase +final class AddressTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/pl_PL/PersonTest.php b/test/Faker/Provider/pl_PL/PersonTest.php index e5e0edc17f..cf1727367f 100644 --- a/test/Faker/Provider/pl_PL/PersonTest.php +++ b/test/Faker/Provider/pl_PL/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Generator; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/pt_BR/CompanyTest.php b/test/Faker/Provider/pt_BR/CompanyTest.php index b0feecaca8..43f9223396 100644 --- a/test/Faker/Provider/pt_BR/CompanyTest.php +++ b/test/Faker/Provider/pt_BR/CompanyTest.php @@ -6,7 +6,7 @@ use Faker\Provider\pt_BR\Company; use PHPUnit\Framework\TestCase; -class CompanyTest extends TestCase +final class CompanyTest extends TestCase { public function setUp() diff --git a/test/Faker/Provider/pt_BR/PersonTest.php b/test/Faker/Provider/pt_BR/PersonTest.php index 0b8318dddf..12eef1476f 100644 --- a/test/Faker/Provider/pt_BR/PersonTest.php +++ b/test/Faker/Provider/pt_BR/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Provider\pt_BR\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { public function setUp() diff --git a/test/Faker/Provider/pt_PT/AddressTest.php b/test/Faker/Provider/pt_PT/AddressTest.php index 3783fd52d6..1d2bd44550 100644 --- a/test/Faker/Provider/pt_PT/AddressTest.php +++ b/test/Faker/Provider/pt_PT/AddressTest.php @@ -7,7 +7,7 @@ use Faker\Provider\pt_PT\Person; use PHPUnit\Framework\TestCase; -class AddressTest extends TestCase +final class AddressTest extends TestCase { /** diff --git a/test/Faker/Provider/pt_PT/PersonTest.php b/test/Faker/Provider/pt_PT/PersonTest.php index 662f12a721..fa61a81693 100644 --- a/test/Faker/Provider/pt_PT/PersonTest.php +++ b/test/Faker/Provider/pt_PT/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Provider\pt_PT\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { public function setUp() diff --git a/test/Faker/Provider/pt_PT/PhoneNumberTest.php b/test/Faker/Provider/pt_PT/PhoneNumberTest.php index fd5d31945d..7a9002f6e2 100644 --- a/test/Faker/Provider/pt_PT/PhoneNumberTest.php +++ b/test/Faker/Provider/pt_PT/PhoneNumberTest.php @@ -6,7 +6,7 @@ use Faker\Provider\pt_PT\PhoneNumber; use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends TestCase +final class PhoneNumberTest extends TestCase { public function setUp() { diff --git a/test/Faker/Provider/ro_RO/PersonTest.php b/test/Faker/Provider/ro_RO/PersonTest.php index fbca0350c9..0f1510ec66 100644 --- a/test/Faker/Provider/ro_RO/PersonTest.php +++ b/test/Faker/Provider/ro_RO/PersonTest.php @@ -7,7 +7,7 @@ use Faker\Provider\ro_RO\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { const TEST_CNP_REGEX = '/^[1-9][0-9]{2}(?:0[1-9]|1[012])(?:0[1-9]|[12][0-9]|3[01])(?:0[1-9]|[123][0-9]|4[0-6]|5[12])[0-9]{3}[0-9]$/'; diff --git a/test/Faker/Provider/ro_RO/PhoneNumberTest.php b/test/Faker/Provider/ro_RO/PhoneNumberTest.php index b7965cd8d7..2021dd4089 100644 --- a/test/Faker/Provider/ro_RO/PhoneNumberTest.php +++ b/test/Faker/Provider/ro_RO/PhoneNumberTest.php @@ -6,7 +6,7 @@ use Faker\Provider\ro_RO\PhoneNumber; use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends TestCase +final class PhoneNumberTest extends TestCase { public function setUp() { diff --git a/test/Faker/Provider/ru_RU/CompanyTest.php b/test/Faker/Provider/ru_RU/CompanyTest.php index 7ed22e5a34..f178b203ae 100644 --- a/test/Faker/Provider/ru_RU/CompanyTest.php +++ b/test/Faker/Provider/ru_RU/CompanyTest.php @@ -6,7 +6,7 @@ use Faker\Provider\ru_RU\Company; use PHPUnit\Framework\TestCase; -class CompanyTest extends TestCase +final class CompanyTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/ru_RU/PersonTest.php b/test/Faker/Provider/ru_RU/PersonTest.php index 51976d5f3e..f1bee0c5d3 100644 --- a/test/Faker/Provider/ru_RU/PersonTest.php +++ b/test/Faker/Provider/ru_RU/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Provider\ru_RU\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/ru_RU/TextTest.php b/test/Faker/Provider/ru_RU/TextTest.php index 7a962120dc..c3ee659b16 100644 --- a/test/Faker/Provider/ru_RU/TextTest.php +++ b/test/Faker/Provider/ru_RU/TextTest.php @@ -4,7 +4,7 @@ use PHPUnit\Framework\TestCase; -class TextTest extends TestCase +final class TextTest extends TestCase { private $textClass; diff --git a/test/Faker/Provider/sv_SE/PersonTest.php b/test/Faker/Provider/sv_SE/PersonTest.php index 584998da9f..6d44156098 100644 --- a/test/Faker/Provider/sv_SE/PersonTest.php +++ b/test/Faker/Provider/sv_SE/PersonTest.php @@ -7,7 +7,7 @@ use Faker\Provider\sv_SE\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { /** @var Generator */ protected $faker; diff --git a/test/Faker/Provider/tr_TR/CompanyTest.php b/test/Faker/Provider/tr_TR/CompanyTest.php index 3ae7c04ddc..2415e0d2d7 100644 --- a/test/Faker/Provider/tr_TR/CompanyTest.php +++ b/test/Faker/Provider/tr_TR/CompanyTest.php @@ -6,7 +6,7 @@ use Faker\Generator; use PHPUnit\Framework\TestCase; -class CompanyTest extends TestCase +final class CompanyTest extends TestCase { /** diff --git a/test/Faker/Provider/tr_TR/PaymentTest.php b/test/Faker/Provider/tr_TR/PaymentTest.php index 7c8ffdb2ad..abfec910e7 100644 --- a/test/Faker/Provider/tr_TR/PaymentTest.php +++ b/test/Faker/Provider/tr_TR/PaymentTest.php @@ -6,7 +6,7 @@ use Faker\Generator; use PHPUnit\Framework\TestCase; -class PaymentTest extends TestCase +final class PaymentTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/tr_TR/PersonTest.php b/test/Faker/Provider/tr_TR/PersonTest.php index ad9db9c7fd..eae04dc2a8 100644 --- a/test/Faker/Provider/tr_TR/PersonTest.php +++ b/test/Faker/Provider/tr_TR/PersonTest.php @@ -7,7 +7,7 @@ use Faker\Generator; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { /** diff --git a/test/Faker/Provider/tr_TR/PhoneNumberTest.php b/test/Faker/Provider/tr_TR/PhoneNumberTest.php index 0971d04b8e..82ae863717 100644 --- a/test/Faker/Provider/tr_TR/PhoneNumberTest.php +++ b/test/Faker/Provider/tr_TR/PhoneNumberTest.php @@ -6,7 +6,7 @@ use Faker\Provider\tr_TR\PhoneNumber; use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends TestCase +final class PhoneNumberTest extends TestCase { /** diff --git a/test/Faker/Provider/uk_UA/AddressTest.php b/test/Faker/Provider/uk_UA/AddressTest.php index 4c4a06120f..3d975ce8de 100644 --- a/test/Faker/Provider/uk_UA/AddressTest.php +++ b/test/Faker/Provider/uk_UA/AddressTest.php @@ -6,7 +6,7 @@ use Faker\Provider\uk_UA\Address; use PHPUnit\Framework\TestCase; -class AddressTest extends TestCase +final class AddressTest extends TestCase { /** diff --git a/test/Faker/Provider/uk_UA/PersonTest.php b/test/Faker/Provider/uk_UA/PersonTest.php index a8d70f69f9..de97666ba8 100644 --- a/test/Faker/Provider/uk_UA/PersonTest.php +++ b/test/Faker/Provider/uk_UA/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Provider\uk_UA\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { public function testFirstNameMaleReturns() { diff --git a/test/Faker/Provider/uk_UA/PhoneNumberTest.php b/test/Faker/Provider/uk_UA/PhoneNumberTest.php index f7f9f14b41..441a1634da 100644 --- a/test/Faker/Provider/uk_UA/PhoneNumberTest.php +++ b/test/Faker/Provider/uk_UA/PhoneNumberTest.php @@ -6,7 +6,7 @@ use Faker\Provider\uk_UA\PhoneNumber; use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends TestCase +final class PhoneNumberTest extends TestCase { /** diff --git a/test/Faker/Provider/zh_TW/CompanyTest.php b/test/Faker/Provider/zh_TW/CompanyTest.php index f2134b9b54..1e1bf23efb 100644 --- a/test/Faker/Provider/zh_TW/CompanyTest.php +++ b/test/Faker/Provider/zh_TW/CompanyTest.php @@ -6,7 +6,7 @@ use Faker\Provider\zh_TW\Company; use PHPUnit\Framework\TestCase; -class CompanyTest extends TestCase +final class CompanyTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/zh_TW/PersonTest.php b/test/Faker/Provider/zh_TW/PersonTest.php index 538cd7a612..da6d155325 100644 --- a/test/Faker/Provider/zh_TW/PersonTest.php +++ b/test/Faker/Provider/zh_TW/PersonTest.php @@ -6,7 +6,7 @@ use Faker\Provider\zh_TW\Person; use PHPUnit\Framework\TestCase; -class PersonTest extends TestCase +final class PersonTest extends TestCase { /** * @var Generator diff --git a/test/Faker/Provider/zh_TW/TextTest.php b/test/Faker/Provider/zh_TW/TextTest.php index b4424e80e7..da10b4a4b0 100644 --- a/test/Faker/Provider/zh_TW/TextTest.php +++ b/test/Faker/Provider/zh_TW/TextTest.php @@ -4,7 +4,7 @@ use PHPUnit\Framework\TestCase; -class TextTest extends TestCase +final class TextTest extends TestCase { private $textClass;