forked from loafle/openapi-generator-original
Set error_reporting(E_ALL) in phpunit.xml settings, to crash on undefined variables (#3266)
* Set error_reporting(E_ALL) in phpunit.xml settings, so that undefined variables will always cause a test failure * Update petstore sample for php-laravel
This commit is contained in:
committed by
William Cheng
parent
fa10103363
commit
78551d0180
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* AdditionalPropertiesAnyType
|
||||
*/
|
||||
namespace app\Models;
|
||||
|
||||
/**
|
||||
* AdditionalPropertiesAnyType
|
||||
*/
|
||||
class AdditionalPropertiesAnyType {
|
||||
|
||||
/** @var string $name */
|
||||
private $name;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* AdditionalPropertiesArray
|
||||
*/
|
||||
namespace app\Models;
|
||||
|
||||
/**
|
||||
* AdditionalPropertiesArray
|
||||
*/
|
||||
class AdditionalPropertiesArray {
|
||||
|
||||
/** @var string $name */
|
||||
private $name;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* AdditionalPropertiesBoolean
|
||||
*/
|
||||
namespace app\Models;
|
||||
|
||||
/**
|
||||
* AdditionalPropertiesBoolean
|
||||
*/
|
||||
class AdditionalPropertiesBoolean {
|
||||
|
||||
/** @var string $name */
|
||||
private $name;
|
||||
|
||||
}
|
||||
@@ -9,10 +9,37 @@ namespace app\Models;
|
||||
*/
|
||||
class AdditionalPropertiesClass {
|
||||
|
||||
/** @var map[string,string] $mapProperty */
|
||||
private $mapProperty;
|
||||
/** @var map[string,string] $mapString */
|
||||
private $mapString;
|
||||
|
||||
/** @var map[string,map[string,string]] $mapOfMapProperty */
|
||||
private $mapOfMapProperty;
|
||||
/** @var map[string,float] $mapNumber */
|
||||
private $mapNumber;
|
||||
|
||||
/** @var map[string,int] $mapInteger */
|
||||
private $mapInteger;
|
||||
|
||||
/** @var map[string,bool] $mapBoolean */
|
||||
private $mapBoolean;
|
||||
|
||||
/** @var map[string,int[]] $mapArrayInteger */
|
||||
private $mapArrayInteger;
|
||||
|
||||
/** @var map[string,object[]] $mapArrayAnytype */
|
||||
private $mapArrayAnytype;
|
||||
|
||||
/** @var map[string,map[string,string]] $mapMapString */
|
||||
private $mapMapString;
|
||||
|
||||
/** @var map[string,map[string,object]] $mapMapAnytype */
|
||||
private $mapMapAnytype;
|
||||
|
||||
/** @var object $anytype1 */
|
||||
private $anytype1;
|
||||
|
||||
/** @var object $anytype2 */
|
||||
private $anytype2;
|
||||
|
||||
/** @var object $anytype3 */
|
||||
private $anytype3;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* AdditionalPropertiesInteger
|
||||
*/
|
||||
namespace app\Models;
|
||||
|
||||
/**
|
||||
* AdditionalPropertiesInteger
|
||||
*/
|
||||
class AdditionalPropertiesInteger {
|
||||
|
||||
/** @var string $name */
|
||||
private $name;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* AdditionalPropertiesNumber
|
||||
*/
|
||||
namespace app\Models;
|
||||
|
||||
/**
|
||||
* AdditionalPropertiesNumber
|
||||
*/
|
||||
class AdditionalPropertiesNumber {
|
||||
|
||||
/** @var string $name */
|
||||
private $name;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* AdditionalPropertiesObject
|
||||
*/
|
||||
namespace app\Models;
|
||||
|
||||
/**
|
||||
* AdditionalPropertiesObject
|
||||
*/
|
||||
class AdditionalPropertiesObject {
|
||||
|
||||
/** @var string $name */
|
||||
private $name;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* AdditionalPropertiesString
|
||||
*/
|
||||
namespace app\Models;
|
||||
|
||||
/**
|
||||
* AdditionalPropertiesString
|
||||
*/
|
||||
class AdditionalPropertiesString {
|
||||
|
||||
/** @var string $name */
|
||||
private $name;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* CatAllOf
|
||||
*/
|
||||
namespace app\Models;
|
||||
|
||||
/**
|
||||
* CatAllOf
|
||||
*/
|
||||
class CatAllOf {
|
||||
|
||||
/** @var bool $declawed */
|
||||
private $declawed;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* DogAllOf
|
||||
*/
|
||||
namespace app\Models;
|
||||
|
||||
/**
|
||||
* DogAllOf
|
||||
*/
|
||||
class DogAllOf {
|
||||
|
||||
/** @var string $breed */
|
||||
private $breed;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user