Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
troosan committed May 23, 2018
1 parent 6241c5b commit b77fa41
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
11 changes: 5 additions & 6 deletions src/Common/Microsoft/PasswordEncoder.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
<?php
/**
* This file is part of PHPWord - A pure PHP library for reading and writing
* word processing documents.
* This file is part of PHPOffice Common
*
* PHPWord is free software distributed under the terms of the GNU Lesser
* PHPOffice Common is free software distributed under the terms of the GNU Lesser
* General Public License version 3 as published by the Free Software Foundation.
*
* For the full copyright and license information, please read the LICENSE
* file that was distributed with this source code. For the full list of
* contributors, visit https://github.com/PHPOffice/PHPWord/contributors.
* contributors, visit https://github.com/PHPOffice/Common/contributors.
*
* @see https://github.com/PHPOffice/PHPWord
* @copyright 2010-2017 PHPWord contributors
* @link https://github.com/PHPOffice/Common
* @copyright 2009-2016 PHPOffice Common contributors
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
*/

Expand Down
13 changes: 6 additions & 7 deletions tests/Common/Tests/Microsoft/PasswordEncoderTest.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
<?php
/**
* This file is part of PHPWord - A pure PHP library for reading and writing
* word processing documents.
* This file is part of PHPOffice Common
*
* PHPWord is free software distributed under the terms of the GNU Lesser
* PHPOffice Common is free software distributed under the terms of the GNU Lesser
* General Public License version 3 as published by the Free Software Foundation.
*
* For the full copyright and license information, please read the LICENSE
* file that was distributed with this source code. For the full list of
* contributors, visit https://github.com/PHPOffice/PHPWord/contributors.
* contributors, visit https://github.com/PHPOffice/Common/contributors.
*
* @see https://github.com/PHPOffice/PHPWord
* @copyright 2010-2017 PHPWord contributors
* @link https://github.com/PHPOffice/Common
* @copyright 2009-2016 PHPOffice Common contributors
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
*/

Expand Down Expand Up @@ -59,7 +58,7 @@ public function testEncodePasswordWithSalt()
/**
* Test that the encoder falls back on SHA-1 if a non supported algorithm is given
*/
public function testDafaultsToSha1IfUnsupportedAlgorithm()
public function testDefaultsToSha1IfUnsupportedAlgorithm()
{
//given
$password = 'test';
Expand Down

0 comments on commit b77fa41

Please sign in to comment.