Skip to content
Snippets Groups Projects
Commit f4fed6eb authored by James Shields's avatar James Shields Committed by Chris Wells
Browse files

Issue #3426658: Gitlab CI - PHPCS - Return comments and Class comments

parent bd2714ea
No related branches found
No related tags found
1 merge request!443PHPCS fixes for class comments and return type comments.
Pipeline #115084 passed with warnings
......@@ -5,6 +5,9 @@ namespace Drupal\project_browser\Event;
use Drupal\project_browser\EnabledSourceHandler;
use Symfony\Contracts\EventDispatcher\Event;
/**
* Subclass of Event for updating fixtures.
*/
class UpdateFixtureEvent extends Event {
/**
......
......@@ -161,6 +161,7 @@ class DrupalCore extends ProjectBrowserSourceBase implements ContainerFactoryPlu
* Gets the project data from cache if available, or builds it if not.
*
* @return \Drupal\project_browser\ProjectBrowser\Project[]
* Array of projects.
*/
protected function getProjectData(): array {
$stored_projects = $this->cacheBin->get('DrupalCore:projects');
......
......@@ -48,6 +48,7 @@ interface ProjectBrowserSourceInterface {
* Returns the available security options that plugins will parse.
*
* @return array
* List of security options.
*/
public function getSecurityOptions(): array;
......@@ -55,13 +56,15 @@ interface ProjectBrowserSourceInterface {
* Returns the available maintenance options that plugins will parse.
*
* @return array
* List of maintenance options.
*/
public function getMaintenanceOptions(): array;
/**
* Returns the available maintenance options that plugins will parse.
* Returns the available development options that plugins will parse.
*
* @return array
* List of development options.
*/
public function getDevelopmentOptions(): array;
......@@ -69,6 +72,7 @@ interface ProjectBrowserSourceInterface {
* Returns the available sort options that plugins will parse.
*
* @return array
* List of sort options.
*/
public function getSortOptions(): array;
......
......@@ -26,6 +26,9 @@ use PhpTuf\ComposerStager\API\Path\Factory\PathFactoryInterface;
use PhpTuf\ComposerStager\API\Core\StagerInterface;
use Symfony\Component\DependencyInjection\Reference;
/**
* Base class acts as a helper for Project Browser services.
*/
class ProjectBrowserServiceProvider extends ServiceProviderBase {
/**
......
......@@ -6,6 +6,9 @@ namespace Drupal\Tests\project_browser\FunctionalJavascript;
use Behat\Mink\Element\NodeElement;
/**
* Trait used by UI tests for testing actions like clicking and dragging.
*/
trait ProjectBrowserUiTestTrait {
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment