Skip to content

Commit cff320a

Browse files
committed
declare(strict_types=1)
1 parent 9be5b49 commit cff320a

122 files changed

Lines changed: 243 additions & 3 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
php: 7.1
2828
install:
2929
# Install Nette Code Checker
30-
- travis_retry composer create-project nette/code-checker temp/code-checker ~2 --no-progress
30+
- travis_retry composer create-project nette/code-checker temp/code-checker ^3.0 --no-progress
3131
# Install Nette Coding Standard
3232
- travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
3333
# Install new Node.js and Eslint
@@ -36,7 +36,7 @@ jobs:
3636
- nvm use stable
3737
- npm install eslint
3838
script:
39-
- php temp/code-checker/code-checker -i tests/Tracy/fixtures -i examples/assets
39+
- php temp/code-checker/code-checker --strict-types -i tests/Tracy/fixtures -i examples/assets
4040
- php temp/coding-standard/ecs check src tests examples tools --config tests/coding-standard.yml
4141
- ./node_modules/.bin/eslint "src/**/*.js"
4242

examples/ajax.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
require __DIR__ . '/../src/tracy.php';
46

57
use Tracy\Debugger;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
$this = 2;

examples/barDump.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
require __DIR__ . '/../src/tracy.php';
46

57
use Tracy\Debugger;

examples/dump.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
require __DIR__ . '/../src/tracy.php';
46

57
use Tracy\Debugger;

examples/exception.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
require __DIR__ . '/../src/tracy.php';
46

57
use Tracy\Debugger;

examples/fatal-error.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
require __DIR__ . '/../src/tracy.php';
46

57
use Tracy\Debugger;

examples/firelogger.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
require __DIR__ . '/../src/tracy.php';
46

57
use Tracy\Debugger;

examples/notice.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
require __DIR__ . '/../src/tracy.php';
46

57
use Tracy\Debugger;

examples/output-debugger.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
require __DIR__ . '/../src/tracy.php';
46

57
Tracy\OutputDebugger::enable();

0 commit comments

Comments
 (0)