Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue #11, support PHP8 #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ corrupted serializations, a problem often seen when less advanced search-replace
scripts were used before on the same database.

## Requirements
Minimum supported PHP version is 5.3 and is tested with versions up to 7.4. PDO
Minimum supported PHP version is 5.3 and is tested with versions up to 8.1. PDO
is used for connecting with the database, so make sure you have the `pdo` and
`pdo_mysql` extensions enabled.

Expand Down
2 changes: 1 addition & 1 deletion compiled/DBSearchReplace-CLI.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion compiled/DBSearchReplace-GUI.php

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
"compiled/DBSearchReplace-CLI.php"
],
"require": {
"php": "^5.3 || ^7.0",
"php": "^5.3 || ^7.0 || ^8.0",
"ext-pdo": "*",
"ext-pdo_mysql": "*"
},
"require-dev": {
"eloquent/composer-npm-bridge": "4.1",
"eloquent/composer-npm-bridge": "^5.0",
"friendsofphp/php-cs-fixer": "^2.16",
"phpunit/phpunit": "^9.2",
"squizlabs/php_codesniffer": "^3.4",
Expand All @@ -46,5 +46,10 @@
"psalter --issues=MissingReturnType,MissingClosureReturnType,InvalidReturnType,InvalidNullableReturnType,InvalidFalsableReturnType,MissingParamType,MismatchingDocblockParamType,MismatchingDocblockReturnType,PossiblyUndefinedVariable,PossiblyUndefinedGlobalVariable"
],
"test": "phpunit"
},
"config": {
"allow-plugins": {
"eloquent/composer-npm-bridge": true
}
}
}
Loading