File tree 10 files changed +26
-22
lines changed
src/Symfony/Component/Mime
10 files changed +26
-22
lines changed Original file line number Diff line number Diff line change 40
40
"doctrine/event-manager" : " ^1.2|^2" ,
41
41
"doctrine/persistence" : " ^2|^3" ,
42
42
"twig/twig" : " ^2.13|^3.0.4" ,
43
- "pear/crypt_gpg" : " ^1.6" ,
44
43
"psr/cache" : " ^2.0|^3.0" ,
45
44
"psr/clock" : " ^1.0" ,
46
45
"psr/container" : " ^1.1|^2.0" ,
142
141
"monolog/monolog" : " ^1.25.1|^2" ,
143
142
"nyholm/psr7" : " ^1.0" ,
144
143
"pda/pheanstalk" : " ^4.0" ,
144
+ "pear/crypt_gpg" : " ^1.6" ,
145
145
"php-http/discovery" : " ^1.15" ,
146
146
"php-http/httplug" : " ^1.0|^2.0" ,
147
147
"php-http/message-factory" : " ^1.0" ,
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
+ /*
4
+ * This file is part of the Symfony package.
5
+ *
6
+ * (c) Fabien Potencier <fabien@symfony.com>
7
+ *
8
+ * For the full copyright and license information, please view the LICENSE
9
+ * file that was distributed with this source code.
10
+ */
11
+
3
12
namespace Symfony \Component \Mime \Part \Multipart ;
4
13
5
14
use Symfony \Component \Mime \Part \AbstractMultipartPart ;
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
+ /*
4
+ * This file is part of the Symfony package.
5
+ *
6
+ * (c) Fabien Potencier <fabien@symfony.com>
7
+ *
8
+ * For the full copyright and license information, please view the LICENSE
9
+ * file that was distributed with this source code.
10
+ */
11
+
3
12
namespace Symfony \Component \Mime \Part \Multipart ;
4
13
5
14
use Symfony \Component \Mime \Helper \PGPSigningPreparer ;
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Mime \Tests \Crypto ;
13
13
14
- use PHPUnit \Framework \Attributes \CoversClass ;
15
14
use PHPUnit \Framework \TestCase ;
16
15
use Symfony \Component \Mime \Address ;
17
16
use Symfony \Component \Mime \Crypto \PGPEncrypter ;
18
17
use Symfony \Component \Mime \Email ;
19
18
20
- #[CoversClass(PGPEncrypter::class)]
21
- final class PGPEncryptorTest extends TestCase
19
+ class PGPEncryptorTest extends TestCase
22
20
{
23
21
private \Crypt_GPG $ gpg ;
24
22
@@ -30,7 +28,7 @@ protected function setUp(): void
30
28
{
31
29
parent ::setUp ();
32
30
$ this ->gpg = new \Crypt_GPG ();
33
- $ this ->gpg ->importKeyFile (__DIR__ . '/../_data/pgp.asc ' );
31
+ $ this ->gpg ->importKeyFile (__DIR__ . '/../_data/pgp.asc ' );
34
32
$ this ->email = (new Email ())
35
33
->from (new Address ('pgp@pulli.dev ' , 'PuLLi ' ))
36
34
->to (new Address ('pgp@pulli.dev ' , 'PuLLi ' ))
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Mime \Tests \Part \Multipart ;
13
13
14
- use PHPUnit \Framework \Attributes \CoversClass ;
15
14
use PHPUnit \Framework \TestCase ;
16
15
use Symfony \Component \Mime \Part \Multipart \PGPEncryptedPart ;
17
16
18
- #[CoversClass(PGPEncryptedPart::class)]
19
17
final class PGPEncryptedPartTest extends TestCase
20
18
{
21
19
public function testPGPEncryptedPart ()
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Mime \Tests \Part \Multipart ;
13
13
14
- use PHPUnit \Framework \Attributes \CoversClass ;
15
14
use PHPUnit \Framework \TestCase ;
16
15
use Symfony \Component \Mime \Part \Multipart \PGPSignedPart ;
17
16
use Symfony \Component \Mime \Part \TextPart ;
18
17
19
- #[CoversClass(PGPSignedPart::class)]
20
18
final class PGPSignedPartTest extends TestCase
21
19
{
22
20
public function testPGPSignedPart ()
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Mime \Tests \Part ;
13
13
14
- use PHPUnit \Framework \Attributes \CoversClass ;
15
14
use PHPUnit \Framework \TestCase ;
16
15
use Symfony \Component \Mime \Part \PGPEncryptedInitializationPart ;
17
16
18
- #[CoversClass(PGPEncryptedInitializationPart::class)]
19
- final class PGPEncryptedInitializationPartTest extends TestCase
17
+ class PGPEncryptedInitializationPartTest extends TestCase
20
18
{
21
19
public function testPGPEncryptedInitializationPart ()
22
20
{
Original file line number Diff line number Diff line change 9
9
* file that was distributed with this source code.
10
10
*/
11
11
12
- namespace Tests \Part ;
12
+ namespace Symfony \ Component \ Mime \ Tests \Part ;
13
13
14
- use PHPUnit \Framework \Attributes \CoversClass ;
15
14
use PHPUnit \Framework \TestCase ;
16
15
use Symfony \Component \Mime \Part \PGPEncryptedMessagePart ;
17
16
18
- #[CoversClass(PGPEncryptedMessagePart::class)]
19
- final class PGPEncryptedMessagePartTest extends TestCase
17
+ class PGPEncryptedMessagePartTest extends TestCase
20
18
{
21
19
public function testPGPEncryptedMessagePart ()
22
20
{
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Mime \Tests \Part ;
13
13
14
- use PHPUnit \Framework \Attributes \CoversClass ;
15
14
use PHPUnit \Framework \TestCase ;
16
15
use Symfony \Component \Mime \Part \PGPKeyPart ;
17
16
18
- #[CoversClass(PGPKeyPart::class)]
19
- final class PGPKeyPartTest extends TestCase
17
+ class PGPKeyPartTest extends TestCase
20
18
{
21
19
public function testPGPKeyPartWithStandardKeyName ()
22
20
{
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Mime \Tests \Part ;
13
13
14
- use PHPUnit \Framework \Attributes \CoversClass ;
15
14
use PHPUnit \Framework \TestCase ;
16
15
use Symfony \Component \Mime \Part \PGPSignaturePart ;
17
16
18
- #[CoversClass(PGPSignaturePart::class)]
19
- final class PGPSignaturePartTest extends TestCase
17
+ class PGPSignaturePartTest extends TestCase
20
18
{
21
19
public function testPGPSignaturePart ()
22
20
{
You can’t perform that action at this time.
0 commit comments