Skip to content

Commit 6e5cfc5

Browse files
committed
Added autoloading definition to composer
1 parent ad50a78 commit 6e5cfc5

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@
1010
"require": {
1111
"symfony/css-selector": "~2.5",
1212
"sabberworm/php-css-parser": "6.0.*"
13+
},
14+
"autoload": {
15+
"classmap": ["src/"]
1316
}
1417
}

examples/run_example.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
require __DIR__ . '/../src/Northys/CssInliner/CssInliner.php';
2+
33
require __DIR__ . '/../vendor/autoload.php';
44

55
$inliner = new Northys\CSSInliner;

0 commit comments

Comments
 (0)