|
11 | 11 | "ext-json": "*", |
12 | 12 | "ext-libxml": "*", |
13 | 13 | "ext-mbstring": "*", |
14 | | - "ampproject/amp-wp": "^2.0.4", |
| 14 | + "ampproject/amp-wp": "^2.0.5", |
15 | 15 | "civicrm/composer-downloads-plugin": "^3.0", |
16 | 16 | "cweagans/composer-patches": "^1.6", |
17 | 17 | "mcaskill/composer-exclude-files": "^2.0", |
|
23 | 23 | }, |
24 | 24 | "require-dev": { |
25 | 25 | "automattic/vipwpcs": "^2.1", |
26 | | - "civicrm/composer-downloads-plugin": "^3.0", |
27 | 26 | "dealerdirect/phpcodesniffer-composer-installer": "^0.7", |
28 | 27 | "php-stubs/wordpress-stubs": "^5.5", |
29 | 28 | "phpcompatibility/phpcompatibility-wp": "^2.1", |
|
53 | 52 | "type": "phar" |
54 | 53 | } |
55 | 54 | }, |
56 | | - "enable-patching": false, |
57 | 55 | "exclude-from-files": [ |
58 | 56 | "ampproject/amp-wp/back-compat/back-compat.php", |
59 | 57 | "ampproject/amp-wp/includes/amp-helper-functions.php", |
60 | 58 | "ampproject/amp-wp/includes/admin/functions.php", |
61 | 59 | "ampproject/amp-wp/includes/deprecated.php", |
62 | 60 | "ampproject/amp-wp/docs/includes/register-wp-cli-commands.php" |
63 | | - ] |
| 61 | + ], |
| 62 | + "patches": { |
| 63 | + "sabberworm/php-css-parser": { |
| 64 | + "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", |
| 65 | + "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" |
| 66 | + } |
| 67 | + }, |
| 68 | + "patches-ignore": { |
| 69 | + "ampproject/amp-wp": { |
| 70 | + "sabberworm/php-css-parser": { |
| 71 | + "Add additional validation for size unit <https://github.com/sabberworm/PHP-CSS-Parser/pull/193>": "patches/php-css-parser-pull-193.patch", |
| 72 | + "Validate name-start code points for identifier <https://github.com/sabberworm/PHP-CSS-Parser/pull/185>": "patches/php-css-parser-pull-185.patch", |
| 73 | + "Fix parsing CSS selectors which contain commas <https://github.com/westonruter/PHP-CSS-Parser/pull/1>": "patches/php-css-parser-commit-10a2501.patch" |
| 74 | + } |
| 75 | + } |
| 76 | + } |
64 | 77 | }, |
65 | 78 | "autoload": { |
66 | 79 | "psr-4": { |
|
83 | 96 | "type": "vcs", |
84 | 97 | "url": "https://github.com/ampproject/amp-wp", |
85 | 98 | "no-api": true |
| 99 | + }, |
| 100 | + { |
| 101 | + "type": "vcs", |
| 102 | + "url": "https://github.com/sabberworm/PHP-CSS-Parser.git", |
| 103 | + "no-api": true |
86 | 104 | } |
87 | 105 | ], |
88 | 106 | "minimum-stability": "dev", |
|
0 commit comments