Skip to content

Commit

Permalink
Add PHP 8 compatibility
Browse files Browse the repository at this point in the history
```
vendor/bin/phpcs -p vendor/msp/adminrestriction --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.0
...... 6 / 6 (100%)


Time: 152ms; Memory: 10MB

vendor/bin/phpcs -p vendor/msp/adminrestriction --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.1
...... 6 / 6 (100%)


Time: 145ms; Memory: 10MB
```
  • Loading branch information
peterjaap authored Jun 9, 2022
1 parent f5cb3ff commit a4e3453
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "msp/adminrestriction",
"description": "Magento2 Admin IP based restriction - Member of MageSpecialist SecuritySuite",
"require": {
"php": "^7.0|^7.1",
"php": "^7.0|^8.0.0|^8.1.0",
"msp/security-suite-common": "^2.0",
"magento/magento-composer-installer": "*"
},
Expand All @@ -25,4 +25,4 @@
"MSP\\AdminRestriction\\": ""
}
}
}
}

0 comments on commit a4e3453

Please sign in to comment.