| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | protected function doRun() { |
||
| 23 | $cryptTool = CryptTool::getInstance(); |
||
| 24 | |||
| 25 | Common::l('Version: '.MSGAPI_SDK_VERSION); |
||
| 26 | Common::l('Feature level: '.MSGAPI_SDK_FEATURE_LEVEL); |
||
| 27 | Common::l('CryptTool: '.$cryptTool->getName().' ('.$cryptTool->getDescription().')'); |
||
| 28 | |||
| 29 | Common::l(' ╔═══════╤══════╤══════════════╤═══════╤══════╤═════════╗'); |
||
| 30 | Common::l(' ║ Level │ Text │ Capabilities │ Image │ File │ Credits ║'); |
||
| 31 | Common::l(' ╟───────┼──────┼──────────────┼───────┼──────┼─────────╢'); |
||
| 32 | Common::l(' ║ 1 │ X │ │ │ │ ║'); |
||
| 33 | Common::l(' ║ 2 │ X │ X │ X │ X │ ║'); |
||
| 34 | Common::l("\033[1;32m\033[40m▶".'║ 3 │ X │ X │ X │ X │ X ║'."\033[0m"); |
||
| 35 | Common::l(' ╚═══════╧══════╧══════════════╧═══════╧══════╧═════════╝'); |
||
| 36 | } |
||
| 37 | } |
||
| 38 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italyis not defined by the methodfinale(...).The most likely cause is that the parameter was removed, but the annotation was not.