Skip to content

Commit

Permalink
Fix CI (#64)
Browse files Browse the repository at this point in the history
* Bump PHPUnit to 9.6 to fix deprecations

* Conflict with PHPUnit 10+

* Fix CS with PHP CS Fixer

* Bump symfony/phpunit-bridge to ^6.3.9 to fix error w/ lowest
  • Loading branch information
bocharsky-bw authored Oct 14, 2024
1 parent a5f934c commit 987fc3b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
"require-dev": {
"symfony/filesystem": "^6.3|^7.0",
"symfony/framework-bundle": "^6.3|^7.0",
"symfony/phpunit-bridge": "^6.3|^7.0"
"symfony/phpunit-bridge": "^6.3.9|^7.0"
},
"conflict": {
"phpunit/phpunit": ">=10"
},
"minimum-stability": "dev",
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<server name="APP_ENV" value="test" force="true" />
<server name="SHELL_VERBOSITY" value="-1" />
<server name="SYMFONY_PHPUNIT_REMOVE" value="" />
<server name="SYMFONY_PHPUNIT_VERSION" value="9.5" />
<server name="SYMFONY_PHPUNIT_VERSION" value="9.6" />
</php>

<testsuites>
Expand Down
2 changes: 1 addition & 1 deletion src/TailwindBinary.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function __construct(
private ?string $binaryVersion,
private CacheInterface $cache,
private ?SymfonyStyle $output = null,
?HttpClientInterface $httpClient = null
?HttpClientInterface $httpClient = null,
) {
$this->httpClient = $httpClient ?? HttpClient::create();
}
Expand Down
2 changes: 1 addition & 1 deletion src/TailwindBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function __construct(
private CacheInterface $cache,
private readonly ?string $binaryPath = null,
private readonly ?string $binaryVersion = null,
private readonly string $configPath = 'tailwind.config.js'
private readonly string $configPath = 'tailwind.config.js',
) {
$paths = [];
foreach ($inputPaths as $inputPath) {
Expand Down

0 comments on commit 987fc3b

Please sign in to comment.