Laravel version update
Laravel version update
This commit is contained in:
8
vendor/phpunit/php-token-stream/tests/_fixture/classUsesNamespacedFunction.php
vendored
Normal file
8
vendor/phpunit/php-token-stream/tests/_fixture/classUsesNamespacedFunction.php
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
namespace foo;
|
||||
|
||||
use function bar\baz;
|
||||
|
||||
class Foo
|
||||
{
|
||||
}
|
||||
7
vendor/phpunit/php-token-stream/tests/_fixture/class_with_method_named_empty.php
vendored
Normal file
7
vendor/phpunit/php-token-stream/tests/_fixture/class_with_method_named_empty.php
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
class class_with_method_named_empty
|
||||
{
|
||||
public function empty(): void
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
class class_with_multiple_anonymous_classes_and_functions
|
||||
{
|
||||
public function m()
|
||||
{
|
||||
$c = new class {
|
||||
public function n() {
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
$d = new class {
|
||||
public function o() {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
$f = function ($a, $b) {
|
||||
return $a + $b;
|
||||
};
|
||||
|
||||
$g = function ($a, $b) {
|
||||
return $a - $b;
|
||||
};
|
||||
}
|
||||
}
|
||||
13
vendor/phpunit/php-token-stream/tests/_fixture/php-code-coverage-issue-424.php
vendored
Normal file
13
vendor/phpunit/php-token-stream/tests/_fixture/php-code-coverage-issue-424.php
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
class Example
|
||||
{
|
||||
public function even($numbers)
|
||||
{
|
||||
$numbers = array_filter($numbers, function($number) {
|
||||
return $number % 2 === 0;
|
||||
});
|
||||
|
||||
return array_merge($numbers);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user