Closed (fixed)
Project:
Entity Visibility Preview
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2020 at 17:16 UTC
Updated:
13 Mar 2020 at 09:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Piegefull commentedComment #3
grimreaperHello,
Thanks for the patch.
I will create a dedicated issue for PHP7 typing.
Why changing visibility?
Correct for pareview, but not the correct order: https://www.drupal.org/docs/develop/standards/api-documentation-and-comm...
I agree that it can be hard to find this piece of documentation of standards.
I made the change.
You forgot some files without the "declare" and one inheritDoc.
To avoid forgetting inheritDoc, use PhpStorm search feature :).
To search for files without a string, I was not able to find that in PhpStorm, but a simple https://stackoverflow.com/questions/1748129/how-do-i-find-files-that-do-..., do the job.
I have also added jsonapi_extras in require-dev to avoid drupal-check validation errors.
I will handle param and return typing in another issue.
Waiting for tests to execute before merging.
Comment #5
grimreaper