Skip to content

Commit

Permalink
minor #1759 [LiveComponent] hide property-info deprecations in Symfon…
Browse files Browse the repository at this point in the history
…y 7.1 (kbond)

This PR was merged into the 2.x branch.

Discussion
----------

[LiveComponent] hide property-info deprecations in Symfony 7.1

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| Issues        | n/a
| License       | MIT

This fixes the LiveComponent CI on 7.1.

Commits
-------

7c8fef7 [LiveComponent] hide property-info deprecations in Symfony 7.1
  • Loading branch information
kbond committed Apr 23, 2024
2 parents b3482eb + 7c8fef7 commit a93dd4d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/LiveComponent/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"symfony/form": "^5.4|^6.0|^7.0",
"symfony/framework-bundle": "^5.4|^6.0|^7.0",
"symfony/options-resolver": "^5.4|^6.0|^7.0",
"symfony/phpunit-bridge": "^6.0|^7.0",
"symfony/phpunit-bridge": "^6.1|^7.0",
"symfony/property-info": "^5.4|^6.0|^7.0",
"symfony/security-bundle": "^5.4|^6.0|^7.0",
"symfony/serializer": "^5.4|^6.0|^7.0",
Expand Down
2 changes: 1 addition & 1 deletion src/LiveComponent/phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<server name="KERNEL_CLASS" value="Symfony\UX\LiveComponent\Tests\Fixtures\Kernel"/>
<server name="DATABASE_URL" value="sqlite:///%kernel.project_dir%/var/data.db"/>
<env name="SHELL_VERBOSITY" value="-1"/>
<server name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&amp;max[direct]=0"/>
<server name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&amp;max[direct]=0&amp;ignoreFile=./tests/baseline-ignore"/>
</php>

<testsuites>
Expand Down
5 changes: 5 additions & 0 deletions src/LiveComponent/tests/baseline-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
%Since symfony/property-info 7.1: The "Symfony\\Component\\PropertyInfo\\Extractor\\ReflectionExtractor::getTypes\(\)".+%
%Since symfony/property-info 7.1: The "Symfony\\Component\\PropertyInfo\\Extractor\\PhpStanExtractor::getTypes\(\)".+%
%Since symfony/property-info 7.1: The "Symfony\\Component\\PropertyInfo\\Extractor\\PhpDocExtractor::getTypes\(\)".+%
%Since symfony/property-info 7.1: The "Symfony\\Component\\PropertyInfo\\PropertyInfoExtractor::getTypes\(\)".+%
%Since symfony/property-info 7.1: The "Symfony\\Component\\PropertyInfo\\Type" class is deprecated..+%

0 comments on commit a93dd4d

Please sign in to comment.