Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-therond committed Dec 22, 2018
1 parent e8c61e3 commit 7e74e5f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
Binary file not shown.
4 changes: 2 additions & 2 deletions package/src/progpilot/AbstractLayer/Analysis.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ public static function checkIfFuncEqualMySpecify($context, $mySpecify, $myFunc,
$i ++;
}
}
} elseif ($mySpecify->isInstance() && is_null($stackClass)) {
$checkInstance = false;
}
else if ($mySpecify->isInstance() && is_null($stackClass))
$checkInstance = false;
}

return $checkInstance & $checkName;
Expand Down
7 changes: 6 additions & 1 deletion package/src/progpilot/Analysis/CustomAnalysis.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,12 @@ public static function mustVerifyDefinition($context, $instruction, $myFunc, $st
|| $customRule->getAction() === "MUST_NOT_VERIFY_DEFINITION")) {
$functionDefinition = $customRule->getDefinition();

$result = AbstractAnalysis::checkIfFuncEqualMySpecify($context, $functionDefinition, $myFunc, $stackClass);
$result = AbstractAnalysis::checkIfFuncEqualMySpecify(
$context,
$functionDefinition,
$myFunc,
$stackClass
);

if (!is_null($functionDefinition)) {
if ($result) {
Expand Down
2 changes: 1 addition & 1 deletion package/src/progpilot/Console/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class Application extends BaseApplication
{
const NAME = 'progpilot';
const VERSION = '0.4.0';
const VERSION = '0.5.0';

public function __construct()
{
Expand Down

0 comments on commit 7e74e5f

Please # to comment.