"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "vendor/sabre/vobject/lib/Component.php" between
sabredav-3.1.2.zip and sabredav-3.1.3.zip

About: SabreDAV allows you to easily add WebDAV support to a PHP application.

Component.php  (sabredav-3.1.2):Component.php  (sabredav-3.1.3)
skipping to change at line 643 skipping to change at line 643
'message' => $propName . ' MUST NOT appear in a ' . $this->name . ' component', 'message' => $propName . ' MUST NOT appear in a ' . $this->name . ' component',
'node' => $this, 'node' => $this,
]; ];
} }
break; break;
case '1' : case '1' :
if (!isset($propertyCounters[$propName]) || $propertyCounter s[$propName] !== 1) { if (!isset($propertyCounters[$propName]) || $propertyCounter s[$propName] !== 1) {
$repaired = false; $repaired = false;
if ($options & self::REPAIR && isset($defaults[$propName ])) { if ($options & self::REPAIR && isset($defaults[$propName ])) {
$this->add($propName, $defaults[$propName]); $this->add($propName, $defaults[$propName]);
$repaired = true;
} }
$messages[] = [ $messages[] = [
'level' => $repaired ? 1 : 3, 'level' => $repaired ? 1 : 3,
'message' => $propName . ' MUST appear exactly once in a ' . $this->name . ' component', 'message' => $propName . ' MUST appear exactly once in a ' . $this->name . ' component',
'node' => $this, 'node' => $this,
]; ];
} }
break; break;
case '+' : case '+' :
if (!isset($propertyCounters[$propName]) || $propertyCounter s[$propName] < 1) { if (!isset($propertyCounters[$propName]) || $propertyCounter s[$propName] < 1) {
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS