Skip to content

Commit

Permalink
Update composer dependencies
Browse files Browse the repository at this point in the history
Also add the .idea/ directory to .gitignore.

Change-Id: I13152436c4b599b389157edec5bbe0f58ec9c723
  • Loading branch information
Daimona committed Oct 26, 2023
1 parent b4f1681 commit 126b89e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ project.index
## Sublime
sublime-*
sftp-config.json
## JetBrains IDEs
.idea

/doc/
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
],
"require": {
"php": ">=7.2.9",
"symfony/console": "^3.3.5 || ^4 || ^5"
"symfony/console": "^3.3.5 || ^4 || ^5 || ^6"
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "41.0.0",
"mediawiki/mediawiki-codesniffer": "42.0.0",
"php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion src/CheckCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ protected function checkFile( SplFileInfo $file ) {
return true;
}

list( $type, $subtype ) = explode( '/', $mime, 2 );
[ $type, $subtype ] = explode( '/', $mime, 2 );
// If the mime type isn't application/ or text/ don't check for a shebang
if ( !in_array( $type, [ 'application', 'text' ] ) ) {
return false;
Expand Down

0 comments on commit 126b89e

Please sign in to comment.