This repository was archived by the owner on Oct 14, 2020. It is now read-only.
Fixed: move tests to PSR-4 autoloading in autoload-dev#58
Closed
qrazi wants to merge 1 commit intoFlowCommunications:masterfrom
Closed
Fixed: move tests to PSR-4 autoloading in autoload-dev#58qrazi wants to merge 1 commit intoFlowCommunications:masterfrom
qrazi wants to merge 1 commit intoFlowCommunications:masterfrom
Conversation
Fixes Composer deprecation notice "Deprecation Notice: Class Flow\JSONPath\Test\<classname> located in ./vendor/flow/jsonpath/tests/JSONPathArrayAccessTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201" Test namespace can be autoloaded only for dev. PSR-0 assumes absolute file structure and was expecting `tests\Flow\JSONPath\Test\` as the namespace. PSR-4 allows defining more relative anchor points.
Contributor
|
Duplicate of #51 |
Author
|
🤦 My bad, missed the open PR for this |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Fixes Composer deprecation notice "Deprecation Notice: Class Flow\JSONPath\Test<classname> located in ./vendor/flow/jsonpath/tests/JSONPathArrayAccessTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201"
Test namespace can be autoloaded only for dev. PSR-0 assumes absolute file structure and was expecting
tests\Flow\JSONPath\Test\as the namespace. PSR-4 allows defining more relative anchor points.