CS update

This commit is contained in:
Dariusz Ruminski
2015-03-28 17:54:07 +01:00
parent 22611a957c
commit 47eb13cb26
28 changed files with 80 additions and 85 deletions
+4 -4
View File
@@ -2,15 +2,15 @@
class Delimiters
{
public $start = "It worked the first time.";
public $start = 'It worked the first time.';
public function middle()
{
return array(
array('item' => "And it worked the second time."),
array('item' => "As well as the third."),
array('item' => 'And it worked the second time.'),
array('item' => 'As well as the third.'),
);
}
public $final = "Then, surprisingly, it worked the final time.";
public $final = 'Then, surprisingly, it worked the final time.';
}
+1 -1
View File
@@ -7,5 +7,5 @@ class DoubleSection
return true;
}
public $two = "second";
public $two = 'second';
}
@@ -2,7 +2,7 @@
class SectionIteratorObjects
{
public $start = "It worked the first time.";
public $start = 'It worked the first time.';
protected $_data = array(
array('item' => 'And it worked the second time.'),
@@ -14,5 +14,5 @@ class SectionIteratorObjects
return new ArrayIterator($this->_data);
}
public $final = "Then, surprisingly, it worked the final time.";
public $final = 'Then, surprisingly, it worked the final time.';
}
@@ -2,14 +2,14 @@
class SectionMagicObjects
{
public $start = "It worked the first time.";
public $start = 'It worked the first time.';
public function middle()
{
return new MagicObject();
}
public $final = "Then, surprisingly, it worked the final time.";
public $final = 'Then, surprisingly, it worked the final time.';
}
class MagicObject
+2 -2
View File
@@ -2,14 +2,14 @@
class SectionObjects
{
public $start = "It worked the first time.";
public $start = 'It worked the first time.';
public function middle()
{
return new SectionObject();
}
public $final = "Then, surprisingly, it worked the final time.";
public $final = 'Then, surprisingly, it worked the final time.';
}
class SectionObject
+4 -4
View File
@@ -2,15 +2,15 @@
class Sections
{
public $start = "It worked the first time.";
public $start = 'It worked the first time.';
public function middle()
{
return array(
array('item' => "And it worked the second time."),
array('item' => "As well as the third."),
array('item' => 'And it worked the second time.'),
array('item' => 'As well as the third.'),
);
}
public $final = "Then, surprisingly, it worked the final time.";
public $final = 'Then, surprisingly, it worked the final time.';
}
+1 -1
View File
@@ -2,7 +2,7 @@
class Simple
{
public $name = "Chris";
public $name = 'Chris';
public $value = 10000;
public function taxed_value()
+1 -1
View File
@@ -2,5 +2,5 @@
class Unescaped
{
public $title = "Bear > Shark";
public $title = 'Bear > Shark';
}