From 29f10e44acc207da99c2ea6ec3b2b75a83823fc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Thu, 28 Nov 2019 10:23:13 +0100 Subject: [PATCH] Fix: Reduce visibility of setUp() and tearDown() (#1821) --- test/Faker/Provider/AddressTest.php | 2 +- test/Faker/Provider/BarcodeTest.php | 2 +- test/Faker/Provider/CompanyTest.php | 2 +- test/Faker/Provider/DateTimeTest.php | 4 ++-- test/Faker/Provider/InternetTest.php | 2 +- test/Faker/Provider/PaymentTest.php | 2 +- test/Faker/Provider/PhoneNumberTest.php | 2 +- test/Faker/Provider/ar_JO/InternetTest.php | 2 +- test/Faker/Provider/ar_SA/InternetTest.php | 2 +- test/Faker/Provider/at_AT/PaymentTest.php | 2 +- test/Faker/Provider/bg_BG/PaymentTest.php | 2 +- test/Faker/Provider/bn_BD/PersonTest.php | 2 +- test/Faker/Provider/da_DK/InternetTest.php | 2 +- test/Faker/Provider/de_AT/InternetTest.php | 2 +- test/Faker/Provider/de_AT/PhoneNumberTest.php | 2 +- test/Faker/Provider/de_CH/AddressTest.php | 2 +- test/Faker/Provider/de_CH/InternetTest.php | 2 +- test/Faker/Provider/de_CH/PersonTest.php | 2 +- test/Faker/Provider/de_CH/PhoneNumberTest.php | 2 +- test/Faker/Provider/de_DE/InternetTest.php | 2 +- test/Faker/Provider/el_GR/TextTest.php | 2 +- test/Faker/Provider/en_AU/AddressTest.php | 2 +- test/Faker/Provider/en_CA/AddressTest.php | 2 +- test/Faker/Provider/en_GB/AddressTest.php | 2 +- test/Faker/Provider/en_IN/AddressTest.php | 2 +- test/Faker/Provider/en_NG/AddressTest.php | 2 +- test/Faker/Provider/en_NG/InternetTest.php | 2 +- test/Faker/Provider/en_NG/PersonTest.php | 2 +- test/Faker/Provider/en_NG/PhoneNumberTest.php | 2 +- test/Faker/Provider/en_NZ/PhoneNumberTest.php | 2 +- test/Faker/Provider/en_PH/AddressTest.php | 2 +- test/Faker/Provider/en_SG/AddressTest.php | 2 +- test/Faker/Provider/en_SG/PhoneNumberTest.php | 2 +- test/Faker/Provider/en_UG/AddressTest.php | 2 +- test/Faker/Provider/en_US/CompanyTest.php | 2 +- test/Faker/Provider/en_US/PaymentTest.php | 2 +- test/Faker/Provider/en_US/PersonTest.php | 2 +- test/Faker/Provider/en_US/PhoneNumberTest.php | 2 +- test/Faker/Provider/en_ZA/CompanyTest.php | 2 +- test/Faker/Provider/en_ZA/InternetTest.php | 2 +- test/Faker/Provider/en_ZA/PersonTest.php | 2 +- test/Faker/Provider/en_ZA/PhoneNumberTest.php | 2 +- test/Faker/Provider/es_ES/PaymentTest.php | 2 +- test/Faker/Provider/es_ES/PersonTest.php | 2 +- test/Faker/Provider/es_ES/PhoneNumberTest.php | 2 +- test/Faker/Provider/es_ES/TextTest.php | 2 +- test/Faker/Provider/es_PE/PersonTest.php | 2 +- test/Faker/Provider/es_VE/CompanyTest.php | 2 +- test/Faker/Provider/es_VE/PersonTest.php | 2 +- test/Faker/Provider/fa_IR/PersonTest.php | 2 +- test/Faker/Provider/fi_FI/InternetTest.php | 2 +- test/Faker/Provider/fi_FI/PersonTest.php | 2 +- test/Faker/Provider/fr_BE/PaymentTest.php | 2 +- test/Faker/Provider/fr_CH/AddressTest.php | 2 +- test/Faker/Provider/fr_CH/InternetTest.php | 2 +- test/Faker/Provider/fr_CH/PersonTest.php | 2 +- test/Faker/Provider/fr_CH/PhoneNumberTest.php | 2 +- test/Faker/Provider/fr_FR/AddressTest.php | 2 +- test/Faker/Provider/fr_FR/CompanyTest.php | 2 +- test/Faker/Provider/fr_FR/PaymentTest.php | 2 +- test/Faker/Provider/fr_FR/PersonTest.php | 2 +- test/Faker/Provider/fr_FR/PhoneNumberTest.php | 2 +- test/Faker/Provider/fr_FR/TextTest.php | 2 +- test/Faker/Provider/id_ID/PersonTest.php | 2 +- test/Faker/Provider/it_CH/AddressTest.php | 2 +- test/Faker/Provider/it_CH/InternetTest.php | 2 +- test/Faker/Provider/it_CH/PersonTest.php | 2 +- test/Faker/Provider/it_CH/PhoneNumberTest.php | 2 +- test/Faker/Provider/it_IT/CompanyTest.php | 2 +- test/Faker/Provider/it_IT/PersonTest.php | 2 +- test/Faker/Provider/ka_GE/TextTest.php | 2 +- test/Faker/Provider/kk_KZ/CompanyTest.php | 2 +- test/Faker/Provider/kk_KZ/PersonTest.php | 2 +- test/Faker/Provider/kk_KZ/TextTest.php | 2 +- test/Faker/Provider/ko_KR/TextTest.php | 2 +- test/Faker/Provider/ms_MY/PersonTest.php | 2 +- test/Faker/Provider/nb_NO/PhoneNumberTest.php | 2 +- test/Faker/Provider/nl_BE/PaymentTest.php | 2 +- test/Faker/Provider/nl_BE/PersonTest.php | 2 +- test/Faker/Provider/nl_NL/CompanyTest.php | 2 +- test/Faker/Provider/nl_NL/PersonTest.php | 2 +- test/Faker/Provider/pl_PL/AddressTest.php | 2 +- test/Faker/Provider/pl_PL/PersonTest.php | 2 +- test/Faker/Provider/pt_BR/CompanyTest.php | 2 +- test/Faker/Provider/pt_BR/PersonTest.php | 2 +- test/Faker/Provider/pt_PT/AddressTest.php | 2 +- test/Faker/Provider/pt_PT/PersonTest.php | 2 +- test/Faker/Provider/pt_PT/PhoneNumberTest.php | 2 +- test/Faker/Provider/ro_RO/PersonTest.php | 4 ++-- test/Faker/Provider/ro_RO/PhoneNumberTest.php | 2 +- test/Faker/Provider/ru_RU/CompanyTest.php | 2 +- test/Faker/Provider/ru_RU/PersonTest.php | 2 +- test/Faker/Provider/ru_RU/TextTest.php | 2 +- test/Faker/Provider/sv_SE/PersonTest.php | 2 +- test/Faker/Provider/tr_TR/CompanyTest.php | 2 +- test/Faker/Provider/tr_TR/PaymentTest.php | 2 +- test/Faker/Provider/tr_TR/PersonTest.php | 2 +- test/Faker/Provider/tr_TR/PhoneNumberTest.php | 2 +- test/Faker/Provider/uk_UA/AddressTest.php | 2 +- test/Faker/Provider/uk_UA/PhoneNumberTest.php | 2 +- test/Faker/Provider/zh_TW/CompanyTest.php | 2 +- test/Faker/Provider/zh_TW/PersonTest.php | 2 +- test/Faker/Provider/zh_TW/TextTest.php | 2 +- 103 files changed, 105 insertions(+), 105 deletions(-) diff --git a/test/Faker/Provider/AddressTest.php b/test/Faker/Provider/AddressTest.php index 8832ee5886..80f2776eda 100644 --- a/test/Faker/Provider/AddressTest.php +++ b/test/Faker/Provider/AddressTest.php @@ -10,7 +10,7 @@ final class AddressTest extends TestCase { private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Address($faker)); diff --git a/test/Faker/Provider/BarcodeTest.php b/test/Faker/Provider/BarcodeTest.php index d260e98269..2b6e61d117 100644 --- a/test/Faker/Provider/BarcodeTest.php +++ b/test/Faker/Provider/BarcodeTest.php @@ -10,7 +10,7 @@ final class BarcodeTest extends TestCase { private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Barcode($faker)); diff --git a/test/Faker/Provider/CompanyTest.php b/test/Faker/Provider/CompanyTest.php index b484854071..25f804ac0f 100644 --- a/test/Faker/Provider/CompanyTest.php +++ b/test/Faker/Provider/CompanyTest.php @@ -14,7 +14,7 @@ final class CompanyTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Company($faker)); diff --git a/test/Faker/Provider/DateTimeTest.php b/test/Faker/Provider/DateTimeTest.php index 4323d0f6cb..fcc783341e 100644 --- a/test/Faker/Provider/DateTimeTest.php +++ b/test/Faker/Provider/DateTimeTest.php @@ -7,13 +7,13 @@ final class DateTimeTest extends TestCase { - public function setUp() + protected function setUp() { $this->defaultTz = 'UTC'; DateTimeProvider::setDefaultTimezone($this->defaultTz); } - public function tearDown() + protected function tearDown() { DateTimeProvider::setDefaultTimezone(); } diff --git a/test/Faker/Provider/InternetTest.php b/test/Faker/Provider/InternetTest.php index c88faf40fe..0f93e4f52a 100644 --- a/test/Faker/Provider/InternetTest.php +++ b/test/Faker/Provider/InternetTest.php @@ -16,7 +16,7 @@ final class InternetTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Lorem($faker)); diff --git a/test/Faker/Provider/PaymentTest.php b/test/Faker/Provider/PaymentTest.php index 3d08180975..4fb65bc6ba 100644 --- a/test/Faker/Provider/PaymentTest.php +++ b/test/Faker/Provider/PaymentTest.php @@ -15,7 +15,7 @@ final class PaymentTest extends TestCase { private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new BaseProvider($faker)); diff --git a/test/Faker/Provider/PhoneNumberTest.php b/test/Faker/Provider/PhoneNumberTest.php index d6dcd17b73..72ddaca915 100644 --- a/test/Faker/Provider/PhoneNumberTest.php +++ b/test/Faker/Provider/PhoneNumberTest.php @@ -15,7 +15,7 @@ final class PhoneNumberTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new PhoneNumber($faker)); diff --git a/test/Faker/Provider/ar_JO/InternetTest.php b/test/Faker/Provider/ar_JO/InternetTest.php index 4d3b9f3618..f8128e2bbf 100644 --- a/test/Faker/Provider/ar_JO/InternetTest.php +++ b/test/Faker/Provider/ar_JO/InternetTest.php @@ -16,7 +16,7 @@ final class InternetTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/ar_SA/InternetTest.php b/test/Faker/Provider/ar_SA/InternetTest.php index 0df38da6ea..3474063807 100644 --- a/test/Faker/Provider/ar_SA/InternetTest.php +++ b/test/Faker/Provider/ar_SA/InternetTest.php @@ -16,7 +16,7 @@ final class InternetTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/at_AT/PaymentTest.php b/test/Faker/Provider/at_AT/PaymentTest.php index 37415ebbcb..b554a4ce9d 100644 --- a/test/Faker/Provider/at_AT/PaymentTest.php +++ b/test/Faker/Provider/at_AT/PaymentTest.php @@ -14,7 +14,7 @@ final class PaymentTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Payment($faker)); diff --git a/test/Faker/Provider/bg_BG/PaymentTest.php b/test/Faker/Provider/bg_BG/PaymentTest.php index bfb833d9fa..f6f52caf0a 100644 --- a/test/Faker/Provider/bg_BG/PaymentTest.php +++ b/test/Faker/Provider/bg_BG/PaymentTest.php @@ -14,7 +14,7 @@ final class PaymentTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Payment($faker)); diff --git a/test/Faker/Provider/bn_BD/PersonTest.php b/test/Faker/Provider/bn_BD/PersonTest.php index c463a6278d..53ab9063f0 100644 --- a/test/Faker/Provider/bn_BD/PersonTest.php +++ b/test/Faker/Provider/bn_BD/PersonTest.php @@ -8,7 +8,7 @@ final class PersonTest extends TestCase { - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/da_DK/InternetTest.php b/test/Faker/Provider/da_DK/InternetTest.php index 3c08bac786..c330885423 100644 --- a/test/Faker/Provider/da_DK/InternetTest.php +++ b/test/Faker/Provider/da_DK/InternetTest.php @@ -16,7 +16,7 @@ final class InternetTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/de_AT/InternetTest.php b/test/Faker/Provider/de_AT/InternetTest.php index fbb60a774a..a1b18bc13f 100644 --- a/test/Faker/Provider/de_AT/InternetTest.php +++ b/test/Faker/Provider/de_AT/InternetTest.php @@ -16,7 +16,7 @@ final class InternetTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/de_AT/PhoneNumberTest.php b/test/Faker/Provider/de_AT/PhoneNumberTest.php index cd4d99d5be..8088ca187b 100644 --- a/test/Faker/Provider/de_AT/PhoneNumberTest.php +++ b/test/Faker/Provider/de_AT/PhoneNumberTest.php @@ -14,7 +14,7 @@ final class PhoneNumberTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new PhoneNumber($faker)); diff --git a/test/Faker/Provider/de_CH/AddressTest.php b/test/Faker/Provider/de_CH/AddressTest.php index 64c5bd80b9..be3c8580d6 100644 --- a/test/Faker/Provider/de_CH/AddressTest.php +++ b/test/Faker/Provider/de_CH/AddressTest.php @@ -15,7 +15,7 @@ final class AddressTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Address($faker)); diff --git a/test/Faker/Provider/de_CH/InternetTest.php b/test/Faker/Provider/de_CH/InternetTest.php index 6392109022..1b569005cb 100644 --- a/test/Faker/Provider/de_CH/InternetTest.php +++ b/test/Faker/Provider/de_CH/InternetTest.php @@ -16,7 +16,7 @@ final class InternetTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/de_CH/PersonTest.php b/test/Faker/Provider/de_CH/PersonTest.php index 59bf515200..c2b017a13a 100644 --- a/test/Faker/Provider/de_CH/PersonTest.php +++ b/test/Faker/Provider/de_CH/PersonTest.php @@ -11,7 +11,7 @@ final class PersonTest extends TestCase { private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/de_CH/PhoneNumberTest.php b/test/Faker/Provider/de_CH/PhoneNumberTest.php index a2dc4a9eef..b7ea0224a6 100644 --- a/test/Faker/Provider/de_CH/PhoneNumberTest.php +++ b/test/Faker/Provider/de_CH/PhoneNumberTest.php @@ -14,7 +14,7 @@ final class PhoneNumberTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new PhoneNumber($faker)); diff --git a/test/Faker/Provider/de_DE/InternetTest.php b/test/Faker/Provider/de_DE/InternetTest.php index caa2d969e7..a26a980832 100644 --- a/test/Faker/Provider/de_DE/InternetTest.php +++ b/test/Faker/Provider/de_DE/InternetTest.php @@ -16,7 +16,7 @@ final class InternetTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/el_GR/TextTest.php b/test/Faker/Provider/el_GR/TextTest.php index 3cb0ec025c..d22d0dd7fe 100644 --- a/test/Faker/Provider/el_GR/TextTest.php +++ b/test/Faker/Provider/el_GR/TextTest.php @@ -8,7 +8,7 @@ final class TextTest extends TestCase { private $textClass; - public function setUp() + protected function setUp() { $this->textClass = new \ReflectionClass('Faker\Provider\el_GR\Text'); } diff --git a/test/Faker/Provider/en_AU/AddressTest.php b/test/Faker/Provider/en_AU/AddressTest.php index 5f06a2a226..9ac4498226 100644 --- a/test/Faker/Provider/en_AU/AddressTest.php +++ b/test/Faker/Provider/en_AU/AddressTest.php @@ -14,7 +14,7 @@ final class AddressTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Address($faker)); diff --git a/test/Faker/Provider/en_CA/AddressTest.php b/test/Faker/Provider/en_CA/AddressTest.php index eb7d774faa..dd77623c67 100644 --- a/test/Faker/Provider/en_CA/AddressTest.php +++ b/test/Faker/Provider/en_CA/AddressTest.php @@ -14,7 +14,7 @@ final class AddressTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Address($faker)); diff --git a/test/Faker/Provider/en_GB/AddressTest.php b/test/Faker/Provider/en_GB/AddressTest.php index 6b7d1dabfc..cb1c0337ea 100644 --- a/test/Faker/Provider/en_GB/AddressTest.php +++ b/test/Faker/Provider/en_GB/AddressTest.php @@ -13,7 +13,7 @@ final class AddressTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Address($faker)); diff --git a/test/Faker/Provider/en_IN/AddressTest.php b/test/Faker/Provider/en_IN/AddressTest.php index 41e47a18a6..1fb304831b 100644 --- a/test/Faker/Provider/en_IN/AddressTest.php +++ b/test/Faker/Provider/en_IN/AddressTest.php @@ -14,7 +14,7 @@ final class AddressTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Address($faker)); diff --git a/test/Faker/Provider/en_NG/AddressTest.php b/test/Faker/Provider/en_NG/AddressTest.php index 91e31f5b75..4c90e5d3dc 100644 --- a/test/Faker/Provider/en_NG/AddressTest.php +++ b/test/Faker/Provider/en_NG/AddressTest.php @@ -14,7 +14,7 @@ final class AddressTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Address($faker)); diff --git a/test/Faker/Provider/en_NG/InternetTest.php b/test/Faker/Provider/en_NG/InternetTest.php index 70c59a0396..f83d22a6fc 100644 --- a/test/Faker/Provider/en_NG/InternetTest.php +++ b/test/Faker/Provider/en_NG/InternetTest.php @@ -15,7 +15,7 @@ final class InternetTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/en_NG/PersonTest.php b/test/Faker/Provider/en_NG/PersonTest.php index cf6c81edce..70f000cfc6 100644 --- a/test/Faker/Provider/en_NG/PersonTest.php +++ b/test/Faker/Provider/en_NG/PersonTest.php @@ -13,7 +13,7 @@ final class PersonTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/en_NG/PhoneNumberTest.php b/test/Faker/Provider/en_NG/PhoneNumberTest.php index 43a2b7b1bf..94fd2db335 100644 --- a/test/Faker/Provider/en_NG/PhoneNumberTest.php +++ b/test/Faker/Provider/en_NG/PhoneNumberTest.php @@ -14,7 +14,7 @@ final class PhoneNumberTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new PhoneNumber($faker)); diff --git a/test/Faker/Provider/en_NZ/PhoneNumberTest.php b/test/Faker/Provider/en_NZ/PhoneNumberTest.php index 820622150d..a7ee39fb12 100644 --- a/test/Faker/Provider/en_NZ/PhoneNumberTest.php +++ b/test/Faker/Provider/en_NZ/PhoneNumberTest.php @@ -14,7 +14,7 @@ final class PhoneNumberTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new PhoneNumber($faker)); diff --git a/test/Faker/Provider/en_PH/AddressTest.php b/test/Faker/Provider/en_PH/AddressTest.php index c8fa51ddd6..363aacbeb1 100644 --- a/test/Faker/Provider/en_PH/AddressTest.php +++ b/test/Faker/Provider/en_PH/AddressTest.php @@ -14,7 +14,7 @@ final class AddressTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Address($faker)); diff --git a/test/Faker/Provider/en_SG/AddressTest.php b/test/Faker/Provider/en_SG/AddressTest.php index dd911c1855..175306ad63 100644 --- a/test/Faker/Provider/en_SG/AddressTest.php +++ b/test/Faker/Provider/en_SG/AddressTest.php @@ -8,7 +8,7 @@ final class AddressTest extends TestCase { - public function setUp() + protected function setUp() { $faker = Factory::create('en_SG'); $faker->addProvider(new Address($faker)); diff --git a/test/Faker/Provider/en_SG/PhoneNumberTest.php b/test/Faker/Provider/en_SG/PhoneNumberTest.php index 2d95246221..9813a27aa0 100644 --- a/test/Faker/Provider/en_SG/PhoneNumberTest.php +++ b/test/Faker/Provider/en_SG/PhoneNumberTest.php @@ -10,7 +10,7 @@ final class PhoneNumberTest extends TestCase { private $faker; - public function setUp() + protected function setUp() { $this->faker = Factory::create('en_SG'); $this->faker->seed(1); diff --git a/test/Faker/Provider/en_UG/AddressTest.php b/test/Faker/Provider/en_UG/AddressTest.php index 5db30096f6..96e20d6c81 100644 --- a/test/Faker/Provider/en_UG/AddressTest.php +++ b/test/Faker/Provider/en_UG/AddressTest.php @@ -14,7 +14,7 @@ final class AddressTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Address($faker)); diff --git a/test/Faker/Provider/en_US/CompanyTest.php b/test/Faker/Provider/en_US/CompanyTest.php index ac20a8bca2..fe08e0513c 100644 --- a/test/Faker/Provider/en_US/CompanyTest.php +++ b/test/Faker/Provider/en_US/CompanyTest.php @@ -14,7 +14,7 @@ final class CompanyTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Company($faker)); diff --git a/test/Faker/Provider/en_US/PaymentTest.php b/test/Faker/Provider/en_US/PaymentTest.php index 983c81f820..30683c6093 100644 --- a/test/Faker/Provider/en_US/PaymentTest.php +++ b/test/Faker/Provider/en_US/PaymentTest.php @@ -13,7 +13,7 @@ final class PaymentTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Payment($faker)); diff --git a/test/Faker/Provider/en_US/PersonTest.php b/test/Faker/Provider/en_US/PersonTest.php index 151e55c081..f1eae080d7 100644 --- a/test/Faker/Provider/en_US/PersonTest.php +++ b/test/Faker/Provider/en_US/PersonTest.php @@ -14,7 +14,7 @@ final class PersonTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/en_US/PhoneNumberTest.php b/test/Faker/Provider/en_US/PhoneNumberTest.php index c33c8edd1e..d4481e04ec 100644 --- a/test/Faker/Provider/en_US/PhoneNumberTest.php +++ b/test/Faker/Provider/en_US/PhoneNumberTest.php @@ -14,7 +14,7 @@ final class PhoneNumberTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new PhoneNumber($faker)); diff --git a/test/Faker/Provider/en_ZA/CompanyTest.php b/test/Faker/Provider/en_ZA/CompanyTest.php index 0d7104afa3..651a8225dc 100644 --- a/test/Faker/Provider/en_ZA/CompanyTest.php +++ b/test/Faker/Provider/en_ZA/CompanyTest.php @@ -10,7 +10,7 @@ final class CompanyTest extends TestCase { private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Company($faker)); diff --git a/test/Faker/Provider/en_ZA/InternetTest.php b/test/Faker/Provider/en_ZA/InternetTest.php index 0c417d0a22..20653dd30f 100644 --- a/test/Faker/Provider/en_ZA/InternetTest.php +++ b/test/Faker/Provider/en_ZA/InternetTest.php @@ -16,7 +16,7 @@ final class InternetTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/en_ZA/PersonTest.php b/test/Faker/Provider/en_ZA/PersonTest.php index e6f6e3ddf5..844366965a 100644 --- a/test/Faker/Provider/en_ZA/PersonTest.php +++ b/test/Faker/Provider/en_ZA/PersonTest.php @@ -11,7 +11,7 @@ final class PersonTest extends TestCase { private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/en_ZA/PhoneNumberTest.php b/test/Faker/Provider/en_ZA/PhoneNumberTest.php index b5efa8d9d8..64106772a7 100644 --- a/test/Faker/Provider/en_ZA/PhoneNumberTest.php +++ b/test/Faker/Provider/en_ZA/PhoneNumberTest.php @@ -10,7 +10,7 @@ final class PhoneNumberTest extends TestCase { private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new PhoneNumber($faker)); diff --git a/test/Faker/Provider/es_ES/PaymentTest.php b/test/Faker/Provider/es_ES/PaymentTest.php index 83ea89531c..d940671292 100644 --- a/test/Faker/Provider/es_ES/PaymentTest.php +++ b/test/Faker/Provider/es_ES/PaymentTest.php @@ -13,7 +13,7 @@ final class PaymentTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Payment($faker)); diff --git a/test/Faker/Provider/es_ES/PersonTest.php b/test/Faker/Provider/es_ES/PersonTest.php index c8bcd646b8..998f85d98d 100644 --- a/test/Faker/Provider/es_ES/PersonTest.php +++ b/test/Faker/Provider/es_ES/PersonTest.php @@ -8,7 +8,7 @@ final class PersonTest extends TestCase { - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->seed(1); diff --git a/test/Faker/Provider/es_ES/PhoneNumberTest.php b/test/Faker/Provider/es_ES/PhoneNumberTest.php index 1dce318c56..6219d1ecb1 100644 --- a/test/Faker/Provider/es_ES/PhoneNumberTest.php +++ b/test/Faker/Provider/es_ES/PhoneNumberTest.php @@ -7,7 +7,7 @@ final class PhoneNumberTest extends \PHPUnit_Framework_TestCase { - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new PhoneNumber($faker)); diff --git a/test/Faker/Provider/es_ES/TextTest.php b/test/Faker/Provider/es_ES/TextTest.php index 4e4b413a2b..a9b0f66e8c 100644 --- a/test/Faker/Provider/es_ES/TextTest.php +++ b/test/Faker/Provider/es_ES/TextTest.php @@ -13,7 +13,7 @@ final class TextTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Text($faker)); diff --git a/test/Faker/Provider/es_PE/PersonTest.php b/test/Faker/Provider/es_PE/PersonTest.php index d2078be9b0..de9920d66c 100644 --- a/test/Faker/Provider/es_PE/PersonTest.php +++ b/test/Faker/Provider/es_PE/PersonTest.php @@ -13,7 +13,7 @@ final class PersonTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->seed(1); diff --git a/test/Faker/Provider/es_VE/CompanyTest.php b/test/Faker/Provider/es_VE/CompanyTest.php index 4701b3eedf..a71dd62c48 100644 --- a/test/Faker/Provider/es_VE/CompanyTest.php +++ b/test/Faker/Provider/es_VE/CompanyTest.php @@ -13,7 +13,7 @@ final class CompanyTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->seed(1); diff --git a/test/Faker/Provider/es_VE/PersonTest.php b/test/Faker/Provider/es_VE/PersonTest.php index 59713439f2..4523922241 100644 --- a/test/Faker/Provider/es_VE/PersonTest.php +++ b/test/Faker/Provider/es_VE/PersonTest.php @@ -14,7 +14,7 @@ final class PersonTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->seed(1); diff --git a/test/Faker/Provider/fa_IR/PersonTest.php b/test/Faker/Provider/fa_IR/PersonTest.php index 7ecb1661e8..58cbeee38e 100644 --- a/test/Faker/Provider/fa_IR/PersonTest.php +++ b/test/Faker/Provider/fa_IR/PersonTest.php @@ -14,7 +14,7 @@ final class PersonTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/fi_FI/InternetTest.php b/test/Faker/Provider/fi_FI/InternetTest.php index c88358228c..ea3c82515f 100644 --- a/test/Faker/Provider/fi_FI/InternetTest.php +++ b/test/Faker/Provider/fi_FI/InternetTest.php @@ -16,7 +16,7 @@ final class InternetTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/fi_FI/PersonTest.php b/test/Faker/Provider/fi_FI/PersonTest.php index 24b247d8f5..26c11ce673 100644 --- a/test/Faker/Provider/fi_FI/PersonTest.php +++ b/test/Faker/Provider/fi_FI/PersonTest.php @@ -12,7 +12,7 @@ final class PersonTest extends TestCase /** @var Generator */ protected $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new DateTime($faker)); diff --git a/test/Faker/Provider/fr_BE/PaymentTest.php b/test/Faker/Provider/fr_BE/PaymentTest.php index 8e5687e117..d986166ced 100644 --- a/test/Faker/Provider/fr_BE/PaymentTest.php +++ b/test/Faker/Provider/fr_BE/PaymentTest.php @@ -13,7 +13,7 @@ final class PaymentTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Payment($faker)); diff --git a/test/Faker/Provider/fr_CH/AddressTest.php b/test/Faker/Provider/fr_CH/AddressTest.php index 9ad4803f6d..6a7018fdea 100644 --- a/test/Faker/Provider/fr_CH/AddressTest.php +++ b/test/Faker/Provider/fr_CH/AddressTest.php @@ -15,7 +15,7 @@ final class AddressTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Address($faker)); diff --git a/test/Faker/Provider/fr_CH/InternetTest.php b/test/Faker/Provider/fr_CH/InternetTest.php index ae5a2dcfe8..fbf9298e0c 100644 --- a/test/Faker/Provider/fr_CH/InternetTest.php +++ b/test/Faker/Provider/fr_CH/InternetTest.php @@ -16,7 +16,7 @@ final class InternetTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/fr_CH/PersonTest.php b/test/Faker/Provider/fr_CH/PersonTest.php index 2c0e553058..ad61f910b1 100644 --- a/test/Faker/Provider/fr_CH/PersonTest.php +++ b/test/Faker/Provider/fr_CH/PersonTest.php @@ -11,7 +11,7 @@ final class PersonTest extends TestCase { private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/fr_CH/PhoneNumberTest.php b/test/Faker/Provider/fr_CH/PhoneNumberTest.php index 26e7c007b7..6dd488abf1 100644 --- a/test/Faker/Provider/fr_CH/PhoneNumberTest.php +++ b/test/Faker/Provider/fr_CH/PhoneNumberTest.php @@ -14,7 +14,7 @@ final class PhoneNumberTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new PhoneNumber($faker)); diff --git a/test/Faker/Provider/fr_FR/AddressTest.php b/test/Faker/Provider/fr_FR/AddressTest.php index 700c65b66e..e0c3647dcc 100644 --- a/test/Faker/Provider/fr_FR/AddressTest.php +++ b/test/Faker/Provider/fr_FR/AddressTest.php @@ -14,7 +14,7 @@ final class AddressTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Address($faker)); diff --git a/test/Faker/Provider/fr_FR/CompanyTest.php b/test/Faker/Provider/fr_FR/CompanyTest.php index d7732e6f0e..b98e85f0e6 100644 --- a/test/Faker/Provider/fr_FR/CompanyTest.php +++ b/test/Faker/Provider/fr_FR/CompanyTest.php @@ -11,7 +11,7 @@ final class CompanyTest extends TestCase { private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Company($faker)); diff --git a/test/Faker/Provider/fr_FR/PaymentTest.php b/test/Faker/Provider/fr_FR/PaymentTest.php index 3c945c033d..3a77be3eb5 100644 --- a/test/Faker/Provider/fr_FR/PaymentTest.php +++ b/test/Faker/Provider/fr_FR/PaymentTest.php @@ -11,7 +11,7 @@ final class PaymentTest extends TestCase { private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Payment($faker)); diff --git a/test/Faker/Provider/fr_FR/PersonTest.php b/test/Faker/Provider/fr_FR/PersonTest.php index 8637a5eaf7..660956345a 100644 --- a/test/Faker/Provider/fr_FR/PersonTest.php +++ b/test/Faker/Provider/fr_FR/PersonTest.php @@ -10,7 +10,7 @@ final class PersonTest extends TestCase { private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/fr_FR/PhoneNumberTest.php b/test/Faker/Provider/fr_FR/PhoneNumberTest.php index 27bf1693c5..52f7214e5f 100644 --- a/test/Faker/Provider/fr_FR/PhoneNumberTest.php +++ b/test/Faker/Provider/fr_FR/PhoneNumberTest.php @@ -13,7 +13,7 @@ final class PhoneNumberTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new PhoneNumber($faker)); diff --git a/test/Faker/Provider/fr_FR/TextTest.php b/test/Faker/Provider/fr_FR/TextTest.php index 2ea27e4bdd..23d0b58ba5 100644 --- a/test/Faker/Provider/fr_FR/TextTest.php +++ b/test/Faker/Provider/fr_FR/TextTest.php @@ -8,7 +8,7 @@ final class TextTest extends TestCase { private $textClass; - public function setUp() + protected function setUp() { $this->textClass = new \ReflectionClass('Faker\Provider\fr_FR\Text'); } diff --git a/test/Faker/Provider/id_ID/PersonTest.php b/test/Faker/Provider/id_ID/PersonTest.php index 1c6abc6dc5..69821943e7 100644 --- a/test/Faker/Provider/id_ID/PersonTest.php +++ b/test/Faker/Provider/id_ID/PersonTest.php @@ -47,7 +47,7 @@ final class PersonTest extends TestCase '9171', '9201', '9202', '9203', '9204', '9205', '9206', '9207', '9208', '9209', '9210', '9211', '9212', '9271', ); - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/it_CH/AddressTest.php b/test/Faker/Provider/it_CH/AddressTest.php index a2d8f0d13f..f843b6c5b1 100644 --- a/test/Faker/Provider/it_CH/AddressTest.php +++ b/test/Faker/Provider/it_CH/AddressTest.php @@ -15,7 +15,7 @@ final class AddressTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Address($faker)); diff --git a/test/Faker/Provider/it_CH/InternetTest.php b/test/Faker/Provider/it_CH/InternetTest.php index ba5a51e3ca..a640017b67 100644 --- a/test/Faker/Provider/it_CH/InternetTest.php +++ b/test/Faker/Provider/it_CH/InternetTest.php @@ -16,7 +16,7 @@ final class InternetTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/it_CH/PersonTest.php b/test/Faker/Provider/it_CH/PersonTest.php index f081967d8d..c1220e0988 100644 --- a/test/Faker/Provider/it_CH/PersonTest.php +++ b/test/Faker/Provider/it_CH/PersonTest.php @@ -11,7 +11,7 @@ final class PersonTest extends TestCase { private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/it_CH/PhoneNumberTest.php b/test/Faker/Provider/it_CH/PhoneNumberTest.php index 69259fddd1..a0852eaee6 100644 --- a/test/Faker/Provider/it_CH/PhoneNumberTest.php +++ b/test/Faker/Provider/it_CH/PhoneNumberTest.php @@ -14,7 +14,7 @@ final class PhoneNumberTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new PhoneNumber($faker)); diff --git a/test/Faker/Provider/it_IT/CompanyTest.php b/test/Faker/Provider/it_IT/CompanyTest.php index 9062d4982a..ff70c598fc 100644 --- a/test/Faker/Provider/it_IT/CompanyTest.php +++ b/test/Faker/Provider/it_IT/CompanyTest.php @@ -8,7 +8,7 @@ final class CompanyTest extends TestCase { - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Company($faker)); diff --git a/test/Faker/Provider/it_IT/PersonTest.php b/test/Faker/Provider/it_IT/PersonTest.php index a4aa993636..0f20b6ce19 100644 --- a/test/Faker/Provider/it_IT/PersonTest.php +++ b/test/Faker/Provider/it_IT/PersonTest.php @@ -8,7 +8,7 @@ final class PersonTest extends TestCase { - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/ka_GE/TextTest.php b/test/Faker/Provider/ka_GE/TextTest.php index 8edc447ffc..ec02e7f84b 100644 --- a/test/Faker/Provider/ka_GE/TextTest.php +++ b/test/Faker/Provider/ka_GE/TextTest.php @@ -8,7 +8,7 @@ final class TextTest extends TestCase { private $textClass; - public function setUp() + protected function setUp() { $this->textClass = new \ReflectionClass('Faker\Provider\el_GR\Text'); } diff --git a/test/Faker/Provider/kk_KZ/CompanyTest.php b/test/Faker/Provider/kk_KZ/CompanyTest.php index c2aeb1ef4b..cae6208538 100644 --- a/test/Faker/Provider/kk_KZ/CompanyTest.php +++ b/test/Faker/Provider/kk_KZ/CompanyTest.php @@ -11,7 +11,7 @@ final class CompanyTest extends TestCase /** * {@inheritdoc} */ - public function setUp() + protected function setUp() { $this->faker = new Generator(); diff --git a/test/Faker/Provider/kk_KZ/PersonTest.php b/test/Faker/Provider/kk_KZ/PersonTest.php index fbd15225ba..eda8b00607 100644 --- a/test/Faker/Provider/kk_KZ/PersonTest.php +++ b/test/Faker/Provider/kk_KZ/PersonTest.php @@ -12,7 +12,7 @@ final class PersonTest extends TestCase /** * {@inheritdoc} */ - public function setUp() + protected function setUp() { $this->faker = new Generator(); diff --git a/test/Faker/Provider/kk_KZ/TextTest.php b/test/Faker/Provider/kk_KZ/TextTest.php index 769a835e1b..e26bb7d469 100644 --- a/test/Faker/Provider/kk_KZ/TextTest.php +++ b/test/Faker/Provider/kk_KZ/TextTest.php @@ -8,7 +8,7 @@ final class TextTest extends TestCase { private $textClass; - public function setUp() + protected function setUp() { $this->textClass = new \ReflectionClass('Faker\Provider\kk_KZ\Text'); } diff --git a/test/Faker/Provider/ko_KR/TextTest.php b/test/Faker/Provider/ko_KR/TextTest.php index 75eb26ac62..3cd787d3f7 100644 --- a/test/Faker/Provider/ko_KR/TextTest.php +++ b/test/Faker/Provider/ko_KR/TextTest.php @@ -8,7 +8,7 @@ final class TextTest extends TestCase { private $textClass; - public function setUp() + protected function setUp() { $this->textClass = new \ReflectionClass('Faker\Provider\el_GR\Text'); } diff --git a/test/Faker/Provider/ms_MY/PersonTest.php b/test/Faker/Provider/ms_MY/PersonTest.php index 5e49378449..ea61202275 100644 --- a/test/Faker/Provider/ms_MY/PersonTest.php +++ b/test/Faker/Provider/ms_MY/PersonTest.php @@ -13,7 +13,7 @@ final class PersonTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/nb_NO/PhoneNumberTest.php b/test/Faker/Provider/nb_NO/PhoneNumberTest.php index ce68a6c7dd..a65c59e5b6 100644 --- a/test/Faker/Provider/nb_NO/PhoneNumberTest.php +++ b/test/Faker/Provider/nb_NO/PhoneNumberTest.php @@ -10,7 +10,7 @@ final class PhoneNumberTest extends TestCase { private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new PhoneNumber($faker)); diff --git a/test/Faker/Provider/nl_BE/PaymentTest.php b/test/Faker/Provider/nl_BE/PaymentTest.php index 4dab3560b1..b1dcfc1e88 100644 --- a/test/Faker/Provider/nl_BE/PaymentTest.php +++ b/test/Faker/Provider/nl_BE/PaymentTest.php @@ -13,7 +13,7 @@ final class PaymentTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Payment($faker)); diff --git a/test/Faker/Provider/nl_BE/PersonTest.php b/test/Faker/Provider/nl_BE/PersonTest.php index 2bd8190b6f..a3144e1cf1 100644 --- a/test/Faker/Provider/nl_BE/PersonTest.php +++ b/test/Faker/Provider/nl_BE/PersonTest.php @@ -17,7 +17,7 @@ final class PersonTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/nl_NL/CompanyTest.php b/test/Faker/Provider/nl_NL/CompanyTest.php index 6639357927..1400d7e85d 100644 --- a/test/Faker/Provider/nl_NL/CompanyTest.php +++ b/test/Faker/Provider/nl_NL/CompanyTest.php @@ -10,7 +10,7 @@ final class CompanyTest extends TestCase { private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Company($faker)); diff --git a/test/Faker/Provider/nl_NL/PersonTest.php b/test/Faker/Provider/nl_NL/PersonTest.php index c6af9a303b..282086246e 100644 --- a/test/Faker/Provider/nl_NL/PersonTest.php +++ b/test/Faker/Provider/nl_NL/PersonTest.php @@ -10,7 +10,7 @@ final class PersonTest extends TestCase { private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/pl_PL/AddressTest.php b/test/Faker/Provider/pl_PL/AddressTest.php index c874392641..a037f8b48b 100644 --- a/test/Faker/Provider/pl_PL/AddressTest.php +++ b/test/Faker/Provider/pl_PL/AddressTest.php @@ -12,7 +12,7 @@ final class AddressTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Address($faker)); diff --git a/test/Faker/Provider/pl_PL/PersonTest.php b/test/Faker/Provider/pl_PL/PersonTest.php index cf1727367f..fd5e8664a5 100644 --- a/test/Faker/Provider/pl_PL/PersonTest.php +++ b/test/Faker/Provider/pl_PL/PersonTest.php @@ -13,7 +13,7 @@ final class PersonTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/pt_BR/CompanyTest.php b/test/Faker/Provider/pt_BR/CompanyTest.php index 43f9223396..741e7c6af0 100644 --- a/test/Faker/Provider/pt_BR/CompanyTest.php +++ b/test/Faker/Provider/pt_BR/CompanyTest.php @@ -9,7 +9,7 @@ final class CompanyTest extends TestCase { - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Company($faker)); diff --git a/test/Faker/Provider/pt_BR/PersonTest.php b/test/Faker/Provider/pt_BR/PersonTest.php index 12eef1476f..eadf930630 100644 --- a/test/Faker/Provider/pt_BR/PersonTest.php +++ b/test/Faker/Provider/pt_BR/PersonTest.php @@ -9,7 +9,7 @@ final class PersonTest extends TestCase { - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/pt_PT/AddressTest.php b/test/Faker/Provider/pt_PT/AddressTest.php index 1d2bd44550..ca81dc549a 100644 --- a/test/Faker/Provider/pt_PT/AddressTest.php +++ b/test/Faker/Provider/pt_PT/AddressTest.php @@ -15,7 +15,7 @@ final class AddressTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Address($faker)); diff --git a/test/Faker/Provider/pt_PT/PersonTest.php b/test/Faker/Provider/pt_PT/PersonTest.php index fa61a81693..f8249b3a9b 100644 --- a/test/Faker/Provider/pt_PT/PersonTest.php +++ b/test/Faker/Provider/pt_PT/PersonTest.php @@ -9,7 +9,7 @@ final class PersonTest extends TestCase { - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/pt_PT/PhoneNumberTest.php b/test/Faker/Provider/pt_PT/PhoneNumberTest.php index 7a9002f6e2..4dc1c86e5c 100644 --- a/test/Faker/Provider/pt_PT/PhoneNumberTest.php +++ b/test/Faker/Provider/pt_PT/PhoneNumberTest.php @@ -8,7 +8,7 @@ final class PhoneNumberTest extends TestCase { - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new PhoneNumber($faker)); diff --git a/test/Faker/Provider/ro_RO/PersonTest.php b/test/Faker/Provider/ro_RO/PersonTest.php index 0f1510ec66..c9c131b710 100644 --- a/test/Faker/Provider/ro_RO/PersonTest.php +++ b/test/Faker/Provider/ro_RO/PersonTest.php @@ -17,7 +17,7 @@ final class PersonTest extends TestCase */ protected $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new DateTime($faker)); @@ -26,7 +26,7 @@ public function setUp() $this->faker = $faker; } - public function tearDown() + protected function tearDown() { $this->faker->setDefaultTimezone(); } diff --git a/test/Faker/Provider/ro_RO/PhoneNumberTest.php b/test/Faker/Provider/ro_RO/PhoneNumberTest.php index 2021dd4089..f38c237fee 100644 --- a/test/Faker/Provider/ro_RO/PhoneNumberTest.php +++ b/test/Faker/Provider/ro_RO/PhoneNumberTest.php @@ -8,7 +8,7 @@ final class PhoneNumberTest extends TestCase { - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new PhoneNumber($faker)); diff --git a/test/Faker/Provider/ru_RU/CompanyTest.php b/test/Faker/Provider/ru_RU/CompanyTest.php index f178b203ae..2148c1dc07 100644 --- a/test/Faker/Provider/ru_RU/CompanyTest.php +++ b/test/Faker/Provider/ru_RU/CompanyTest.php @@ -13,7 +13,7 @@ final class CompanyTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Company($faker)); diff --git a/test/Faker/Provider/ru_RU/PersonTest.php b/test/Faker/Provider/ru_RU/PersonTest.php index f1bee0c5d3..11fffe1a24 100644 --- a/test/Faker/Provider/ru_RU/PersonTest.php +++ b/test/Faker/Provider/ru_RU/PersonTest.php @@ -13,7 +13,7 @@ final class PersonTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/ru_RU/TextTest.php b/test/Faker/Provider/ru_RU/TextTest.php index c3ee659b16..4577b6b5f9 100644 --- a/test/Faker/Provider/ru_RU/TextTest.php +++ b/test/Faker/Provider/ru_RU/TextTest.php @@ -8,7 +8,7 @@ final class TextTest extends TestCase { private $textClass; - public function setUp() + protected function setUp() { $this->textClass = new \ReflectionClass('Faker\Provider\ru_RU\Text'); } diff --git a/test/Faker/Provider/sv_SE/PersonTest.php b/test/Faker/Provider/sv_SE/PersonTest.php index 9dac38d963..03e4c5fc1a 100644 --- a/test/Faker/Provider/sv_SE/PersonTest.php +++ b/test/Faker/Provider/sv_SE/PersonTest.php @@ -12,7 +12,7 @@ final class PersonTest extends TestCase /** @var Generator */ protected $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/tr_TR/CompanyTest.php b/test/Faker/Provider/tr_TR/CompanyTest.php index 2415e0d2d7..7bb91faecb 100644 --- a/test/Faker/Provider/tr_TR/CompanyTest.php +++ b/test/Faker/Provider/tr_TR/CompanyTest.php @@ -14,7 +14,7 @@ final class CompanyTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Company($faker)); diff --git a/test/Faker/Provider/tr_TR/PaymentTest.php b/test/Faker/Provider/tr_TR/PaymentTest.php index abfec910e7..e94dc0e0dc 100644 --- a/test/Faker/Provider/tr_TR/PaymentTest.php +++ b/test/Faker/Provider/tr_TR/PaymentTest.php @@ -13,7 +13,7 @@ final class PaymentTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Payment($faker)); diff --git a/test/Faker/Provider/tr_TR/PersonTest.php b/test/Faker/Provider/tr_TR/PersonTest.php index eae04dc2a8..14b25abe44 100644 --- a/test/Faker/Provider/tr_TR/PersonTest.php +++ b/test/Faker/Provider/tr_TR/PersonTest.php @@ -15,7 +15,7 @@ final class PersonTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/tr_TR/PhoneNumberTest.php b/test/Faker/Provider/tr_TR/PhoneNumberTest.php index 82ae863717..3a24438b9d 100644 --- a/test/Faker/Provider/tr_TR/PhoneNumberTest.php +++ b/test/Faker/Provider/tr_TR/PhoneNumberTest.php @@ -14,7 +14,7 @@ final class PhoneNumberTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new PhoneNumber($faker)); diff --git a/test/Faker/Provider/uk_UA/AddressTest.php b/test/Faker/Provider/uk_UA/AddressTest.php index 3d975ce8de..27c1b829f6 100644 --- a/test/Faker/Provider/uk_UA/AddressTest.php +++ b/test/Faker/Provider/uk_UA/AddressTest.php @@ -14,7 +14,7 @@ final class AddressTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Address($faker)); diff --git a/test/Faker/Provider/uk_UA/PhoneNumberTest.php b/test/Faker/Provider/uk_UA/PhoneNumberTest.php index 441a1634da..03b8c124eb 100644 --- a/test/Faker/Provider/uk_UA/PhoneNumberTest.php +++ b/test/Faker/Provider/uk_UA/PhoneNumberTest.php @@ -14,7 +14,7 @@ final class PhoneNumberTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new PhoneNumber($faker)); diff --git a/test/Faker/Provider/zh_TW/CompanyTest.php b/test/Faker/Provider/zh_TW/CompanyTest.php index 1e1bf23efb..b5676dbe6c 100644 --- a/test/Faker/Provider/zh_TW/CompanyTest.php +++ b/test/Faker/Provider/zh_TW/CompanyTest.php @@ -13,7 +13,7 @@ final class CompanyTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Company($faker)); diff --git a/test/Faker/Provider/zh_TW/PersonTest.php b/test/Faker/Provider/zh_TW/PersonTest.php index da6d155325..ad5a1e8114 100644 --- a/test/Faker/Provider/zh_TW/PersonTest.php +++ b/test/Faker/Provider/zh_TW/PersonTest.php @@ -13,7 +13,7 @@ final class PersonTest extends TestCase */ private $faker; - public function setUp() + protected function setUp() { $faker = new Generator(); $faker->addProvider(new Person($faker)); diff --git a/test/Faker/Provider/zh_TW/TextTest.php b/test/Faker/Provider/zh_TW/TextTest.php index da10b4a4b0..05979b189c 100644 --- a/test/Faker/Provider/zh_TW/TextTest.php +++ b/test/Faker/Provider/zh_TW/TextTest.php @@ -8,7 +8,7 @@ final class TextTest extends TestCase { private $textClass; - public function setUp() + protected function setUp() { $this->textClass = new \ReflectionClass('Faker\Provider\zh_TW\Text'); }