{"id":28619046,"url":"https://github.com/php-fig/log-test","last_synced_at":"2025-06-12T04:20:13.616Z","repository":{"id":58794512,"uuid":"523696368","full_name":"php-fig/log-test","owner":"php-fig","description":"Repository for fig/log-test","archived":false,"fork":false,"pushed_at":"2025-02-02T17:16:45.000Z","size":45,"stargazers_count":8,"open_issues_count":1,"forks_count":4,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-06-06T02:18:35.009Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/php-fig.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-08-11T11:25:21.000Z","updated_at":"2025-05-04T15:21:56.000Z","dependencies_parsed_at":"2024-01-23T16:12:42.083Z","dependency_job_id":null,"html_url":"https://github.com/php-fig/log-test","commit_stats":{"total_commits":36,"total_committers":4,"mean_commits":9.0,"dds":0.25,"last_synced_commit":"02d6eaf8b09784b7adacf57a3c951bad95229a7f"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/php-fig/log-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-fig%2Flog-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-fig%2Flog-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-fig%2Flog-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-fig%2Flog-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/php-fig","download_url":"https://codeload.github.com/php-fig/log-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-fig%2Flog-test/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259395543,"owners_count":22850851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-12T04:19:55.079Z","updated_at":"2025-06-12T04:20:13.608Z","avatar_url":"https://github.com/php-fig.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FIG - Log Test\nTesting utilities for the [`psr/log`][] package that backs the [PSR-3][] specification.\n\n * `Psr\\Log\\Test\\LoggerInterfaceTest` provides a base test class for ensuring compliance with the LoggerInterface.\n * `Psr\\Log\\Test\\TestLogger` is a mock class for testing purposes.\n\n## Installation\n\nThis package should be used only for tests.\n\nFor PHP 8.0+ only, you may remove support for `psr/log: 1.x`:\n\n```json\n{\n  \"require\": {\n    \"php\": \"\u003e=8.0.0\",\n    \"psr/log\": \"^2.0 | ^3.0\"\n  },\n  \"require-dev\": {\n    \"fig/log-test\": \"^1.1\"\n  }\n}\n```\n\nIf the project supports older versions of PHP:\n\n```json\n{\n  \"require\": {\n    \"psr/log\": \"^1.1.14 | ^2.0\"\n  },\n  \"require-dev\": {\n    \"fig/log-test\": \"^1.0\"\n  }\n}\n```\n\n\u003e **Note:** In `psr/log: 3.0.0`, `Psr\\Log\\LoggerInterface` has union types for method arguments.\n\u003e Implementing this interface with PHP 7 compatibility is not possible.\n\n## Versions\n\nThe version of `fig/log-test` that is installed after composer dependencies resolution varies with the version of `psr/log`.\n\n| psr/log       | fig/log-test |                                                 |\n|---------------|--------------|-------------------------------------------------|\n| `^1.1.14`     | `1.0.*`      | Empty package, classes a provided by `psr/log`. |\n| `^2.0\\|^3.0`  | `^1.1`       | Imports test classes removed from `psr/log`.    |\n\n[`psr/log`]: https://packagist.org/packages/psr/log\n[PSR-3]: https://www.php-fig.org/psr/psr-3/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-fig%2Flog-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp-fig%2Flog-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-fig%2Flog-test/lists"}