Skip to content

Commit 9d29e1d

Browse files
committed
Upgrade php-css-parser to v8.4.0
* Remove obsolete php-css-parser-install-composer-plugin. * Bump stylesheet cache group. * Update patches to address merge conflicts.
1 parent c2b9b38 commit 9d29e1d

File tree

6 files changed

+257
-460
lines changed

6 files changed

+257
-460
lines changed

composer.json

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@
1717
"ampproject/amp-toolbox": "0.9.3",
1818
"cweagans/composer-patches": "~1.0",
1919
"fasterimage/fasterimage": "1.5.0",
20-
"sabberworm/php-css-parser": "dev-master#bfdd976"
20+
"sabberworm/php-css-parser": "8.4.0"
2121
},
2222
"require-dev": {
23-
"ampproject/php-css-parser-install-plugin": "*",
2423
"automattic/vipwpcs": "^2.2",
2524
"civicrm/composer-downloads-plugin": "^3.0",
2625
"dealerdirect/phpcodesniffer-composer-installer": "0.7.1",
@@ -43,12 +42,6 @@
4342
"ext-intl": "Enables use of idn_to_utf8() to convert punycode domains to UTF-8 for use with an AMP Cache.",
4443
"ext-mbstring": "Used by PHP-CSS-Parser when working with stylesheets."
4544
},
46-
"repositories": [
47-
{
48-
"type": "path",
49-
"url": "./php-css-parser-install-composer-plugin"
50-
}
51-
],
5245
"minimum-stability": "dev",
5346
"prefer-stable": true,
5447
"autoload": {
@@ -94,9 +87,9 @@
9487
"Fix ReflectionParameter warnings on PHP 8": "patches/phpunit-mock-objects.patch"
9588
},
9689
"sabberworm/php-css-parser": {
97-
"1. Add additional validation for size unit <https://github.com/sabberworm/PHP-CSS-Parser/pull/193>": "https://github.com/sabberworm/PHP-CSS-Parser/compare/3bc5ded67d77a52b81608cfc97f23b1bb0678e2f%5E...468da3441945e9c1bf402a3340b1d8326723f7d9.patch",
98-
"2. Validate name-start code points for identifier <https://github.com/sabberworm/PHP-CSS-Parser/pull/185>": "https://github.com/sabberworm/PHP-CSS-Parser/compare/d42b64793f2edaffeb663c63e9de79069cdc0831%5E...113df5d55e94e21c6402021dfa959924941d4c29.patch",
99-
"3. Fix parsing CSS selectors which contain commas <https://github.com/westonruter/PHP-CSS-Parser/pull/1>": "https://github.com/westonruter/PHP-CSS-Parser/compare/master...10a2501c119abafced3e4014aa3c0a3453a86f67.patch"
90+
"1. Add additional validation for size unit <https://github.com/sabberworm/PHP-CSS-Parser/pull/350>": "https://github.com/sabberworm/PHP-CSS-Parser/compare/e41d2140031d533348b2192a83f02d8dd8a71d30...b1f74798a7d21d0e6f6402ee8a06c92c7f92fae5.diff",
91+
"2. Validate name-start code points for identifier <https://github.com/westonruter/PHP-CSS-Parser/pull/2>": "https://github.com/westonruter/PHP-CSS-Parser/compare/e41d2140031d533348b2192a83f02d8dd8a71d30...a49bd92c35e9bbbaaca23cf33874a65dd485c30b.diff",
92+
"3. Fix parsing CSS selectors which contain commas <https://github.com/westonruter/PHP-CSS-Parser/pull/1>": "https://github.com/westonruter/PHP-CSS-Parser/compare/e41d2140031d533348b2192a83f02d8dd8a71d30...935ea79e0389e672a9deadf9f366e6faab9110ba.diff"
10093
}
10194
}
10295
},

0 commit comments

Comments
 (0)