update composer and fix tests and add gitignore

This commit is contained in:
Dennis Eichhorn 2020-07-31 15:44:05 +02:00
parent 4b9610f341
commit 601fdf7567
5 changed files with 878 additions and 1151 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
/Files/
/Files/
vendor

View File

@ -48,6 +48,17 @@ class Collection extends Media implements \Iterator
*/
protected bool $versioned = false;
/**
* Constructor.
*
* @since 1.0.0
*/
public function __construct()
{
parent::__construct();
$this->setExtension('colection');
}
/**
* Set sources.
*

View File

@ -156,8 +156,6 @@ class Media implements \JsonSerializable
{
$this->createdBy = new NullAccount();
$this->createdAt = new \DateTime();
$this->setExtension('colection');
}
/**

View File

@ -8,13 +8,11 @@
}
],
"require-dev": {
"phpunit/phpunit": "^8.5",
"phpunit/phpunit": "^9.2",
"squizlabs/php_codesniffer": "^3.5",
"phpmd/phpmd": "^2.6",
"phpstan/phpstan": "^0.12.18",
"phan/phan": "^1.1.5",
"codeclimate/php-test-reporter": "^0.4.4",
"facebook/webdriver": "^1.7",
"friendsofphp/php-cs-fixer": "^2.16.1",
"johnkary/phpunit-speedtrap": "^3.1"
},

2009
composer.lock generated

File diff suppressed because it is too large Load Diff