Ps2ffx   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 4
c 0
b 0
f 0
dl 0
loc 10
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A populateTable() 0 8 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace PBurggraf\CRC\CRC16;
6
7
/**
8
 * @author Philip Burggraf <[email protected]>
9
 */
10
class Ps2ffx extends SpiFujitsu
11
{
12
    public function populateTable(): array
13
    {
14
        $table = parent::populateTable();
15
16
        // The lookup table of the final fantasy x savegame is broken for position 0xff
17
        $table[0xFF] = 0;
18
19
        return $table;
20
    }
21
}
22