From 886ecb8ffffe7d9fa5b01a4c759d0cab1330eaa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Andr=C3=A9?= Date: Thu, 30 Jul 2026 04:01:17 +0200 Subject: [PATCH 1/2] Update org references to altophp --- .github/workflows/CI.yml | 6 +++--- README.md | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7bd8ee7..e972665 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -17,14 +17,14 @@ concurrency: jobs: cs: - uses: phpalto/.github/.github/workflows/CS.yml@main + uses: altophp/.github/.github/workflows/CS.yml@main with: php-version: '8.4' # composer-validate: true # php-cs-fixer-args: '--diff --dry-run' sa: - uses: phpalto/.github/.github/workflows/SA.yml@main + uses: altophp/.github/.github/workflows/SA.yml@main with: php-version: '8.4' # phpstan-args: 'analyse --no-progress --memory-limit=-1' @@ -34,7 +34,7 @@ jobs: fail-fast: false matrix: php: ['8.4', '8.5'] - uses: phpalto/.github/.github/workflows/tests.yml@main + uses: altophp/.github/.github/workflows/tests.yml@main with: php-version: ${{ matrix.php }} # phpunit-args: '--colors=never' diff --git a/README.md b/README.md index a25f883..21a403c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Alto Twig Code Highlight -Twig extension for [alto/code-highlight](https://github.com/phpalto/code-highlight) that adds a block tag and a filter for rendering syntax-highlighted code in templates. +Twig extension for [alto/code-highlight](https://github.com/altophp/code-highlight) that adds a block tag and a filter for rendering syntax-highlighted code in templates. ```twig {% code_highlight %} @@ -68,7 +68,7 @@ Theme: `theme` is not passable as a tag argument; configure the `Highlighter` theme when registering the extension. -See theme docs in the core library: . +See theme docs in the core library: . ## Filter `|code_highlight` @@ -97,13 +97,13 @@ Theme: `theme` is not passable as a filter argument; configure the `Highlighter` theme when registering the extension. -See theme docs in the core library: . +See theme docs in the core library: . ## Contributing -Contributions are welcome! Please feel free to [submit issues](https://github.com/phpalto/twig-code-highlight/issues) -or [pull requests](https://github.com/phpalto/twig-code-highlight/pulls). +Contributions are welcome! Please feel free to [submit issues](https://github.com/altophp/twig-code-highlight/issues) +or [pull requests](https://github.com/altophp/twig-code-highlight/pulls). ## License -Released by the [Alto project](https://github.com/phpalto) under the [MIT License](LICENSE). +Released by the [Alto project](https://github.com/altophp) under the [MIT License](LICENSE). From e717afb00df13b8215aca66b6a9ba7f104a13c41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Andr=C3=A9?= Date: Thu, 30 Jul 2026 04:19:51 +0200 Subject: [PATCH 2/2] Fix unbound composer version constraints --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 2973092..e3450df 100644 --- a/composer.json +++ b/composer.json @@ -21,8 +21,8 @@ ], "require": { "php": "^8.4", - "alto/code-highlight": "*@dev", - "twig/twig": "^3.23" + "alto/code-highlight": "dev-main", + "twig/twig": "^3.28" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.94",