File tree 4 files changed +11
-5
lines changed
4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ a directory that you specify.
8
8
Create a file, like ` style.php ` :
9
9
10
10
```
11
- use ScssPhp\ScssPhp \Server;
11
+ use ScssPhp\Server \Server;
12
12
13
13
$directory = "stylesheets";
14
14
@@ -59,7 +59,7 @@ Here's an example of creating a SCSS server that outputs compressed CSS:
59
59
60
60
```
61
61
use ScssPhp\ScssPhp\Compiler;
62
- use ScssPhp\ScssPhp \Server;
62
+ use ScssPhp\Server \Server;
63
63
64
64
$scss = new Compiler();
65
65
$scss->setFormatter('ScssPhp\ScssPhp\Formatter\Compressed');
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " scssphp/server" ,
3
3
"description" : " Server for on-the-fly .scss compilation" ,
4
- "type" : " project" ,
4
+ "type" : " libary" ,
5
+ "autoload" : {
6
+ "psr-4" : { "ScssPhp\\ Server\\ " : " src/" }
7
+ },
8
+ "autoload-dev" : {
9
+ "psr-4" : { "ScssPhp\\ Server\\ Tests\\ " : " tests/" }
10
+ },
5
11
"require" : {
6
12
"scssphp/scssphp" : " ^1.0"
7
13
},
Original file line number Diff line number Diff line change 9
9
* @link http://scssphp.github.io/scssphp
10
10
*/
11
11
12
- namespace ScssPhp \ScssPhp ;
12
+ namespace ScssPhp \Server ;
13
13
14
14
use ScssPhp \ScssPhp \Compiler ;
15
15
use ScssPhp \ScssPhp \Exception \ServerException ;
Original file line number Diff line number Diff line change 9
9
* @link http://scssphp.github.io/scssphp
10
10
*/
11
11
12
- namespace ScssPhp \ScssPhp \Tests ;
12
+ namespace ScssPhp \Server \Tests ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
15
use ScssPhp \ScssPhp \Server ;
You can’t perform that action at this time.
0 commit comments