|
@@ 520-522 (lines=3) @@
|
| 517 |
|
$attributeData['value'] = json_encode(['foo', 'bar', 'baz']); |
| 518 |
|
break; |
| 519 |
|
case 'mimetypes': |
| 520 |
|
case 'mimes': |
| 521 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 522 |
|
break; |
| 523 |
|
case 'required_if': |
| 524 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->splitValuePairs($parameters))->getDescription(); |
| 525 |
|
break; |
|
@@ 529-531 (lines=3) @@
|
| 526 |
|
case 'required_unless': |
| 527 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->splitValuePairs($parameters))->getDescription(); |
| 528 |
|
break; |
| 529 |
|
case 'required_with': |
| 530 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 531 |
|
break; |
| 532 |
|
case 'required_with_all': |
| 533 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 534 |
|
break; |
|
@@ 532-534 (lines=3) @@
|
| 529 |
|
case 'required_with': |
| 530 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 531 |
|
break; |
| 532 |
|
case 'required_with_all': |
| 533 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 534 |
|
break; |
| 535 |
|
case 'required_without': |
| 536 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 537 |
|
break; |
|
@@ 535-537 (lines=3) @@
|
| 532 |
|
case 'required_with_all': |
| 533 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 534 |
|
break; |
| 535 |
|
case 'required_without': |
| 536 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 537 |
|
break; |
| 538 |
|
case 'required_without_all': |
| 539 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 540 |
|
break; |
|
@@ 538-540 (lines=3) @@
|
| 535 |
|
case 'required_without': |
| 536 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 537 |
|
break; |
| 538 |
|
case 'required_without_all': |
| 539 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 540 |
|
break; |
| 541 |
|
case 'same': |
| 542 |
|
$attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription(); |
| 543 |
|
break; |