fix: resolve PHP-CS-Fixer violations and CI version mismatch
Some checks failed
CI / PHP ${{ matrix.php }} (8.2) (push) Has been cancelled
CI / PHP ${{ matrix.php }} (8.3) (push) Has been cancelled

This commit is contained in:
Funky Waddle 2026-02-12 01:09:43 -06:00
parent 866c614965
commit 734abee087
4 changed files with 1 additions and 5 deletions

View file

@ -48,7 +48,7 @@ jobs:
run: vendor/bin/phpstan analyse
- name: Coding Standards (PHP-CS-Fixer dry run)
run: vendor/bin/php-cs-fixer fix --dry-run --diff
run: PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --dry-run --diff
- name: PHPUnit
run: vendor/bin/phpunit -c phpunit.xml.dist

View file

@ -14,9 +14,7 @@ final class FlagHydrator
];
/**
* @param string $name
* @param array<string, mixed> $data
* @return Flag
*/
public function hydrate(string $name, array $data): Flag
{

View file

@ -6,7 +6,6 @@ namespace FlagPole\Repository;
use FlagPole\Flag;
use FlagPole\FlagHydrator;
use FlagPole\Rule;
/**
* Simple in-memory repository. Useful for bootstrapping or tests.

View file

@ -6,7 +6,6 @@ namespace FlagPole\Repository;
use FlagPole\Flag;
use FlagPole\FlagHydrator;
use FlagPole\Rule;
/**
* Loads flags from a JSON file.