Skip to content

Commit

Permalink
Fix PHPCS errors using PHPCBF (openemr#3413)
Browse files Browse the repository at this point in the history
  • Loading branch information
prondubuisi authored Apr 23, 2020
1 parent 9607884 commit 70705ea
Show file tree
Hide file tree
Showing 63 changed files with 65 additions and 1 deletion.
1 change: 1 addition & 0 deletions contrib/forms/hand/report.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Copyright (C) 2009 Aron Racho <aron@mi-squared.com>
//
// This program is free software; you can redistribute it and/or
Expand Down
1 change: 1 addition & 0 deletions contrib/forms/hist_exam_plan/new.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

//////////////////////////////////////////////////////////////////////
// ------------------ DO NOT MODIFY VIEW.PHP !!! ---------------------
// View.php is an exact duplicate of new.php. If you wish to make
Expand Down
1 change: 1 addition & 0 deletions contrib/forms/hist_exam_plan/view.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

//////////////////////////////////////////////////////////////////////
// ------------------ DO NOT MODIFY VIEW.PHP !!! ---------------------
// View.php is an exact duplicate of new.php. If you wish to make
Expand Down
1 change: 1 addition & 0 deletions contrib/forms/individual_treatment_plan/new.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

require_once("../../globals.php");
require_once("$srcdir/api.inc");

Expand Down
1 change: 1 addition & 0 deletions contrib/forms/individual_treatment_plan/view.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

require_once("../../globals.php");

use OpenEMR\Core\Header;
Expand Down
1 change: 1 addition & 0 deletions contrib/forms/ippf_srh/new.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Copyright (C) 2009 Rod Roark <rod@sunsetsystems.com>
//
// This program is free software; you can redistribute it and/or
Expand Down
1 change: 1 addition & 0 deletions contrib/forms/leg_length/report.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Copyright (C) 2009 Aron Racho <aron@mi-squared.com>
//
// This program is free software; you can redistribute it and/or
Expand Down
1 change: 1 addition & 0 deletions contrib/forms/psychiatrySet/brief_aan_verwijzer/new.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* brief_aan_verwijzer
* letter to verwijzer - Dutch specific form
Expand Down
1 change: 1 addition & 0 deletions contrib/forms/psychiatrySet/brief_aan_verwijzer/view.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* brief_aan_verwijzer
* letter to ... - Dutch specific form
Expand Down
1 change: 1 addition & 0 deletions contrib/forms/psychiatrySet/intakeverslag/new.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Intakeverslag
* Report of First visit - Dutch specific form
Expand Down
1 change: 1 addition & 0 deletions contrib/forms/psychiatrySet/intakeverslag/view.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Intakeverslag - view
* Report of First visit - Dutch specific form
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* PSYCHIATRISCH ONDERZOEK
* Report of Research psihiatric - Dutch specific form
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Psychiatrisch Onderzoek
* Report of Research psihiatric - Dutch specific form
Expand Down
1 change: 1 addition & 0 deletions contrib/forms/rom/report.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Copyright (C) 2009 Aron Racho <aron@mi-squared.com>
//
// This program is free software; you can redistribute it and/or
Expand Down
1 change: 1 addition & 0 deletions contrib/forms/snellen/report.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Copyright (C) 2009 Aron Racho <aron@mi-squared.com>
//
// This program is free software; you can redistribute it and/or
Expand Down
1 change: 1 addition & 0 deletions contrib/forms/soccer_injury/new.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

//////////////////////////////////////////////////////////////////////
// ------------------ DO NOT MODIFY VIEW.PHP !!! ---------------------
// View.php is an exact duplicate of new.php. If you wish to make
Expand Down
1 change: 1 addition & 0 deletions contrib/forms/soccer_injury/view.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

//////////////////////////////////////////////////////////////////////
// ------------------ DO NOT MODIFY VIEW.PHP !!! ---------------------
// View.php is an exact duplicate of new.php. If you wish to make
Expand Down
1 change: 1 addition & 0 deletions contrib/forms/specialist_notes/new.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

//////////////////////////////////////////////////////////////////////
// ------------------ DO NOT MODIFY VIEW.PHP !!! ---------------------
// View.php is an exact duplicate of new.php. If you wish to make
Expand Down
1 change: 1 addition & 0 deletions contrib/forms/specialist_notes/view.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

//////////////////////////////////////////////////////////////////////
// ------------------ DO NOT MODIFY VIEW.PHP !!! ---------------------
// View.php is an exact duplicate of new.php. If you wish to make
Expand Down
1 change: 1 addition & 0 deletions contrib/forms/sports_fitness/new.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

//////////////////////////////////////////////////////////////////////
// ------------------ DO NOT MODIFY VIEW.PHP !!! ---------------------
// View.php is an exact duplicate of new.php. If you wish to make
Expand Down
1 change: 1 addition & 0 deletions contrib/forms/sports_fitness/view.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

//////////////////////////////////////////////////////////////////////
// ------------------ DO NOT MODIFY VIEW.PHP !!! ---------------------
// View.php is an exact duplicate of new.php. If you wish to make
Expand Down
1 change: 1 addition & 0 deletions custom/export_registry_xml.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Copyright (C) 2011 Ensoftek
//
// This program is free software; you can redistribute it and/or
Expand Down
1 change: 1 addition & 0 deletions interface/billing/billing_process.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Billing process Program
*
Expand Down
1 change: 1 addition & 0 deletions interface/billing/edit_payment.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Payments can be edited here whch includes deletion of an allocation, modifying the
* same or adding a new allocation. Log is kept for the deleted ones.
Expand Down
1 change: 1 addition & 0 deletions interface/billing/era_payments.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* The functions of this class support the billing process like the script billing_process.php.
*
Expand Down
1 change: 1 addition & 0 deletions interface/billing/payment_master.inc.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Check/cash details are entered here.Used in New Payment and Edit Payment screen.
* Special list function
Expand Down
1 change: 1 addition & 0 deletions interface/billing/print_billing_report.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Print billing report.
*
Expand Down
1 change: 1 addition & 0 deletions interface/billing/print_daysheet_report_num1.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* interface/billing/print_daysheet_report.php Genetating an end of day report.
*
Expand Down
1 change: 1 addition & 0 deletions interface/billing/print_daysheet_report_num2.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* interface/billing/print_daysheet_report.php Genetating an end of day report.
*
Expand Down
1 change: 1 addition & 0 deletions interface/billing/print_daysheet_report_num3.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* interface/billing/print_daysheet_report.php Genetating an end of day report.
*
Expand Down
1 change: 1 addition & 0 deletions interface/drugs/add_edit_drug.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Copyright (C) 2006-2017 Rod Roark <rod@sunsetsystems.com>
//
// This program is free software; you can redistribute it and/or
Expand Down
1 change: 1 addition & 0 deletions interface/drugs/dispense_drug.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Copyright (C) 2006 Rod Roark <rod@sunsetsystems.com>
//
// This program is free software; you can redistribute it and/or
Expand Down
1 change: 1 addition & 0 deletions interface/drugs/drug_inventory.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Copyright (C) 2006-2016 Rod Roark <rod@sunsetsystems.com>
//
// This program is free software; you can redistribute it and/or
Expand Down
1 change: 1 addition & 0 deletions interface/fax/faxq.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Copyright (C) 2006 Rod Roark <rod@sunsetsystems.com>
//
// This program is free software; you can redistribute it and/or
Expand Down
1 change: 1 addition & 0 deletions interface/forms/fee_sheet/new.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Fee Sheet Program used to create charges, copays and add diagnosis codes to the encounter
*
Expand Down
1 change: 1 addition & 0 deletions interface/forms/misc_billing_options/new.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* This program creates the misc_billing_form
*
Expand Down
1 change: 1 addition & 0 deletions interface/forms/note/new.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Work/School Note Form new.php
*
Expand Down
1 change: 1 addition & 0 deletions interface/forms/note/print.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Work/School Note Form print.php
*
Expand Down
1 change: 1 addition & 0 deletions interface/forms/note/view.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Work/School Note Form view.php
*
Expand Down
1 change: 1 addition & 0 deletions interface/forms_admin/forms_admin.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
Expand Down
1 change: 1 addition & 0 deletions interface/main/calendar/add_edit_event.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Add or edit an event in the calendar.
*
Expand Down
1 change: 1 addition & 0 deletions interface/main/calendar/find_patient_popup.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/* Copyright (C) 2005-2007 Rod Roark <rod@sunsetsystems.com>
*
* This program is free software; you can redistribute it and/or
Expand Down
1 change: 1 addition & 0 deletions interface/main/finder/patient_select_help.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

require_once("../../globals.php");

use OpenEMR\Core\Header;
Expand Down
1 change: 1 addition & 0 deletions interface/super/rules/base/template/redirect.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Copyright (C) 2010-2011 Aron Racho <aron@mi-squred.com>
//
// This program is free software; you can redistribute it and/or
Expand Down
1 change: 1 addition & 0 deletions ippf_upgrade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Copyright (C) 2009 Rod Roark <rod@sunsetsystems.com>
//
// This program is free software; you can redistribute it and/or
Expand Down
1 change: 1 addition & 0 deletions library/api.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

//our api for 3rd party developers
require_once(dirname(__FILE__) . "/../interface/globals.php");

Expand Down
1 change: 1 addition & 0 deletions library/custom_template/add_context.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// +-----------------------------------------------------------------------------+
// Copyright (C) 2011 Z&H Consultancy Services Private Limited <sam@zhservices.com>
//
Expand Down
1 change: 1 addition & 0 deletions library/custom_template/add_custombutton.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// +-----------------------------------------------------------------------------+
// Copyright (C) 2011 Z&H Consultancy Services Private Limited <sam@zhservices.com>
//
Expand Down
1 change: 1 addition & 0 deletions library/custom_template/add_template.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// +-----------------------------------------------------------------------------+
// Copyright (C) 2011 Z&H Consultancy Services Private Limited <sam@zhservices.com>
//
Expand Down
1 change: 1 addition & 0 deletions library/custom_template/custom_template.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// +-----------------------------------------------------------------------------+
// Copyright (C) 2011 Z&H Consultancy Services Private Limited <sam@zhservices.com>
//
Expand Down
1 change: 1 addition & 0 deletions library/custom_template/delete_category.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// +-----------------------------------------------------------------------------+
// Copyright (C) 2011 Z&H Consultancy Services Private Limited <sam@zhservices.com>
//
Expand Down
1 change: 1 addition & 0 deletions library/custom_template/quest_popup.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// +-----------------------------------------------------------------------------+
// Copyright (C) 2011 Z&H Consultancy Services Private Limited <sam@zhservices.com>
//
Expand Down
1 change: 1 addition & 0 deletions library/custom_template/save_as.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// +-----------------------------------------------------------------------------+
// Copyright (C) 2011 Z&H Consultancy Services Private Limited <sam@zhservices.com>
//
Expand Down
1 change: 1 addition & 0 deletions library/custom_template/share_template.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// +-----------------------------------------------------------------------------+
// Copyright (C) 2011 Z&H Consultancy Services Private Limited <sam@zhservices.com>
//
Expand Down
1 change: 1 addition & 0 deletions library/erx_javascript.inc.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// +-----------------------------------------------------------------------------+
// Copyright (C) 2011 ZMG LLC <sam@zhservices.com>
//
Expand Down
1 change: 1 addition & 0 deletions library/options.inc.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Copyright (C) 2007-2019 Rod Roark <rod@sunsetsystems.com>
// Copyright © 2010 by Andrew Moore <amoore@cpan.org>
// Copyright © 2010 by "Boyd Stephen Smith Jr." <bss@iguanasuicide.net>
Expand Down
1 change: 1 addition & 0 deletions library/payment_jav.inc.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// +-----------------------------------------------------------------------------+
// Copyright (C) 2010 Z&H Consultancy Services Private Limited <sam@zhservices.com>
//
Expand Down
1 change: 1 addition & 0 deletions modules/sms_email_reminder/batch_reminders.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Copyright (C) 2010 OpenEMR Support LLC
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
Expand Down
1 change: 1 addition & 0 deletions myportal/index.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// +-----------------------------------------------------------------------------+
// Copyright (C) 2011 Z&H Consultancy Services Private Limited <sam@zhservices.com>
//
Expand Down
4 changes: 3 additions & 1 deletion portal/patient/templates/_Footer.tpl.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php echo "<!-- footer -->\n"; ?>
<?php

echo "<!-- footer -->\n"; ?>
<div class="container">
<hr id="footer-hr" />
<footer>
Expand Down
1 change: 1 addition & 0 deletions sql_patch.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Copyright (C) 2008-2010 Rod Roark <rod@sunsetsystems.com>
//
// This program is free software; you can redistribute it and/or
Expand Down
1 change: 1 addition & 0 deletions sql_upgrade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

// Copyright (C) 2008-2010 Rod Roark <rod@sunsetsystems.com>
//
// This program is free software; you can redistribute it and/or
Expand Down
1 change: 1 addition & 0 deletions tests/old_unit_dir/code_types/CodesTests.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

$GLOBALS['OE_SITE_DIR'] = "/var/www/openemr/sites/default";
set_include_path(get_include_path() . PATH_SEPARATOR . "/var/www/openemr");
require_once("library/sql.inc");
Expand Down

0 comments on commit 70705ea

Please sign in to comment.