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 ec27130
Show file tree
Hide file tree
Showing 6 changed files with 676 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.

19 changes: 7 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "danilin-em/memcached",
"description": "Memcached client for PHP. No dependencies, no extensions, no third-party libraries. No regrets.",
"version": "0.2.0",
"type": "library",
"license": "MIT",
"authors": [
Expand All @@ -11,13 +12,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 +34,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 +42,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 ec27130

Please sign in to comment.