Skip to content

Commit

Permalink
Upgrade to PHP 8.0, upgrade to Deployer 7
Browse files Browse the repository at this point in the history
- new deploy strategy, project is copied to application servers instead of using NFS

remp/crm#2519
  • Loading branch information
miroc committed Aug 25, 2022
1 parent a48e564 commit 70f22c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"homepage": "https://remp2020.com",
"license": "MIT",
"require": {
"php": "^7.4"
"php": "^8.0"
},
"minimum-stability": "dev",
"autoload": {
Expand Down
6 changes: 3 additions & 3 deletions src/DI/MobiletechModuleExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Crm\MobiletechModule\DI;

use Kdyby\Translation\DI\ITranslationProvider;
use Contributte\Translation\DI\TranslationProviderInterface;
use Nette\DI\CompilerExtension;

final class MobiletechModuleExtension extends CompilerExtension implements ITranslationProvider
final class MobiletechModuleExtension extends CompilerExtension implements TranslationProviderInterface
{
public function loadConfiguration()
{
Expand All @@ -19,7 +19,7 @@ public function loadConfiguration()
* Return array of directories, that contain resources for translator.
* @return string[]
*/
public function getTranslationResources()
public function getTranslationResources(): array
{
return [__DIR__ . '/../lang/'];
}
Expand Down

0 comments on commit 70f22c7

Please sign in to comment.