mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
Add test config, CS rules and fix CS
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Barryvdh\LaravelIdeHelper;
|
||||
|
||||
class ExampleTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* Test that we can actually instantiate the class
|
||||
*/
|
||||
public function testCanInstantiate()
|
||||
{
|
||||
$class = new \ReflectionClass(Method::class);
|
||||
$method = new \ReflectionMethod(Method::class, 'getDocComment');
|
||||
|
||||
$obj = new Method($method, 'Method', $class);
|
||||
|
||||
$this->assertInstanceOf(Method::class, $obj);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user