1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Add trailing commas

This commit is contained in:
Matthew Brown 2017-06-05 22:12:19 -04:00
parent 81223c45e0
commit 1fee30d065

View File

@ -47,7 +47,7 @@ class IncludeTest extends TestCase
class A{}',
],
'files_to_check' => [
getcwd() . DIRECTORY_SEPARATOR . 'file2.php'
getcwd() . DIRECTORY_SEPARATOR . 'file2.php',
],
],
'nestedRequire' => [
@ -73,7 +73,7 @@ class IncludeTest extends TestCase
}',
],
'files_to_check' => [
getcwd() . DIRECTORY_SEPARATOR . 'file3.php'
getcwd() . DIRECTORY_SEPARATOR . 'file3.php',
],
],
'requireNamespace' => [
@ -93,7 +93,7 @@ class IncludeTest extends TestCase
}',
],
'files_to_check' => [
getcwd() . DIRECTORY_SEPARATOR . 'file2.php'
getcwd() . DIRECTORY_SEPARATOR . 'file2.php',
],
],
'requireFunction' => [
@ -108,7 +108,7 @@ class IncludeTest extends TestCase
fooFoo();',
],
'files_to_check' => [
getcwd() . DIRECTORY_SEPARATOR . 'file2.php'
getcwd() . DIRECTORY_SEPARATOR . 'file2.php',
],
],
'requireNamespacedWithUse' => [
@ -130,7 +130,7 @@ class IncludeTest extends TestCase
}',
],
'files_to_check' => [
getcwd() . DIRECTORY_SEPARATOR . 'file2.php'
getcwd() . DIRECTORY_SEPARATOR . 'file2.php',
],
],
'noInfiniteRequireLoop' => [