Completed
Branch dependabot/composer/wp-graphql... (d51bd9)
by
unknown
05:53 queued 14s
created
core/domain/entities/routing/specifications/admin/WordPressPostsEditor.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -19,22 +19,22 @@
 block discarded – undo
19 19
  */
20 20
 class WordPressPostsEditor extends MatchAnyRouteSpecification
21 21
 {
22
-    /**
23
-     * WordPressPostsEditor constructor.
24
-     *
25
-     * @param WordPressPostsEditorEdit $edit_post_route_match
26
-     * @param WordPressPostsEditorAddNew $create_post_route_match
27
-     * @param RequestInterface           $request
28
-     * @throws InvalidEntityException
29
-     */
30
-    public function __construct(
31
-        WordPressPostsEditorEdit $edit_post_route_match,
32
-        WordPressPostsEditorAddNew $create_post_route_match,
33
-        RequestInterface $request
34
-    ) {
35
-        parent::__construct(
36
-            array($edit_post_route_match, $create_post_route_match),
37
-            $request
38
-        );
39
-    }
22
+	/**
23
+	 * WordPressPostsEditor constructor.
24
+	 *
25
+	 * @param WordPressPostsEditorEdit $edit_post_route_match
26
+	 * @param WordPressPostsEditorAddNew $create_post_route_match
27
+	 * @param RequestInterface           $request
28
+	 * @throws InvalidEntityException
29
+	 */
30
+	public function __construct(
31
+		WordPressPostsEditorEdit $edit_post_route_match,
32
+		WordPressPostsEditorAddNew $create_post_route_match,
33
+		RequestInterface $request
34
+	) {
35
+		parent::__construct(
36
+			array($edit_post_route_match, $create_post_route_match),
37
+			$request
38
+		);
39
+	}
40 40
 }
Please login to merge, or discard this patch.
domain/entities/routing/specifications/admin/EspressoEventEditorEdit.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -14,19 +14,19 @@
 block discarded – undo
14 14
  */
15 15
 class EspressoEventEditorEdit extends RouteMatchSpecification
16 16
 {
17
-    /**
18
-     * returns true if current request matches specification
19
-     *
20
-     * @since 4.9.71.p
21
-     * @return boolean
22
-     */
23
-    public function isMatchingRoute()
24
-    {
25
-        global $pagenow;
26
-        return $pagenow
27
-               && $pagenow === 'admin.php'
28
-               && $this->request->isAdmin()
29
-               && $this->request->getRequestParam('page') === 'espresso_events'
30
-               && $this->request->getRequestParam('action', 'edit') === 'edit';
31
-    }
17
+	/**
18
+	 * returns true if current request matches specification
19
+	 *
20
+	 * @since 4.9.71.p
21
+	 * @return boolean
22
+	 */
23
+	public function isMatchingRoute()
24
+	{
25
+		global $pagenow;
26
+		return $pagenow
27
+			   && $pagenow === 'admin.php'
28
+			   && $this->request->isAdmin()
29
+			   && $this->request->getRequestParam('page') === 'espresso_events'
30
+			   && $this->request->getRequestParam('action', 'edit') === 'edit';
31
+	}
32 32
 }
Please login to merge, or discard this patch.
domain/entities/routing/specifications/admin/EspressoEventsListTable.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -14,18 +14,18 @@
 block discarded – undo
14 14
  */
15 15
 class EspressoEventsListTable extends RouteMatchSpecification
16 16
 {
17
-    /**
18
-     * returns true if current request matches specification
19
-     *
20
-     * @since 4.9.71.p
21
-     * @return boolean
22
-     */
23
-    public function isMatchingRoute()
24
-    {
25
-        global $pagenow;
26
-        return $pagenow
27
-               && $pagenow === 'admin.php'
28
-               && $this->request->getRequestParam('page') === 'espresso_events'
29
-               && $this->request->getRequestParam('action', 'default') === 'default';
30
-    }
17
+	/**
18
+	 * returns true if current request matches specification
19
+	 *
20
+	 * @since 4.9.71.p
21
+	 * @return boolean
22
+	 */
23
+	public function isMatchingRoute()
24
+	{
25
+		global $pagenow;
26
+		return $pagenow
27
+			   && $pagenow === 'admin.php'
28
+			   && $this->request->getRequestParam('page') === 'espresso_events'
29
+			   && $this->request->getRequestParam('action', 'default') === 'default';
30
+	}
31 31
 }
Please login to merge, or discard this patch.
domain/entities/routing/specifications/admin/EspressoVenueEditorAddNew.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -14,18 +14,18 @@
 block discarded – undo
14 14
  */
15 15
 class EspressoVenueEditorAddNew extends RouteMatchSpecification
16 16
 {
17
-    /**
18
-     * returns true if current request matches specification
19
-     *
20
-     * @since 4.9.71.p
21
-     * @return boolean
22
-     */
23
-    public function isMatchingRoute()
24
-    {
25
-        global $pagenow;
26
-        return $pagenow
27
-               && $pagenow === 'admin.php'
28
-               && $this->request->getRequestParam('page') === 'espresso_venues'
29
-               && $this->request->getRequestParam('action') === 'create_new';
30
-    }
17
+	/**
18
+	 * returns true if current request matches specification
19
+	 *
20
+	 * @since 4.9.71.p
21
+	 * @return boolean
22
+	 */
23
+	public function isMatchingRoute()
24
+	{
25
+		global $pagenow;
26
+		return $pagenow
27
+			   && $pagenow === 'admin.php'
28
+			   && $this->request->getRequestParam('page') === 'espresso_venues'
29
+			   && $this->request->getRequestParam('action') === 'create_new';
30
+	}
31 31
 }
Please login to merge, or discard this patch.
domain/entities/routing/specifications/admin/WordPressPostsListTable.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -14,17 +14,17 @@
 block discarded – undo
14 14
  */
15 15
 class WordPressPostsListTable extends RouteMatchSpecification
16 16
 {
17
-    /**
18
-     * returns true if current request matches specification
19
-     *
20
-     * @since 4.9.71.p
21
-     * @return boolean
22
-     */
23
-    public function isMatchingRoute()
24
-    {
25
-        global $pagenow;
26
-        return $pagenow
27
-               && $pagenow === 'edit.php'
28
-               && $this->request->getRequestParam('post_type', 'post') === 'post';
29
-    }
17
+	/**
18
+	 * returns true if current request matches specification
19
+	 *
20
+	 * @since 4.9.71.p
21
+	 * @return boolean
22
+	 */
23
+	public function isMatchingRoute()
24
+	{
25
+		global $pagenow;
26
+		return $pagenow
27
+			   && $pagenow === 'edit.php'
28
+			   && $this->request->getRequestParam('post_type', 'post') === 'post';
29
+	}
30 30
 }
Please login to merge, or discard this patch.
domain/entities/routing/specifications/admin/EspressoEventEditorAddNew.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -14,19 +14,19 @@
 block discarded – undo
14 14
  */
15 15
 class EspressoEventEditorAddNew extends RouteMatchSpecification
16 16
 {
17
-    /**
18
-     * returns true if current request matches specification
19
-     *
20
-     * @since 4.9.71.p
21
-     * @return boolean
22
-     */
23
-    public function isMatchingRoute()
24
-    {
25
-        global $pagenow;
26
-        return $pagenow
27
-               && $pagenow === 'admin.php'
28
-               && $this->request->isAdmin()
29
-               && $this->request->getRequestParam('page') === 'espresso_events'
30
-               && $this->request->getRequestParam('action') === 'create_new';
31
-    }
17
+	/**
18
+	 * returns true if current request matches specification
19
+	 *
20
+	 * @since 4.9.71.p
21
+	 * @return boolean
22
+	 */
23
+	public function isMatchingRoute()
24
+	{
25
+		global $pagenow;
26
+		return $pagenow
27
+			   && $pagenow === 'admin.php'
28
+			   && $this->request->isAdmin()
29
+			   && $this->request->getRequestParam('page') === 'espresso_events'
30
+			   && $this->request->getRequestParam('action') === 'create_new';
31
+	}
32 32
 }
Please login to merge, or discard this patch.
domain/entities/routing/specifications/admin/EspressoVenueEditorEdit.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -14,18 +14,18 @@
 block discarded – undo
14 14
  */
15 15
 class EspressoVenueEditorEdit extends RouteMatchSpecification
16 16
 {
17
-    /**
18
-     * returns true if current request matches specification
19
-     *
20
-     * @since 4.9.71.p
21
-     * @return boolean
22
-     */
23
-    public function isMatchingRoute()
24
-    {
25
-        global $pagenow;
26
-        return $pagenow
27
-               && $pagenow === 'admin.php'
28
-               && $this->request->getRequestParam('page') === 'espresso_venues'
29
-               && $this->request->getRequestParam('action') === 'edit';
30
-    }
17
+	/**
18
+	 * returns true if current request matches specification
19
+	 *
20
+	 * @since 4.9.71.p
21
+	 * @return boolean
22
+	 */
23
+	public function isMatchingRoute()
24
+	{
25
+		global $pagenow;
26
+		return $pagenow
27
+			   && $pagenow === 'admin.php'
28
+			   && $this->request->getRequestParam('page') === 'espresso_venues'
29
+			   && $this->request->getRequestParam('action') === 'edit';
30
+	}
31 31
 }
Please login to merge, or discard this patch.
domain/entities/routing/specifications/admin/WordPressPostTypeEditor.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -15,15 +15,15 @@
 block discarded – undo
15 15
  */
16 16
 class WordPressPostTypeEditor extends RouteMatchSpecification
17 17
 {
18
-    /**
19
-     * returns true if current request matches specification
20
-     *
21
-     * @since 4.9.71.p
22
-     * @return boolean
23
-     */
24
-    public function isMatchingRoute()
25
-    {
26
-        global $pagenow;
27
-        return $pagenow && ($pagenow === 'post.php' || $pagenow === 'post-new.php');
28
-    }
18
+	/**
19
+	 * returns true if current request matches specification
20
+	 *
21
+	 * @since 4.9.71.p
22
+	 * @return boolean
23
+	 */
24
+	public function isMatchingRoute()
25
+	{
26
+		global $pagenow;
27
+		return $pagenow && ($pagenow === 'post.php' || $pagenow === 'post-new.php');
28
+	}
29 29
 }
Please login to merge, or discard this patch.
domain/entities/routing/specifications/admin/WordPressPageEditorAddNew.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -14,17 +14,17 @@
 block discarded – undo
14 14
  */
15 15
 class WordPressPageEditorAddNew extends RouteMatchSpecification
16 16
 {
17
-    /**
18
-     * returns true if current request matches specification
19
-     *
20
-     * @since 4.9.71.p
21
-     * @return boolean
22
-     */
23
-    public function isMatchingRoute()
24
-    {
25
-        global $pagenow;
26
-        return $pagenow
27
-               && $pagenow === 'post-new.php'
28
-               && $this->request->getRequestParam('post_type', 'post') === 'page';
29
-    }
17
+	/**
18
+	 * returns true if current request matches specification
19
+	 *
20
+	 * @since 4.9.71.p
21
+	 * @return boolean
22
+	 */
23
+	public function isMatchingRoute()
24
+	{
25
+		global $pagenow;
26
+		return $pagenow
27
+			   && $pagenow === 'post-new.php'
28
+			   && $this->request->getRequestParam('post_type', 'post') === 'page';
29
+	}
30 30
 }
Please login to merge, or discard this patch.