Skip to content

Commit d2a9faa

Browse files
committed
Sort use statements
1 parent 9781510 commit d2a9faa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+80
-80
lines changed

lib/Catalyst/Action/Deserialize/MetaCPANSanitizedJSON.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package Catalyst::Action::Deserialize::MetaCPANSanitizedJSON;
22

33
use Moose;
4-
use namespace::autoclean;
5-
use Try::Tiny qw( catch try );
64
use Cpanel::JSON::XS ();
75
use MetaCPAN::Server::QuerySanitizer ();
6+
use namespace::autoclean;
7+
use Try::Tiny qw( catch try );
88

99
extends 'Catalyst::Action::Deserialize::JSON';
1010

lib/MetaCPAN/API/Plugin/Model.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ use Carp ();
88
use MetaCPAN::Model::Search ();
99

1010
# New models
11-
use MetaCPAN::API::Model::User ();
12-
use MetaCPAN::API::Model::Download ();
1311
use MetaCPAN::API::Model::Cover ();
12+
use MetaCPAN::API::Model::Download ();
13+
use MetaCPAN::API::Model::User ();
1414

1515
has app => sub { Carp::croak 'app is required' }, weak => 1;
1616

lib/MetaCPAN/Document/Author/Profile.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ use ElasticSearchX::Model::Document;
88

99
with 'ElasticSearchX::Model::Document::EmbeddedRole';
1010

11-
use MetaCPAN::Util;
1211
use MetaCPAN::Types::TypeTiny qw( Str );
12+
use MetaCPAN::Util;
1313

1414
has name => (
1515
is => 'ro',

lib/MetaCPAN/Model/Archive.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ use MetaCPAN::Types::TypeTiny qw( AbsPath ArrayRef Bool Str );
77

88
use Archive::Any ();
99
use Carp qw( croak );
10-
use Path::Tiny qw( path );
1110
use Digest::file qw( digest_file_hex );
11+
use Path::Tiny qw( path );
1212

1313
=head1 NAME
1414

lib/MetaCPAN/Model/Release.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ use MetaCPAN::Types::TypeTiny qw( AbsPath ArrayRef Str );
1515
use MetaCPAN::Util qw( fix_version);
1616
use Module::Metadata 1.000012 (); # Improved package detection.
1717
use MooseX::StrictConstructor;
18-
use Path::Tiny qw( path );
1918
use Parse::PMFile ();
19+
use Path::Tiny qw( path );
2020
use Try::Tiny qw( catch try );
2121

2222
with 'MetaCPAN::Role::Logger';

lib/MetaCPAN/Role/HasConfig.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ package MetaCPAN::Role::HasConfig;
22

33
use Moose::Role;
44

5-
use FindBin ();
65
use Config::ZOMG ();
6+
use FindBin ();
77
use MetaCPAN::Types::TypeTiny qw( HashRef );
88
use MetaCPAN::Util qw( checkout_root );
99

lib/MetaCPAN/Role/Logger.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ package MetaCPAN::Role::Logger;
22

33
use v5.10;
44
use Moose::Role;
5-
use MetaCPAN::Types::TypeTiny qw( Logger Str );
6-
use Log::Contextual qw( set_logger );
5+
use Log::Contextual qw( set_logger );
76
use Log::Log4perl ':easy';
8-
use Path::Tiny qw( path );
7+
use MetaCPAN::Types::TypeTiny qw( Logger Str );
8+
use Path::Tiny qw( path );
99

1010
has level => (
1111
is => 'ro',

lib/MetaCPAN/Role/Script.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ package MetaCPAN::Role::Script;
33
use Moose::Role;
44

55
use ElasticSearchX::Model::Document::Types qw( ES );
6-
use MetaCPAN::Util qw( checkout_root );
6+
use File::Path ();
7+
use IO::Prompt::Tiny qw( prompt );
78
use Log::Contextual qw( :log :dlog );
89
use MetaCPAN::Model ();
910
use MetaCPAN::Types::TypeTiny qw( Bool HashRef Int Path Str );
11+
use MetaCPAN::Util qw( checkout_root );
1012
use Mojo::Server ();
1113
use Term::ANSIColor qw( colored );
12-
use IO::Prompt::Tiny qw( prompt );
13-
use File::Path ();
1414

1515
use Carp ();
1616

lib/MetaCPAN/Script/Author.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ use warnings;
66
use Moose;
77
with 'MooseX::Getopt', 'MetaCPAN::Role::Script';
88

9+
use Cpanel::JSON::XS qw( decode_json );
910
use DateTime ();
1011
use Email::Valid ();
1112
use Encode ();
12-
use Cpanel::JSON::XS qw( decode_json );
1313
use Log::Contextual qw( :log :dlog );
1414
use MetaCPAN::Document::Author ();
15-
use URI ();
16-
use XML::XPath ();
1715
use MetaCPAN::Types::TypeTiny qw( Str );
1816
use MetaCPAN::Util qw(diff_struct);
17+
use URI ();
18+
use XML::XPath ();
1919

2020
=head1 SYNOPSIS
2121

lib/MetaCPAN/Script/Backup.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ use strict;
44
use warnings;
55
use feature qw( state );
66

7+
use Cpanel::JSON::XS qw( decode_json encode_json );
78
use DateTime ();
89
use IO::Zlib ();
9-
use Cpanel::JSON::XS qw( decode_json encode_json );
1010
use Log::Contextual qw( :log :dlog );
1111
use MetaCPAN::Types::TypeTiny qw( Bool Int Path Str );
1212
use Moose;

0 commit comments

Comments
 (0)