Skip to content

Commit

Permalink
Prepare update + change dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephane MEAUDRE committed Oct 16, 2023
1 parent f399a78 commit 929490d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
* [Authors](#authors)
* [Licence](#licence)

Version 2.5.2
Version 2.6.0

## Requirements
* PHP 8.1 min or superior (oldest versions are no longer supported)
* PHP 8.2 min or superior (oldest versions are no longer supported)
* API Key and API Secret from [Astrobin](https://www.astrobin.com/api/request-key/)

## Introduction
Expand All @@ -53,17 +53,20 @@ You can install this package in 2 different ways.
Update to the newest version :
> `composer update hamhamfonfon/astrobin-ws`
* If you just want to make some issues, make some simple tests etc, juste clone the repository

> `git clone [email protected]:HamHamFonFon/Astrobin-Webservices.git`

If you're using old PHP versions:
- PHP 8.1
> `composer require hamhamfonfon/astrobin-ws:2.5`
- PHP 7.4 | 8.0
> `composer require hamhamfonfon/astrobin-ws:2.4`
- PHP 7.3
> `composer require hamhamfonfon/astrobin-ws:2.3`
Caution, these versions are not maintained anymore. Only 2.5.* will be maintained and will have new features.
Caution, these versions are not maintained anymore. Only 2.6.* will be maintained and will have new features.

* If you just want to make some issues, make some simple tests etc, juste clone the repository

> `git clone [email protected]:HamHamFonFon/Astrobin-Webservices.git`
### Usage

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
},
"config": {
"platform": {
"php": "8.1"
"php": "8.2"
}
},
"require" : {
"php": ">=8.1.0",
"php": ">=8.2.0",
"guzzlehttp/guzzle": "^7.5",
"ext-ctype": "*",
"ext-json": "*"
Expand Down
2 changes: 1 addition & 1 deletion docker/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.1.0-fpm
FROM php:8.2.0-fpm

ARG USERNAME=site
ARG USER_UID
Expand Down
2 changes: 1 addition & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// register a single rule
$rectorConfig->rule(InlineConstructorDefaultToPropertyRector::class);

$rectorConfig->sets([LevelSetList::UP_TO_PHP_81]);
$rectorConfig->sets([LevelSetList::UP_TO_PHP_82]);
$rectorConfig->sets([SetList::CODE_QUALITY]);
// $rectorConfig->sets([SetList::CODING_STYLE]);
};

0 comments on commit 929490d

Please sign in to comment.