mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-04 10:05:43 +03:00
Tools: Add formatting command, run to fix minor phpcs issues
This commit is contained in:
parent
28b102bc4c
commit
bb25e0c78b
13 changed files with 55 additions and 53 deletions
|
@ -52,7 +52,7 @@ class Test_Auth extends WP_UnitTestCase {
|
|||
/**
|
||||
* Setup fixtures that are unique for each test.
|
||||
*/
|
||||
public function set_up() : void {
|
||||
public function set_up(): void {
|
||||
parent::set_up();
|
||||
|
||||
/*
|
||||
|
@ -115,7 +115,7 @@ class Test_Auth extends WP_UnitTestCase {
|
|||
'wrong-data-type' => array( 'this string is not an array' ),
|
||||
'wrong-array-items' => array( 'this' => "doesn't have `value` and `expiration` items" ),
|
||||
|
||||
'invalid-value' => array(
|
||||
'invalid-value' => array(
|
||||
// Must have TOKEN_LENGTH characters, otherwise could be rejected for the wrong reason.
|
||||
'value' => 'Has special characters !@#$%^&*)',
|
||||
'expiration' => time() + MINUTE_IN_SECONDS,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue