| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | <?php |
||
| 45 | private static function createNewRelations(array $params = array()) |
||
| 46 | { |
||
| 47 | extract($params); |
||
| 48 | |||
| 49 | if (!empty($createOrganizationName)) { |
||
| 50 | $organizationName = OrganizationNameEntityProvider::createEntityWithRandomData((array)$createOrganizationName); |
||
| 51 | } |
||
| 52 | |||
| 53 | return array_merge($params, compact('organizationName')); |
||
| 54 | } |
||
| 55 | } |
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.