Closed robchett closed 5 months ago
This adds support for checking the data passed into the components so phpstan can analyze the attributes. This fixes previously undetected issues like:
<x-some-component :undefinedVar :b="$undefinedVar" c="{{ $undefinedVar }}"></x-some-component>
It does NOT verify any of the attributes match the requirement of the component
Regexes and surrounding code for parsing the tags has been taken from the Blade & Livewire projects.
Sure can, tests now added.
Fixed the CI issues.
Thank you :clap:
This adds support for checking the data passed into the components so phpstan can analyze the attributes. This fixes previously undetected issues like:
It does NOT verify any of the attributes match the requirement of the component
Regexes and surrounding code for parsing the tags has been taken from the Blade & Livewire projects.