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\Head;
class Plac
{
* @param string $format
* @param int $level
* @return string
public static function convert(\Gedcom\Record\Head\Plac &$plac, $level)
$output = $level." PLAC \n";
// level up
$level++;
// FORM
$form = $plac->getForm();
getForm()
Gedcom\Record\Head\Plac
__call
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
/** @scrutinizer ignore-call */
if ($form) {
$output .= $level.' FORM '.$form."\n";
$form
Gedcom\Record\Head\Plac|mixed
concatenation
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
ignore-type
$output .= $level.' FORM './** @scrutinizer ignore-type */ $form."\n";
}
return $output;