mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-16 09:18:42 +00:00
update composer and fix tests and add gitignore
This commit is contained in:
parent
4b9610f341
commit
601fdf7567
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
||||||
/Files/
|
/Files/
|
||||||
|
vendor
|
||||||
|
|
@ -48,6 +48,17 @@ class Collection extends Media implements \Iterator
|
||||||
*/
|
*/
|
||||||
protected bool $versioned = false;
|
protected bool $versioned = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor.
|
||||||
|
*
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
$this->setExtension('colection');
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set sources.
|
* Set sources.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -156,8 +156,6 @@ class Media implements \JsonSerializable
|
||||||
{
|
{
|
||||||
$this->createdBy = new NullAccount();
|
$this->createdBy = new NullAccount();
|
||||||
$this->createdAt = new \DateTime();
|
$this->createdAt = new \DateTime();
|
||||||
|
|
||||||
$this->setExtension('colection');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -8,13 +8,11 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^8.5",
|
"phpunit/phpunit": "^9.2",
|
||||||
"squizlabs/php_codesniffer": "^3.5",
|
"squizlabs/php_codesniffer": "^3.5",
|
||||||
"phpmd/phpmd": "^2.6",
|
"phpmd/phpmd": "^2.6",
|
||||||
"phpstan/phpstan": "^0.12.18",
|
"phpstan/phpstan": "^0.12.18",
|
||||||
"phan/phan": "^1.1.5",
|
"phan/phan": "^1.1.5",
|
||||||
"codeclimate/php-test-reporter": "^0.4.4",
|
|
||||||
"facebook/webdriver": "^1.7",
|
|
||||||
"friendsofphp/php-cs-fixer": "^2.16.1",
|
"friendsofphp/php-cs-fixer": "^2.16.1",
|
||||||
"johnkary/phpunit-speedtrap": "^3.1"
|
"johnkary/phpunit-speedtrap": "^3.1"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
2009
composer.lock
generated
2009
composer.lock
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user