|
@@ 487-489 (lines=3) @@
|
| 484 |
|
$attributeData['value'] = json_encode(['foo', 'bar', 'baz']); |
| 485 |
|
break; |
| 486 |
|
case 'mimetypes': |
| 487 |
|
case 'mimes': |
| 488 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 489 |
|
break; |
| 490 |
|
case 'required_if': |
| 491 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->splitValuePairs($parameters))->getDescription(); |
| 492 |
|
break; |
|
@@ 496-498 (lines=3) @@
|
| 493 |
|
case 'required_unless': |
| 494 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->splitValuePairs($parameters))->getDescription(); |
| 495 |
|
break; |
| 496 |
|
case 'required_with': |
| 497 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 498 |
|
break; |
| 499 |
|
case 'required_with_all': |
| 500 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 501 |
|
break; |
|
@@ 499-501 (lines=3) @@
|
| 496 |
|
case 'required_with': |
| 497 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 498 |
|
break; |
| 499 |
|
case 'required_with_all': |
| 500 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 501 |
|
break; |
| 502 |
|
case 'required_without': |
| 503 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 504 |
|
break; |
|
@@ 502-504 (lines=3) @@
|
| 499 |
|
case 'required_with_all': |
| 500 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 501 |
|
break; |
| 502 |
|
case 'required_without': |
| 503 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 504 |
|
break; |
| 505 |
|
case 'required_without_all': |
| 506 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 507 |
|
break; |
|
@@ 505-507 (lines=3) @@
|
| 502 |
|
case 'required_without': |
| 503 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 504 |
|
break; |
| 505 |
|
case 'required_without_all': |
| 506 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 507 |
|
break; |
| 508 |
|
case 'same': |
| 509 |
|
$attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription(); |
| 510 |
|
break; |