Commit 490cfb0
authored
upgrade to PHP 8 (#17)
* add .uuid files to git ignore list
* update composer dependencies to PHP ^8.1 and php-sap/interfaces ^4.1
* refactor API classes for restructured interfaces
* add parameter and return types #16
* add phpstan.neon
* switch to php-sap/interfaces:dev-main for development
* simplify regex in ConfigCommon.php
* fix typos in ConfigCommon.php
* adapt API classes to new interfaces
* fix inheritance loop in AbstractConfiguration::jsonDecode()
* adapt Configuration and Function classes and tests
* fix errors reported by phpstan
* remove $allowedKeys in favor of method getAllowedKeys()
* clarify types in AbstractFunction.php
* refactor Config classes for new interface and use traits instead of inheritance
* refactor JsonSerializable to new interfaces
* remove constructors from Value and Members and from the MembersTrait
* setMembers() now accepts objects and arrays of objects as parameter
* replace AbstractFunction constructor with factory and adapt to new interfaces
* update php-sap/interfaces
* ignore PHPStan errors from get() methods
* fix setMembers() parameter type hint
* ignore PHPStan error that json_decode() returns mixed in JsonSerializable::jsonDecode()
* refactor src and tests and adapt for phpstan
* change to new github workflow
* fix spacing for psr121 parent 1afaf25 commit 490cfb0
File tree
51 files changed
+2432
-2638
lines changed- .github/workflows
- src
- Api
- Traits
- Config
- Traits
- Util
- tests
- Api
- Traits
- Config
- Traits
- Util
- helper
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
51 files changed
+2432
-2638
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
0 commit comments