| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | public function testStoreKey() |
||
| 33 | { |
||
| 34 | $pref = FoxyCart::getKeyPrefix(); |
||
| 35 | $siteConf = FoxyStripeSetting::current_foxystripe_setting(); |
||
| 36 | |||
| 37 | $this->assertTrue(ctype_alnum($siteConf->StoreKey)); |
||
| 38 | $this->assertEquals(strlen($siteConf->StoreKey), 60); |
||
| 39 | $this->assertEquals(substr($siteConf->StoreKey, 0, 6), $pref); |
||
| 40 | } |
||
| 52 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..