Skip to content

Commit a1b5663

Browse files
Initial work on enabling strict interpretation of scalar type declarations
1 parent 3552aa5 commit a1b5663

File tree

147 files changed

+149
-149
lines changed

Some content is hidden

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

147 files changed

+149
-149
lines changed

build/binary-phar-autoload.php.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env php
2-
<?php
2+
<?php declare(strict_types=1);
33
if (version_compare('7.0.0', PHP_VERSION, '>')) {
44
fwrite(
55
STDERR,

build/library-phar-autoload.php.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php declare(strict_types=1);
22
define('__PHPUNIT_PHAR__', str_replace(DIRECTORY_SEPARATOR, '/', __FILE__));
33
define('__PHPUNIT_PHAR_ROOT__', 'phar://___PHAR___');
44

build/phar-manifest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env php
2-
<?php
2+
<?php declare(strict_types=1);
33
print 'phpunit/phpunit: ';
44

55
$tag = @\exec('git describe --tags 2>&1');

build/phar-version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env php
2-
<?php
2+
<?php declare(strict_types=1);
33
if (!isset($argv[1]) || !isset($argv[2])) {
44
exit(1);
55
}

build/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env php
2-
<?php
2+
<?php declare(strict_types=1);
33
require __DIR__ . '/../vendor/autoload.php';
44

55
use SebastianBergmann\Version;

phpunit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env php
2-
<?php
2+
<?php declare(strict_types=1);
33
/*
44
* This file is part of PHPUnit.
55
*

src/Exception.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php declare(strict_types=1);
22
/*
33
* This file is part of PHPUnit.
44
*

src/Framework/Assert.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php declare(strict_types=1);
22
/*
33
* This file is part of PHPUnit.
44
*

src/Framework/Assert/Functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php declare(strict_types=1);
22
/*
33
* This file is part of PHPUnit.
44
*

src/Framework/AssertionFailedError.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php declare(strict_types=1);
22
/*
33
* This file is part of PHPUnit.
44
*

0 commit comments

Comments
 (0)