|
@@ 310-312 (lines=3) @@
|
| 307 |
|
$attributeData['value'] = json_encode(['foo', 'bar', 'baz']); |
| 308 |
|
break; |
| 309 |
|
case 'mimetypes': |
| 310 |
|
case 'mimes': |
| 311 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 312 |
|
break; |
| 313 |
|
case 'required_if': |
| 314 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->splitValuePairs($parameters))->getDescription(); |
| 315 |
|
break; |
|
@@ 319-321 (lines=3) @@
|
| 316 |
|
case 'required_unless': |
| 317 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->splitValuePairs($parameters))->getDescription(); |
| 318 |
|
break; |
| 319 |
|
case 'required_with': |
| 320 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 321 |
|
break; |
| 322 |
|
case 'required_with_all': |
| 323 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 324 |
|
break; |
|
@@ 322-324 (lines=3) @@
|
| 319 |
|
case 'required_with': |
| 320 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 321 |
|
break; |
| 322 |
|
case 'required_with_all': |
| 323 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 324 |
|
break; |
| 325 |
|
case 'required_without': |
| 326 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 327 |
|
break; |
|
@@ 325-327 (lines=3) @@
|
| 322 |
|
case 'required_with_all': |
| 323 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 324 |
|
break; |
| 325 |
|
case 'required_without': |
| 326 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 327 |
|
break; |
| 328 |
|
case 'required_without_all': |
| 329 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 330 |
|
break; |
|
@@ 328-330 (lines=3) @@
|
| 325 |
|
case 'required_without': |
| 326 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 327 |
|
break; |
| 328 |
|
case 'required_without_all': |
| 329 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 330 |
|
break; |
| 331 |
|
case 'same': |
| 332 |
|
$attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription(); |
| 333 |
|
break; |