These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | /** |
||
3 | * CSVelte: Slender, elegant CSV for PHP |
||
4 | * Inspired by Python's CSV module and Frictionless Data and the W3C's CSV |
||
5 | * standardization efforts, CSVelte was written in an effort to take all the |
||
6 | * suck out of working with CSV. |
||
7 | * |
||
8 | * @version v0.2 |
||
9 | * @copyright Copyright (c) 2016 Luke Visinoni <[email protected]> |
||
10 | * @author Luke Visinoni <[email protected]> |
||
11 | * @license https://github.com/deni-zen/csvelte/blob/master/LICENSE The MIT License (MIT) |
||
12 | */ |
||
13 | namespace CSVelte\Flavor; |
||
14 | |||
15 | use CSVelte\Flavor as FlavorBase; |
||
16 | |||
17 | /** |
||
18 | * Excel CSV "flavor" |
||
19 | * This is the most common flavor of CSV as it is what is produced by Excel, the |
||
20 | * 900 pound Gorilla of CSV importing/exporting. It is also technically the |
||
21 | * "standard" CSV format according to RFC 4180 |
||
22 | * |
||
23 | * @package CSVelte\Reader |
||
24 | * @copyright (c) 2016, Luke Visinoni <[email protected]> |
||
25 | * @author Luke Visinoni <[email protected]> |
||
26 | * @see https://tools.ietf.org/html/rfc4180 |
||
27 | */ |
||
28 | class Excel extends FlavorBase |
||
29 | { |
||
30 | protected $escapeChar = null; |
||
31 | // protected $doubleQuote = true; |
||
0 ignored issues
–
show
|
|||
32 | } |
||
33 |
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.
The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.
This check looks for comments that seem to be mostly valid code and reports them.