Skip to content

Commit e319f3a

Browse files
authored
Merge pull request #134 from da-mask/main
Set minimum php version to 8.2
2 parents 2d66c8a + 5ccc2e6 commit e319f3a

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

.github/workflows/formats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: true
1111
matrix:
1212
os: [ubuntu-latest]
13-
php: [8.3]
13+
php: [8.2]
1414
dependency-version: [prefer-lowest, prefer-stable]
1515

1616
name: Formats P${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
os: [ubuntu-latest, macos-latest]
12-
php: ['8.3', '8.4']
12+
php: ['8.2', '8.3', '8.4']
1313
symfony: ['^6.4', '^7.2']
1414
dependency-version: [prefer-lowest, prefer-stable]
1515

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^8.3.0",
13+
"php": "^8.2",
1414
"nunomaduro/termwind": "^1.17.0|^2.3.0",
1515
"symfony/console": "^6.4.17|^7.2.1",
1616
"symfony/finder": "^6.4.17|^7.2.2"

src/Config.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ final class Config
1313
/**
1414
* The name of the configuration file.
1515
*/
16-
private const string JSON_CONFIGURATION_NAME = 'peck.json';
16+
private const JSON_CONFIGURATION_NAME = 'peck.json';
1717

1818
/**
1919
* The instance of the configuration.

src/Plugins/Cache.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/**
1212
* The version of the cache.
1313
*/
14-
private const int VERSION = 1;
14+
private const VERSION = 1;
1515

1616
/**
1717
* Creates a new instance of Cache.

src/Support/PresetProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
/**
1414
* The directory where the preset stubs are stored.
1515
*/
16-
private const string PRESET_STUBS_DIRECTORY = __DIR__.'/../../stubs/presets';
16+
private const PRESET_STUBS_DIRECTORY = __DIR__.'/../../stubs/presets';
1717

1818
/**
1919
* Returns the whitelisted words for the given preset.

0 commit comments

Comments
 (0)