Skip to content

Commit f155f88

Browse files
committed
Add ruleset @PHP74Migration
1 parent d969c2f commit f155f88

File tree

85 files changed

+358
-189
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+358
-189
lines changed

.php-cs-fixer.dist.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
return (new PhpCsFixer\Config())
1313
->setRules([
1414
'@PER-CS2.0' => true,
15+
'@PER-CS2.0:risky' => true,
16+
'@PHP74Migration' => true,
17+
'@PHP74Migration:risky' => true,
1518
])
1619
->setFinder($finder)
1720
->setRiskyAllowed(true)

README.md

Lines changed: 1 addition & 1 deletion

src/Accessable.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
46
//
57
// SPDX-License-Identifier: GPL-3.0-or-later

src/Element.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
46
//
57
// SPDX-License-Identifier: GPL-3.0-or-later

src/Exception/AccessException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
46
//
57
// SPDX-License-Identifier: GPL-3.0-or-later

src/Exception/Exception.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
46
//
57
// SPDX-License-Identifier: GPL-3.0-or-later

src/Exception/FactoryException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
46
//
57
// SPDX-License-Identifier: GPL-3.0-or-later

src/Exception/InputException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
46
//
57
// SPDX-License-Identifier: GPL-3.0-or-later

src/Exception/ValidationException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
46
//
57
// SPDX-License-Identifier: GPL-3.0-or-later

src/Factory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
46
//
57
// SPDX-License-Identifier: GPL-3.0-or-later

0 commit comments

Comments
 (0)