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

master
Giandonn 6 days 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 <?php
/**
* This file is part of TypePHP(AOT).
*
* @link https://www.swoole.com/aot/
* @contact service@swoole.com
*/
function main(): void function main(): void
{ {
$a = 1; $a = 1;

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

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

Loading…
Cancel
Save