Skip to content

Commit

Permalink
Support V1 encryption as fallback. (#15)
Browse files Browse the repository at this point in the history
Support PHP >= 8.0 / Node >= 12
  • Loading branch information
melya authored Mar 31, 2022
1 parent 77bb048 commit 5563328
Show file tree
Hide file tree
Showing 19 changed files with 382 additions and 6,799 deletions.
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/.github export-ignore
phpunit.xml.dist export-ignore
.phpunit.result.cache export-ignore
.travis.yml export-ignore
.gitignore export-ignore
phpcs.ruleset.xml export-ignore
phpstan.neon export-ignore
*Test.php export-ignore
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.DS_Store
.idea
composer.phar
composer.lock
vendor/
node_modules
npm-debug.log*
package-lock.json
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
language: php

php:
- 7.2
- 7.3
- 7.4snapshot
- nightly
- 8.0
- 8.1

matrix:
fast_finish: true
Expand All @@ -20,7 +18,7 @@ script:
jobs:
include:
- language: node_js
node_js: 12
node_js: 14
install:
- npm install
script:
Expand Down
20 changes: 10 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "readdle/crypto",
"license": "MIT",
"version": "1.0.0",
"version": "2.0.0",
"type": "library",
"description": "rdcrypto - unified library for encrypt/decrypt values",
"authors": [
Expand All @@ -11,22 +11,22 @@
}
],
"config": {
"platform": {
"php": "7.2"
},
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require": {
"php": ">=7.2",
"php": ">=8.0.2",
"ext-openssl": "*"
},
"require-dev": {
"escapestudios/symfony2-coding-standard": "^3.9",
"escapestudios/symfony2-coding-standard": "^3.12",
"pheromone/phpcs-security-audit": "^2.0",
"phpcompatibility/php-compatibility": "^9.3",
"phpunit/phpunit": "^8.4",
"slevomat/coding-standard": "^5.0",
"squizlabs/php_codesniffer": "^3.5"
"phpunit/phpunit": "^9.5",
"slevomat/coding-standard": "^7.1",
"squizlabs/php_codesniffer": "^3.6"
},
"autoload": {
"exclude-from-classmap": ["*Test.php"],
Expand Down
Loading

0 comments on commit 5563328

Please sign in to comment.