composer update doctrine/doctrine-fixtures-bundle and corresponding changes.
This commit is contained in:
parent
9798590f3e
commit
574320b6b7
|
@ -10,6 +10,10 @@ services:
|
||||||
resource: '../../src/Skobkin/Bundle/PointToolsBundle/*'
|
resource: '../../src/Skobkin/Bundle/PointToolsBundle/*'
|
||||||
exclude: '../../src/Skobkin/Bundle/PointToolsBundle/{DataFixtures,DependencyInjection,DQL,DTO,Entity,Exception,Repository,Twig}'
|
exclude: '../../src/Skobkin/Bundle/PointToolsBundle/{DataFixtures,DependencyInjection,DQL,DTO,Entity,Exception,Repository,Twig}'
|
||||||
|
|
||||||
|
Skobkin\Bundle\PointToolsBundle\DataFixtures\ORM\:
|
||||||
|
resource: '../../src/Skobkin/Bundle/PointToolsBundle/DataFixtures/ORM/*'
|
||||||
|
tags: ['doctrine.fixture.orm']
|
||||||
|
|
||||||
# HTTP clients
|
# HTTP clients
|
||||||
# Default
|
# Default
|
||||||
GuzzleHttp\ClientInterface:
|
GuzzleHttp\ClientInterface:
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"symfony/phpunit-bridge": "^3.0",
|
"symfony/phpunit-bridge": "^3.0",
|
||||||
"phpunit/phpunit": "^5.7",
|
"phpunit/phpunit": "^5.7",
|
||||||
"doctrine/doctrine-fixtures-bundle": "^2.3"
|
"doctrine/doctrine-fixtures-bundle": "^3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"symfony-scripts": [
|
"symfony-scripts": [
|
||||||
|
|
28
composer.lock
generated
28
composer.lock
generated
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "c50bcdcd4c9deacaba7bb6c8456d6ce1",
|
"content-hash": "78921ec850f4a0a77090cd19823be0a5",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "composer/ca-bundle",
|
"name": "composer/ca-bundle",
|
||||||
|
@ -4511,28 +4511,34 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "doctrine/doctrine-fixtures-bundle",
|
"name": "doctrine/doctrine-fixtures-bundle",
|
||||||
"version": "v2.4.1",
|
"version": "3.1.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/doctrine/DoctrineFixturesBundle.git",
|
"url": "https://github.com/doctrine/DoctrineFixturesBundle.git",
|
||||||
"reference": "74b8cc70a4a25b774628ee59f4cdf3623a146273"
|
"reference": "f016565b251c2dfa32a8d6da44d1650dc9ec1498"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/doctrine/DoctrineFixturesBundle/zipball/74b8cc70a4a25b774628ee59f4cdf3623a146273",
|
"url": "https://api.github.com/repos/doctrine/DoctrineFixturesBundle/zipball/f016565b251c2dfa32a8d6da44d1650dc9ec1498",
|
||||||
"reference": "74b8cc70a4a25b774628ee59f4cdf3623a146273",
|
"reference": "f016565b251c2dfa32a8d6da44d1650dc9ec1498",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"doctrine/data-fixtures": "~1.0",
|
"doctrine/data-fixtures": "^1.3",
|
||||||
"doctrine/doctrine-bundle": "~1.0",
|
"doctrine/doctrine-bundle": "^1.6",
|
||||||
"php": ">=5.3.2",
|
"php": "^7.1",
|
||||||
"symfony/doctrine-bridge": "~2.7|~3.0|~4.0"
|
"symfony/doctrine-bridge": "~3.4|^4.1",
|
||||||
|
"symfony/framework-bundle": "^3.4|^4.1"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"doctrine/coding-standard": "^5.0",
|
||||||
|
"phpunit/phpunit": "^7.4",
|
||||||
|
"symfony/phpunit-bridge": "^4.1"
|
||||||
},
|
},
|
||||||
"type": "symfony-bundle",
|
"type": "symfony-bundle",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "2.4.x-dev"
|
"dev-master": "3.1.x-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -4564,7 +4570,7 @@
|
||||||
"Fixture",
|
"Fixture",
|
||||||
"persistence"
|
"persistence"
|
||||||
],
|
],
|
||||||
"time": "2017-10-30T19:26:42+00:00"
|
"time": "2018-12-21T10:10:51+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "myclabs/deep-copy",
|
"name": "myclabs/deep-copy",
|
||||||
|
|
|
@ -2,14 +2,13 @@
|
||||||
|
|
||||||
namespace Skobkin\Bundle\PointToolsBundle\DataFixtures\ORM;
|
namespace Skobkin\Bundle\PointToolsBundle\DataFixtures\ORM;
|
||||||
|
|
||||||
use Doctrine\Common\DataFixtures\AbstractFixture;
|
use Doctrine\Bundle\FixturesBundle\Fixture;
|
||||||
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
|
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
|
||||||
use Doctrine\Common\Persistence\ObjectManager;
|
use Doctrine\Common\Persistence\ObjectManager;
|
||||||
use Skobkin\Bundle\PointToolsBundle\Entity\Blogs\Comment;
|
use Skobkin\Bundle\PointToolsBundle\Entity\Blogs\{Comment, Post};
|
||||||
use Skobkin\Bundle\PointToolsBundle\Entity\Blogs\Post;
|
|
||||||
use Skobkin\Bundle\PointToolsBundle\Entity\User;
|
use Skobkin\Bundle\PointToolsBundle\Entity\User;
|
||||||
|
|
||||||
class LoadCommentsData extends AbstractFixture implements OrderedFixtureInterface
|
class LoadCommentsData extends Fixture implements OrderedFixtureInterface
|
||||||
{
|
{
|
||||||
public function load(ObjectManager $om)
|
public function load(ObjectManager $om)
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
namespace Skobkin\Bundle\PointToolsBundle\DataFixtures\ORM;
|
namespace Skobkin\Bundle\PointToolsBundle\DataFixtures\ORM;
|
||||||
|
|
||||||
use Doctrine\Common\DataFixtures\AbstractFixture;
|
use Doctrine\Bundle\FixturesBundle\Fixture;
|
||||||
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
|
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
|
||||||
use Doctrine\Common\Persistence\ObjectManager;
|
use Doctrine\Common\Persistence\ObjectManager;
|
||||||
use Skobkin\Bundle\PointToolsBundle\Entity\Blogs\Post;
|
use Skobkin\Bundle\PointToolsBundle\Entity\Blogs\Post;
|
||||||
use Skobkin\Bundle\PointToolsBundle\Entity\User;
|
use Skobkin\Bundle\PointToolsBundle\Entity\User;
|
||||||
|
|
||||||
class LoadPostData extends AbstractFixture implements OrderedFixtureInterface
|
class LoadPostData extends Fixture implements OrderedFixtureInterface
|
||||||
{
|
{
|
||||||
public function load(ObjectManager $om)
|
public function load(ObjectManager $om)
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
namespace Skobkin\Bundle\PointToolsBundle\DataFixtures\ORM;
|
namespace Skobkin\Bundle\PointToolsBundle\DataFixtures\ORM;
|
||||||
|
|
||||||
use Doctrine\Common\DataFixtures\AbstractFixture;
|
use Doctrine\Bundle\FixturesBundle\Fixture;
|
||||||
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
|
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
|
||||||
use Doctrine\Common\Persistence\ObjectManager;
|
use Doctrine\Common\Persistence\ObjectManager;
|
||||||
use Skobkin\Bundle\PointToolsBundle\Entity\Subscription;
|
use Skobkin\Bundle\PointToolsBundle\Entity\Subscription;
|
||||||
|
@ -12,7 +12,7 @@ use Skobkin\Bundle\PointToolsBundle\Entity\User;
|
||||||
/**
|
/**
|
||||||
* Load user subscriptions
|
* Load user subscriptions
|
||||||
*/
|
*/
|
||||||
class LoadSubscribersData extends AbstractFixture implements OrderedFixtureInterface
|
class LoadSubscribersData extends Fixture implements OrderedFixtureInterface
|
||||||
{
|
{
|
||||||
public function load(ObjectManager $om)
|
public function load(ObjectManager $om)
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
namespace Skobkin\Bundle\PointToolsBundle\DataFixtures\ORM;
|
namespace Skobkin\Bundle\PointToolsBundle\DataFixtures\ORM;
|
||||||
|
|
||||||
use Doctrine\Common\DataFixtures\AbstractFixture;
|
use Doctrine\Bundle\FixturesBundle\Fixture;
|
||||||
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
|
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
|
||||||
use Doctrine\Common\Persistence\ObjectManager;
|
use Doctrine\Common\Persistence\ObjectManager;
|
||||||
use Skobkin\Bundle\PointToolsBundle\Entity\User;
|
use Skobkin\Bundle\PointToolsBundle\Entity\User;
|
||||||
|
|
||||||
class LoadUserData extends AbstractFixture implements OrderedFixtureInterface
|
class LoadUserData extends Fixture implements OrderedFixtureInterface
|
||||||
{
|
{
|
||||||
private $users = [
|
private $users = [
|
||||||
// 99999
|
// 99999
|
||||||
|
|
Loading…
Reference in a new issue