Skip to content
This repository was archived by the owner on Jan 19, 2018. It is now read-only.

DEPRECATED - PHP library for parsing and analysing CSS

Notifications You must be signed in to change notification settings

projectwallace/php-css-parser-analyser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

db13b3a · Jun 26, 2017

History

1 Commit
Jun 26, 2017
Jun 26, 2017
Jun 26, 2017
Jun 26, 2017
Jun 26, 2017
Jun 26, 2017
Jun 26, 2017
Jun 26, 2017
Jun 26, 2017
Jun 26, 2017
Jun 26, 2017

Repository files navigation

Abandoned project!

This project is no longer maintained! It was never released publicly, this repo is only here for learning/documenting purposes.

Architecture

The architecture is also quite poorly, as this repo does 3 things:

  • REST API: accept incoming requests to process and store CSS
  • CSS Parser: build an AST out of incoming CSS
  • CSS Analyser: build statistics based on the CSS AST

Running tests

vendor/bin/phpunit
vendor/bin/phpcs --standard=PSR2 src/
vendor/bin/phpcs --standard=PSR2 test/
vendor/bin/phpcpd src/
vendor/bin/phpcpd test/