style: apply the project file header to the new test files

master
Giandonn 1 day ago
parent 044ba91094
commit 8328c4b50a
  1. 7
      phpunit/code/count-literal-fold-safe.php
  2. 7
      phpunit/code/count-literal-fold-unsafe.php
  3. 10
      phpunit/src/CountLiteralFoldTest.php

@ -1,4 +1,11 @@
<?php
/**
* This file is part of TypePHP(AOT).
*
* @link https://www.swoole.com/aot/
* @contact service@swoole.com
*/
function main(): void
{
$a = 1;

@ -1,4 +1,11 @@
<?php
/**
* This file is part of TypePHP(AOT).
*
* @link https://www.swoole.com/aot/
* @contact service@swoole.com
*/
function bump(): int
{
echo "bump\n";

@ -1,10 +1,20 @@
<?php
/**
* This file is part of TypePHP(AOT).
*
* @link https://www.swoole.com/aot/
* @contact service@swoole.com
*/
namespace TypePhp\Tests;
use PHPUnit\Framework\TestCase;
use TypePhp\CompilerTest;
/**
* @internal
* @coversNothing
*/
class CountLiteralFoldTest extends TestCase
{
public function testUnfoldableArrayLiteralsKeepTheRuntimeCall(): void

Loading…
Cancel
Save