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 9d00d15 commit 0b3bbd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 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://remp2030.com",
"license": "MIT",
"require": {
"php": "^7.4"
"php": "^8.0"
},
"minimum-stability": "dev",
"autoload": {
Expand Down
12 changes: 1 addition & 11 deletions src/DI/WalletPayModuleExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

namespace Crm\WalletPayModule\DI;

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

class WalletPayModuleExtension extends CompilerExtension implements ITranslationProvider
class WalletPayModuleExtension extends CompilerExtension
{
public function loadConfiguration()
{
Expand All @@ -22,13 +21,4 @@ public function beforeCompile()
$builder->getDefinition($builder->getByType(\Nette\Application\IPresenterFactory::class))
->addSetup('setMapping', [['WalletPay' => 'Crm\WalletPayModule\Presenters\*Presenter']]);
}

/**
* Return array of directories, that contain resources for translator.
* @return string[]
*/
public function getTranslationResources()
{
return [__DIR__ . '/../lang/'];
}
}

0 comments on commit 0b3bbd6

Please sign in to comment.