Skip to content

composer(deps-dev): bump ergebnis/php-cs-fixer-config from 6.39.0 to 6.42.3 #1273

composer(deps-dev): bump ergebnis/php-cs-fixer-config from 6.39.0 to 6.42.3

composer(deps-dev): bump ergebnis/php-cs-fixer-config from 6.39.0 to 6.42.3 #1273

Triggered via pull request February 13, 2025 07:29
Status Failure
Total duration 50s
Artifacts

integrate.yaml

on: pull_request
Matrix: Backward-Compatibility Analysis
Matrix: Code Coverage
Matrix: Coding Standards
Matrix: Dependency Analysis
Matrix: Mutation Tests
Matrix: Refactoring
Matrix: Security Analysis
Matrix: Static Code Analysis
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

1 error and 17 warnings
Coding Standards (8.1, locked)
Process completed with exit code 8.
Dependency Analysis (8.1, locked)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Refactoring (8.1, locked)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Refactoring (8.1, locked)
Cache not found for keys: php-8.1-rector-461/merge, php-8.1-rector-main, php-8.1-rector-
Backward-Compatibility Analysis (8.1, locked)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Tests (8.1, locked)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Dependency Analysis (8.1, locked)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Static Code Analysis (8.1, locked)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Mutation Tests (8.1, locked): src/Inside/Domain/DayOneToObsidian/File/DefaultObsidianAttachmentFileMapper.php#L29
Escaped Mutant for Mutator "UnwrapStrReplace": --- Original +++ New @@ @@ } public function mapToFileInObsidianAttachmentDirectory(Inside\Domain\DayOne\Photo $dayOnePhoto) : Inside\Domain\Shared\File { - return Inside\Domain\Shared\File::create(Inside\Domain\Shared\Path::fromString(\sprintf('%s/%s/+ Attachment/%s', $this->obsidianVaultDirectory->path()->toString(), \str_replace(': ', '/', \urldecode($dayOnePhoto->journal()->file()->fileName()->fileNameWithoutExtension()->toString())), $dayOnePhoto->file()->fileName()->toString()))); + return Inside\Domain\Shared\File::create(Inside\Domain\Shared\Path::fromString(\sprintf('%s/%s/+ Attachment/%s', $this->obsidianVaultDirectory->path()->toString(), \urldecode($dayOnePhoto->journal()->file()->fileName()->fileNameWithoutExtension()->toString()), $dayOnePhoto->file()->fileName()->toString()))); } }
Mutation Tests (8.1, locked): src/Outside/Adapter/Primary/Console/ConvertCommand.php#L55
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ protected function execute(Console\Input\InputInterface $input, Console\Output\OutputInterface $output) : int { $io = new Console\Style\SymfonyStyle($input, $output); - $io->title('Day One to Obsidian Converter'); + $dayOneDirectoryArgument = $input->getArgument('day-one-directory'); if (!\is_string($dayOneDirectoryArgument)) { $io->error('DayOne directory must be a string.');
Mutation Tests (8.1, locked): src/Outside/Adapter/Secondary/DayOne/JournalFinder.php#L41
Escaped Mutant for Mutator "ArrayOneItem": --- Original +++ New @@ @@ $dayOneJournalReader = $this->dayOneJournalReader; return \array_reduce($files, static function (array $dayOneJournals, string $file) use($dayOneJournalReader) : array { if (!\is_file($file)) { - return $dayOneJournals; + return count($dayOneJournals) > 1 ? array_slice($dayOneJournals, 0, 1, true) : $dayOneJournals; } try { $dayOneJournal = $dayOneJournalReader->read(Inside\Domain\Shared\File::create(Inside\Domain\Shared\Path::fromString($file)));
Mutation Tests (8.1, locked): src/Outside/Adapter/Secondary/DayOne/JournalFinder.php#L47
Escaped Mutant for Mutator "ArrayOneItem": --- Original +++ New @@ @@ try { $dayOneJournal = $dayOneJournalReader->read(Inside\Domain\Shared\File::create(Inside\Domain\Shared\Path::fromString($file))); } catch (Inside\Port\Secondary\DayOne\FileDoesNotContainJson|Inside\Port\Secondary\DayOne\FileDoesNotContainJsonValidAccordingToSchema) { - return $dayOneJournals; + return count($dayOneJournals) > 1 ? array_slice($dayOneJournals, 0, 1, true) : $dayOneJournals; } $dayOneJournals[] = $dayOneJournal; return $dayOneJournals;
Mutation Tests (8.1, locked): src/Outside/Adapter/Secondary/DayOne/JournalReader.php#L43
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ throw Inside\Port\Secondary\DayOne\FileDoesNotExist::at($file->path()); } try { - $data = \json_decode(\file_get_contents($file->path()->toString()), true, 512, \JSON_THROW_ON_ERROR); + $data = \json_decode(\file_get_contents($file->path()->toString()), true, 511, \JSON_THROW_ON_ERROR); } catch (\JsonException) { throw Inside\Port\Secondary\DayOne\FileDoesNotContainJson::at($file->path()); }
Mutation Tests (8.1, locked): src/Outside/Adapter/Secondary/DayOne/JournalReader.php#L43
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ throw Inside\Port\Secondary\DayOne\FileDoesNotExist::at($file->path()); } try { - $data = \json_decode(\file_get_contents($file->path()->toString()), true, 512, \JSON_THROW_ON_ERROR); + $data = \json_decode(\file_get_contents($file->path()->toString()), true, 513, \JSON_THROW_ON_ERROR); } catch (\JsonException) { throw Inside\Port\Secondary\DayOne\FileDoesNotContainJson::at($file->path()); }
Mutation Tests (8.1, locked): src/Outside/Adapter/Secondary/Obsidian/NoteWriter.php#L43
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ --- %s TXT -, \trim(Yaml\Yaml::dump($note->frontMatter()->toArray(), 8, 2)), $note->text()->toString()); +, \trim(Yaml\Yaml::dump($note->frontMatter()->toArray(), 7, 2)), $note->text()->toString()); } $this->filesystem->dumpFile($note->file()->path()->toString(), $content); } }
Mutation Tests (8.1, locked): src/Outside/Adapter/Secondary/Obsidian/NoteWriter.php#L43
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ --- %s TXT -, \trim(Yaml\Yaml::dump($note->frontMatter()->toArray(), 8, 2)), $note->text()->toString()); +, \trim(Yaml\Yaml::dump($note->frontMatter()->toArray(), 9, 2)), $note->text()->toString()); } $this->filesystem->dumpFile($note->file()->path()->toString(), $content); } }
Mutation Tests (8.1, locked): src/Outside/Infrastructure/DataNormalizer.php#L34
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ if ($keys === $stringKeys) { \ksort($data); } - foreach ($data as $key => $value) { + foreach (array() as $key => $value) { $data[$key] = $this->normalize($value); } return $data; } }
Mutation Tests (8.1, locked)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists