Last active
June 4, 2026 14:34
-
-
Save jrfnl/6782310676b7ff5942f97873a71552ea to your computer and use it in GitHub Desktop.
Impact analysis proposed PHP 8.6 constructor destructor return deprecation on Packagist top 4000
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <ruleset name="Impact check for https://wiki.php.net/rfc/deprecate-return-value-from-construct"> | |
| <!-- This ruleset should only be used in conjunction with PHPCSExtra. --> | |
| <!-- See: https://github.com/PHPCSStandards/PHPCSExtra#universalcodeanalysisconstructordestructorreturn-wrench-books --> | |
| <file>sources</file> | |
| <arg name="extensions" value="php"/> | |
| <arg value="ps"/> | |
| <arg name="basepath" value="./sources/"/> | |
| <arg name="parallel" value="8"/> | |
| <arg name="no-colors"/> | |
| <arg name="ignore-annotations"/> | |
| <arg name="report" value="code,summary,source"/> | |
| <exclude-pattern>*/vendor/*</exclude-pattern> | |
| <exclude-pattern>*/node_modules/*</exclude-pattern> | |
| <config name="php_version" value="80600"/> | |
| <rule ref="Universal.CodeAnalysis.ConstructorDestructorReturn"/> | |
| <rule ref="Internal.NoCodeFound"> | |
| <severity>0</severity> | |
| </rule> | |
| <rule ref="Internal.LineEndings.Mixed"> | |
| <severity>0</severity> | |
| </rule> | |
| </ruleset> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PHP CODE SNIFFER VIOLATION SOURCE SUMMARY | |
| ------------------------------------------------------------------------------ | |
| SOURCE COUNT | |
| ------------------------------------------------------------------------------ | |
| Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound 77 | |
| ------------------------------------------------------------------------------ | |
| A TOTAL OF 77 SNIFF VIOLATIONS WERE FOUND IN 1 SOURCE | |
| ------------------------------------------------------------------------------ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PHP CODE SNIFFER REPORT SUMMARY | |
| --------------------------------------------------------------------------------------------------------- | |
| FILE ERRORS WARNINGS | |
| --------------------------------------------------------------------------------------------------------- | |
| ably\ably-php--1.1.11\src\AblyRest.php 0 1 | |
| ably\ably-php--1.1.11\tests\factories\TestApp.php 0 1 | |
| adodb\adodb-php--v5.22.11\adodb-loadbalancer.inc.php 0 2 | |
| adodb\adodb-php--v5.22.11\drivers\adodb-mssql.inc.php 0 1 | |
| adodb\adodb-php--v5.22.11\drivers\adodb-oracle.inc.php 0 1 | |
| adodb\adodb-php--v5.22.11\drivers\adodb-sqlite.inc.php 0 1 | |
| adodb\adodb-php--v5.22.11\drivers\adodb-sqlite3.inc.php 0 1 | |
| aliyuncs\oss-sdk-php--v2.7.2\src\OSS\Http\RequestCore.php 0 2 | |
| aliyuncs\oss-sdk-php--v2.7.2\src\OSS\Http\ResponseCore.php 0 1 | |
| backpack\crud--7.0.31\src\app\Library\CrudPanel\CrudButton.php 0 1 | |
| clue\term-react--v1.4.0\src\ControlCodeParser.php 0 1 | |
| clue\utf8-react--v1.3.0\src\Sequencer.php 0 1 | |
| consoletvs\charts--6.9.0\src\Classes\DatasetClass.php 0 1 | |
| consoletvs\charts--6.9.0\src\Classes\C3\Chart.php 0 1 | |
| consoletvs\charts--6.9.0\src\Classes\Chartjs\Chart.php 0 1 | |
| consoletvs\charts--6.9.0\src\Classes\Echarts\Chart.php 0 1 | |
| consoletvs\charts--6.9.0\src\Classes\Frappe\Chart.php 0 1 | |
| consoletvs\charts--6.9.0\src\Classes\Fusioncharts\Chart.php 0 1 | |
| consoletvs\charts--6.9.0\src\Classes\Highcharts\Chart.php 0 1 | |
| flix-tech\avro-php--5.2.0\lib\avro\schema.php 0 2 | |
| gumlet\php-image-resize--2.1.3\lib\ImageResize.php 0 1 | |
| hoa\consistency--2.17.08.29\Source\Xcallable.php 0 2 | |
| johnpbloch\wordpress-core--6.9.4\wp-includes\class-pop3.php 0 1 | |
| johnpbloch\wordpress-core--6.9.4\wp-includes\pomo\streams.php 0 1 | |
| laminas\laminas-server--2.19.0\src\Reflection\Node.php 0 1 | |
| magento\zend-db--1.16.3\library\Zend\Db\Adapter\Pdo\Sqlite.php 0 1 | |
| magento\zendframework1--1.15.1\library\Zend\Db\Adapter\Pdo\Sqlite.php 0 1 | |
| magento\zendframework1--1.15.1\library\Zend\Server\Reflection\Node.php 0 1 | |
| mastani\laravel-google-static-map--2.5\src\GoogleStaticMap.php 0 1 | |
| messageagency\force.com-toolkit-for-php--v27.0.3\soapclient\SforceMetadataClient.php 0 1 | |
| microsoft\bingads--v13.0.27\src\Auth\ServiceClient.php 0 1 | |
| milon\barcode--v13.1\src\Milon\Barcode\Datamatrix.php 0 3 | |
| milon\barcode--v13.1\src\Milon\Barcode\PDF417.php 0 2 | |
| milon\barcode--v13.1\src\Milon\Barcode\QRcode.php 0 4 | |
| nexmo\client-core--2.9.2\src\Message\Response\Message.php 0 2 | |
| openswoole\core--26.2.0\src\Coroutine\Client\MysqliClient.php 0 1 | |
| openswoole\core--26.2.0\src\Coroutine\Client\PDOClient.php 0 1 | |
| pear\archive_tar--1.6.0\Archive\Tar.php 0 2 | |
| phpoffice\phpexcel--1.8.2\Classes\PHPExcel\Shared\trend\bestFitClass.php 0 1 | |
| qiniu\php-sdk--v7.14.0\src\Qiniu\Http\Header.php 0 1 | |
| qiniu\php-sdk--v7.14.0\src\Qiniu\Storage\ResumeUploader.php 0 1 | |
| quickbooks\v3-php-sdk--v6.2.2\src\Core\ServiceContext.php 0 1 | |
| roots\wordpress-no-content--6.9.4\wp-includes\class-pop3.php 0 1 | |
| roots\wordpress-no-content--6.9.4\wp-includes\pomo\streams.php 0 1 | |
| shardj\zf1-future--1.25.0\library\Zend\Db\Adapter\Pdo\Sqlite.php 0 1 | |
| shardj\zf1-future--1.25.0\library\Zend\Server\Reflection\Node.php 0 1 | |
| shardj\zf1-future--1.25.0\library\Zend\Service\LiveDocx.php 0 1 | |
| silverstripe\admin--3.2.0-rc1\code\Forms\UnsavedChangesIndicator.php 0 1 | |
| silverstripe\framework--6.2.0-rc1\src\Security\InheritedPermissions.php 0 1 | |
| simplehtmldom\simplehtmldom--2.0-RC2\HtmlNode.php 0 1 | |
| simplito\elliptic-php--1.0.12\lib\Curve\ShortCurve\JPoint.php 0 1 | |
| spipu\html2pdf--v5.3.3\src\Html2Pdf.php 0 1 | |
| tecnickcom\tcpdf--6.11.2\include\barcodes\datamatrix.php 0 3 | |
| tecnickcom\tcpdf--6.11.2\include\barcodes\pdf417.php 0 2 | |
| tecnickcom\tcpdf--6.11.2\include\barcodes\qrcode.php 0 4 | |
| theseer\fdomdocument--1.6.7\src\fDOMDocument.php 0 1 | |
| ueberdosis\tiptap-php--2.1.0\src\Core\Schema.php 0 1 | |
| webklex\php-imap--6.2.0\tests\fixtures\FixtureTestCase.php 0 1 | |
| zendframework\zend-server--2.8.1\src\Reflection\Node.php 0 1 | |
| --------------------------------------------------------------------------------------------------------- | |
| A TOTAL OF 0 ERRORS AND 77 WARNINGS WERE FOUND IN 59 FILES | |
| --------------------------------------------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FILE: ably\ably-php--1.1.11\src\AblyRest.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 98: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 96: $this->push = new Push( $this ); | |
| 97: $this->host = new Host($this->options); | |
| >> 98: return $this; | |
| 99: } | |
| 100: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: ably\ably-php--1.1.11\tests\factories\TestApp.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 39: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 37: $this->init(); | |
| 38: | |
| >> 39: return $this; | |
| 40: } | |
| 41: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: adodb\adodb-php--v5.22.11\adodb-loadbalancer.inc.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 769: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 767: ) { | |
| 768: if ($type !== 'write' && $type !== 'readonly') { | |
| >> 769: return false; | |
| 770: } | |
| 771: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 783: WARNING A "__construct()" magic method can not return a value. Found: "return true;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 781: $this->database = $argDatabaseName; | |
| 782: | |
| >> 783: return true; | |
| 784: } | |
| 785: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: adodb\adodb-php--v5.22.11\drivers\adodb-mssql.inc.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 871: WARNING A "__construct()" magic method can not return a value. Found: "return parent::__construct($id);" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 869: } | |
| 870: $this->fetchMode = $mode; | |
| >> 871: return parent::__construct($id); | |
| 872: } | |
| 873: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: adodb\adodb-php--v5.22.11\drivers\adodb-oracle.inc.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 249: WARNING A "__construct()" magic method can not return a value. Found: "return $this->_queryID;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 247: } | |
| 248: | |
| >> 249: return $this->_queryID; | |
| 250: } | |
| 251: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: adodb\adodb-php--v5.22.11\drivers\adodb-sqlite.inc.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 462: WARNING A "__construct()" magic method can not return a value. Found: "return $this->_queryID;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 460: } | |
| 461: | |
| >> 462: return $this->_queryID; | |
| 463: } | |
| 464: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: adodb\adodb-php--v5.22.11\drivers\adodb-sqlite3.inc.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 710: WARNING A "__construct()" magic method can not return a value. Found: "return $this->_queryID;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 708: } | |
| 709: | |
| >> 710: return $this->_queryID; | |
| 711: } | |
| 712: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: aliyuncs\oss-sdk-php--v2.7.2\src\OSS\Http\RequestCore.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 248: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 246: } | |
| 247: | |
| >> 248: return $this; | |
| 249: } | |
| 250: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 266: WARNING A "__destruct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 264: } | |
| 265: | |
| >> 266: return $this; | |
| 267: } | |
| 268: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: aliyuncs\oss-sdk-php--v2.7.2\src\OSS\Http\ResponseCore.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 39: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 37: $this->status = $status; | |
| 38: | |
| >> 39: return $this; | |
| 40: } | |
| 41: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: backpack\crud--7.0.31\src\app\Library\CrudPanel\CrudButton.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 59: WARNING A "__construct()" magic method can not return a value. Found: "return $this->save();" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 57: $this->position = $position ?? ($this->stack == 'line' ? 'beginning' : 'end'); | |
| 58: | |
| >> 59: return $this->save(); | |
| 60: } | |
| 61: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: clue\term-react--v1.4.0\src\ControlCodeParser.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 49: WARNING A "__construct()" magic method can not return a value. Found: "return $this->close();" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 47: | |
| 48: if (!$this->input->isReadable()) { | |
| >> 49: return $this->close(); | |
| 50: } | |
| 51: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: clue\utf8-react--v1.3.0\src\Sequencer.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 27: WARNING A "__construct()" magic method can not return a value. Found: "return $this->close();" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 25: | |
| 26: if (!$input->isReadable()) { | |
| >> 27: return $this->close(); | |
| 28: } | |
| 29: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: consoletvs\charts--6.9.0\src\Classes\C3\Chart.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 32: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 30: $this->script = 'charts::c3.script'; | |
| 31: | |
| >> 32: return $this; | |
| 33: } | |
| 34: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: consoletvs\charts--6.9.0\src\Classes\Chartjs\Chart.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 31: WARNING A "__construct()" magic method can not return a value. Found: "return $this->options([ 'maintainAspectRatio' => false, 'scales' => [ | |
| 'xAxes' => [], 'yAxes' => [ [ 'ticks' => [ 'beginAtZero' => true, ], ], ], ], ]);" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 29: $this->script = 'charts::chartjs.script'; | |
| 30: | |
| >> 31: return $this->options([ | |
| 32: 'maintainAspectRatio' => false, | |
| 33: 'scales' => [ | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: consoletvs\charts--6.9.0\src\Classes\DatasetClass.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 57: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 55: $this->values = $values; | |
| 56: | |
| >> 57: return $this; | |
| 58: } | |
| 59: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: consoletvs\charts--6.9.0\src\Classes\Echarts\Chart.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 38: WARNING A "__construct()" magic method can not return a value. Found: "return $this->options([ 'legend' => [ 'show' => true, ], 'tooltip' => [ | |
| 'show' => true, ], 'xAxis' => [ 'show' => true, ], 'yAxis' => [ 'show' => true, ], ]);" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 36: $this->script = 'charts::echarts.script'; | |
| 37: | |
| >> 38: return $this->options([ | |
| 39: 'legend' => [ | |
| 40: 'show' => true, | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: consoletvs\charts--6.9.0\src\Classes\Frappe\Chart.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 49: WARNING A "__construct()" magic method can not return a value. Found: "return $this->options([ 'barOptions' => [ 'spaceRatio' => 0.75, ], | |
| ]);" (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 47: $this->script = 'charts::frappe.script'; | |
| 48: | |
| >> 49: return $this->options([ | |
| 50: 'barOptions' => [ | |
| 51: 'spaceRatio' => 0.75, | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: consoletvs\charts--6.9.0\src\Classes\Fusioncharts\Chart.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 46: WARNING A "__construct()" magic method can not return a value. Found: "return $this->options([ 'bgColor' => '#ffffff', 'borderAlpha' => 0, | |
| 'canvasBorderAlpha' => 0, 'usePlotGradientColor' => false, 'plotBorderAlpha' => 0, 'divlineColor' => '#22292F', 'divLineIsDashed' => true, | |
| 'showAlternateHGridColor' => false, 'captionFontBold' => true, 'captionFontSize' => 14, 'subcaptionFontBold' => false, 'subcaptionFontSize' | |
| => 14, 'legendBorderAlpha' => 0, 'legendShadow' => 0, 'hoverfillcolor' => '#CCCCCC', 'piebordercolor' => '#FFFFFF', 'hoverfillcolor' => | |
| '#CCCCCC', 'use3DLighting' => false, 'showShadow' => false, ]);" (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 44: $this->script = 'charts::fusioncharts.script'; | |
| 45: | |
| >> 46: return $this->options([ | |
| 47: 'bgColor' => '#ffffff', | |
| 48: 'borderAlpha' => 0, | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: consoletvs\charts--6.9.0\src\Classes\Highcharts\Chart.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 31: WARNING A "__construct()" magic method can not return a value. Found: "return $this->options([ 'credits' => [ 'enabled' => false, ], 'title' => [ | |
| 'text' => null, ], ]);" (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 29: $this->script = 'charts::highcharts.script'; | |
| 30: | |
| >> 31: return $this->options([ | |
| 32: 'credits' => [ | |
| 33: 'enabled' => false, | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: flix-tech\avro-php--5.2.0\lib\avro\schema.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 587: WARNING A "__construct()" magic method can not return a value. Found: "return parent::__construct($type, $logical_type, | |
| $extra_attributes);" (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 585: if (self::is_primitive_type($type)) { | |
| 586: $this->serialize_type_attribute = $serialize_type_attribute; | |
| >> 587: return parent::__construct($type, $logical_type, $extra_attributes); | |
| 588: } | |
| 589: throw new AvroSchemaParseException( | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 1282: WARNING A "__construct()" magic method can not return a value. Found: "return $this->size = $size;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 1280: 'Fixed Schema requires a valid integer for "size" attribute'); | |
| 1281: parent::__construct(AvroSchema::FIXED_SCHEMA, $name, $doc, $schemata, $logical_type, $extra_attributes); | |
| >> 1282: return $this->size = $size; | |
| 1283: } | |
| 1284: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: gumlet\php-image-resize--2.1.3\lib\ImageResize.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 168: WARNING A "__construct()" magic method can not return a value. Found: "return $this->resize($this->getSourceWidth(), | |
| $this->getSourceHeight());" (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 166: } | |
| 167: | |
| >> 168: return $this->resize($this->getSourceWidth(), $this->getSourceHeight()); | |
| 169: } | |
| 170: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: hoa\consistency--2.17.08.29\Source\Xcallable.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 143: WARNING A "__construct()" magic method can not return a value. Found: "return $this->__construct($call[0]);" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 141: } elseif (is_array($call) && isset($call[0])) { | |
| 142: if (!isset($call[1])) { | |
| >> 143: return $this->__construct($call[0]); | |
| 144: } | |
| 145: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 146: WARNING A "__construct()" magic method can not return a value. Found: "return $this->__construct($call[0], $call[1]);" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 144: } | |
| 145: | |
| >> 146: return $this->__construct($call[0], $call[1]); | |
| 147: } else { | |
| 148: throw new Exception( | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: johnpbloch\wordpress-core--6.9.4\wp-includes\class-pop3.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 67: WARNING A "__construct()" magic method can not return a value. Found: "return true;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 65: } | |
| 66: } | |
| >> 67: return true; | |
| 68: } | |
| 69: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: johnpbloch\wordpress-core--6.9.4\wp-includes\pomo\streams.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 317: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 315: $this->_str = file_get_contents( $filename ); | |
| 316: if ( false === $this->_str ) { | |
| >> 317: return false; | |
| 318: } | |
| 319: $this->_pos = 0; | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: laminas\laminas-server--2.19.0\src\Reflection\Node.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 49: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 47: } | |
| 48: | |
| >> 49: return $this; | |
| 50: } | |
| 51: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: magento\zend-db--1.16.3\library\Zend\Db\Adapter\Pdo\Sqlite.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 94: WARNING A "__construct()" magic method can not return a value. Found: "return parent::__construct($config);" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 92: $this->_config['password'] = null; | |
| 93: | |
| >> 94: return parent::__construct($config); | |
| 95: } | |
| 96: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: magento\zendframework1--1.15.1\library\Zend\Db\Adapter\Pdo\Sqlite.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 94: WARNING A "__construct()" magic method can not return a value. Found: "return parent::__construct($config);" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 92: $this->_config['password'] = null; | |
| 93: | |
| >> 94: return parent::__construct($config); | |
| 95: } | |
| 96: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: magento\zendframework1--1.15.1\library\Zend\Server\Reflection\Node.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 65: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 63: } | |
| 64: | |
| >> 65: return $this; | |
| 66: } | |
| 67: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: mastani\laravel-google-static-map--2.5\src\GoogleStaticMap.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 29: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 27: $this->apiKey = $apiKey; | |
| 28: | |
| >> 29: return $this; | |
| 30: } | |
| 31: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: messageagency\force.com-toolkit-for-php--v27.0.3\soapclient\SforceMetadataClient.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 78: WARNING A "__construct()" magic method can not return a value. Found: "return $this->sforce;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 76: | |
| 77: $this->sforce->__setLocation($loginResult->metadataServerUrl); | |
| >> 78: return $this->sforce; | |
| 79: } | |
| 80: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: microsoft\bingads--v13.0.27\src\Auth\ServiceClient.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 110: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 108: $this->SetAuthorizationData($authorizationData); | |
| 109: | |
| >> 110: return $this; | |
| 111: } | |
| 112: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: milon\barcode--v13.1\src\Milon\Barcode\Datamatrix.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 241: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 239: $barcode_array = array(); | |
| 240: if ((is_null($code)) OR ($code == '\0') OR ($code == '')) { | |
| >> 241: return false; | |
| 242: } | |
| 243: // get data codewords | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 249: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 247: // check size | |
| 248: if ($nd > 1558) { | |
| >> 249: return false; | |
| 250: } | |
| 251: // get minimum required matrix size. | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 259: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 257: if ($params[11] < $nd) { | |
| 258: // too much data | |
| >> 259: return false; | |
| 260: } elseif ($params[11] > $nd) { | |
| 261: // add padding | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: milon\barcode--v13.1\src\Milon\Barcode\PDF417.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 538: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 536: $barcode_array = array(); | |
| 537: if ((is_null($code)) OR ($code == '\0') OR ($code == '')) { | |
| >> 538: return false; | |
| 539: } | |
| 540: // get the input sequence array | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 555: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 553: if ($numcw > 925) { | |
| 554: // reached maximum data codeword capacity | |
| >> 555: return false; | |
| 556: } | |
| 557: // build macro control block codewords | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: milon\barcode--v13.1\src\Milon\Barcode\QRcode.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 602: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 600: $barcode_array = array(); | |
| 601: if ((is_null($code)) OR ($code == '\0') OR ($code == '')) { | |
| >> 602: return false; | |
| 603: } | |
| 604: // set error correction level | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 610: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 608: } | |
| 609: if (($this->hint != QR_MODE_8B) AND ($this->hint != QR_MODE_KJ)) { | |
| >> 610: return false; | |
| 611: } | |
| 612: if (($this->version < 0) OR ($this->version > QRSPEC_VERSION_MAX)) { | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 613: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 611: } | |
| 612: if (($this->version < 0) OR ($this->version > QRSPEC_VERSION_MAX)) { | |
| >> 613: return false; | |
| 614: } | |
| 615: $this->items = array(); | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 618: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 616: $this->encodeString($code); | |
| 617: if (is_null($this->data)) { | |
| >> 618: return false; | |
| 619: } | |
| 620: $qrTab = $this->binarize($this->data); | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: nexmo\client-core--2.9.2\src\Message\Response\Message.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 44: WARNING A "__construct()" magic method can not return a value. Found: "return $return;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 42: //validate receipt | |
| 43: if (!$receipt) { | |
| >> 44: return $return; | |
| 45: } | |
| 46: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 53: WARNING A "__construct()" magic method can not return a value. Found: "return $receipt;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 51: $this->receipt = $receipt; | |
| 52: | |
| >> 53: return $receipt; | |
| 54: } | |
| 55: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: openswoole\core--26.2.0\src\Coroutine\Client\MysqliClient.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 48: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 46: $this->config = $config; | |
| 47: $this->makeClient(); | |
| >> 48: return $this; | |
| 49: } | |
| 50: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: openswoole\core--26.2.0\src\Coroutine\Client\PDOClient.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 41: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 39: $this->makeClient(); | |
| 40: $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_SILENT); | |
| >> 41: return $this; | |
| 42: } | |
| 43: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: pear\archive_tar--1.6.0\Archive\Tar.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 188: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 186: "Supported types are 'gz', 'bz2' and 'lzma2'.\n" | |
| 187: ); | |
| >> 188: return false; | |
| 189: } | |
| 190: } | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 216: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 214: "with '$extname' support.\n" | |
| 215: ); | |
| >> 216: return false; | |
| 217: } | |
| 218: } | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: phpoffice\phpexcel--1.8.2\Classes\PHPExcel\Shared\trend\bestFitClass.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 418: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 416: // Ensure both arrays of points are the same size | |
| 417: $this->error = true; | |
| >> 418: return false; | |
| 419: } | |
| 420: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: qiniu\php-sdk--v7.14.0\src\Qiniu\Http\Header.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 36: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 34: $this->data[$normalizedKey] = $normalizedValues; | |
| 35: } | |
| >> 36: return $this; | |
| 37: } | |
| 38: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: qiniu\php-sdk--v7.14.0\src\Qiniu\Storage\ResumeUploader.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 98: WARNING A "__construct()" magic method can not return a value. Found: "return array(null, $err);" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 96: $this->bucket = $bucket; | |
| 97: if ($err != null) { | |
| >> 98: return array(null, $err); | |
| 99: } | |
| 100: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: quickbooks\v3-php-sdk--v6.2.2\src\Core\ServiceContext.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 114: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 112: $this->baseserviceURL = $this->getBaseURL(); | |
| 113: | |
| >> 114: return $this; | |
| 115: } | |
| 116: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: roots\wordpress-no-content--6.9.4\wp-includes\class-pop3.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 67: WARNING A "__construct()" magic method can not return a value. Found: "return true;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 65: } | |
| 66: } | |
| >> 67: return true; | |
| 68: } | |
| 69: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: roots\wordpress-no-content--6.9.4\wp-includes\pomo\streams.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 317: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 315: $this->_str = file_get_contents( $filename ); | |
| 316: if ( false === $this->_str ) { | |
| >> 317: return false; | |
| 318: } | |
| 319: $this->_pos = 0; | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: shardj\zf1-future--1.25.0\library\Zend\Db\Adapter\Pdo\Sqlite.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 102: WARNING A "__construct()" magic method can not return a value. Found: "return parent::__construct($config);" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 100: } | |
| 101: | |
| >> 102: return parent::__construct($config); | |
| 103: } | |
| 104: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: shardj\zf1-future--1.25.0\library\Zend\Server\Reflection\Node.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 65: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 63: } | |
| 64: | |
| >> 65: return $this; | |
| 66: } | |
| 67: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: shardj\zf1-future--1.25.0\library\Zend\Service\LiveDocx.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 173: WARNING A "__destruct()" magic method can not return a value. Found: "return $this->logOut();" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 171: public function __destruct() | |
| 172: { | |
| >> 173: return $this->logOut(); | |
| 174: } | |
| 175: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: silverstripe\admin--3.2.0-rc1\code\Forms\UnsavedChangesIndicator.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 30: WARNING A "__construct()" magic method can not return a value. Found: "return parent::__construct('UnsavedChangesIndicator');" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 28: // This field must be named 'UnsavedChangesIndicator' in order for | |
| 29: // applyTransforms.js to find and update it | |
| >> 30: return parent::__construct('UnsavedChangesIndicator'); | |
| 31: } | |
| 32: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: silverstripe\framework--6.2.0-rc1\src\Security\InheritedPermissions.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 114: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 112: $this->cacheService = $cache; | |
| 113: | |
| >> 114: return $this; | |
| 115: } | |
| 116: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: simplehtmldom\simplehtmldom--2.0-RC2\HtmlNode.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 90: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 88: function __construct($dom) | |
| 89: { | |
| >> 90: if ($dom === null) return $this; | |
| 91: | |
| 92: $this->dom = $dom; | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: simplito\elliptic-php--1.0.12\lib\Curve\ShortCurve\JPoint.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 38: WARNING A "__construct()" magic method can not return a value. Found: "return $this->zOne = $this->z == $this->curve->one;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 36: $this->z = $this->z->toRed($this->curve->red); | |
| 37: | |
| >> 38: return $this->zOne = $this->z == $this->curve->one; | |
| 39: } | |
| 40: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: spipu\html2pdf--v5.3.3\src\Html2Pdf.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 249: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 247: $this->addExtension(new Core\SvgExtension($this->svgDrawer)); | |
| 248: | |
| >> 249: return $this; | |
| 250: } | |
| 251: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: tecnickcom\tcpdf--6.11.2\include\barcodes\datamatrix.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 238: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 236: $barcode_array = array(); | |
| 237: if ((is_null($code)) OR ($code == '\0') OR ($code == '')) { | |
| >> 238: return false; | |
| 239: } | |
| 240: // get data codewords | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 246: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 244: // check size | |
| 245: if ($nd > 1558) { | |
| >> 246: return false; | |
| 247: } | |
| 248: // get minimum required matrix size. | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 256: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 254: if ($params[11] < $nd) { | |
| 255: // too much data | |
| >> 256: return false; | |
| 257: } elseif ($params[11] > $nd) { | |
| 258: // add padding | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: tecnickcom\tcpdf--6.11.2\include\barcodes\pdf417.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 535: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 533: $barcode_array = array(); | |
| 534: if ((is_null($code)) OR ($code == '\0') OR ($code == '')) { | |
| >> 535: return false; | |
| 536: } | |
| 537: // get the input sequence array | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 552: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 550: if ($numcw > 925) { | |
| 551: // reached maximum data codeword capacity | |
| >> 552: return false; | |
| 553: } | |
| 554: // build macro control block codewords | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: tecnickcom\tcpdf--6.11.2\include\barcodes\qrcode.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 616: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 614: $barcode_array = array(); | |
| 615: if ((is_null($code)) OR ($code == '\0') OR ($code == '')) { | |
| >> 616: return false; | |
| 617: } | |
| 618: // set error correction level | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 624: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 622: } | |
| 623: if (($this->hint != QR_MODE_8B) AND ($this->hint != QR_MODE_KJ)) { | |
| >> 624: return false; | |
| 625: } | |
| 626: if (($this->version < 0) OR ($this->version > QRSPEC_VERSION_MAX)) { | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 627: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 625: } | |
| 626: if (($this->version < 0) OR ($this->version > QRSPEC_VERSION_MAX)) { | |
| >> 627: return false; | |
| 628: } | |
| 629: $this->items = array(); | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 632: WARNING A "__construct()" magic method can not return a value. Found: "return false;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 630: $this->encodeString($code); | |
| 631: if (is_null($this->data)) { | |
| >> 632: return false; | |
| 633: } | |
| 634: $qrTab = $this->binarize($this->data); | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: theseer\fdomdocument--1.6.7\src\fDOMDocument.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 92: WARNING A "__construct()" magic method can not return a value. Found: "return $rc;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 90: $this->registerNodeClasses(); | |
| 91: | |
| >> 92: return $rc; | |
| 93: } | |
| 94: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: ueberdosis\tiptap-php--2.1.0\src\Core\Schema.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 38: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 36: $this->topNode = current(array_filter($this->nodes, fn ($node) => $node::$topNode)); | |
| 37: | |
| >> 38: return $this; | |
| 39: } | |
| 40: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: webklex\php-imap--6.2.0\tests\fixtures\FixtureTestCase.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 68: WARNING A "__construct()" magic method can not return a value. Found: "return self::$manager;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 66: ], | |
| 67: ]); | |
| >> 68: return self::$manager; | |
| 69: } | |
| 70: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FILE: zendframework\zend-server--2.8.1\src\Reflection\Node.php | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| LINE 47: WARNING A "__construct()" magic method can not return a value. Found: "return $this;" | |
| (Universal.CodeAnalysis.ConstructorDestructorReturn.ReturnValueFound) | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| 45: } | |
| 46: | |
| >> 47: return $this; | |
| 48: } | |
| 49: | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment