fix: package lock fingerprint

This commit is contained in:
nuno maduro
2026-07-18 01:10:01 +01:00
parent 9e79e491e2
commit 820fa08313
237 changed files with 2409 additions and 2100 deletions
+4 -2
View File
@@ -1,9 +1,11 @@
<?php
test('error', function () {
declare(strict_types=1);
test('error', function (): void {
throw new Exception('error');
})->skip(! isset($_SERVER['COLLISION_TEST']));
test('success', function () {
test('success', function (): void {
expect(true)->toBeTrue();
})->skip(! isset($_SERVER['COLLISION_TEST']));
+2
View File
@@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Tests\Fixtures\Covers;
class CoversClass1
+2
View File
@@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Tests\Fixtures\Covers;
class CoversClass2 {}
+2
View File
@@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Tests\Fixtures\Covers;
class CoversClass3 {}
+2
View File
@@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Tests\Fixtures\Covers;
trait CoversTrait {}
@@ -1,12 +1,14 @@
<?php
declare(strict_types=1);
namespace Tests\Fixtures\Inheritance\Base;
use PHPUnit\Framework\TestCase;
class ExampleTest extends TestCase
{
public function test_example()
public function test_example(): void
{
$this->markTestSkipped();
}
+4 -1
View File
@@ -1,12 +1,15 @@
<?php
declare(strict_types=1);
namespace Tests\Fixtures\Inheritance;
class ExampleTest extends Base\ExampleTest
{
protected $foo;
public function test_example()
#[\Override]
public function test_example(): void
{
$this->assertTrue(true);
}
@@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
dataset('nested.users', [
['alice'],
['bob'],
@@ -1,5 +1,7 @@
<?php
test('loads nested dataset', function (string $name) {
declare(strict_types=1);
test('loads nested dataset', function (string $name): void {
expect($name)->not->toBeEmpty();
})->with('nested.users');
+3 -1
View File
@@ -1,6 +1,8 @@
<?php
test('output', function () {
declare(strict_types=1);
test('output', function (): void {
echo 'this is unexpected output';
expect(true)->toBeTrue();