Skip to content

Commit

Permalink
Merge pull request #1246 from metacpan/oalders/perlimports-iii
Browse files Browse the repository at this point in the history
Apply perlimports to ./lib and most other remaining files
  • Loading branch information
oalders authored Sep 3, 2024
2 parents 4c1e3c4 + d2a9faa commit 128d9ae
Show file tree
Hide file tree
Showing 99 changed files with 501 additions and 290 deletions.
4 changes: 2 additions & 2 deletions app.psgi
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ BEGIN {
}
use lib "$root_dir/lib";

use Config::ZOMG;
use Config::ZOMG ();
use File::Path ();
use File::Spec ();
use Log::Log4perl ();
Expand Down Expand Up @@ -46,7 +46,7 @@ BEGIN {
$SIG{__WARN__} = sub { $logger->warn(@_) };
}

use MetaCPAN::Server;
use MetaCPAN::Server ();

STDERR->autoflush;

Expand Down
4 changes: 2 additions & 2 deletions bin/check_json.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# PODNAME: check_json.pl
use 5.010;

use Data::Dumper;
use Cpanel::JSON::XS;
use Data::Dumper qw( Dumper );
use Cpanel::JSON::XS qw( decode_json );

foreach my $file (@ARGV) {
say "Processing $file";
Expand Down
4 changes: 2 additions & 2 deletions bin/convert_authors.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

use strict;
use warnings;
use Cpanel::JSON::XS;
use File::Find;
use Cpanel::JSON::XS qw( decode_json );
use File::Find qw( find );

my @files;
find(
Expand Down
4 changes: 2 additions & 2 deletions bin/metacpan
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

use strict;
use warnings;
use FindBin;
use FindBin ();
use lib "$FindBin::RealBin/../lib";
use MetaCPAN::Script::Runner;
use MetaCPAN::Script::Runner ();

MetaCPAN::Script::Runner->run;

Expand Down
6 changes: 3 additions & 3 deletions bin/unlisted_prereqs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
use strict;
use warnings;
use Perl::PrereqScanner 1.014;
use CPAN::Meta::Requirements;
use CPAN::Meta::Requirements ();
use File::Find::Rule::Perl;
use List::Util qw(sum);
use List::Util qw( sum );
use version 0.77;

# TODO: use CPAN::Meta::Prereqs
Expand Down Expand Up @@ -91,7 +91,7 @@ sub check_prereqs {
if version->parse( $reqs->{runtime}{perl} )
<= version->parse($MIN_PERL_VERSION);

use Data::Dumper;
use Data::Dumper ();
$Data::Dumper::Sortkeys = 1;
print Data::Dumper->Dump( [$reqs], ['requires'] );

Expand Down
2 changes: 1 addition & 1 deletion cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ requires 'Module::Faker::Dist', '== 0.017';
requires 'OrePAN2', '0.48';
requires 'Parallel::ForkManager' => '2.02';
requires 'Perl::Critic', '0.140';
requires 'Perl::Tidy' => '== 20230309';
requires 'Perl::Tidy' => '== 20240511';
requires 'PPI', '1.274'; # Perl::Critic
requires 'PPIx::QuoteLike', '0.022'; # Perl::Critic
requires 'PPIx::Regexp', '0.085'; # Perl::Critic
Expand Down
Loading

0 comments on commit 128d9ae

Please sign in to comment.