Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.

Commit adc1428

Browse files
committed
use PasswordEncoder from phpoffice/common instead
1 parent 3906be1 commit adc1428

File tree

5 files changed

+3
-329
lines changed

5 files changed

+3
-329
lines changed

src/PhpWord/Metadata/Protection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
namespace PhpOffice\PhpWord\Metadata;
1919

20-
use PhpOffice\PhpWord\Shared\Microsoft\PasswordEncoder;
20+
use PhpOffice\Common\Microsoft\PasswordEncoder;
2121
use PhpOffice\PhpWord\SimpleType\DocProtect;
2222

2323
/**

src/PhpWord/Shared/Microsoft/PasswordEncoder.php

-235
This file was deleted.

src/PhpWord/Writer/Word2007/Part/Settings.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
namespace PhpOffice\PhpWord\Writer\Word2007\Part;
1919

20+
use PhpOffice\Common\Microsoft\PasswordEncoder;
2021
use PhpOffice\PhpWord\ComplexType\ProofState;
2122
use PhpOffice\PhpWord\ComplexType\TrackChangesView;
22-
use PhpOffice\PhpWord\Shared\Microsoft\PasswordEncoder;
2323
use PhpOffice\PhpWord\Style\Language;
2424

2525
/**

tests/PhpWord/Shared/Microsoft/PasswordEncoderTest.php

-91
This file was deleted.

tests/PhpWord/Writer/Word2007/Part/SettingsTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717

1818
namespace PhpOffice\PhpWord\Writer\Word2007\Part;
1919

20+
use PhpOffice\Common\Microsoft\PasswordEncoder;
2021
use PhpOffice\PhpWord\ComplexType\ProofState;
2122
use PhpOffice\PhpWord\ComplexType\TrackChangesView;
2223
use PhpOffice\PhpWord\PhpWord;
23-
use PhpOffice\PhpWord\Shared\Microsoft\PasswordEncoder;
2424
use PhpOffice\PhpWord\SimpleType\Zoom;
2525
use PhpOffice\PhpWord\Style\Language;
2626
use PhpOffice\PhpWord\TestHelperDOCX;

0 commit comments

Comments
 (0)