Skip to content

Commit

Permalink
Allow Symfony 6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
smnandre committed Oct 19, 2024
1 parent f2d3cc9 commit c7bdc9d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@
"require": {
"php": ">=8.2",
"psr/log": "^2|^3",
"symfony/filesystem": "^7.0",
"symfony/filesystem": "^6.4|^7.0",
"symfony/http-client-contracts": "^3.5",
"symfony/process": "^7.0"
"symfony/process": "^6.4|^7.0"
},
"require-dev": {
"phpstan/phpstan": "^1.12",
"phpunit/phpunit": "^10.5",
"symfony/asset-mapper": "^7.1",
"symfony/console": "^7.1",
"symfony/framework-bundle": "^7.1",
"symfony/http-client": "^7.1",
"symfony/http-kernel": "^7.1"
"symfony/asset-mapper": "^6.4|^7.0",
"symfony/console": "^6.4|^7.0",
"symfony/framework-bundle": "^6.4|^7.0",
"symfony/http-client": "^6.4|^7.0",
"symfony/http-kernel": "^6.4|^7.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/Command/MinifyAssetCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int

/** @var 'css'|'js' $typeArg */
$typeArg = $input->getOption('type') ?? pathinfo($inputArg, PATHINFO_EXTENSION);
$inputArg = $fs->readFile($inputArg);
$inputArg = file_get_contents($inputArg);

$output = $this->minifier->minify($inputArg, $typeArg);

Check failure on line 96 in src/Command/MinifyAssetCommand.php

View workflow job for this annotation

GitHub Actions / Static Analysis

Parameter #1 $input of method Sensiolabs\MinifyBundle\Minifier\MinifierInterface::minify() expects string, string|false given.

Expand Down

0 comments on commit c7bdc9d

Please sign in to comment.