Skip to content

Commit 485b1b7

Browse files
committed
Added declare(strict_types=1)
1 parent 16524f9 commit 485b1b7

35 files changed

+70
-0
lines changed

src/PhpDepend.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace CzProject\PhpDepend;
46

57

src/PhpToken.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace CzProject\PhpDepend;
46

57

src/PhpTokens.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace CzProject\PhpDepend;
46

57

src/exceptions.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace CzProject\PhpDepend;
46

57

tests/PhpDepend/PhpDepend.anonymous-classes.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
/**
46
* @phpversion >= 5.4
57
*/

tests/PhpDepend/PhpDepend.basic-dependencies.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use Tester\Assert;
46

57
require __DIR__ . '/bootstrap.php';

tests/PhpDepend/PhpDepend.basic.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use Tester\Assert;
46

57
require __DIR__ . '/bootstrap.php';

tests/PhpDepend/PhpDepend.implements.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use Tester\Assert;
46

57
require __DIR__ . '/bootstrap.php';

tests/PhpDepend/PhpDepend.multi-ns.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use Tester\Assert;
46

57
require __DIR__ . '/bootstrap.php';

tests/PhpDepend/PhpDepend.parseFile.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use Tester\Assert;
46

57
require __DIR__ . '/bootstrap.php';

0 commit comments

Comments
 (0)