Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d5b9214

Browse filesBrowse files
committed
[Mime] Move crypt_gpg to dev, rm attr from tests
1 parent 47ec4a0 commit d5b9214
Copy full SHA for d5b9214

10 files changed

+26
-22
lines changed

‎composer.json

Copy file name to clipboardExpand all lines: composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"doctrine/event-manager": "^1.2|^2",
4141
"doctrine/persistence": "^2|^3",
4242
"twig/twig": "^2.13|^3.0.4",
43-
"pear/crypt_gpg": "^1.6",
4443
"psr/cache": "^2.0|^3.0",
4544
"psr/clock": "^1.0",
4645
"psr/container": "^1.1|^2.0",
@@ -142,6 +141,7 @@
142141
"monolog/monolog": "^1.25.1|^2",
143142
"nyholm/psr7": "^1.0",
144143
"pda/pheanstalk": "^4.0",
144+
"pear/crypt_gpg": "^1.6",
145145
"php-http/discovery": "^1.15",
146146
"php-http/httplug": "^1.0|^2.0",
147147
"php-http/message-factory": "^1.0",

‎src/Symfony/Component/Mime/Part/Multipart/PGPEncryptedPart.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mime/Part/Multipart/PGPEncryptedPart.php
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

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+
312
namespace Symfony\Component\Mime\Part\Multipart;
413

514
use Symfony\Component\Mime\Part\AbstractMultipartPart;

‎src/Symfony/Component/Mime/Part/Multipart/PGPSignedPart.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mime/Part/Multipart/PGPSignedPart.php
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

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+
312
namespace Symfony\Component\Mime\Part\Multipart;
413

514
use Symfony\Component\Mime\Helper\PGPSigningPreparer;

‎src/Symfony/Component/Mime/Tests/Crypto/PGPEncryptorTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mime/Tests/Crypto/PGPEncryptorTest.php
+2-4Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@
1111

1212
namespace Symfony\Component\Mime\Tests\Crypto;
1313

14-
use PHPUnit\Framework\Attributes\CoversClass;
1514
use PHPUnit\Framework\TestCase;
1615
use Symfony\Component\Mime\Address;
1716
use Symfony\Component\Mime\Crypto\PGPEncrypter;
1817
use Symfony\Component\Mime\Email;
1918

20-
#[CoversClass(PGPEncrypter::class)]
21-
final class PGPEncryptorTest extends TestCase
19+
class PGPEncryptorTest extends TestCase
2220
{
2321
private \Crypt_GPG $gpg;
2422

@@ -30,7 +28,7 @@ protected function setUp(): void
3028
{
3129
parent::setUp();
3230
$this->gpg = new \Crypt_GPG();
33-
$this->gpg->importKeyFile(__DIR__ . '/../_data/pgp.asc');
31+
$this->gpg->importKeyFile(__DIR__.'/../_data/pgp.asc');
3432
$this->email = (new Email())
3533
->from(new Address('pgp@pulli.dev', 'PuLLi'))
3634
->to(new Address('pgp@pulli.dev', 'PuLLi'))

‎src/Symfony/Component/Mime/Tests/Part/Multipart/PGPEncryptedPartTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mime/Tests/Part/Multipart/PGPEncryptedPartTest.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@
1111

1212
namespace Symfony\Component\Mime\Tests\Part\Multipart;
1313

14-
use PHPUnit\Framework\Attributes\CoversClass;
1514
use PHPUnit\Framework\TestCase;
1615
use Symfony\Component\Mime\Part\Multipart\PGPEncryptedPart;
1716

18-
#[CoversClass(PGPEncryptedPart::class)]
1917
final class PGPEncryptedPartTest extends TestCase
2018
{
2119
public function testPGPEncryptedPart()

‎src/Symfony/Component/Mime/Tests/Part/Multipart/PGPSignedPartTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mime/Tests/Part/Multipart/PGPSignedPartTest.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@
1111

1212
namespace Symfony\Component\Mime\Tests\Part\Multipart;
1313

14-
use PHPUnit\Framework\Attributes\CoversClass;
1514
use PHPUnit\Framework\TestCase;
1615
use Symfony\Component\Mime\Part\Multipart\PGPSignedPart;
1716
use Symfony\Component\Mime\Part\TextPart;
1817

19-
#[CoversClass(PGPSignedPart::class)]
2018
final class PGPSignedPartTest extends TestCase
2119
{
2220
public function testPGPSignedPart()

‎src/Symfony/Component/Mime/Tests/Part/PGPEncryptedInitializationPartTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mime/Tests/Part/PGPEncryptedInitializationPartTest.php
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@
1111

1212
namespace Symfony\Component\Mime\Tests\Part;
1313

14-
use PHPUnit\Framework\Attributes\CoversClass;
1514
use PHPUnit\Framework\TestCase;
1615
use Symfony\Component\Mime\Part\PGPEncryptedInitializationPart;
1716

18-
#[CoversClass(PGPEncryptedInitializationPart::class)]
19-
final class PGPEncryptedInitializationPartTest extends TestCase
17+
class PGPEncryptedInitializationPartTest extends TestCase
2018
{
2119
public function testPGPEncryptedInitializationPart()
2220
{

‎src/Symfony/Component/Mime/Tests/Part/PGPEncryptedMessagePartTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mime/Tests/Part/PGPEncryptedMessagePartTest.php
+2-4Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Tests\Part;
12+
namespace Symfony\Component\Mime\Tests\Part;
1313

14-
use PHPUnit\Framework\Attributes\CoversClass;
1514
use PHPUnit\Framework\TestCase;
1615
use Symfony\Component\Mime\Part\PGPEncryptedMessagePart;
1716

18-
#[CoversClass(PGPEncryptedMessagePart::class)]
19-
final class PGPEncryptedMessagePartTest extends TestCase
17+
class PGPEncryptedMessagePartTest extends TestCase
2018
{
2119
public function testPGPEncryptedMessagePart()
2220
{

‎src/Symfony/Component/Mime/Tests/Part/PGPKeyPartTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mime/Tests/Part/PGPKeyPartTest.php
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@
1111

1212
namespace Symfony\Component\Mime\Tests\Part;
1313

14-
use PHPUnit\Framework\Attributes\CoversClass;
1514
use PHPUnit\Framework\TestCase;
1615
use Symfony\Component\Mime\Part\PGPKeyPart;
1716

18-
#[CoversClass(PGPKeyPart::class)]
19-
final class PGPKeyPartTest extends TestCase
17+
class PGPKeyPartTest extends TestCase
2018
{
2119
public function testPGPKeyPartWithStandardKeyName()
2220
{

‎src/Symfony/Component/Mime/Tests/Part/PGPSignaturePartTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mime/Tests/Part/PGPSignaturePartTest.php
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@
1111

1212
namespace Symfony\Component\Mime\Tests\Part;
1313

14-
use PHPUnit\Framework\Attributes\CoversClass;
1514
use PHPUnit\Framework\TestCase;
1615
use Symfony\Component\Mime\Part\PGPSignaturePart;
1716

18-
#[CoversClass(PGPSignaturePart::class)]
19-
final class PGPSignaturePartTest extends TestCase
17+
class PGPSignaturePartTest extends TestCase
2018
{
2119
public function testPGPSignaturePart()
2220
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.