-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Conversation
@@ -8,6 +8,10 @@ class Company extends \Faker\Provider\Base | |||
'{{lastName}} {{companySuffix}}', | |||
); | |||
|
|||
protected static $jobTitle = array( | |||
'Account Executive', 'Account Manager', 'Accountant', 'Administrative Assistant', 'Assistant Manager', 'Assistant Store Manager', 'Business Analyst', 'Cashier', 'Cook', 'Customer Sales Representative', 'Customer Service', 'Driver', 'Engineer', 'Executive Assistant', 'Financial Analyst', 'Java Developer', 'Maintenance Technician', 'Manager', 'Merchandiser', 'Nurse', 'Occupational Therapist', 'Occupational Therapy Assistant', 'Pharmacist', 'Physcial Therapist', 'Program Manager', 'Project Manager', 'Receptionist', 'Registered Nurse', 'Restaurant Manager', 'Retail Sales Consultant', 'Sales', 'Sales Associate', 'Sales Manager', 'Sales Representative', 'Security Officer', 'Senior Accountant', 'Software Engineer', 'Speech Language Therapist', 'Store Manager', 'Systems Engineer', 'Technician', 'Teller', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this list should be in the en_US locale. For the no-locale formatter, you should rely on the lorem words.
Also, could you please split the line by first letter, to improve code readability?
@fzaninotto hopefully have implemented your comments correctly. |
/* | ||
* @example 'Cashier' | ||
*/ | ||
public static function jobTitle() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't be static, because of $this
. A unit tests would have showed it to you. This shows me that you haven't tested you own code, it's bad. Please add a unit test.
Hopefully, fingers crossed, I'm there now. |
Still missing a unit test |
Added the unit test now. |
Status on this pull? |
Thanks! |
To address #626