Skip to content

Commit a178a25

Browse files
authored
Merge pull request #51 from designsecurity/php82
declare properties php8.2
2 parents b9e9a52 + 304b252 commit a178a25

File tree

6 files changed

+13
-1
lines changed

6 files changed

+13
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
- "7.4"
1414
- "8.0"
1515
- "8.1"
16+
- "8.2"
1617
steps:
1718
- name: "Checkout"
1819
uses: "actions/checkout@v2"

package/src/progpilot/ContextInternalApi.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ class ContextInternalApi
4141
protected $maxFileSize;
4242
protected $maxMemory;
4343
protected $defsMain;
44+
protected $tmpfunctions;
4445
protected $callStack;
46+
protected $calltonamespaces;
47+
protected $namespaces;
4548

4649
protected $analyzedDataFiles;
4750

package/src/progpilot/Dataflow/Definitions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class Definitions
2525
private $outminuskill;
2626
private $gen;
2727
private $kill;
28+
private $originalDefs;
2829

2930
private $defs;
3031
private $currentFunc;

package/src/progpilot/Objects/MyDefinition.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ class MyDefinition extends MyOp
5050
private $isReturnDef;
5151
private $refs;
5252
private $iteratorValues;
53+
private $blocksIdsStates;
54+
private $returnDef;
5355

5456
public $original;
5557
public $states;

package/src/progpilot/Objects/MyFunction.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class MyFunction extends MyOp
2727
private $lastBlockIds;
2828

2929
private $nbParams;
30+
private $args;
3031
private $params;
3132
private $returnDefs;
3233
private $initialReturnDefs;
@@ -45,6 +46,10 @@ class MyFunction extends MyOp
4546
private $isVisited;
4647
private $isVisitedFromInclude;
4748

49+
private $startExecutionTime;
50+
private $lastExecutionTime;
51+
private $nbExecutions;
52+
private $hasGlobalVariables;
4853
private $myCode;
4954

5055
public function __construct($name)

package/src/progpilot/Representations/NodeCG.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
class NodeCG
1414
{
15-
private $myClass;
15+
private $myclass;
1616
private $name;
1717
private $line;
1818
private $column;

0 commit comments

Comments
 (0)