* tweak spacing
tweak spacing so array keys are indented the same.
* docs: add changelog entry
---------
Co-authored-by: Danny van der Sluijs <danny.vandersluijs@icloud.com>
* Update: add ext-json to composer.json to ensure JSON extension availability
* docs: add changelog entry
---------
Co-authored-by: Danny van der Sluijs <danny.van.der.sluijs@infi.nl>
* Add test case for invalid string type validation
* docs: add changelog entry
---------
Co-authored-by: Danny van der Sluijs <danny.van.der.sluijs@infi.nl>
* Increase phpstan level to 8 with baseline to swallow existing errors
* Add phpstan to composer.json
* docs: a changelog entry
---------
Co-authored-by: Danny van der Sluijs <danny.van.der.sluijs@infi.nl>
* ci: Add PHP 8.0 and greater to build matrix
* ci: Remove PHP 5.3 - 7.1 from workflows
* build: Require minimum PHP 7.2
* build: Upgrade to PHPUnit 8.5
* refactor: Add now required void return types for setup() methods
* build: Include phpspec/prophecy dependency
* refactor: Replace setExpectedException with expectException/expectExceptionMessage
* refactor: Replace @expectedException annotation for expectException method
* refactor: Replace assertInternalType for assertIsArray
* refactor: Replace getMock for createMock
* test: Improve test assertions
* fix: Solve return type issues with Objectiterator (port of #682)
See https://github.com/jsonrainbow/json-schema/pull/682
* build: Update icecave/parity to ^3.0 as 1.0 uses deprecated each() method
* style: Correct code style issues
* fix: Fix deprecation notices found from GHA workflow run
See https://github.com/jsonrainbow/json-schema/actions/runs/10216569969/job/28268331091
* fix: Add fallback to empty string when null value is passed in UriResolver::parse
* fix: Port #717: Fixes for implicit nullability deprecation
See https://github.com/jsonrainbow/json-schema/pull/717
* ci: Avoid GHA run on each push and pull request; Include PHP 8.4 in matrix
* ci(Drop-PHP-8.4-from-matrix): This PR adds phpspec/prophecy as an explicit dependency which is restrictive and doesnt support upcoming PHP versions
* refactor: Replace ternary variable with explicit cast to string
* test: Correct misconfigured mocks
* test: Refactor to use willReturn() method
* test: Make use of already imported classname
* test: Ignore return value when exception is expected to be thrown
* test: Mock complete interface
* docs: Add changelog entry
* Fix: Composer.json homepage
As can be read in https://github.com/jsonrainbow/json-schema/issues/658,
the repository has been moved. Update the composer.json homepage
instruction to point to the new location.
* docs: Update remaining references to jsonrainbow
---------
Co-authored-by: Floris Luiten <floris.luiten@tweakers.net>
Overriding file_get_contents introduces different behaviour from the native function, such as the $http_response_headers missing. Removing the override revealed two test (testing a specific return path of the file_get_contents method rather then testing the behaviour or result of the subject under test) which had different behaviour between the test and runtime, therefor these tests have been removed.