Skip to content

Commit 88540f2

Browse files
committed
Updated (lowered) dependencies
* CS Fixes * Cleanup
1 parent 84a3b01 commit 88540f2

File tree

5 files changed

+26
-29
lines changed

5 files changed

+26
-29
lines changed

composer.json

+24-22
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
11
{
2-
"name": "scaytrase/symfony-sms-delivery-bundle",
3-
"description": "Symfony2 Bundle with service for sending sms",
4-
"minimum-stability": "stable",
5-
"license": "GPL-2.0+",
6-
"authors": [
7-
{
8-
"name": "Pavel Batanov",
9-
"email": "[email protected]"
10-
}
11-
],
12-
"require": {
13-
"php": ">=5.3.3",
14-
"symfony/symfony": "~2.4"
15-
},
16-
"require-dev": {
17-
"phpunit/phpunit": "~4.6@stable",
18-
"scaytrase/symfony-test-utils": "~1.0"
19-
},
20-
"autoload": {
21-
"psr-0": {
22-
"": "src/"
23-
}
2+
"name": "scaytrase/symfony-sms-delivery-bundle",
3+
"description": "Symfony2 Bundle with service for sending sms",
4+
"minimum-stability": "stable",
5+
"license": "GPL-2.0+",
6+
"authors": [
7+
{
8+
"name": "Pavel Batanov",
9+
"email": "[email protected]"
2410
}
11+
],
12+
"require": {
13+
"php": ">=5.3.3",
14+
"symfony/http-kernel": "~2.3",
15+
"symfony/dependency-injection": "~2.3",
16+
"symfony/http-foundation": "~2.3",
17+
"symfony/config": "~2.3"
18+
},
19+
"require-dev": {
20+
"phpunit/phpunit": "~4.6@stable"
21+
},
22+
"autoload": {
23+
"psr-0": {
24+
"": "src/"
25+
}
26+
}
2527
}

src/ScayTrase/SmsDeliveryBundle/DataCollector/MessageDeliveryDataCollector.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
namespace ScayTrase\SmsDeliveryBundle\DataCollector;
1010

11-
1211
use ScayTrase\SmsDeliveryBundle\Service\MessageDeliveryService;
1312
use Symfony\Component\HttpFoundation\Request;
1413
use Symfony\Component\HttpFoundation\Response;
@@ -39,7 +38,7 @@ public function __construct(MessageDeliveryService $sender)
3938
*/
4039
public function collect(Request $request, Response $response, \Exception $exception = null)
4140
{
42-
return $this->data = $this->sender->getProfile();
41+
$this->data = $this->sender->getProfile();
4342
}
4443

4544
/**

src/ScayTrase/SmsDeliveryBundle/SmsDeliveryBundle.php

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace ScayTrase\SmsDeliveryBundle;
44

5-
use ScayTrase\SmsDeliveryBundle\DependencyInjection\Compiler\DataCollectorCompilerPass;
65
use ScayTrase\SmsDeliveryBundle\DependencyInjection\Compiler\TransportCompilerPass;
76
use Symfony\Component\DependencyInjection\ContainerBuilder;
87
use Symfony\Component\HttpKernel\Bundle\Bundle;

src/ScayTrase/SmsDeliveryBundle/Tests/MessageDeliveryServiceTest.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,14 @@
1111
use ScayTrase\SmsDeliveryBundle\DataCollector\MessageDeliveryDataCollector;
1212
use ScayTrase\SmsDeliveryBundle\DependencyInjection\Compiler\TransportCompilerPass;
1313
use ScayTrase\SmsDeliveryBundle\DependencyInjection\SmsDeliveryExtension;
14-
use ScayTrase\SmsDeliveryBundle\Exception\InvalidRecipientDeliveryException;
1514
use ScayTrase\SmsDeliveryBundle\Service\MessageDeliveryService;
1615
use ScayTrase\SmsDeliveryBundle\Service\ShortMessageInterface;
1716
use ScayTrase\SmsDeliveryBundle\Transport\DummyTransport;
18-
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
1917
use Symfony\Component\DependencyInjection\ContainerBuilder;
2018
use Symfony\Component\HttpFoundation\Request;
2119
use Symfony\Component\HttpFoundation\Response;
2220

23-
class MessageDeliveryServiceTest extends WebTestCase
21+
class MessageDeliveryServiceTest extends \PHPUnit_Framework_TestCase
2422
{
2523
/**
2624
* @return array configurations array

src/ScayTrase/SmsDeliveryBundle/Transport/DummyTransport.php

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
namespace ScayTrase\SmsDeliveryBundle\Transport;
1010

11-
1211
use ScayTrase\SmsDeliveryBundle\Exception\DeliveryFailedException;
1312
use ScayTrase\SmsDeliveryBundle\Service\ShortMessageInterface;
1413

0 commit comments

Comments
 (0)