Fix coding guidelines

This commit is contained in:
Matthias Jentsch 2014-08-28 16:15:51 +02:00
parent 573a4ea12f
commit f77cd9cafa
4 changed files with 9 additions and 11 deletions

View File

@ -337,3 +337,4 @@ class PieChart extends Chart
$clipBox->addElement($rect); $clipBox->addElement($rect);
} }
} }

View File

@ -32,7 +32,7 @@ class PieSlice extends Animatable implements Drawable
* *
* @var float * @var float
*/ */
private $endRadian= 0; private $endRadian = 0;
/** /**
* The x position of the pie slice's center * The x position of the pie slice's center

View File

@ -1,10 +1,7 @@
<?php <?php
/** // {{{ICINGA_LICENSE_HEADER}}}
* Created by PhpStorm. // {{{ICINGA_LICENSE_HEADER}}}
* User: mjentsch
* Date: 22.07.14
* Time: 10:17
*/
namespace Icinga\Chart\Render; namespace Icinga\Chart\Render;

View File

@ -88,7 +88,7 @@ ul.tree li {
} }
ul.tree li .handle { ul.tree li .handle {
background-image: url('../img/tree/tree-minus.gif'); background-image: url('../img/tree/tree-minus.gif');
background-repeat: no-repeat; background-repeat: no-repeat;
display: inline-block; display: inline-block;
position: absolute; position: absolute;
@ -101,7 +101,7 @@ ul.tree li .handle {
} }
ul.tree li.collapsed > .handle { ul.tree li.collapsed > .handle {
background-image: url('../img/tree/tree-plus.gif'); background-image: url('../img/tree/tree-plus.gif');
} }
ul.tree li.collapsed > ul { ul.tree li.collapsed > ul {
@ -110,7 +110,7 @@ ul.tree li.collapsed > ul {
ul.tree li::before, ul.tree li::after { ul.tree li::before, ul.tree li::after {
content: ''; content: '';
position: absolute; position: absolute;
right: auto; right: auto;
left: -0.2em; left: -0.2em;
border-color: #aaa; border-color: #aaa;
@ -122,7 +122,7 @@ ul.tree li::before, ul.tree li::after {
ul.tree li::before { ul.tree li::before {
border-left-width: 1px; border-left-width: 1px;
top: 0; top: 0;
width: 1em; width: 1em;
height: 100%; height: 100%;
bottom: 1em; bottom: 1em;
} }