Skip to content

Commit

Permalink
downgrade to php 7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
danilin-em committed Apr 11, 2024
1 parent 26d6413 commit 984ffbf
Show file tree
Hide file tree
Showing 6 changed files with 675 additions and 2,004 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.3]
php: [7.4]
steps:
- uses: actions/checkout@v2
- name: Set up PHP
Expand All @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.3]
php: [7.4]
steps:
- uses: actions/checkout@v2
- name: Set up PHP
Expand All @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.3]
php: [7.4]
steps:
- uses: actions/checkout@v2
- name: Set up PHP
Expand All @@ -62,7 +62,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.3]
php: [7.4]
steps:
- uses: actions/checkout@v2
- name: Set up PHP
Expand Down
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

18 changes: 6 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@
],
"homepage": "https://github.com/danilin-em/test-memcached-lib",
"require": {
"php": "^8.3",
"php": "^7.4",
"ext-mbstring": "*"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"phpunit/phpunit": "^11.0",
"infection/infection": "^0.28.1",
"phpunit/phpunit": "^9.6",
"phpstan/phpstan": "^1.10",
"phpmd/phpmd": "^2.15",
"squizlabs/php_codesniffer": "^3.9"
Expand All @@ -34,11 +33,6 @@
},
"scripts": {
"phpunit": "XDEBUG_IS_ACTIVE=1 XDEBUG_TRIGGER=XDEBUG_IS_ACTIVE XDEBUG_MODE=coverage,debug phpunit -c phpunit.xml --testdox",
"test-unit": "@phpunit --testsuite Unit",
"infection": [
"Composer\\Config::disableProcessTimeout",
"infection --threads=6 --min-msi=80 --min-covered-msi=80 --log-verbosity=all --show-mutations --only-covered"
],
"phpstan": "phpstan analyse --configuration=phpstan.neon --memory-limit=512M --no-progress --error-format=table --no-interaction --ansi",
"phpcs": ["mkdir -p .tmp && phpcs --standard=phpcs.xml --cache=./.tmp/.phpcs.cache"],
"phpcbf": ["mkdir -p .tmp && phpcbf --standard=phpcs.xml --cache=./.tmp/.phpcs.cache"],
Expand All @@ -47,16 +41,16 @@
"ci": [
"@cs",
"@phpstan",
"@phpunit",
"@infection"
"@phpunit"
]
},
"config": {
"platform": {
"php": "8.3"
"php": "7.4"
},
"allow-plugins": {
"infection/extension-installer": true
"infection/extension-installer": true,
"ocramius/package-versions": true
}
}
}
Loading

0 comments on commit 984ffbf

Please sign in to comment.