Permalink
Browse files

added declare(strict_types=1);

  • Loading branch information...
dg committed Feb 5, 2019
1 parent cc6a1af commit a784303da1cd26a706e4d58dd03826ddd3945b56
@@ -5,6 +5,8 @@
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare(strict_types=1);
namespace Nette\Utils;
@@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
require __DIR__ . '/SafeStream/SafeStream.php';
Nette\Utils\SafeStream::register();
@@ -4,6 +4,8 @@
* Test: Nette\Utils\SafeStream basic usage.
*/
declare(strict_types=1);
use Tester\Assert;
require __DIR__ . '/../bootstrap.php';
@@ -5,6 +5,8 @@
* @multiple 5
*/
declare(strict_types=1);
use Tester\Assert;
@@ -3,6 +3,8 @@
// The Nette Tester command-line runner can be
// invoked through the command: ../vendor/bin/tester .
declare(strict_types=1);
if (@!include __DIR__ . '/../vendor/autoload.php') {
echo 'Install Nette Tester using `composer install`';
exit(1);

0 comments on commit a784303

Please sign in to comment.