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 Dec 5, 2023
1 parent 1442b9e commit 906be3a
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 337 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
"require-dev": {
"nette/tester": "^2.4",
"nette/di": "^3.1 || ^4.0",
"latte/latte": "^2.11 || ^3.0.12",
"latte/latte": "^3.0.12",
"tracy/tracy": "^2.9",
"phpstan/phpstan": "^1.0"
},
"conflict": {
"latte/latte": ">=3.0.0 <3.0.12"
"latte/latte": "<3.0.12"
},
"suggest": {
"ext-pdo_sqlite": "to use SQLiteStorage or SQLiteJournal"
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 906be3a

Please sign in to comment.