|
@@ 467-469 (lines=3) @@
|
| 464 |
|
$attributeData['value'] = json_encode(['foo', 'bar', 'baz']); |
| 465 |
|
break; |
| 466 |
|
case 'mimetypes': |
| 467 |
|
case 'mimes': |
| 468 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 469 |
|
break; |
| 470 |
|
case 'required_if': |
| 471 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->splitValuePairs($parameters))->getDescription(); |
| 472 |
|
break; |
|
@@ 476-478 (lines=3) @@
|
| 473 |
|
case 'required_unless': |
| 474 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->splitValuePairs($parameters))->getDescription(); |
| 475 |
|
break; |
| 476 |
|
case 'required_with': |
| 477 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 478 |
|
break; |
| 479 |
|
case 'required_with_all': |
| 480 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 481 |
|
break; |
|
@@ 479-481 (lines=3) @@
|
| 476 |
|
case 'required_with': |
| 477 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 478 |
|
break; |
| 479 |
|
case 'required_with_all': |
| 480 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 481 |
|
break; |
| 482 |
|
case 'required_without': |
| 483 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 484 |
|
break; |
|
@@ 482-484 (lines=3) @@
|
| 479 |
|
case 'required_with_all': |
| 480 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 481 |
|
break; |
| 482 |
|
case 'required_without': |
| 483 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 484 |
|
break; |
| 485 |
|
case 'required_without_all': |
| 486 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 487 |
|
break; |
|
@@ 485-487 (lines=3) @@
|
| 482 |
|
case 'required_without': |
| 483 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription(); |
| 484 |
|
break; |
| 485 |
|
case 'required_without_all': |
| 486 |
|
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' and '))->getDescription(); |
| 487 |
|
break; |
| 488 |
|
case 'same': |
| 489 |
|
$attributeData['description'][] = Description::parse($rule)->with($parameters)->getDescription(); |
| 490 |
|
break; |