Skip to content

Commit

Permalink
Merge pull request #76 from Automattic/update_dependencies
Browse files Browse the repository at this point in the history
Update composer dependencies
  • Loading branch information
ashfame authored Apr 4, 2023
2 parents bb9f2dd + 1d7be29 commit 9efa9fb
Show file tree
Hide file tree
Showing 5 changed files with 185 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
run: composer install

- name: Run phpcs
run: ./vendor/bin/phpcs
run: composer phpcs
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.2",
"johnpbloch/wordpress": "^6.0",
"squizlabs/php_codesniffer": "^3.7",
"wp-coding-standards/wpcs": "^2.3"
"wp-coding-standards/wpcs": "dev-develop"
},
"autoload": {
"psr-4": {
Expand Down
216 changes: 181 additions & 35 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Http/Handlers/AuthenticateHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function __construct( ConsentStorage $consent_storage, array $clients ) {
$this->clients = $clients;
}

public function handle( Request $request, Response $response ) : Response {
public function handle( Request $request, Response $response ): Response {
if ( ! is_user_logged_in() ) {
auth_redirect();
}
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/ConsentStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class ConsentStorage {
const META_KEY_PREFIX = 'oidc_consent_timestamp_';

private function get_meta_key( $client_id ) : string {
private function get_meta_key( $client_id ): string {
return self::META_KEY_PREFIX . $client_id;
}

Expand Down

0 comments on commit 9efa9fb

Please sign in to comment.