for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* php-gedcom.
*
* php-gedcom is a library for parsing, manipulating, importing and exporting
* GEDCOM 5.5 files in PHP 5.3+.
* @author Xiang Ming <[email protected]>
* @copyright Copyright (c) 2010-2013, Xiang Ming
* @license MIT
* @link http://github.com/mrkrstphr/php-gedcom
*/
namespace Gedcom\Writer\Indi;
class Attr
{
* @param int $level
* @return string
public static function convert(\Gedcom\Record\Indi\Attr &$attr, $level = 0)
$level
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public static function convert(\Gedcom\Record\Indi\Attr &$attr, /** @scrutinizer ignore-unused */ $level = 0)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
$attr
public static function convert(/** @scrutinizer ignore-unused */ \Gedcom\Record\Indi\Attr &$attr, $level = 0)
return '';
}
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.