Completed
Push — master ( 490450...14c780 )
by Christian
02:27
created

StackTest::testCreation()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 7
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
class StackTest extends PHPUnit_Framework_TestCase
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
3
{
4
    public function testCreation()
5
    {
6
        $assetHelper = new AssetHelper\AssetHelper;
7
8
        $this->assertContains('test.css', $assetHelper->link_css('test.css'));
9
        $this->assertContains('test.js', $assetHelper->link_js('test.js'));
10
    }
11
}
12