Commit 3618dc9a authored by Klaus Purer's avatar Klaus Purer
Browse files

fix(AutoAddedKeys): The info file property is called datestamp, not timestamp

parent 82ea73df
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -71,8 +71,8 @@ class AutoAddedKeysSniff implements Sniff
            $phpcsFile->addWarning($warning, $stackPtr, 'Project');
        }

        if (isset($info['timestamp']) === true) {
            $warning = 'Remove "timestamp" from the info file, it will be added by drupal.org packaging automatically';
        if (isset($info['datestamp']) === true) {
            $warning = 'Remove "datestamp" from the info file, it will be added by drupal.org packaging automatically';
            $phpcsFile->addWarning($warning, $stackPtr, 'Timestamp');
        }

+1 −1
Original line number Diff line number Diff line
@@ -5,5 +5,5 @@ core = 7.x

; These should not be here, will be added by drupal.org packaging.
project = test
timestamp = 1234567
datestamp = 1234567
version = 1.2
+1 −1
Original line number Diff line number Diff line
@@ -3,5 +3,5 @@ name: Test

# These should not be here, will be added by drupal.org packaging.
project: test
timestamp: 1234567
datestamp: 1234567
version: 1.2