Commit 791a4170 authored by Roman Ondráček's avatar Roman Ondráček Committed by Karel Hanák
Browse files

Drop support for PHP 7.3


Signed-off-by: Roman Ondráček's avatarRoman Ondráček <ondracek.roman@centrum.cz>
parent 22c8c943
......@@ -94,9 +94,9 @@ test:
parallel:
matrix:
- PHP_VERSION:
- '7.3'
- '7.4'
- '8.0'
- '8.1'
<<: *test_template
newman:
......
......@@ -52,7 +52,7 @@ fix-cc: temp/code-checker
php temp/code-checker/code-checker -f -l --no-progress --strict-types -i "coverage.*" -i "docs/" -i "tests/temp/" -i "www/dist/" -i "tests/iqrf-gateway-webapp.postman_collection.json"
cs: deps
vendor/bin/codesniffer --runtime-set php_version 70300 app bin tests
vendor/bin/codesniffer --runtime-set php_version 70400 app bin tests
deb-package:
debuild -b -uc -us
......@@ -149,13 +149,13 @@ lint: deps
vendor/bin/linter app bin tests
phpstan: deps
NETTE_TESTER_RUNNER=1 vendor/bin/phpstan analyse -c phpstan.neon
NETTE_TESTER_RUNNER=1 php7.4 vendor/bin/phpstan analyse -c phpstan.neon
rector: deps
NETTE_TESTER_RUNNER=1 vendor/bin/rector process --dry-run
run:
php -S [::]:8080 -t www/
php7.4 -S [::]:8080 -t www/
temp/code-checker:
composer create-project nette/code-checker temp/code-checker --no-interaction
......
......@@ -13,7 +13,7 @@ See the installation guide [here](https://docs.iqrf.org/iqrf-gateway/webapp-inst
## Requirements
PHP 7.3 or higher. To check whether server configuration meets the minimum requirements for [Nette Framework](https://doc.nette.org/3.0/requirements).
PHP 7.4 or higher. To check whether server configuration meets the minimum requirements for [Nette Framework](https://doc.nette.org/3.0/requirements).
### Web server
......
......@@ -46,12 +46,12 @@ class ApiKeyController extends BaseController {
/**
* @var EntityManager Entity manager
*/
private $entityManager;
private EntityManager $entityManager;
/**
* @var ApiKeyRepository API key database repository
*/
private $repository;
private ApiKeyRepository $repository;
/**
* Constructor
......
......@@ -49,7 +49,7 @@ class BackupController extends BaseController{
/**
* @var BackupManager Backup manager
*/
private $manager;
private BackupManager $manager;
/**
* Constructor
......
......@@ -32,7 +32,7 @@ abstract class BaseConfigController extends BaseController {
/**
* @var RestApiSchemaValidator REST API JSON schema validator
*/
protected $validator;
protected RestApiSchemaValidator $validator;
/**
* Constructor
......
......@@ -38,7 +38,7 @@ abstract class BaseController implements IController {
/**
* @var RestApiSchemaValidator REST API JSON schema validator
*/
protected $validator;
protected RestApiSchemaValidator $validator;
/**
* Constructor
......
......@@ -42,7 +42,7 @@ class CertificateController extends BaseController {
/**
* @var CertificateManager TLS certificate manager
*/
private $manager;
private CertificateManager $manager;
/**
* Constructor
......
......@@ -47,7 +47,7 @@ class AwsController extends CloudsController {
/**
* @var AwsManager Amazon AWS IoT connection manager
*/
private $manager;
private AwsManager $manager;
/**
* Constructor
......
......@@ -44,7 +44,7 @@ class AzureController extends CloudsController {
/**
* @var AzureManager Microsoft Azure IoT Hub connection manager
*/
private $manager;
private AzureManager $manager;
/**
* Constructor
......
......@@ -43,7 +43,7 @@ class HexioController extends CloudsController {
/**
* @var HexioManager Hexio IoT Platform connection manager
*/
private $manager;
private HexioManager $manager;
/**
* Constructor
......
......@@ -43,7 +43,7 @@ class IbmCloudController extends CloudsController {
/**
* @var IbmCloudManager IBM Cloud IoT connection manager
*/
private $manager;
private IbmCloudManager $manager;
/**
* Constructor
......
......@@ -43,7 +43,7 @@ class InteliGlueController extends CloudsController {
/**
* @var InteliGlueManager Inteliments InteliGlue connection manager
*/
private $inteliGlueManager;
private InteliGlueManager $inteliGlueManager;
/**
* Constructor
......
......@@ -44,7 +44,7 @@ class AptController extends BaseConfigController {
/**
* @var AptManager APT manager
*/
private $manager;
private AptManager $manager;
/**
* Constructor
......
......@@ -48,12 +48,12 @@ class ControllerController extends BaseConfigController {
/**
* @var ControllerConfigManager $configManager IQRF Gateway Controller configuration manager
*/
private $configManager;
private ControllerConfigManager $configManager;
/**
* @var ControllerPinConfigManager $pinManager IQRF Gateway Controller pin configuration manager
*/
private $pinManager;
private ControllerPinConfigManager $pinManager;
/**
* Constructor
......
......@@ -50,17 +50,17 @@ class DaemonController extends BaseConfigController {
/**
* @var ComponentManager Component configuration manager
*/
private $componentManager;
private ComponentManager $componentManager;
/**
* @var MainManager Main configuration manager
*/
private $mainManager;
private MainManager $mainManager;
/**
* @var GenericManager Configuration manager
*/
private $manager;
private GenericManager $manager;
/**
* Constructor
......
......@@ -43,7 +43,7 @@ class IqrfRepositoryController extends BaseConfigController {
/**
* @var IqrfRepositoryManager IQRF Repository manager
*/
private $manager;
private IqrfRepositoryManager $manager;
/**
* Constructor
......
......@@ -46,12 +46,12 @@ class MailerController extends BaseConfigController {
/**
* @var ConfigurationManager Mailer configuration manager
*/
private $manager;
private ConfigurationManager $manager;
/**
* @var MailerConfigurationTestMailSender Mailer configuration test mail sender
*/
private $configurationTestSender;
private MailerConfigurationTestMailSender $configurationTestSender;
/**
* Constructor
......
......@@ -43,7 +43,7 @@ class MonitController extends BaseConfigController {
/**
* @var MonitManager $manager Monit manager
*/
private $manager;
private MonitManager $manager;
/**
* Constructor
......
......@@ -43,7 +43,7 @@ class TranslatorController extends BaseConfigController {
/**
* @var TranslatorConfigManager $manager IQRF Gateway Translator configuration manager
*/
private $manager;
private TranslatorConfigManager $manager;
/**
* Constructor
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment