Legoktm has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/371371 )

Change subject: build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
......................................................................

build: Updating mediawiki/mediawiki-codesniffer to 0.11.0

Change-Id: I3970e74d4ae63593aa74b615fa431a18dd86917b
---
M PdfHandler.image.php
M composer.json
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PdfHandler 
refs/changes/71/371371/1

diff --git a/PdfHandler.image.php b/PdfHandler.image.php
index 56d7dc0..57abcf8 100644
--- a/PdfHandler.image.php
+++ b/PdfHandler.image.php
@@ -89,7 +89,7 @@
                                $width  = intval( trim( $size[0] ) / 72 * 
$wgPdfHandlerDpi );
                                $height = explode( ' ', trim( $size[1] ), 2 );
                                $height = intval( trim( $height[0] ) / 72 * 
$wgPdfHandlerDpi );
-                               if ( ( $r/90 ) & 1 ) {
+                               if ( ( $r / 90 ) & 1 ) {
                                        // Swap width and height for landscape 
pages
                                        $t = $width;
                                        $width = $height;
diff --git a/composer.json b/composer.json
index 1c2721a..bb054d0 100644
--- a/composer.json
+++ b/composer.json
@@ -2,7 +2,7 @@
        "require-dev": {
                "jakub-onderka/php-parallel-lint": "0.9.2",
                "jakub-onderka/php-console-highlighter": "0.3.2",
-               "mediawiki/mediawiki-codesniffer": "0.10.1"
+               "mediawiki/mediawiki-codesniffer": "0.11.0"
        },
        "scripts": {
                "fix": "phpcbf",

-- 
To view, visit https://gerrit.wikimedia.org/r/371371
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3970e74d4ae63593aa74b615fa431a18dd86917b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/PdfHandler
Gerrit-Branch: master
Gerrit-Owner: Legoktm <lego...@member.fsf.org>
Gerrit-Reviewer: Legoktm <lego...@member.fsf.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to