Skip to content

Commit

Permalink
refactor: update CI config about PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Dec 6, 2023
1 parent e2f06bf commit 0600dc2
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
build:
docker:
- image: circleci/php:7.4-cli
- image: circleci/php:8.1-cli
steps:
- run:
name: Switch timezone to Europe/Paris
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'Release'

env:
PHP_VERSION: '7.4'
PHP_VERSION: '8.1'

on:
release:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,33 +28,33 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.1', '8.2', '8.3']
coverage: [false]
experimental: [false]
profiling: [false]
exclude:
# excluded for code coverage
- os: 'ubuntu-latest'
php: '7.4'
php: '8.1'
coverage: false
profiling: false
experimental: false
include:
# code coverage
- os: 'ubuntu-latest'
php: '7.4'
php: '8.1'
coverage: true
profiling: false
experimental: false
# code profiling
- os: 'ubuntu-latest'
php: '8.1'
php: '8.2'
coverage: false
profiling: true
experimental: false
# PHP 8.2 JIT experimental
# experimental
- os: 'ubuntu-latest'
php: '8.2'
php: '8.3'
coverage: false
profiling: false
experimental: true
Expand Down
4 changes: 2 additions & 2 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ build:
environment:
timezone: 'Europe/Paris'
php:
version: 7.4
compile_options: '--with-config-file-path=/home/scrutinizer/.phpenv/versions/7.4.27/etc --with-config-file-scan-dir=/home/scrutinizer/.phpenv/versions/7.4.27/etc/conf.d --prefix=/home/scrutinizer/.phpenv/versions/7.4.27 --libexecdir=/home/scrutinizer/.phpenv/versions/7.4.27/libexec --enable-intl --with-openssl --with-gd --enable-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --enable-exif --with-libzip --with-zlib --with-zlib-dir=/usr --enable-xmlreader --with-xsl --enable-pcntl --with-readline --enable-mbstring --with-curl --with-gettext --with-bz2 --enable-bcmath --with-libdir=lib --with-pear=/home/scrutinizer/.phpenv/versions/7.4.27/pear --with-webp-dir=/usr -with-vpx-dir=/usr'
version: 8.1
#compile_options: '--with-config-file-path=/home/scrutinizer/.phpenv/versions/7.4.27/etc --with-config-file-scan-dir=/home/scrutinizer/.phpenv/versions/7.4.27/etc/conf.d --prefix=/home/scrutinizer/.phpenv/versions/7.4.27 --libexecdir=/home/scrutinizer/.phpenv/versions/7.4.27/libexec --enable-intl --with-openssl --with-gd --enable-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --enable-exif --with-libzip --with-zlib --with-zlib-dir=/usr --enable-xmlreader --with-xsl --enable-pcntl --with-readline --enable-mbstring --with-curl --with-gettext --with-bz2 --enable-bcmath --with-libdir=lib --with-pear=/home/scrutinizer/.phpenv/versions/7.4.27/pear --with-webp-dir=/usr -with-vpx-dir=/usr'
nodes:
analysis:
#requires:
Expand Down
2 changes: 1 addition & 1 deletion .styleci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
risky: false
version: 7.4
version: 8.1
preset: psr12
tab-width: 4
use-tabs: false
Expand Down
2 changes: 1 addition & 1 deletion .symfony.insight.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
php_version: 7.4
php_version: 8.1
commit_failure_conditions:
- "project.severity.critical > 0"
exclude_patterns:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ mv cecil.phar /usr/local/bin/cecil
chmod +x /usr/local/bin/cecil
```

> [PHP](https://www.php.net) 7.4+ is required.
> [PHP](https://www.php.net) 8.1+ is required.
## Usage

Expand Down

0 comments on commit 0600dc2

Please sign in to comment.