File tree Expand file tree Collapse file tree 12 files changed +26
-26
lines changed
Expand file tree Collapse file tree 12 files changed +26
-26
lines changed Original file line number Diff line number Diff line change 11{
2- "name" : " jandc/page-specific-css " ,
2+ "name" : " jandc/css-from-html-extractor " ,
33 "type" : " library" ,
4- "description" : " Php library which determines critical css on a per page basis ." ,
5- "homepage" : " https://github.com/JanDC/page-specific-css " ,
4+ "description" : " Php library which determines which css is used from html snippets ." ,
5+ "homepage" : " https://github.com/JanDC/css-from-html-extractor " ,
66 "license" : " ISC" ,
77 "authors" : [
88 {
1818 },
1919 "autoload" : {
2020 "psr-4" : {
21- "PageSpecificCss \\ " : " src/"
21+ "CSSFromHTMLExtractor \\ " : " src/"
2222 }
2323 }
2424}
Original file line number Diff line number Diff line change 11<?php
22
3- namespace PageSpecificCss \Css ;
3+ namespace CSSFromHTMLExtractor \Css ;
44
5- use PageSpecificCss \Css \Rule \Processor as RuleProcessor ;
6- use PageSpecificCss \Css \Rule \Rule ;
5+ use CSSFromHTMLExtractor \Css \Rule \Processor as RuleProcessor ;
6+ use CSSFromHTMLExtractor \Css \Rule \Rule ;
77
88class Processor
99{
Original file line number Diff line number Diff line change 11<?php
22
3- namespace PageSpecificCss \Css \Property ;
3+ namespace CSSFromHTMLExtractor \Css \Property ;
44
55use Symfony \Component \CssSelector \Node \Specificity ;
66
Original file line number Diff line number Diff line change 11<?php
22
3- namespace PageSpecificCss \Css \Property ;
3+ namespace CSSFromHTMLExtractor \Css \Property ;
44
55use Symfony \Component \CssSelector \Node \Specificity ;
66
Original file line number Diff line number Diff line change 11<?php
22
3- namespace PageSpecificCss \Css \Rule ;
3+ namespace CSSFromHTMLExtractor \Css \Rule ;
44
55use Sabberworm \CSS \OutputFormat ;
66use Sabberworm \CSS \Parser ;
77use Symfony \Component \CssSelector \Node \Specificity ;
8- use \PageSpecificCss \Css \Property \Processor as PropertyProcessor ;
8+ use \CSSFromHTMLExtractor \Css \Property \Processor as PropertyProcessor ;
99
1010class Processor
1111{
Original file line number Diff line number Diff line change 11<?php
22
3- namespace PageSpecificCss \Css \Rule ;
3+ namespace CSSFromHTMLExtractor \Css \Rule ;
44
5- use PageSpecificCss \Css \Property \Property ;
5+ use CSSFromHTMLExtractor \Css \Property \Property ;
66use Symfony \Component \CssSelector \Node \Specificity ;
77
88final class Rule
Original file line number Diff line number Diff line change 11<?php
22
3- namespace PageSpecificCss ;
3+ namespace CSSFromHTMLExtractor ;
44
5- use PageSpecificCss \Css \Property \Property ;
6- use PageSpecificCss \Css \Rule \Rule ;
5+ use CSSFromHTMLExtractor \Css \Property \Property ;
6+ use CSSFromHTMLExtractor \Css \Rule \Rule ;
77
88class CssStore
99{
Original file line number Diff line number Diff line change 11<?php
22
3- namespace PageSpecificCss ;
3+ namespace CSSFromHTMLExtractor ;
44
55class HtmlStore
66{
Original file line number Diff line number Diff line change 11<?php
22
3- namespace PageSpecificCss ;
3+ namespace CSSFromHTMLExtractor ;
44
55use DOMNodeList ;
66use Exception ;
77use Symfony \Component \CssSelector \CssSelectorConverter ;
88use Symfony \Component \CssSelector \Exception \ExceptionInterface ;
9- use PageSpecificCss \Css \Processor ;
10- use PageSpecificCss \Css \Rule \Rule ;
9+ use CSSFromHTMLExtractor \Css \Processor ;
10+ use CSSFromHTMLExtractor \Css \Rule \Rule ;
1111use Symfony \Component \CssSelector \Exception \ExpressionErrorException ;
1212
1313class PageSpecificCss
Original file line number Diff line number Diff line change 11<?php
22
3- namespace PageSpecificCss \Twig ;
3+ namespace CSSFromHTMLExtractor \Twig ;
44
5- use PageSpecificCss \PageSpecificCss ;
6- use PageSpecificCss \Twig \TokenParsers \FoldTokenParser ;
5+ use CSSFromHTMLExtractor \PageSpecificCss ;
6+ use CSSFromHTMLExtractor \Twig \TokenParsers \FoldTokenParser ;
77use Twig_Extension ;
88use Twig_ExtensionInterface ;
99
You can’t perform that action at this time.
0 commit comments