vault / twigphp-twig / v3.28.0
twigphp-twig @ v3.28.0
integrity
- size
- 287.8 KiB
- downloaded
- last checked
- overlays
- composer
- detected
- composer twig/twig
release notes
Changelog (https://github.com/twigphp/Twig/compare/v3.27.1...v3.28.0)
- bug #4850 Render backed enums using their backing value in the html_attr function (@fabpot)
- minor #4845 Add documention note about variable scope of override blocks in { embed ... only } (@andy-blum)
- minor #4843 Define macros at the template root in the cache macro fixture (@fabpot)
- bug #4841 Fix Markup truthiness in boolean expressions (@xtrime-ru)
- bug #4842 Fix a PHP 8.5 chr() deprecation when decoding octal string escapes (@austinderrick)
- feature #4292 Introduce a CorrectnessNodeVisitor to validate that templates are semantically correct (@fabpot)
- feature #4840 Mark Markup as final (@fabpot)
- feature #4838 Allow calling a macro with a dynamic name via the dot operator (@fabpot)
- bug #4835 Fix markdown_to_html mangling content that starts with a blank line (@fabpot)
- feature #4819 Add an allow-list for tests to the sandbox security policy (@fabpot)
- minor #4837 Reduce memory usage of the context restoration compiled at the end of for loops (@fabpot)
- feature #4816 Add an always_allowed_in_sandbox flag for filters, functions, and tags (@fabpot)
- feature #4834 Track the source offset of each token and expose it in syntax errors (@fabpot)
- minor #4836 Document how to customize the markdown_to_html converter (@fabpot)
- minor #4662 CoreExtension::getAttribute: small improvement regarding getter/isser/hasser (@gharlan)
- bug #4825 Make the include() function return a Markup object (@fabpot)
- bug #4830 Fix nested block() resolution when a directly rendered block calls parent() (@fabpot)
- minor #4827 Document {#--#} as the replacement for the deprecated spaceless filter (@fabpot)
- bug #4828 Stop reporting a skipped test in IntegrationTestCase when there is no legacy test to run (@fabpot)
- minor #4829 Document storing an enum in a variable to avoid repeating its FQCN (@fabpot)
- bug #4824 Cast printed expressions to string so values that cannot be converted to a string (arrays, non-
Stringableobjects, ...) report a usable stack trace at the print location (@stof, @fabpot) - feature #4826 Make IntegrationTestCase and NodeTestCase compatible with PHPUnit 11 (@fabpot)
- feature #4823 Skip the sandbox
__toStringcheck on arguments whose PHP parameter type cannot implicitly coerce to string (@fabpot)
download
unix · zip
curl -fL -o v3.28.0.zip https://ratatoskr.space/pkg/twigphp-twig/v3.28.0.zip
printf '%s %s\n' '209945242ce04f156fb7589a7079a71d49aa81e11e0fc18c6a34ab8113277bb5' 'v3.28.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/twigphp-twig/v3.28.0.zip"
$out = "v3.28.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "209945242ce04f156fb7589a7079a71d49aa81e11e0fc18c6a34ab8113277bb5") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v3.28.0.tar.gz https://ratatoskr.space/pkg/twigphp-twig/v3.28.0.tar.gz
printf '%s %s\n' '279972a4be8f9800ad633c305aeee00e2ab12ab84476161aea359eb161df0715' 'v3.28.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/twigphp-twig/v3.28.0.tar.gz"
$out = "v3.28.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "279972a4be8f9800ad633c305aeee00e2ab12ab84476161aea359eb161df0715") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v3.28.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/twigphp-twig/v3.28.0.zip
printf '%s %s\n' '209945242ce04f156fb7589a7079a71d49aa81e11e0fc18c6a34ab8113277bb5' 'v3.28.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/twigphp-twig/v3.28.0.zip"
$out = "v3.28.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "209945242ce04f156fb7589a7079a71d49aa81e11e0fc18c6a34ab8113277bb5") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v3.28.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/twigphp-twig/v3.28.0.tar.gz
printf '%s %s\n' '279972a4be8f9800ad633c305aeee00e2ab12ab84476161aea359eb161df0715' 'v3.28.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/twigphp-twig/v3.28.0.tar.gz"
$out = "v3.28.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "279972a4be8f9800ad633c305aeee00e2ab12ab84476161aea359eb161df0715") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v3.28.0.zip | zip | 293.0 KiB |
blake3-24 c18355f0dd57659ce9920f7921a5722c760d105167b5f300
sha256 209945242ce04f156fb7589a7079a71d49aa81e11e0fc18c6a34ab8113277bb5
sha1 2bd3d6fc518cfcce3cfb54b637cf8edce55e8d89
|
| v3.28.0.tar.gz | tar.gz | 136.2 KiB |
blake3-24 f5164466e4f13032d42bcb088b8feca6751520b626798177
sha256 279972a4be8f9800ad633c305aeee00e2ab12ab84476161aea359eb161df0715
sha1 09024adb22b656331057dba0075770ac205eb2bc
|
install
bazel
http_archive(
name = "twigphp-twig",
urls = ["https://ratatoskr.space/pkg/twigphp-twig/v3.28.0.tar.gz"],
integrity = "sha256-J5lypL6PmACtYzwwWu7gDiqxKrhEdhYa6jWesWHfBxU=",
strip_prefix = "twigphp-twig-v3.28.0",
)
zig
.url = "https://ratatoskr.space/pkg/twigphp-twig/v3.28.0.tar.gz",
composer
composer config repositories.yggvault composer https://ratatoskr.space/pkg composer require twig/twig:v3.28.0
install via yggdrasil mesh
bazel
http_archive(
name = "twigphp-twig",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/twigphp-twig/v3.28.0.tar.gz"],
integrity = "sha256-J5lypL6PmACtYzwwWu7gDiqxKrhEdhYa6jWesWHfBxU=",
strip_prefix = "twigphp-twig-v3.28.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/twigphp-twig/v3.28.0.tar.gz",
composer
composer config secure-http false composer config repositories.yggvault composer http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg composer require twig/twig:v3.28.0