File tree Expand file tree Collapse file tree 4 files changed +114
-0
lines changed
Expand file tree Collapse file tree 4 files changed +114
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ /**
6+ * This file is part of Nexus CS Config.
7+ *
8+ * (c) 2020 John Paul E. Balandan, CPA <[email protected] > 9+ *
10+ * For the full copyright and license information, please view
11+ * the LICENSE file that was distributed with this source code.
12+ */
13+
14+ namespace Nexus \CsConfig \Ruleset ;
15+
16+ /**
17+ * Ruleset for `Nexus` group.
18+ *
19+ * @internal
20+ */
21+ final class Nexus83 extends AbstractRuleset
22+ {
23+ public function __construct ()
24+ {
25+ $ this ->name = 'Nexus for PHP 8.3 ' ;
26+ $ this ->rules = (new Nexus82 ())->getRules ();
27+ $ this ->requiredPHPVersion = 8_03_00 ;
28+ $ this ->autoActivateIsRiskyAllowed = true ;
29+ }
30+ }
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ /**
6+ * This file is part of Nexus CS Config.
7+ *
8+ * (c) 2020 John Paul E. Balandan, CPA <[email protected] > 9+ *
10+ * For the full copyright and license information, please view
11+ * the LICENSE file that was distributed with this source code.
12+ */
13+
14+ namespace Nexus \CsConfig \Ruleset ;
15+
16+ /**
17+ * Ruleset for `Nexus` group.
18+ *
19+ * @internal
20+ */
21+ final class Nexus84 extends AbstractRuleset
22+ {
23+ public function __construct ()
24+ {
25+ $ this ->name = 'Nexus for PHP 8.4 ' ;
26+ $ this ->rules = (new Nexus83 ())->getRules ();
27+ $ this ->requiredPHPVersion = 8_04_01 ;
28+ $ this ->autoActivateIsRiskyAllowed = true ;
29+ }
30+ }
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ /**
6+ * This file is part of Nexus CS Config.
7+ *
8+ * (c) 2020 John Paul E. Balandan, CPA <[email protected] > 9+ *
10+ * For the full copyright and license information, please view
11+ * the LICENSE file that was distributed with this source code.
12+ */
13+
14+ namespace Nexus \CsConfig \Tests \Ruleset ;
15+
16+ use Nexus \CsConfig \Ruleset \AbstractRuleset ;
17+ use Nexus \CsConfig \Ruleset \Nexus83 ;
18+ use Nexus \CsConfig \Test \AbstractRulesetTestCase ;
19+ use PHPUnit \Framework \Attributes \CoversClass ;
20+
21+ /**
22+ * @internal
23+ */
24+ #[CoversClass(AbstractRuleset::class)]
25+ #[CoversClass(Nexus83::class)]
26+ #[CoversClass(AbstractRulesetTestCase::class)]
27+ final class Nexus83Test extends AbstractRulesetTestCase {}
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ /**
6+ * This file is part of Nexus CS Config.
7+ *
8+ * (c) 2020 John Paul E. Balandan, CPA <[email protected] > 9+ *
10+ * For the full copyright and license information, please view
11+ * the LICENSE file that was distributed with this source code.
12+ */
13+
14+ namespace Nexus \CsConfig \Tests \Ruleset ;
15+
16+ use Nexus \CsConfig \Ruleset \AbstractRuleset ;
17+ use Nexus \CsConfig \Ruleset \Nexus84 ;
18+ use Nexus \CsConfig \Test \AbstractRulesetTestCase ;
19+ use PHPUnit \Framework \Attributes \CoversClass ;
20+
21+ /**
22+ * @internal
23+ */
24+ #[CoversClass(AbstractRuleset::class)]
25+ #[CoversClass(Nexus84::class)]
26+ #[CoversClass(AbstractRulesetTestCase::class)]
27+ final class Nexus84Test extends AbstractRulesetTestCase {}
You can’t perform that action at this time.
0 commit comments