Skip to content

Commit

Permalink
test: @PHP82Migration:risky - add integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus committed Nov 13, 2024
1 parent c7ee73c commit 11b7bc7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/Fixtures/Integration/set/@PHP82Migration-risky.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
--TEST--
Integration of @PHP82Migration:risky.
--RULESET--
{"@PHP82Migration:risky": true}
--REQUIREMENTS--
{"php": 80200}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php declare(strict_types=1);

// https://wiki.php.net/rfc/readonly_classes
/** @readonly */
class C {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php declare(strict_types=1);

// https://wiki.php.net/rfc/readonly_classes

readonly class C {}

0 comments on commit 11b7bc7

Please sign in to comment.