Merged
Conversation
…Client - Create new Client namespace with generic HTTP client abstraction: - IClient interface for HTTP client implementations - Request class for HTTP request representation - Response class for HTTP response handling - FakeClient for testing with response queue and request recording - Add CurlBuilder for fluent HTTP request construction - Update CurlClient to implement IClient interface - Remove backward compatibility (ICurlClient, deprecated Response alias) - Update documentation with new API examples Resolves #5
- Update existing classes with PHP 8.2+ native type hints - Fix deprecated Nette API usage: - Use Nette\DI\Definitions\ServiceDefinition - Replace deprecated getUser()/getPassword() with Authorization header parsing - Use getMethod() instead of accessing private $methods property - Use IResponse::S401_Unauthorized constant - Fix PHPStan level 9 errors with proper type narrowing
- Replace monolithic main.yaml with separate workflow files - Use contributte/.github reusable workflows for: - codesniffer.yml: Code style checks - phpstan.yml: Static analysis - tests.yml: PHPUnit tests (PHP 8.2, 8.3, 8.4, 8.5) - coverage.yml: Code coverage reporting - Remove deprecated .coveralls.yml
- Update Makefile with GitHub Actions detection - Use contributte/phpstan for PHPStan configuration - Use contributte/qa for CodeSniffer ruleset - Update composer.json: - Require PHP 8.2+ - Add contributte/qa and contributte/phpstan dev dependencies - Fix ruleset.xml element syntax for rootNamespaces
b658122 to
5f47e41
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.