Skip to content

Commit

Permalink
removed support for Latte 2
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Aug 27, 2023
1 parent 8aa168f commit 92508f5
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 336 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"require-dev": {
"nette/tester": "^2.4",
"nette/di": "^3.1 || ^4.0",
"latte/latte": "^2.11 || ^3.0",
"latte/latte": "^3.0",
"tracy/tracy": "^2.9",
"phpstan/phpstan": "^1.0"
},
Expand Down
168 changes: 0 additions & 168 deletions src/Bridges/CacheLatte/CacheMacro.php

This file was deleted.

48 changes: 0 additions & 48 deletions tests/Bridges.Latte2/CacheMacro.cache.phpt

This file was deleted.

49 changes: 0 additions & 49 deletions tests/Bridges.Latte2/CacheMacro.createCache.phpt

This file was deleted.

8 changes: 0 additions & 8 deletions tests/Bridges.Latte2/expected/CacheMacro.cache.html

This file was deleted.

12 changes: 0 additions & 12 deletions tests/Bridges.Latte2/expected/CacheMacro.cache.inc.php

This file was deleted.

28 changes: 0 additions & 28 deletions tests/Bridges.Latte2/expected/CacheMacro.cache.php

This file was deleted.

9 changes: 0 additions & 9 deletions tests/Bridges.Latte2/templates/cache.latte

This file was deleted.

5 changes: 0 additions & 5 deletions tests/Bridges.Latte2/templates/include.cache.latte

This file was deleted.

4 changes: 0 additions & 4 deletions tests/Bridges.Latte3/Runtime.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ use Tester\Assert;

require __DIR__ . '/../bootstrap.php';

if (version_compare(Latte\Engine::VERSION, '3', '<')) {
Tester\Environment::skip('Test for Latte 3');
}


test('', function () {
$runtime = new Runtime(new DevNullStorage);
Expand Down
4 changes: 0 additions & 4 deletions tests/Bridges.Latte3/{cache}.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ use Tester\Assert;

require __DIR__ . '/../bootstrap.php';

if (version_compare(Latte\Engine::VERSION, '3', '<')) {
Tester\Environment::skip('Test for Latte 3');
}


$latte = new Latte\Engine;
$latte->setTempDirectory(getTempDir());
Expand Down

0 comments on commit 92508f5

Please sign in to comment.