Replace internal calls to helpers with StaticInflector #43
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.
So while you have this warning, the library itself currently leans on these helpers, so much of the does not work without requiring
vendor/icanboogie/inflector/lib/helpers.php
Warning
Since v3.0 the file with the helper functions is no longer included in the
autoload.
You need to include the file
vendor/icanboogie/inflector/lib/helpers.php
in your
composer.json
if you want to continue using these functions.So for instance
currently throws
This PR just changes all the call sites where the helpers are being used internally to use the static inflector instead of helpers