Skip to content

Commit

Permalink
Update wikimedia/less.php from 3.0 to 5.x (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
Krinkle authored Jul 3, 2024
1 parent 3196a90 commit a6027f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,22 @@
}
],
"require": {
"php": ">=7.3 || ^8.0",
"php": "^7.3 || ^8.0",
"ext-curl": "*",
"ext-json": "*",
"ext-simplexml": "*",
"symfony/process": "~3.4 || ~4.0 || ~5.0 || ~6.0 || ~7.0",
"symfony/process": "^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
"symfony/deprecation-contracts": "^2.2.0"
},
"require-dev": {
"wikimedia/less.php": "~3.0.0",
"wikimedia/minify": "~2.2",
"wikimedia/less.php": "^3.0 || ^5.0",
"wikimedia/minify": "^2.2",
"scssphp/scssphp": "^1.0",
"meenie/javascript-packer": "^1.1",
"phpunit/phpunit": "^9.5.8",
"psr/log": "^1.0",
"ptachoire/cssembed": "^1.0",
"symfony/phpunit-bridge": "~3.4 || ~4.0 || ~5.0 || ~6.0",
"symfony/phpunit-bridge": "^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
"twig/twig": "^2.11",
"phpspec/prophecy-phpunit": "^2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/Assetic/Test/Filter/LessphpFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function testPresets()
$asset = new StringAsset('.foo { color: @bar }');
$asset->load();

$this->filter->setPresets(array('bar' => 'green'));
$this->filter->setPresets(array('bar' => '#008000'));
$this->filter->filterLoad($asset);

$this->assertStringContainsString('#008000', $asset->getContent(), '->setPresets() to pass variables into lessphp filter');
Expand Down

0 comments on commit a6027f1

Please sign in to comment.