Skip to content

Commit

Permalink
build: Updating mediawiki/mediawiki-codesniffer to 45.0.0
Browse files Browse the repository at this point in the history
Change-Id: I6e3d0466200749929dacec1de4a8a196a8601b1d
  • Loading branch information
libraryupgrader committed Nov 3, 2024
1 parent 4221eb9 commit 13ca53c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .phan/stubs/Less_Tree_Selector.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Less_Tree_Selector extends Less_Tree {
public $_oelements_len;
public $cacheable = true;

public function __construct( $elements, $extendList = [], $condition = null, $index = null, $currentFileInfo = null, bool $isReferenced = null ) {
public function __construct( $elements, $extendList = [], $condition = null, $index = null, $currentFileInfo = null, ?bool $isReferenced = null ) {
}

public function accept( $visitor ) {
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"php": ">=7.4.3"
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "44.0.0",
"mediawiki/mediawiki-codesniffer": "45.0.0",
"mediawiki/mediawiki-phan-config": "0.14.0",
"mediawiki/minus-x": "1.1.3",
"php-parallel-lint/php-console-highlighter": "1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion lib/Less/Exception/Chunk.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Less_Exception_Chunk extends Less_Exception_Parser {
* @param array|null $currentFile The file
* @param int $code The exception code
*/
public function __construct( $input, Exception $previous = null, $index = null, $currentFile = null, $code = 0 ) {
public function __construct( $input, ?Exception $previous = null, $index = null, $currentFile = null, $code = 0 ) {
$this->message = 'ParseError: Unexpected input'; // default message

$this->index = $index;
Expand Down
2 changes: 1 addition & 1 deletion lib/Less/Exception/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Less_Exception_Parser extends Exception {
* @param array|null $currentFile The file
* @param int $code The exception code
*/
public function __construct( $message = null, Exception $previous = null, $index = null, $currentFile = null, $code = 0 ) {
public function __construct( $message = null, ?Exception $previous = null, $index = null, $currentFile = null, $code = 0 ) {
parent::__construct( $message, $code, $previous );

$this->currentFile = $currentFile;
Expand Down

0 comments on commit 13ca53c

Please sign in to comment.