Skip to content

Commit

Permalink
Add a dummy plugin
Browse files Browse the repository at this point in the history
Makes it easier to update plugins when the API has been severly changed
between releases (just point "cryptal.entrypoint" to this dummy plugin).
  • Loading branch information
fpoirotte committed Jul 29, 2017
1 parent 0e6ced6 commit 524b69e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/DummyPlugin.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace fpoirotte\Cryptal\Tests;

use fpoirotte\Cryptal\Implementers\PluginInterface;
use fpoirotte\Cryptal\RegistryWrapper;

class DummyPlugin implements PluginInterface
{
public static function registerAlgorithms(RegistryWrapper $registry)
{
// Do nothing
}
}

0 comments on commit 524b69e

Please sign in to comment.