for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* MBInfo TO class
*
* PHP version 5
* @category PHP
* @package PSI_TO
* @author Michael Cramer <[email protected]>
* @copyright 2009 phpSysInfo
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @version SVN: $Id: class.UPSInfo.inc.php 329 2009-09-07 11:21:44Z bigmichi1 $
* @link http://phpsysinfo.sourceforge.net
*/
* @version Release: 3.0
class UPSInfo
You can fix this by adding a namespace to your class:
namespace YourVendor; class YourClass { }
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.
{
* array with upsdivices
* @see UPSDevice
* @var Array
private $_upsDevices = array();
* Returns $_upsDevices.
* @see UPSInfo::$_upsDevices
* @return Array
public function getUpsDevices()
return $this->_upsDevices;
}
* Sets $_upsDevices.
* @param UPSDevice $upsDevices upsdevice
* @return Void
public function setUpsDevices($upsDevices)
array_push($this->_upsDevices, $upsDevices);
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.