Skip to content

Commit

Permalink
Release 5.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed May 30, 2022
1 parent dda047c commit 246b819
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 64 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ on:
jobs:
tests:
name: PHP ${{ matrix.php }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
matrix:
php: ['7.2', '7.3', '7.4', '8.0', '8.1']

steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -28,7 +28,7 @@ jobs:
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: Install Dependencies
uses: nick-invision/retry@v1
uses: nick-invision/retry@v2
with:
timeout_minutes: 5
max_attempts: 5
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ Packagist Stats was created by, and is maintained by [Graham Campbell](https://g

## Usage

This project is relatively small, and it's usage is pretty simple. [PHP](https://php.net) 7.2-8.1 is required.
This project is relatively small, and it's usage is pretty simple. [PHP](https://www.php.net/) 7.2-8.1 is required.

To get the latest version, simply require the project using [Composer](https://getcomposer.org) or download the phar from the [releases](https://github.com/GrahamCampbell/Packagist-Stats/releases) page:
To get the latest version, simply require the project using [Composer](https://getcomposer.org/) or download the phar from the [releases](https://github.com/GrahamCampbell/Packagist-Stats/releases) page:

```bash
$ composer global require "graham-campbell/packagist-stats:^5.3"
Expand Down
5 changes: 3 additions & 2 deletions app/Console/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

use GrahamCampbell\PackagistStats\Client;
use GrahamCampbell\PackagistStats\Console\Commands\ShowCommand;
use GuzzleHttp\Client as GuzzleClient;
use Packagist\Api\Client as Packagist;
use Symfony\Component\Console\Application as SymfonyApplication;

Expand All @@ -32,7 +33,7 @@ final class Application extends SymfonyApplication
*
* @var string
*/
const APP_VERSION = '5.3.4';
const APP_VERSION = '5.4.0';

/**
* Create a new StyleCI CLI application.
Expand All @@ -42,6 +43,6 @@ final class Application extends SymfonyApplication
public function __construct()
{
parent::__construct(self::APP_NAME, self::APP_VERSION);
$this->add(new ShowCommand(new Client(new Packagist())));
$this->add(new ShowCommand(new Client(new Packagist(new GuzzleClient(['connect_timeout' => 10, 'timeout' => 30])))));
}
}
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"php": "^7.2.5 || ^8.0",
"ext-json": "*",
"composer/xdebug-handler": "^1.4 || ^2.0 || ^3.0",
"guzzlehttp/guzzle": "^7.4.2",
"guzzlehttp/psr7": "^1.8.5 || ^2.2.1",
"guzzlehttp/guzzle": "^7.4.3",
"guzzlehttp/psr7": "^2.2.1",
"symfony/console": "^4.3.8 || ^5.0 || ^6.0",
"symfony/error-handler": "^4.4 || ^5.0 || ^6.0",
"knplabs/packagist-api": "^1.7.2"
Expand Down
100 changes: 50 additions & 50 deletions composer.lock

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

Loading

0 comments on commit 246b819

Please sign in to comment.