Skip to content

Commit

Permalink
strict_types=1
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis committed Apr 15, 2021
1 parent cae9c10 commit a44c022
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .phan/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
* @link https://github.com/JBZoo/Toolbox-Dev
*/

declare(strict_types=1);

$default = include __DIR__ . '/../vendor/jbzoo/codestyle/src/phan/default.php';

return array_merge($default, [
Expand Down
3 changes: 2 additions & 1 deletion src/var-dumper.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
* @license MIT
* @copyright Copyright (C) JBZoo.com, All rights reserved.
* @link https://github.com/JBZoo/Toolbox-Dev
* @author Denis Smetannikov <[email protected]>
*/

declare(strict_types=1);

use Symfony\Component\VarDumper\Cloner\VarCloner;
use Symfony\Component\VarDumper\Dumper\CliDumper;
use Symfony\Component\VarDumper\VarDumper;
Expand Down
2 changes: 2 additions & 0 deletions tests/ToolboxDevCodestyleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
* @link https://github.com/JBZoo/Toolbox-Dev
*/

declare(strict_types=1);

namespace JBZoo\PHPUnit;

/**
Expand Down
2 changes: 2 additions & 0 deletions tests/ToolboxDevComposerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
* @link https://github.com/JBZoo/Toolbox-Dev
*/

declare(strict_types=1);

namespace JBZoo\PHPUnit;

/**
Expand Down
5 changes: 4 additions & 1 deletion tests/ToolboxDevCopyrightTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
* @link https://github.com/JBZoo/Toolbox-Dev
*/

declare(strict_types=1);

namespace JBZoo\PHPUnit;

/**
Expand All @@ -25,5 +27,6 @@ class ToolboxDevCopyrightTest extends AbstractCopyrightTest
/**
* @var string
*/
protected $packageName = 'Toolbox-Dev';
protected $packageName = 'Toolbox-Dev';
protected $isPhpStrictType = true;
}
2 changes: 2 additions & 0 deletions tests/ToolboxDevReadmeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
* @link https://github.com/JBZoo/Toolbox-Dev
*/

declare(strict_types=1);

namespace JBZoo\PHPUnit;

/**
Expand Down
2 changes: 2 additions & 0 deletions tests/ToolboxDevTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
* @link https://github.com/JBZoo/Toolbox-Dev
*/

declare(strict_types=1);

namespace JBZoo\PHPUnit;

/**
Expand Down
2 changes: 2 additions & 0 deletions tests/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
* @link https://github.com/JBZoo/Toolbox-Dev
*/

declare(strict_types=1);

// main autoload
if ($autoload = realpath('./vendor/autoload.php')) {
require_once $autoload;
Expand Down

0 comments on commit a44c022

Please sign in to comment.