Skip to content

Commit

Permalink
use PasswordEncoder from phpoffice/common instead
Browse files Browse the repository at this point in the history
  • Loading branch information
troosan committed Jul 14, 2018
1 parent 3906be1 commit adc1428
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 329 deletions.
2 changes: 1 addition & 1 deletion src/PhpWord/Metadata/Protection.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

namespace PhpOffice\PhpWord\Metadata;

use PhpOffice\PhpWord\Shared\Microsoft\PasswordEncoder;
use PhpOffice\Common\Microsoft\PasswordEncoder;
use PhpOffice\PhpWord\SimpleType\DocProtect;

/**
Expand Down
235 changes: 0 additions & 235 deletions src/PhpWord/Shared/Microsoft/PasswordEncoder.php

This file was deleted.

2 changes: 1 addition & 1 deletion src/PhpWord/Writer/Word2007/Part/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

namespace PhpOffice\PhpWord\Writer\Word2007\Part;

use PhpOffice\Common\Microsoft\PasswordEncoder;
use PhpOffice\PhpWord\ComplexType\ProofState;
use PhpOffice\PhpWord\ComplexType\TrackChangesView;
use PhpOffice\PhpWord\Shared\Microsoft\PasswordEncoder;
use PhpOffice\PhpWord\Style\Language;

/**
Expand Down
91 changes: 0 additions & 91 deletions tests/PhpWord/Shared/Microsoft/PasswordEncoderTest.php

This file was deleted.

2 changes: 1 addition & 1 deletion tests/PhpWord/Writer/Word2007/Part/SettingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@

namespace PhpOffice\PhpWord\Writer\Word2007\Part;

use PhpOffice\Common\Microsoft\PasswordEncoder;
use PhpOffice\PhpWord\ComplexType\ProofState;
use PhpOffice\PhpWord\ComplexType\TrackChangesView;
use PhpOffice\PhpWord\PhpWord;
use PhpOffice\PhpWord\Shared\Microsoft\PasswordEncoder;
use PhpOffice\PhpWord\SimpleType\Zoom;
use PhpOffice\PhpWord\Style\Language;
use PhpOffice\PhpWord\TestHelperDOCX;
Expand Down

0 comments on commit adc1428

Please sign in to comment.