Skip to content

Commit 92e0816

Browse files
committed
Updating the composer/readme for Totara's fork
1 parent 00518bf commit 92e0816

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# PHP CSS Parser
22

3-
[![Build Status](https://github.com/sabberworm/PHP-CSS-Parser/workflows/CI/badge.svg?branch=master)](https://github.com/sabberworm/PHP-CSS-Parser/actions/)
4-
53
A Parser for CSS Files written in PHP. Allows extraction of CSS files into a data structure, manipulation of said structure and output as (optimized) CSS.
64

5+
This is the Totara-specific fork, which adds on some Totara-specific compatibility feature/fixes. If you're not using Totara, highly recommend you use the original package.
6+
77
## Usage
88

99
### Installation using Composer
1010

1111
```bash
12-
composer require sabberworm/php-css-parser
12+
composer require totara/php-css-parser
1313
```
1414

1515
### Extraction

composer.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
2-
"name": "sabberworm/php-css-parser",
2+
"name": "totara/php-css-parser",
33
"type": "library",
4-
"description": "Parser for CSS Files written in PHP",
4+
"description": "Fork of PHP-CSS-Parser for Totara",
55
"keywords": [
66
"parser",
77
"css",
88
"stylesheet"
99
],
10-
"homepage": "https://www.sabberworm.com/blog/2010/6/10/php-css-parser",
1110
"license": "MIT",
1211
"authors": [
1312
{
@@ -23,7 +22,7 @@
2322
}
2423
],
2524
"require": {
26-
"php": "^5.6.20 || ^7.0.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
25+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
2726
"ext-iconv": "*"
2827
},
2928
"require-dev": {
@@ -45,7 +44,11 @@
4544
},
4645
"extra": {
4746
"branch-alias": {
48-
"dev-main": "9.0.x-dev"
47+
"dev-8.9.0-totara": "8.9.0-totara"
4948
}
50-
}
49+
},
50+
"replace": {
51+
"sabberworm/php-css-parser": "self.version"
52+
},
53+
"non-feature-branches": ["*.-totara"]
5154
}

0 commit comments

Comments
 (0)