Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed Jan 6, 2020
1 parent cda8f48 commit e91ac35
Show file tree
Hide file tree
Showing 21 changed files with 27 additions and 25 deletions.
2 changes: 1 addition & 1 deletion Alert/AlertFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace WBW\Bundle\BootstrapBundle\Alert;

use WBW\Library\Core\Argument\ArrayHelper;
use WBW\Library\Core\Argument\Helper\ArrayHelper;

/**
* Alert factory.
Expand Down
2 changes: 1 addition & 1 deletion Badge/BadgeFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace WBW\Bundle\BootstrapBundle\Badge;

use WBW\Library\Core\Argument\ArrayHelper;
use WBW\Library\Core\Argument\Helper\ArrayHelper;

/**
* Badge factory.
Expand Down
2 changes: 1 addition & 1 deletion Button/ButtonFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace WBW\Bundle\BootstrapBundle\Button;

use WBW\Library\Core\Argument\ArrayHelper;
use WBW\Library\Core\Argument\Helper\ArrayHelper;

/**
* Button factory.
Expand Down
2 changes: 1 addition & 1 deletion ProgressBar/ProgressBarFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace WBW\Bundle\BootstrapBundle\ProgressBar;

use WBW\Library\Core\Argument\ArrayHelper;
use WBW\Library\Core\Argument\Helper\ArrayHelper;

/**
* Progress bar factory.
Expand Down
8 changes: 5 additions & 3 deletions Tests/Twig/Extension/CSS/ImageTwigExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
use Twig\TwigFunction;
use WBW\Bundle\BootstrapBundle\Tests\AbstractTestCase;
use WBW\Bundle\BootstrapBundle\Twig\Extension\CSS\ImageTwigExtension;
use WBW\Library\Core\FileSystem\FileHelper;

/**
* Image Twig extension.
Expand All @@ -35,7 +34,7 @@ class ImageTwigExtensionTest extends AbstractTestCase {
public function testBootstrapImageBase64Function() {

// Set the mocks.
$ref = FileHelper::getContents(getcwd() . "/Tests/Twig/Extension/CSS/ImageTwigExtensionTest.txt");
$ref = file_get_contents(getcwd() . "/Tests/Twig/Extension/CSS/ImageTwigExtensionTest.txt");
$src = getcwd() . "/Resources/doc/screenshot_1024x0860.png";

$obj = new ImageTwigExtension($this->twigEnvironment);
Expand Down Expand Up @@ -96,7 +95,7 @@ public function testBootstrapImageBase64FunctionWithHeight() {
public function testBootstrapImageBase64FunctionWithSrc() {

// Set the mocks.
$ref = FileHelper::getContents(getcwd() . "/Tests/Twig/Extension/CSS/ImageTwigExtensionTest.txt");
$ref = file_get_contents(getcwd() . "/Tests/Twig/Extension/CSS/ImageTwigExtensionTest.txt");
$src = getcwd() . "/Resources/doc/screenshot_1024x0860.png";

$obj = new ImageTwigExtension($this->twigEnvironment);
Expand All @@ -110,6 +109,7 @@ public function testBootstrapImageBase64FunctionWithSrc() {
* Tests the bootstrapImageBase64Function() method.
*
* @return void
* @throws Exception Throws an exception if an error occurs.
*/
public function testBootstrapImageBase64FunctionWithUsemap() {

Expand All @@ -124,6 +124,7 @@ public function testBootstrapImageBase64FunctionWithUsemap() {
* Tests the bootstrapImageBase64Function() method.
*
* @return void
* @throws Exception Throws an exception if an error occurs.
*/
public function testBootstrapImageBase64FunctionWithWidth() {

Expand All @@ -138,6 +139,7 @@ public function testBootstrapImageBase64FunctionWithWidth() {
* Tests the bootstrapImageBase64Function() method.
*
* @return void
* @throws Exception Throws an exception if an error occurs.
*/
public function testBootstrapImageBase64FunctionWithoutArguments() {

Expand Down
2 changes: 1 addition & 1 deletion Twig/Extension/CSS/AbstractImageTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace WBW\Bundle\BootstrapBundle\Twig\Extension\CSS;

use WBW\Bundle\BootstrapBundle\Twig\Extension\AbstractTwigExtension;
use WBW\Library\Core\Argument\StringHelper;
use WBW\Library\Core\Argument\Helper\StringHelper;

/**
* Abstract image Twig extension.
Expand Down
4 changes: 2 additions & 2 deletions Twig/Extension/CSS/ButtonTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
use Twig\TwigFilter;
use Twig\TwigFunction;
use WBW\Bundle\BootstrapBundle\Button\ButtonFactory;
use WBW\Library\Core\Argument\ArrayHelper;
use WBW\Library\Core\Argument\StringHelper;
use WBW\Library\Core\Argument\Helper\ArrayHelper;
use WBW\Library\Core\Argument\Helper\StringHelper;

/**
* Button Twig extension.
Expand Down
2 changes: 1 addition & 1 deletion Twig/Extension/CSS/CodeTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace WBW\Bundle\BootstrapBundle\Twig\Extension\CSS;

use Twig\TwigFunction;
use WBW\Library\Core\Argument\ArrayHelper;
use WBW\Library\Core\Argument\Helper\ArrayHelper;

/**
* Code Twig extension.
Expand Down
2 changes: 1 addition & 1 deletion Twig/Extension/CSS/GridTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace WBW\Bundle\BootstrapBundle\Twig\Extension\CSS;

use Twig\TwigFunction;
use WBW\Library\Core\Argument\ArrayHelper;
use WBW\Library\Core\Argument\Helper\ArrayHelper;

/**
* Grid Twig extension.
Expand Down
2 changes: 1 addition & 1 deletion Twig/Extension/CSS/ImageTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Symfony\Component\Serializer\Exception\ExceptionInterface;
use Symfony\Component\Serializer\Normalizer\DataUriNormalizer;
use Twig\TwigFunction;
use WBW\Library\Core\Argument\ArrayHelper;
use WBW\Library\Core\Argument\Helper\ArrayHelper;

/**
* Image Twig extension.
Expand Down
2 changes: 1 addition & 1 deletion Twig/Extension/CSS/TypographyTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace WBW\Bundle\BootstrapBundle\Twig\Extension\CSS;

use Twig\TwigFunction;
use WBW\Library\Core\Argument\ArrayHelper;
use WBW\Library\Core\Argument\Helper\ArrayHelper;

/**
* Typography Twig extension.
Expand Down
2 changes: 1 addition & 1 deletion Twig/Extension/Component/AbstractDropdownTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use WBW\Bundle\BootstrapBundle\Button\ButtonEnumerator;
use WBW\Bundle\BootstrapBundle\Twig\Extension\AbstractTwigExtension;
use WBW\Library\Core\Argument\StringHelper;
use WBW\Library\Core\Argument\Helper\StringHelper;

/**
* Abstract dropdown Twig extension.
Expand Down
2 changes: 1 addition & 1 deletion Twig/Extension/Component/AlertTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Twig\TwigFunction;
use WBW\Bundle\BootstrapBundle\Alert\AlertFactory;
use WBW\Bundle\CoreBundle\Navigation\NavigationInterface;
use WBW\Library\Core\Argument\ArrayHelper;
use WBW\Library\Core\Argument\Helper\ArrayHelper;

/**
* Alert Twig extension.
Expand Down
2 changes: 1 addition & 1 deletion Twig/Extension/Component/BadgeTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Twig\TwigFilter;
use Twig\TwigFunction;
use WBW\Bundle\BootstrapBundle\Badge\BadgeFactory;
use WBW\Library\Core\Argument\StringHelper;
use WBW\Library\Core\Argument\Helper\StringHelper;

/**
* Badge component Twig extension.
Expand Down
2 changes: 1 addition & 1 deletion Twig/Extension/Component/DropdownTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace WBW\Bundle\BootstrapBundle\Twig\Extension\Component;

use Twig\TwigFunction;
use WBW\Library\Core\Argument\ArrayHelper;
use WBW\Library\Core\Argument\Helper\ArrayHelper;

/**
* Dropdown Twig extension.
Expand Down
2 changes: 1 addition & 1 deletion Twig/Extension/Component/GlyphiconTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use Twig\TwigFunction;
use WBW\Bundle\CoreBundle\Renderer\IconRendererInterface;
use WBW\Library\Core\Argument\ArrayHelper;
use WBW\Library\Core\Argument\Helper\ArrayHelper;

/**
* Glyphicon Twig extension.
Expand Down
2 changes: 1 addition & 1 deletion Twig/Extension/Component/LabelTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use Twig\TwigFunction;
use WBW\Bundle\BootstrapBundle\WBWBootstrapInterface;
use WBW\Library\Core\Argument\ArrayHelper;
use WBW\Library\Core\Argument\Helper\ArrayHelper;

/**
* Label Twig extension.
Expand Down
2 changes: 1 addition & 1 deletion Twig/Extension/Component/NavTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace WBW\Bundle\BootstrapBundle\Twig\Extension\Component;

use Twig\TwigFunction;
use WBW\Library\Core\Argument\ArrayHelper;
use WBW\Library\Core\Argument\Helper\ArrayHelper;

/**
* Nav component Twig extension.
Expand Down
2 changes: 1 addition & 1 deletion Twig/Extension/Utility/FormButtonTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Twig\TwigFunction;
use WBW\Bundle\BootstrapBundle\Twig\Extension\CSS\ButtonTwigExtension;
use WBW\Bundle\BootstrapBundle\Twig\Extension\CSS\ButtonTwigExtensionTrait;
use WBW\Library\Core\Argument\ArrayHelper;
use WBW\Library\Core\Argument\Helper\ArrayHelper;

/**
* Form button Twig extension.
Expand Down
2 changes: 1 addition & 1 deletion Twig/Extension/Utility/TableButtonTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Twig\TwigFunction;
use WBW\Bundle\BootstrapBundle\Twig\Extension\CSS\ButtonTwigExtension;
use WBW\Bundle\BootstrapBundle\Twig\Extension\CSS\ButtonTwigExtensionTrait;
use WBW\Library\Core\Argument\ArrayHelper;
use WBW\Library\Core\Argument\Helper\ArrayHelper;

/**
* Table button Twig extension.
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"symfony/serializer": "^2.7|^3.0|^4.0",
"symfony/translation": "^2.7|^3.0|^4.0",
"twig/twig": "^1.0||^2.0",
"webeweb/core-bundle": "^2.14",
"webeweb/core-library": "^5.1"
"webeweb/core-bundle": "^2.15",
"webeweb/core-library": "^6.0"
},
"require-dev": {
"phpunit/phpunit": "^5.7|^7.0",
Expand Down

0 comments on commit e91ac35

Please sign in to comment.