Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
twigphp
/
Twig
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
1.3k
Star
8.4k
Code
Issues
31
Pull requests
7
Actions
Security and quality
24
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Introduce a CorrectnessNodeVisitor to validate that templates are semantically correct
- #4292
#4292
Merged
fabpot
merged 10 commits into
twigphp:3.x
twigphp/Twig:3.x
from
fabpot:correctness-node-visitor
fabpot/Twig:correctness-node-visitor
Copy head branch name to clipboard
Jun 11, 2026
Conversation
Commits
10
(10)
Checks
Files changed
Merged
Introduce a CorrectnessNodeVisitor to validate that templates are semantically correct
#4292
fabpot
merged 10 commits into
twigphp:3.x
twigphp/Twig:3.x
from
fabpot:correctness-node-visitor
fabpot/Twig:correctness-node-visitor
Copy head branch name to clipboard
Commits
Commits on Jun 11, 2026
Introduce a CorrectnessNodeVisitor to validate that templates are semantically correct
fabpot
committed
c121005
View commit details
Copy full SHA for c121005
Browse repository at this point
Move the extends-in-block and extends-in-macro errors into the CorrectnessNodeVisitor
fabpot
committed
de7bbc7
View commit details
Copy full SHA for de7bbc7
Browse repository at this point
Address review: fix block-nesting checks in CorrectnessNodeVisitor
fabpot
committed
4b2e651
View commit details
Copy full SHA for 4b2e651
Browse repository at this point
Fix test assertions that did not verify the intended behavior
fabpot
committed
89e8699
View commit details
Copy full SHA for 89e8699
Browse repository at this point
Fix correctness visitor regressions
fabpot
committed
d96eac3
View commit details
Copy full SHA for d96eac3
Browse repository at this point
Move extends validation into correctness visitor
fabpot
committed
ffcae61
View commit details
Copy full SHA for ffcae61
Browse repository at this point
Simplify correctness visitor checks
fabpot
committed
8a0ae22
View commit details
Copy full SHA for 8a0ae22
Browse repository at this point
Clarify captured block deprecation wording
fabpot
committed
16e5a93
View commit details
Copy full SHA for 16e5a93
Browse repository at this point
Keep captured block definitions supported
fabpot
committed
a69d3dc
View commit details
Copy full SHA for a69d3dc
Browse repository at this point
Handle single-node child template bodies in cleanup
fabpot
committed
c0504b9
View commit details
Copy full SHA for c0504b9
Browse repository at this point
You can’t perform that action at this time.