-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Description
I wanted to quickly make some notes about things which I think could be worked on for the next major release of the plugin. This is a quick list and by no means exhaustive. Any suggestions are welcome
-
CakePHP 3.5 support. Is it worth continuing work in the existingBump up to CakePHP 3.63.4-testbranch? - Where appropriate refactor mixed mode methods, such as
Endpoint::endpoint()andEndpoint::alias()to getters and setters - Tidy up the api to remove confusing method names. Eg,
Endpoint::endpointandEndpoint::endpoint() - Upgrade to usage of
setConfig()andgetConfig() - Bump code sniffer version and fix any warnings
- Implement the new
setAlias()andgetAlias()methods which are now part of the coreRepositoryInterfaceinto the Endpoints - Replace the useless
{@inheritDoc}doc blocks with actual doc blocks -
Move theAbstractDriverclass into theDriverfolder and update it's namespace - Typehint where appropriate such as
Endpoint::webservice() - Add phpstan, with a script for basic support such as level 2
-
Bump phpunit to 7.x and update the test suite -
Fix the FixtureListener in thephpunit.xmlfile as PHPUnit 7.x doesn't have theBaseListenerclass - If no results are found, the returned total should be zero Query::count() should always return integer. #44
- Refactor
Schema::options() - Refactor
Schema::columnType() - Deprecate
ControllerEndpointFiltersince dispatch filters are deprecated in Cake 3.6 and add corresponding middleware instead. Deprecate the DispatchFilter #64 - Deprecate the EndpointRegistry, as TableRegistry has been deprecated Deprecate the EndpointRegistry #69
- Fix the Test boostraps use of deprecated DispatcherFactory Remove the use of deprecated dispatcher factory #67
-
Using Query::repository() as getter is deprecated. Use getRepository() instead.Seems mostly to be in the tests - Update the deprecated
TypeMap()calls -
Adding pagination support, ref How to get pagination data? #42 Preserve the pagination data in the result set #43Moved to post 2.0.0 release. - Re-name some variables to better differentiate between strings and instances
- Update the Readme to show the new api
Metadata
Metadata
Assignees
Labels
No labels