Skip to content

Commit 0a29f25

Browse files
committed
Lint fix
1 parent 9ba40cc commit 0a29f25

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Profiler.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ public function get_loggers() {
7979
* Run the profiler against WordPress
8080
*/
8181
public function run() {
82-
$url = WP_CLI::get_runner()->config['url'];
83-
$path = '';
82+
$url = WP_CLI::get_runner()->config['url'];
83+
$path = '';
8484
if ( ! empty( $url ) ) {
85-
$parsed_url = @parse_url( $url );
85+
$parsed_url = wp_parse_url( $url );
8686
if ( false !== $parsed_url && isset( $parsed_url['path'] ) ) {
8787
$path = $parsed_url['path'];
8888
} else {

0 commit comments

Comments
 (0)