Completed
Branch update-venue-ui (4b9c7e)
by
unknown
02:27
created
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/WordPressPostsEditorEdit.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -16,18 +16,18 @@
 block discarded – undo
16 16
 class WordPressPostsEditorEdit extends RouteMatchSpecification
17 17
 {
18 18
 
19
-    /**
20
-     * returns true if current request matches specification
21
-     *
22
-     * @return boolean
23
-     * @since 4.9.71.p
24
-     */
25
-    public function isMatchingRoute()
26
-    {
27
-        global $pagenow;
28
-        return $pagenow
29
-               && $pagenow === 'post.php'
30
-               && $this->request->getRequestParam('post_type', 'post') === 'post'
31
-               && $this->request->getRequestParam('action') === 'edit';
32
-    }
19
+	/**
20
+	 * returns true if current request matches specification
21
+	 *
22
+	 * @return boolean
23
+	 * @since 4.9.71.p
24
+	 */
25
+	public function isMatchingRoute()
26
+	{
27
+		global $pagenow;
28
+		return $pagenow
29
+			   && $pagenow === 'post.php'
30
+			   && $this->request->getRequestParam('post_type', 'post') === 'post'
31
+			   && $this->request->getRequestParam('action') === 'edit';
32
+	}
33 33
 }
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.
entities/routing/specifications/admin/EspressoStandardPostTypeEditor.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -15,21 +15,21 @@
 block discarded – undo
15 15
 class EspressoStandardPostTypeEditor extends RouteMatchSpecification
16 16
 {
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
28
-               && $pagenow === 'admin.php'
29
-               && $this->request->getMatch('espresso_*') !== false
30
-               && (
31
-                   $this->request->getRequestParam('action') === 'edit'
32
-                   || $this->request->getRequestParam('action') === 'create_new'
33
-               );
34
-    }
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
28
+			   && $pagenow === 'admin.php'
29
+			   && $this->request->getMatch('espresso_*') !== false
30
+			   && (
31
+				   $this->request->getRequestParam('action') === 'edit'
32
+				   || $this->request->getRequestParam('action') === 'create_new'
33
+			   );
34
+	}
35 35
 }
Please login to merge, or discard this patch.
entities/routing/specifications/admin/EspressoAttendeePostTypeEditor.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 EspressoAttendeePostTypeEditor 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_registrations'
29
-               && $this->request->getRequestParam('action') === 'edit_attendee';
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_registrations'
29
+			   && $this->request->getRequestParam('action') === 'edit_attendee';
30
+	}
31 31
 }
Please login to merge, or discard this patch.
domain/entities/routing/specifications/admin/WordPressPostsEditorAddNew.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -15,17 +15,17 @@
 block discarded – undo
15 15
  */
16 16
 class WordPressPostsEditorAddNew 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
28
-               && $pagenow === 'post-new.php'
29
-               && $this->request->getRequestParam('post_type', 'post') === 'post';
30
-    }
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
28
+			   && $pagenow === 'post-new.php'
29
+			   && $this->request->getRequestParam('post_type', 'post') === 'post';
30
+	}
31 31
 }
Please login to merge, or discard this patch.
core/domain/entities/routing/specifications/admin/WordPressPageEditor.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -19,21 +19,21 @@
 block discarded – undo
19 19
 class WordPressPageEditor extends MatchAnyRouteSpecification
20 20
 {
21 21
 
22
-    /**
23
-     * WordPressPostsEditor constructor.
24
-     *
25
-     * @param WordPressPageEditorEdit   $edit_page_route_match
26
-     * @param WordPressPageEditorAddNew $create_page_route_match
27
-     * @param RequestInterface          $request
28
-     */
29
-    public function __construct(
30
-        WordPressPageEditorEdit $edit_page_route_match,
31
-        WordPressPageEditorAddNew $create_page_route_match,
32
-        RequestInterface $request
33
-    ) {
34
-        parent::__construct(
35
-            array($edit_page_route_match, $create_page_route_match),
36
-            $request
37
-        );
38
-    }
22
+	/**
23
+	 * WordPressPostsEditor constructor.
24
+	 *
25
+	 * @param WordPressPageEditorEdit   $edit_page_route_match
26
+	 * @param WordPressPageEditorAddNew $create_page_route_match
27
+	 * @param RequestInterface          $request
28
+	 */
29
+	public function __construct(
30
+		WordPressPageEditorEdit $edit_page_route_match,
31
+		WordPressPageEditorAddNew $create_page_route_match,
32
+		RequestInterface $request
33
+	) {
34
+		parent::__construct(
35
+			array($edit_page_route_match, $create_page_route_match),
36
+			$request
37
+		);
38
+	}
39 39
 }
Please login to merge, or discard this patch.
domain/entities/routing/specifications/admin/WordPressPageEditorEdit.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -16,18 +16,18 @@
 block discarded – undo
16 16
  */
17 17
 class WordPressPageEditorEdit extends RouteMatchSpecification
18 18
 {
19
-    /**
20
-     * returns true if current request matches specification
21
-     *
22
-     * @since 4.9.71.p
23
-     * @return boolean
24
-     */
25
-    public function isMatchingRoute()
26
-    {
27
-        global $pagenow;
28
-        return $pagenow
29
-               && $pagenow === 'plugins.php'
30
-               && $this->request->getRequestParam('post_type', 'post') === 'page'
31
-               && $this->request->getRequestParam('action') === 'edit';
32
-    }
19
+	/**
20
+	 * returns true if current request matches specification
21
+	 *
22
+	 * @since 4.9.71.p
23
+	 * @return boolean
24
+	 */
25
+	public function isMatchingRoute()
26
+	{
27
+		global $pagenow;
28
+		return $pagenow
29
+			   && $pagenow === 'plugins.php'
30
+			   && $this->request->getRequestParam('post_type', 'post') === 'page'
31
+			   && $this->request->getRequestParam('action') === 'edit';
32
+	}
33 33
 }
Please login to merge, or discard this patch.