PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 14.1.1
Jetpack – WP Security, Backup, Speed, & Growth v14.1.1
12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 14.4.2 All 500 releases
jetpack / vendor / scssphp / scssphp / src / Formatter / Compact.php
Compact.php
53 lines 1015 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * SCSSPHP
5 *
6 * @copyright 2012-2020 Leaf Corcoran
7 *
8 * @license http://opensource.org/licenses/MIT MIT
9 *
10 * @link http://scssphp.github.io/scssphp
11 */
12
13 namespace ScssPhp\ScssPhp\Formatter;
14
15 use ScssPhp\ScssPhp\Formatter;
16
17 /**
18 * Compact formatter
19 *
20 * @author Leaf Corcoran <leafot@gmail.com>
21 *
22 * @deprecated since 1.4.0. Use the Compressed formatter instead.
23 *
24 * @internal
25 */
26 class Compact extends Formatter
27 {
28 /**
29 * {@inheritdoc}
30 */
31 public function __construct()
32 {
33 @trigger_error('The Compact formatter is deprecated since 1.4.0. Use the Compressed formatter instead.', E_USER_DEPRECATED);
34
35 $this->indentLevel = 0;
36 $this->indentChar = '';
37 $this->break = '';
38 $this->open = ' {';
39 $this->close = "}\n\n";
40 $this->tagSeparator = ',';
41 $this->assignSeparator = ':';
42 $this->keepSemicolons = true;
43 }
44
45 /**
46 * {@inheritdoc}
47 */
48 public function indentStr()
49 {
50 return ' ';
51 }
52 }
53