Completed
Push — master ( a4711b...c73041 )
by Eser
06:01
created
src/Yaml/Inline.php 2 patches
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,9 +85,9 @@  discard block
 block discarded – undo
85 85
     /**
86 86
      * Parses a scalar to a YAML string
87 87
      *
88
-     * @param scalar $scalar
88
+     * @param string $scalar
89 89
      * @param string $delimiters
90
-     * @param array  $stringDelimiters
90
+     * @param string[]  $stringDelimiters
91 91
      * @param int    &$i
92 92
      * @param bool   $evaluate
93 93
      * @param array  $references
@@ -145,6 +145,7 @@  discard block
 block discarded – undo
145 145
      *
146 146
      * @param string $scalar
147 147
      * @param int    &$i
148
+     * @param integer $i
148 149
      *
149 150
      * @throws ParseException When malformed inline YAML string is parsed
150 151
      * @return string A YAML string
Please login to merge, or discard this patch.
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -1,31 +1,31 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Scabbia2 Yaml Component
4
- * https://github.com/eserozvataf/scabbia2
5
- *
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- *
9
- * @link        https://github.com/eserozvataf/scabbia2-yaml for the canonical source repository
10
- * @copyright   2010-2016 Eser Ozvataf. (http://eser.ozvataf.com/)
11
- * @license     http://www.apache.org/licenses/LICENSE-2.0 - Apache License, Version 2.0
12
- *
13
- * -------------------------
14
- * Portions of this code are from Symfony YAML Component under the MIT license.
15
- *
16
- * (c) Fabien Potencier <[email protected]>
17
- *
18
- * For the full copyright and license information, please view the LICENSE-MIT
19
- * file that was distributed with this source code.
20
- *
21
- * Modifications made:
22
- * - Scabbia Framework code styles applied.
23
- * - All dump methods are moved under Dumper class.
24
- * - Redundant classes removed.
25
- * - Namespace changed.
26
- * - Tests ported to Scabbia2.
27
- * - Encoding checks removed.
28
- */
3
+     * Scabbia2 Yaml Component
4
+     * https://github.com/eserozvataf/scabbia2
5
+     *
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     *
9
+     * @link        https://github.com/eserozvataf/scabbia2-yaml for the canonical source repository
10
+     * @copyright   2010-2016 Eser Ozvataf. (http://eser.ozvataf.com/)
11
+     * @license     http://www.apache.org/licenses/LICENSE-2.0 - Apache License, Version 2.0
12
+     *
13
+     * -------------------------
14
+     * Portions of this code are from Symfony YAML Component under the MIT license.
15
+     *
16
+     * (c) Fabien Potencier <[email protected]>
17
+     *
18
+     * For the full copyright and license information, please view the LICENSE-MIT
19
+     * file that was distributed with this source code.
20
+     *
21
+     * Modifications made:
22
+     * - Scabbia Framework code styles applied.
23
+     * - All dump methods are moved under Dumper class.
24
+     * - Redundant classes removed.
25
+     * - Namespace changed.
26
+     * - Tests ported to Scabbia2.
27
+     * - Encoding checks removed.
28
+     */
29 29
 
30 30
 namespace Scabbia\Yaml;
31 31
 
Please login to merge, or discard this patch.
src/Yaml/ParseException.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
     /**
83 83
      * Gets the snippet of code near the error
84 84
      *
85
-     * @return string The snippet of code
85
+     * @return integer|null The snippet of code
86 86
      */
87 87
     public function getSnippet()
88 88
     {
Please login to merge, or discard this patch.
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -1,31 +1,31 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Scabbia2 Yaml Component
4
- * https://github.com/eserozvataf/scabbia2
5
- *
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- *
9
- * @link        https://github.com/eserozvataf/scabbia2-yaml for the canonical source repository
10
- * @copyright   2010-2016 Eser Ozvataf. (http://eser.ozvataf.com/)
11
- * @license     http://www.apache.org/licenses/LICENSE-2.0 - Apache License, Version 2.0
12
- *
13
- * -------------------------
14
- * Portions of this code are from Symfony YAML Component under the MIT license.
15
- *
16
- * (c) Fabien Potencier <[email protected]>
17
- *
18
- * For the full copyright and license information, please view the LICENSE-MIT
19
- * file that was distributed with this source code.
20
- *
21
- * Modifications made:
22
- * - Scabbia Framework code styles applied.
23
- * - All dump methods are moved under Dumper class.
24
- * - Redundant classes removed.
25
- * - Namespace changed.
26
- * - Tests ported to Scabbia2.
27
- * - Encoding checks removed.
28
- */
3
+     * Scabbia2 Yaml Component
4
+     * https://github.com/eserozvataf/scabbia2
5
+     *
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     *
9
+     * @link        https://github.com/eserozvataf/scabbia2-yaml for the canonical source repository
10
+     * @copyright   2010-2016 Eser Ozvataf. (http://eser.ozvataf.com/)
11
+     * @license     http://www.apache.org/licenses/LICENSE-2.0 - Apache License, Version 2.0
12
+     *
13
+     * -------------------------
14
+     * Portions of this code are from Symfony YAML Component under the MIT license.
15
+     *
16
+     * (c) Fabien Potencier <[email protected]>
17
+     *
18
+     * For the full copyright and license information, please view the LICENSE-MIT
19
+     * file that was distributed with this source code.
20
+     *
21
+     * Modifications made:
22
+     * - Scabbia Framework code styles applied.
23
+     * - All dump methods are moved under Dumper class.
24
+     * - Redundant classes removed.
25
+     * - Namespace changed.
26
+     * - Tests ported to Scabbia2.
27
+     * - Encoding checks removed.
28
+     */
29 29
 
30 30
 namespace Scabbia\Yaml;
31 31
 
Please login to merge, or discard this patch.
src/Yaml/Parser.php 2 patches
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -1,31 +1,31 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Scabbia2 Yaml Component
4
- * https://github.com/eserozvataf/scabbia2
5
- *
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- *
9
- * @link        https://github.com/eserozvataf/scabbia2-yaml for the canonical source repository
10
- * @copyright   2010-2016 Eser Ozvataf. (http://eser.ozvataf.com/)
11
- * @license     http://www.apache.org/licenses/LICENSE-2.0 - Apache License, Version 2.0
12
- *
13
- * -------------------------
14
- * Portions of this code are from Symfony YAML Component under the MIT license.
15
- *
16
- * (c) Fabien Potencier <[email protected]>
17
- *
18
- * For the full copyright and license information, please view the LICENSE-MIT
19
- * file that was distributed with this source code.
20
- *
21
- * Modifications made:
22
- * - Scabbia Framework code styles applied.
23
- * - All dump methods are moved under Dumper class.
24
- * - Redundant classes removed.
25
- * - Namespace changed.
26
- * - Tests ported to Scabbia2.
27
- * - Encoding checks removed.
28
- */
3
+     * Scabbia2 Yaml Component
4
+     * https://github.com/eserozvataf/scabbia2
5
+     *
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     *
9
+     * @link        https://github.com/eserozvataf/scabbia2-yaml for the canonical source repository
10
+     * @copyright   2010-2016 Eser Ozvataf. (http://eser.ozvataf.com/)
11
+     * @license     http://www.apache.org/licenses/LICENSE-2.0 - Apache License, Version 2.0
12
+     *
13
+     * -------------------------
14
+     * Portions of this code are from Symfony YAML Component under the MIT license.
15
+     *
16
+     * (c) Fabien Potencier <[email protected]>
17
+     *
18
+     * For the full copyright and license information, please view the LICENSE-MIT
19
+     * file that was distributed with this source code.
20
+     *
21
+     * Modifications made:
22
+     * - Scabbia Framework code styles applied.
23
+     * - All dump methods are moved under Dumper class.
24
+     * - Redundant classes removed.
25
+     * - Namespace changed.
26
+     * - Tests ported to Scabbia2.
27
+     * - Encoding checks removed.
28
+     */
29 29
 
30 30
 namespace Scabbia\Yaml;
31 31
 
Please login to merge, or discard this patch.
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -535,8 +535,6 @@
 block discarded – undo
535 535
     /**
536 536
      * Parses a block scalar
537 537
      *
538
-     * @param string  $separator   The style indicator that was used to begin this block scalar (| or >)
539
-     * @param string  $indicator   The chomping indicator that was used to begin this block scalar (+ or -)
540 538
      * @param int     $indentation The indentation indicator that was used to begin this block scalar
541 539
      *
542 540
      * @return string  The text value
Please login to merge, or discard this patch.
src/Yaml/Dumper.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -1,31 +1,31 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Scabbia2 Yaml Component
4
- * https://github.com/eserozvataf/scabbia2
5
- *
6
- * For the full copyright and license information, please view the LICENSE
7
- * file that was distributed with this source code.
8
- *
9
- * @link        https://github.com/eserozvataf/scabbia2-yaml for the canonical source repository
10
- * @copyright   2010-2016 Eser Ozvataf. (http://eser.ozvataf.com/)
11
- * @license     http://www.apache.org/licenses/LICENSE-2.0 - Apache License, Version 2.0
12
- *
13
- * -------------------------
14
- * Portions of this code are from Symfony YAML Component under the MIT license.
15
- *
16
- * (c) Fabien Potencier <[email protected]>
17
- *
18
- * For the full copyright and license information, please view the LICENSE-MIT
19
- * file that was distributed with this source code.
20
- *
21
- * Modifications made:
22
- * - Scabbia Framework code styles applied.
23
- * - All dump methods are moved under Dumper class.
24
- * - Redundant classes removed.
25
- * - Namespace changed.
26
- * - Tests ported to Scabbia2.
27
- * - Encoding checks removed.
28
- */
3
+     * Scabbia2 Yaml Component
4
+     * https://github.com/eserozvataf/scabbia2
5
+     *
6
+     * For the full copyright and license information, please view the LICENSE
7
+     * file that was distributed with this source code.
8
+     *
9
+     * @link        https://github.com/eserozvataf/scabbia2-yaml for the canonical source repository
10
+     * @copyright   2010-2016 Eser Ozvataf. (http://eser.ozvataf.com/)
11
+     * @license     http://www.apache.org/licenses/LICENSE-2.0 - Apache License, Version 2.0
12
+     *
13
+     * -------------------------
14
+     * Portions of this code are from Symfony YAML Component under the MIT license.
15
+     *
16
+     * (c) Fabien Potencier <[email protected]>
17
+     *
18
+     * For the full copyright and license information, please view the LICENSE-MIT
19
+     * file that was distributed with this source code.
20
+     *
21
+     * Modifications made:
22
+     * - Scabbia Framework code styles applied.
23
+     * - All dump methods are moved under Dumper class.
24
+     * - Redundant classes removed.
25
+     * - Namespace changed.
26
+     * - Tests ported to Scabbia2.
27
+     * - Encoding checks removed.
28
+     */
29 29
 
30 30
 namespace Scabbia\Yaml;
31 31
 
Please login to merge, or discard this patch.