"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/Fixture/DatatypesFixture.php" between
cakephp-4.0.1.tar.gz and cakephp-4.0.2.tar.gz

About: CakePHP is a rapid development framework for PHP applications. Source code.

DatatypesFixture.php  (cakephp-4.0.1):DatatypesFixture.php  (cakephp-4.0.2)
skipping to change at line 30 skipping to change at line 30
* Fixture for testing decimal, float and bigint types * Fixture for testing decimal, float and bigint types
*/ */
class DatatypesFixture extends TestFixture class DatatypesFixture extends TestFixture
{ {
/** /**
* @var array * @var array
*/ */
public $fields = [ public $fields = [
'id' => ['type' => 'biginteger'], 'id' => ['type' => 'biginteger'],
'cost' => ['type' => 'decimal', 'length' => 20, 'precision' => 1, 'null' => true], 'cost' => ['type' => 'decimal', 'length' => 20, 'precision' => 1, 'null' => true],
'fraction' => ['type' => 'decimal', 'length' => 20, 'precision' => 19, ' null' => true], 'fraction' => ['type' => 'decimal', 'length' => 15, 'precision' => 14, ' null' => true],
'floaty' => ['type' => 'float', 'null' => true], 'floaty' => ['type' => 'float', 'null' => true],
'small' => ['type' => 'smallinteger', 'null' => true], 'small' => ['type' => 'smallinteger', 'null' => true],
'tiny' => ['type' => 'tinyinteger', 'null' => true], 'tiny' => ['type' => 'tinyinteger', 'null' => true],
'_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id' ]]], '_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id' ]]],
]; ];
/** /**
* @var array * @var array
*/ */
public $records = []; public $records = [];
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)