Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ArticleBundle] upgraded dev requirements #2298

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/Kunstmaan/ArticleBundle/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
.DS_Store
.idea
vendor/*
composer.lock
composer.phar
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
use Doctrine\ORM\EntityManager;
use Kunstmaan\AdminBundle\Helper\Security\Acl\AclHelper;
use Kunstmaan\ArticleBundle\AdminList\AbstractArticleAuthorAdminListConfigurator;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;

/**
* Class AbstractArticleAuthorAdminListConfiguratorTest
*/
class AbstractArticleAuthorAdminListConfiguratorTest extends PHPUnit_Framework_TestCase
class AbstractArticleAuthorAdminListConfiguratorTest extends TestCase
{
/**
* @var AbstractArticleAuthorAdminListConfigurator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Kunstmaan\NodeBundle\Entity\NodeTranslation;
use Kunstmaan\NodeBundle\Helper\NodeMenu;
use Kunstmaan\NodeBundle\Helper\NodeMenuItem;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
use ReflectionClass;

class Configurator extends AbstractArticlePageAdminListConfigurator
Expand All @@ -37,7 +37,7 @@ public function getOverviewPageRepository()
/**
* Class AbstractArticlePageAdminListConfiguratorTest
*/
class AbstractArticlePageAdminListConfiguratorTest extends PHPUnit_Framework_TestCase
class AbstractArticlePageAdminListConfiguratorTest extends TestCase
{
/**
* @var AbstractArticlePageAdminListConfigurator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

use Kunstmaan\ArticleBundle\DependencyInjection\Configuration;
use Matthias\SymfonyConfigTest\PhpUnit\ConfigurationTestCaseTrait;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;

/**
* Class ConfigurationTest
*/
class ConfigurationTest extends PHPUnit_Framework_TestCase
class ConfigurationTest extends TestCase
{
use ConfigurationTestCaseTrait;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

namespace Kunstmaan\ArticleBundle\Tests\DependencyInjection;

use Kunstmaan\AdminBundle\Tests\unit\AbstractPrependableExtensionTestCase;
use Kunstmaan\ArticleBundle\DependencyInjection\KunstmaanArticleExtension;
use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractExtensionTestCase;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;

/**
* Class KunstmaanArticleExtensionTest
*/
class KunstmaanArticleExtensionTest extends AbstractPrependableExtensionTestCase
class KunstmaanArticleExtensionTest extends AbstractExtensionTestCase
{
/**
* @return ExtensionInterface[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Kunstmaan\ArticleBundle\Tests\Entity;

use Kunstmaan\ArticleBundle\Entity\AbstractArticleOverviewPage;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;

class ArticleOverViewPage extends AbstractArticleOverviewPage
{
Expand All @@ -16,7 +16,7 @@ public function getArticleRepository($em)
/**
* Generated by PHPUnit_SkeletonGenerator on 2012-09-04 at 16:54:04.
*/
class AbstractArticleOverviewPageTest extends PHPUnit_Framework_TestCase
class AbstractArticleOverviewPageTest extends TestCase
{
public function testGettersAndSetters()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use DateTime;
use Kunstmaan\ArticleBundle\Entity\AbstractArticlePage;
use Kunstmaan\ArticleBundle\Form\AbstractArticlePageAdminType;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;

class ArticlePage extends AbstractArticlePage
{
Expand All @@ -14,7 +14,7 @@ class ArticlePage extends AbstractArticlePage
/**
* Generated by PHPUnit_SkeletonGenerator on 2012-09-04 at 16:54:04.
*/
class AbstractArticlePageTest extends PHPUnit_Framework_TestCase
class AbstractArticlePageTest extends TestCase
{
public function testGettersAndSetters()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
namespace Kunstmaan\ArticleBundle\Tests\Entity;

use Kunstmaan\ArticleBundle\Entity\AbstractAuthor;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;

/**
* Generated by PHPUnit_SkeletonGenerator on 2012-09-04 at 16:54:04.
*/
class AbstractAuthorTest extends PHPUnit_Framework_TestCase
class AbstractAuthorTest extends TestCase
{
public function testGettersAndSetters()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

use Kunstmaan\ArticleBundle\Form\AbstractArticleOverviewPageAdminType;
use Kunstmaan\ArticleBundle\Form\AbstractArticlePageAdminType;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Form\FormBuilder;
use Symfony\Component\OptionsResolver\OptionsResolver;

/**
* Class AbstractArticleOverviewPageAdminTypeTest
*/
class AbstractArticleOverviewPageAdminTypeTest extends PHPUnit_Framework_TestCase
class AbstractArticleOverviewPageAdminTypeTest extends TestCase
{
/**
* @var AbstractArticlePageAdminType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
namespace Kunstmaan\ArticleBundle\Tests\Form;

use Kunstmaan\ArticleBundle\Form\AbstractArticlePageAdminType;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Form\FormBuilder;
use Symfony\Component\OptionsResolver\OptionsResolver;

/**
* Class AbstractArticlePageAdminTypeTest
*/
class AbstractArticlePageAdminTypeTest extends PHPUnit_Framework_TestCase
class AbstractArticlePageAdminTypeTest extends TestCase
{
/**
* @var AbstractArticlePageAdminType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
namespace Kunstmaan\ArticleBundle\Tests\Form;

use Kunstmaan\ArticleBundle\Form\AbstractAuthorAdminType;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Form\FormBuilder;

/**
* Class AbstractAuthorAdminTypeTest
*/
class AbstractAuthorAdminTypeTest extends PHPUnit_Framework_TestCase
class AbstractAuthorAdminTypeTest extends TestCase
{
public function testGettersAndSetters()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
namespace Kunstmaan\ArticleBundle\Tests\Form;

use Kunstmaan\ArticleBundle\PagePartAdmin\AbstractArticleOverviewPagePagePartAdminConfigurator;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;

/**
* Class AbstractArticleOverviewPagePagePartAdminConfiguratorTest
*/
class AbstractArticleOverviewPagePagePartAdminConfiguratorTest extends PHPUnit_Framework_TestCase
class AbstractArticleOverviewPagePagePartAdminConfiguratorTest extends TestCase
{
public function testGettersAndSetters()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
namespace Kunstmaan\ArticleBundle\Tests\Form;

use Kunstmaan\ArticleBundle\PagePartAdmin\AbstractArticlePagePagePartAdminConfigurator;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;

/**
* Class AbstractArticlePagePagePartAdminConfiguratorTest
*/
class AbstractArticlePagePagePartAdminConfiguratorTest extends PHPUnit_Framework_TestCase
class AbstractArticlePagePagePartAdminConfiguratorTest extends TestCase
{
public function testGettersAndSetters()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Doctrine\ORM\Mapping\ClassMetadata;
use Doctrine\ORM\QueryBuilder;
use Kunstmaan\ArticleBundle\Repository\AbstractArticleOverviewPageRepository;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
use Tests\DoctrineExtensions\Taggable\Fixtures\Article;

class Repo extends AbstractArticleOverviewPageRepository
Expand All @@ -17,7 +17,7 @@ class Repo extends AbstractArticleOverviewPageRepository
/**
* Class AbstractArticleOverviewPageRepositoryTest
*/
class AbstractArticleOverviewPageRepositoryTest extends PHPUnit_Framework_TestCase
class AbstractArticleOverviewPageRepositoryTest extends TestCase
{
public function testFindActiveOverviewPages()
{
Expand Down
12 changes: 9 additions & 3 deletions src/Kunstmaan/ArticleBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@
],
"require": {
"php": "^7.1",
"kunstmaan/admin-bundle": "~5.2",
"kunstmaan/adminlist-bundle": "~5.2",
"kunstmaan/node-bundle": "~5.2"
"kunstmaan/adminlist-bundle": "^5.2",
"kunstmaan/pagepart-bundle": "^5.2"
},
"require-dev": {
"codeception/codeception": "^2.5",
"matthiasnoback/symfony-config-test": "^4.0",
"matthiasnoback/symfony-dependency-injection-test": "^3.1",
"symfony/phpunit-bridge": "^4.2",
"phpunit/phpunit": "^7.5"
},
"autoload": {
"psr-4": { "Kunstmaan\\ArticleBundle\\": "" }
Expand Down