Home
last modified time | relevance | path

Searched refs:new_gedcom (Results 1 – 11 of 11) sorted by relevance

/webtrees/app/Services/
H A DPendingChangesService.php119 …com::REGEX_XREF . '@ )?(' . Gedcom::REGEX_TAG . ')/', $row->old_gedcom . $row->new_gedcom, $match);
123 $row->record = $factory->new($row->xref, $row->old_gedcom, $row->new_gedcom, $tree);
154 if ($change->new_gedcom === '') {
159 $this->gedcom_import_service->updateRecord($change->new_gedcom, $tree, false);
184 if ($change->new_gedcom === '') {
189 … $this->gedcom_import_service->updateRecord($change->new_gedcom, $record->tree(), false);
215 if ($change->new_gedcom === '') {
220 … $this->gedcom_import_service->updateRecord($change->new_gedcom, $record->tree(), false);
H A DDataFixService.php83 * @param string $new_gedcom
87 public function gedcomDiff(Tree $tree, string $old_gedcom, string $new_gedcom): string argument
90 $new_lines = explode("\n", $new_gedcom);
/webtrees/app/Http/RequestHandlers/
H A DSearchReplaceAction.php160 $new_gedcom = preg_replace($pattern, $replacement, $old_gedcom);
162 if ($new_gedcom !== $old_gedcom) {
163 $record->updateRecord($new_gedcom, true);
186 $new_gedcom = preg_replace($pattern, $replacement, $old_gedcom);
188 if ($new_gedcom !== $old_gedcom) {
189 $record->updateRecord($new_gedcom, true);
H A DDeleteRecord.php74 $new_gedcom = $this->removeLinks($old_gedcom, $record->xref());
75 if ($old_gedcom !== $new_gedcom) {
79 … preg_match('/\n1 (ANUL|CENS|DIV|DIVF|ENGA|MAR[BCLRS]|RESI|EVEN)/', $new_gedcom, $match) !== 1 &&
80 … preg_match_all('/\n1 (HUSB|WIFE|CHIL) @(' . Gedcom::REGEX_XREF . ')@/', $new_gedcom, $match) === 1
98 $linker->updateRecord($new_gedcom, false);
H A DPendingChangesLogData.php83 $new_lines = $row->new_gedcom === '' ? [] : explode("\n", $row->new_gedcom);
H A DPendingChangesLogDownload.php66 '"' . str_replace('"', '""', $row->new_gedcom) . '"',
/webtrees/app/
H A DGedcomRecord.php811 [$new_gedcom] = explode("\n", $old_gedcom, 2);
817 $new_gedcom .= "\n" . $gedcom;
821 $new_gedcom .= "\n" . $this->updateChange($fact->gedcom());
823 $new_gedcom .= "\n" . $fact->gedcom();
829 $new_gedcom .= "\n" . $gedcom;
832 if ($update_chan && !str_contains($new_gedcom, "\n1 CHAN")) {
833 $new_gedcom .= $this->updateChange("\n1 CHAN");
836 if ($new_gedcom !== $old_gedcom) {
842 'new_gedcom' => $new_gedcom,
847 $this->pending = $new_gedcom;
[all …]
/webtrees/app/Module/
H A DReviewChangesModule.php173 …= Registry::gedcomRecordFactory()->make($change->xref, $tree, $change->new_gedcom ?: $change->old_…
H A DRecentChangesModule.php307 … 'record' => Registry::gedcomRecordFactory()->make($row->xref, $tree, $row->new_gedcom),
/webtrees/app/Report/
H A DReportParserGenerate.php1902 …> Registry::gedcomRecordFactory()->make($row->xref, $this->tree, $row->new_gedcom ?: $row->old_ged…
/webtrees/
H A Dphpstan-baseline.neon2602 message: '#^Access to an undefined property object\:\:\$new_gedcom\.$#'
2692 message: '#^Access to an undefined property object\:\:\$new_gedcom\.$#'
5830 message: '#^Access to an undefined property object\:\:\$new_gedcom\.$#'
6040 message: '#^Cannot access property \$new_gedcom on mixed\.$#'
7234 message: '#^Access to an undefined property object\:\:\$new_gedcom\.$#'
8794 message: '#^Cannot access property \$new_gedcom on mixed\.$#'