Skip to content

Commit

Permalink
Tests + ImageStorageLambda + Latte 3
Browse files Browse the repository at this point in the history
- refactored Latte extension to Latte 3
- refactored ImageStorageLambdaExtension and SAM config generation process
- added tests
- updated README
  • Loading branch information
tg666 committed Jan 3, 2023
1 parent 5cad39c commit e66f98c
Show file tree
Hide file tree
Showing 81 changed files with 3,028 additions and 1,201 deletions.
197 changes: 88 additions & 109 deletions README.md

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@
"nette/application": "^3.1.8",
"nette/bootstrap": "^3.1",
"nette/di": "^3.0.10",
"nette/http": "^3.2.1",
"nette/tester": "^2.4.3",
"phpstan/phpstan": "^1.9",
"phpstan/phpstan-nette": "^1.1",
"roave/security-advisories": "dev-latest",
"symfony/console": "^5.0 | ^6.0",
"tracy/tracy": "^2.6",
"yosymfony/toml": "^1.0"
"yosymfony/toml": "^1.0.4"
},
"suggest": {
"nette/di": "For an integration with Nette Framework.",
Expand All @@ -44,10 +45,12 @@
},
"conflict": {
"nette/di": "<3.0.10",
"nette/http": "<3.2.1",
"nette/schema": "<1.1",
"latte/latte": "<3.0",
"68publishers/doctrine-bridge": "<1.0.0",
"symfony/console": "<5.0"
"symfony/console": "<5.0",
"yosymfony/toml": "<1.0.4"
},
"autoload": {
"psr-4": {
Expand Down
6 changes: 6 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ parameters:
level: 8
paths:
- src
ignoreErrors:
-
message: '#Parameter \$object of method SixtyEightPublishers\\ImageStorage\\Bridge\\Intervention\\Image\\Imagick\\Decoder::initFromImagick\(\) has invalid type Intervention\\Image\\Imagick\\Imagick.#'
path: src/Bridge/Intervention/Image/Imagick/Decoder.php
-
message: '#Return type \(Intervention\\Image\\Image\) of method [a-zA-Z\\]+::getSource\(\) should be compatible with return type \(resource\|string\) of method SixtyEightPublishers\\FileStorage\\Resource\\ResourceInterface::getSource\(\)#'
100 changes: 0 additions & 100 deletions src/Bridge/ImageStorageLambda/Builder/ParameterOverrides.php

This file was deleted.

171 changes: 0 additions & 171 deletions src/Bridge/ImageStorageLambda/Builder/TomlConfigBuilder.php

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit e66f98c

Please sign in to comment.